This lesson uses the sign of ax+by+c to tell on which side of a line a point lies, finds the ratio in which a line cuts a segment, and states the theorems of Ceva and Menelaus.
The sign of L(x,y)
Write L=ax+by+c, and for points A(x1,y1) and B(x2,y2) write
L11=L(x1,y1)=ax1+by1+c,L22=L(x2,y2)=ax2+by2+c.
- The line L=0 divides the segment AB in the ratio −L11:L22.
- A and B lie on the same side of L=0 if L11L22>0, and on opposite sides if L11L22<0.
- A(x1,y1) and the origin lie on the same side of L=0 if cL11>0, and on opposite sides if cL11<0 (since L(0,0)=c).
- A lies above the line L=0 if bL11>0, and below it if bL11<0.
- P(x1,y1) lies between the parallel lines ax+by+c1=0 and ax+by+c2=0 if (ax1+by1+c1)(ax1+by1+c2)<0, and not between them if this product is positive.
The first result comes from putting the section point m+nmB+nA into L=0: it gives mL22+nL11=0. When the ratio comes out positive, the line cuts the segment between A and B, which is the same as saying they are on opposite sides.
Ceva's theorem
If the lines joining a point P to the vertices A, B, C of a triangle meet the opposite sides at D, E, F, then
DCBD⋅EACE⋅FBAF=1.
Menelaus' theorem
If a transversal (a straight line) cuts the sides BC, CA, AB of triangle ABC (produced where necessary) at D, E, F, then
DCBD⋅EACE⋅FBAF=−1,
the ratios being taken with sign, negative for a point dividing a side externally.
Example 1
In what ratio does 2x+y−5=0 divide the join of A(1,1) and B(3,4)?
L11=2+1−5=−2 and L22=6+4−5=5. The ratio is −L11:L22=2:5, internal, so A and B are on opposite sides of the line.
Example 2
Is (3,4) on the same side of 2x+y−5=0 as the origin? Is it above or below the line?
c=−5 and L(3,4)=5, so cL11=−25<0: opposite sides. Also bL11=15>0, so the point is above the line.
Example 3
The medians of a triangle meet at the centroid, and each median meets its side at the midpoint, so each ratio is 1 and the product is 1⋅1⋅1=1, as Ceva's theorem requires.
Practice
- In what ratio does 3x−y−2=0 divide the join of (0,0) and (2,3)?
- In what ratio does x+2y−6=0 divide the join of (1,1) and (3,4)?
- Do (3,1) and (−1,5) lie on the same side of x−y+1=0?
- Is (2,−1) on the same side of 3x+4y−6=0 as the origin?
- Is (1,3) above or below 2x−3y+4=0?
- Does (1,2) lie between the lines 3x+4y−5=0 and 3x+4y−15=0?
- Lines through a point P meet the sides of triangle ABC at D, E, F with DCBD=2 and EACE=43. Find FBAF.
Answers
Show answers
- L11=−2, L22=1: ratio 2:1, internal
- L11=−3, L22=5: ratio 3:5, internal
- L11=3, L22=−5: opposite sides
- c=−6, L11=6−4−6=−4, so cL11=24>0: same side
- L11=2−9+4=−3 and b=−3, so bL11=1>0: above
- (3+8−5)(3+8−15)=6⋅(−4)<0: yes, it lies between them
- 2⋅43⋅FBAF=1, so FBAF=32