AreHarmonic - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


geometry

  

AreHarmonic

  

test if a pair of points is harmonic conjugate to another pair of points

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

AreHarmonic(A, B, C, F)

Parameters

A, B, C, F

-

four points

Description

• 

The routine returns true if C and F are harmonic conjugates of each other with respect to A and B; false if C and F are not harmonic conjugates; and FAIL if it cannot determine whether C and F are harmonic conjugates.

• 

If A, B, C, F are four collinear points such that the cross-ratio(AB,CF) = -1 (so that C and F divide AB one internally and the other externally in the same numerical ratio), the segment AB is said to be divided harmonically by C and F. The points C and F are called harmonic conjugates of each other with respect to A and B, and the four points A, B, C, F are said to constitute a harmonic range.

• 

The command with(geometry,AreHarmonic) allows the use of the abbreviated form of this command.

Examples

> 

with⁡geometry:

> 

point⁡A,0,0,point⁡B,3,3,point⁡C,7,7,point⁡F,2111,2111:

> 

AreHarmonic⁡A,B,C,F

true

(1)
> 

AreHarmonic⁡B,A,C,F

true

(2)
> 

AreHarmonic⁡A,C,B,F

false

(3)
> 

point⁡F,2111,a

F

(4)
> 

AreHarmonic⁡A,B,C,F

AreCollinear:   "hint: could not determine if 3*a-63/11 is zero"

Error, (in geometry:-CrossRatio) unable to determine if 3*a-63/11 is zero

From the above hint, we see that the condition for F to be conjugate harmonic of C is a = 21/11

> 

a≔2111:

> 

AreHarmonic⁡A,B,C,F

true

(5)

See Also

geometry[CrossRatio]

geometry[SensedMagnitude]