Introduction
A fundamental concept in coordinate geometry is calculating the shortest distance between a point and a line. This is always the perpendicular distance.
1. Distance of a Point from a Line
The perpendicular distance (d) from a point to the line is given by the formula:
The numerator is the absolute value you get when you substitute the point's coordinates into the line's equation. The denominator normalizes this value by the magnitude of the line's direction vector.
2. Distance Between Two Parallel Lines
The distance between two parallel lines is the constant perpendicular distance between them. For two parallel lines given by:
The distance (d) between them is the difference in their constant terms, normalized by the same factor as above:
Note: This formula only works if the coefficients of x and y (A and B) are identical in both equations. If they are not, you must first manipulate one of the equations to make them match.
Distance d between two parallel lines:
, is given by
Example 1: Distance of a Point from a Line
Question: Find the distance of the point (3, -5) from the line .
Solution:
We use the distance formula with and the line (so A=3, B=-4, C=-26).
Example 2: Distance Between Parallel Lines
Question: Find the distance between the parallel lines and .
Solution:
The lines are parallel and their equations are already in a comparable form. We use the formula .
Here, .
Example 3: Normalizing Equations First
Question: Find the distance between the parallel lines and .
Solution:
The coefficients of x and y are not identical, so we cannot apply the formula directly. We must make them match first.
Step 1: Rewrite the second equation by dividing the entire equation by 2:
.
Step 2: Now we can compare it with the first line, .
Here, .
Step 3: Apply the distance formula.