Home/Class XI/Ch 9/Distance from a point to a line; parallel-line distance
Distance from a point to a line; parallel-line distance
In the previous subtopic we learned how to write a line and read off its slope and intercepts. Now we measure things from a line: the perpendicular distance from a point to the line, and the distance between two parallel lines.
The distance formula
Theorem. The perpendicular distance from a point P(x0,y0) to the line Ax+By+C=0 is
d=A2+B2∣Ax0+By0+C∣.
Proof sketch. Drop a perpendicular from P to the line, meeting it at Q. The vector PQ is along the normal direction (A,B)/A2+B2. The signed length of PQ along the normal is −(Ax0+By0+C)/A2+B2 (computed by substituting P into the linear function and projecting). The unsigned distance is the absolute value.
Distance between parallel lines
If two lines are parallel, write them with the sameA,B:
Ax+By+C1=0,Ax+By+C2=0.
Pick any point on the second line (e.g., (−C2/A,0)) and apply the formula:
d=A2+B2∣A⋅(−C2/A)+0+C1∣=A2+B2∣C1−C2∣.
So
dparallel=A2+B2∣C1−C2∣.
A common mistake: if the two equations have different A,B scales (like 2x+3y=5 and 4x+6y=11), first scale them to match. The second is 2x+3y=11/2, so ∣C1−C2∣=∣5−11/2∣=1/2, d=(1/2)/13.
Worked examples
Example 1. Distance from (2,3) to 3x+4y−10=0.
d=9+16∣3⋅2+4⋅3−10∣=5∣8∣=58.
Example 2. Distance from origin to 5x−12y+26=0.
d=25+144∣0+0+26∣=1326=2.
Example 3. Distance between 3x+4y−10=0 and 3x+4y+5=0.
d=9+16∣−10−5∣=515=3.
Example 4. Find the equation of the line parallel to 4x−3y−8=0 at distance 2 from it.
Equations: 4x−3y+c=0. Distance from origin must shift by 2: 16+9∣c−(−8)∣=2⇒∣c+8∣=10⇒c=2 or c=−18. So two lines: 4x−3y+2=0 and 4x−3y−18=0.
Example 5. Find a point on the line y=x which is equidistant from the lines 4x+3y−5=0 and 5x+12y−13=0.
Let the point be (t,t). Distances:
d1=5∣4t+3t−5∣=5∣7t−5∣, d2=13∣5t+12t−13∣=13∣17t−13∣.
Find the equation of the line parallel to 3x+4y−10=0 at distance 5.
A line passes through (2,3) at distance 1 from origin. Find its slope.
Find the locus of a point equidistant from x=3 and y=5.
Show that the foot of the perpendicular from origin to 4x+3y−25=0 is (4,3).
Find the distance from (2,−1) to the line through (1,2) and (4,−1).
Find the orthogonal distance from (1,1) to the line y=x+4.
Find a point on the x-axis equidistant from the lines y=x and y=−x+6.
Pitfalls / Tricks
Always use the absolute value in the numerator.
For parallel lines, the coefficients of x and y must be identical before subtracting constants.
The denominator A2+B2 never depends on the point.
Insight. The signed expression A2+B2Ax0+By0+C tells you not just the distance but the side of the line on which (x0,y0) lies , positive on one side, negative on the other.