Login

Concepts

Read through concept notes with worked explanations and diagrams, chapter by chapter.

Concept 03 / 14Coordinate Geometry

Distance from a Line, Position of Points and Angle Bisectors

The perpendicular distance from a point to a line, distance between parallel lines, foot of the perpendicular and image of a point in a line, which side of a line a point lies on, and the equations of angle bisectors with the rule for identifying the bisector containing the origin.

Figure 1
Distance from a point to a line. The perpendicular distance from P(x1,y1)P(x_{1}, y_{1}) to the line ax+by+c=0ax + by + c = 0 is d=∣ax1+by1+c∣a2+b2d = \frac{|ax_{1} + by_{1} + c|}{\sqrt{a^{2} + b^{2}}}. The numerator is the value of the line's expression at PP; dividing by a2+b2\sqrt{a^{2} + b^{2}} normalises it to a true distance. In particular, the distance from the origin is ∣c∣a2+b2\frac{|c|}{\sqrt{a^{2} + b^{2}}}. Distance between parallel lines ax+by+c1=0ax + by + c_{1} = 0 and ax+by+c2=0ax + by + c_{2} = 0 (same aa, bb): ∣c1−c2∣a2+b2\frac{|c_{1} - c_{2}|}{\sqrt{a^{2} + b^{2}}}. Make the coefficients of xx and yy identical first; 2x+4y+1=02x + 4y + 1 = 0 and x+2y+3=0x + 2y + 3 = 0 must be rewritten as x+2y+12=0x + 2y + \frac{1}{2} = 0 and x+2y+3=0x + 2y + 3 = 0. Foot of the perpendicular and image. The foot (h,k)(h, k) of the perpendicular from (x1,y1)(x_{1}, y_{1}) to ax+by+c=0ax + by + c = 0, and the image (mirror reflection) (h′,k′)(h', k'), are given by h−x1a=k−y1b=−ax1+by1+ca2+b2\frac{h - x_{1}}{a} = \frac{k - y_{1}}{b} = -\frac{ax_{1} + by_{1} + c}{a^{2} + b^{2}} and h′−x1a=k′−y1b=−2(ax1+by1+c)a2+b2\frac{h' - x_{1}}{a} = \frac{k' - y_{1}}{b} = -\frac{2(ax_{1} + by_{1} + c)}{a^{2} + b^{2}}. The reason: the perpendicular runs in the direction (a,b)(a, b) (the normal vector of the line), and the image is twice as far along it as the foot. The image of a point is the key step in reflection problems (a light ray bouncing off a mirror line, or the shortest path via a line: reflect one endpoint, then join with a straight line). Position of points relative to a line. The expression L(x,y)=ax+by+cL(x, y) = ax + by + c is positive on one side of the line and negative on the other. So two points lie on the same side iff L(x1,y1)L(x_{1}, y_{1}) and L(x2,y2)L(x_{2}, y_{2}) have the same sign. A point lies inside a triangle iff it is on the same side of each side-line as the opposite vertex. Angle bisectors. A point on a bisector of the angle between a1x+b1y+c1=0a_{1}x + b_{1}y + c_{1} = 0 and a2x+b2y+c2=0a_{2}x + b_{2}y + c_{2} = 0 is equidistant from both lines, so the two bisectors are a1x+b1y+c1a12+b12=±a2x+b2y+c2a22+b22\frac{a_{1}x + b_{1}y + c_{1}}{\sqrt{a_{1}^{2} + b_{1}^{2}}} = \pm\frac{a_{2}x + b_{2}y + c_{2}}{\sqrt{a_{2}^{2} + b_{2}^{2}}}. They are perpendicular to each other, as the figure shows. To identify which is which, first make c1c_{1} and c2c_{2} both positive. Then the ++ sign gives the bisector of the angle containing the origin. That bisector bisects the acute angle if a1a2+b1b2<0a_{1}a_{2} + b_{1}b_{2} < 0 and the obtuse angle if a1a2+b1b2>0a_{1}a_{2} + b_{1}b_{2} > 0. (An alternative check: the acute-angle bisector makes an angle of less than 45∘45^{\circ} with either line.) Key Takeaways: - d=∣ax1+by1+c∣a2+b2d = \frac{|ax_{1} + by_{1} + c|}{\sqrt{a^{2} + b^{2}}}. - Parallel lines: ∣c1−c2∣a2+b2\frac{|c_{1} - c_{2}|}{\sqrt{a^{2} + b^{2}}} after equalising a,ba, b. - Foot: h−x1a=k−y1b=−L(P)a2+b2\frac{h - x_{1}}{a} = \frac{k - y_{1}}{b} = -\frac{L(P)}{a^{2} + b^{2}}; image: twice that. - Same side iff L(P1)L(P_{1}) and L(P2)L(P_{2}) have the same sign. - Bisectors: normalised expressions equal up to sign; they are perpendicular. - With c1,c2>0c_{1}, c_{2} > 0: the ++ bisector contains the origin; it is acute if a1a2+b1b2<0a_{1}a_{2} + b_{1}b_{2} < 0. - Pitfall: forgetting to normalise by a2+b2\sqrt{a^{2} + b^{2}} in bisector equations. Brain-Teaser 1: Find the image of (1,2)(1, 2) in the line x−3y+4=0x - 3y + 4 = 0. Solution: L(1,2)=1−6+4=−1L(1, 2) = 1 - 6 + 4 = -1 and a2+b2=10a^{2} + b^{2} = 10. So h′−11=k′−2−3=−2(−1)10=15\frac{h' - 1}{1} = \frac{k' - 2}{-3} = -\frac{2(-1)}{10} = \frac{1}{5}. Hence h′=65h' = \frac{6}{5} and k′=2−35=75k' = 2 - \frac{3}{5} = \frac{7}{5}. The image is (65,75)(\frac{6}{5}, \frac{7}{5}). Check: the midpoint (1110,1710)(\frac{11}{10}, \frac{17}{10}) satisfies 1110−5110+4=0\frac{11}{10} - \frac{51}{10} + 4 = 0. Correct. Brain-Teaser 2: A ray of light along x+y=1x + y = 1 hits the xx-axis and reflects. Find the reflected ray. Solution: The ray meets the xx-axis at (1,0)(1, 0). Reflection in the xx-axis maps the incoming line onto the reflected line with the sign of yy changed: x−y=1x - y = 1. Alternatively, reflect any point of the incident ray, say (0,1)(0, 1), to get (0,−1)(0, -1), and join it to (1,0)(1, 0); the line through these is x−y=1x - y = 1. The reflected ray is the part of this line on the other side of the mirror, heading away from (1,0)(1, 0). Brain-Teaser 3: Find the bisector of the acute angle between 3x−4y+7=03x - 4y + 7 = 0 and 12x+5y−2=012x + 5y - 2 = 0. Solution: Make constants positive: 3x−4y+7=03x - 4y + 7 = 0 and −12x−5y+2=0-12x - 5y + 2 = 0. Now a1a2+b1b2=−36+20=−16<0a_{1}a_{2} + b_{1}b_{2} = -36 + 20 = -16 < 0, so the origin-containing bisector (the ++ sign) is the acute one: 3x−4y+75=−12x−5y+213\frac{3x - 4y + 7}{5} = \frac{-12x - 5y + 2}{13}. Cross-multiplying: 39x−52y+91=−60x−25y+1039x - 52y + 91 = -60x - 25y + 10, so 99x−27y+81=099x - 27y + 81 = 0, or 11x−3y+9=011x - 3y + 9 = 0. The sign conventions do all the work of identifying the correct bisector without drawing.