Distance from a Point to a Line and Distance Between Parallel Lines in
In geometry, the distance from a point to a line is defined as the shortest path connecting them—which is always the length of the perpendicular line segment dropped from the point onto the line.
In this lesson, we derive the exact formula for the perpendicular distance from any point to a general line , and extend it to determine the separation between two parallel lines.
1. Perpendicular Distance Formula
For any point and any straight line defined by the general linear equation:
The perpendicular distance from point to line is:
2. Derivation on Paper
A vector normal (perpendicular) to the line is:
The line passing through perpendicular to has parametric equation:
Let the foot of the perpendicular on be . Because lies on , its coordinates satisfy :
The distance is the length of segment :
3. Distance Between Two Parallel Lines
Two parallel lines share identical slopes and therefore can be written with matching coefficients and :
Pick any arbitrary point on line . Because lies on :
The perpendicular distance from to line is:
Crucial Prerequisite: Before applying this formula, you MUST ensure that the coefficients of and are completely identical in both equations. If one line has and the other has , scale one of the equations first!
4. Step-by-Step Paper Notebook Method
5. Comprehensive Worked Examples
Example 1: Perpendicular Distance from a Point
Problem Statement:
Find the perpendicular distance from point to the line .
Step-by-Step Solution:
Step 1: Identify coefficients and coordinates
Step 2: Evaluate the numerator
Step 3: Evaluate the denominator
Step 4: Compute the distance
The perpendicular distance is .
Example 2: Distance Between Parallel Lines Requiring Rescaling
Problem Statement:
Calculate the perpendicular distance between the parallel lines:
Step-by-Step Solution:
Step 1: Inspect coefficients
Line has , while line has .
We must scale line by multiplying all terms by :
Step 2: Identify matching parameters
Now both lines have and :
Step 3: Apply the parallel lines formula
The distance between the parallel lines is (or ).
Example 3: Finding Points on an Axis at a Given Distance
Problem Statement:
Find the coordinates of the points on the -axis whose perpendicular distance from the line is .
Step-by-Step Solution:
Step 1: Convert line equation to general form
Multiply by :
Here , , .
Step 2: Set up equation with a point on the -axis
Any point on the -axis has coordinates .
Step 3: Equate to distance and solve
This yields two cases:
Case 1:
Case 2:
The two points on the -axis are and .
6. Common Mistakes & Paper Traps
Forgetting Absolute Value in Numerator: Calculating and reporting a distance of . Distance is strictly a non-negative geometric measure: .
Applying Parallel Line Formula Without Matching Coefficients: Directly computing without multiplying by produces a completely false result.
Not Converting to General Form First: Using the formula on without moving everything to one side () causes sign errors in the constant term.
Distance to Origin Simplification: The distance from the origin to simplifies directly to:
7. Pencil & Paper Practice
Problem 1: Find the distance from the origin to the line .
Problem 2: Find the distance between the parallel lines and .
Problem 3: Show that the point lies on the line by computing its perpendicular distance.
Worked Solutions
Solution 1:
Solution 2:
Coefficients are already matched: .
Solution 3:
Substitute into the distance formula:
Since the perpendicular distance from the point to the line is , the point lies directly on the line.
Test yourself
What is the perpendicular distance from the origin to the line ?
3 units
5 units
15 units
units
What is the distance between the parallel lines and ?
2 units
units
units
10 units
Before applying the formula to find the distance between two parallel lines, what condition must be met?
Both lines must pass through the origin
The constants and must be positive
The coefficients and must be identical in both equations