Distances to lines and between parallel lines
Find point-to-line and parallel-line distances with perpendicular projections and coordinate formulas.
The distance from a point to a line is the length of the perpendicular segment.
For Ax+By+C=0 with A and B not both zero, distance from (x₀,y₀) is abs(Ax₀+By₀+C)/√(A²+B²). This comes from projecting onto the line's normal vector ⟨A,B⟩. Parallel-line distance uses the same normalized A and B coefficients before comparing constants. A coordinate construction can instead intersect the line with a perpendicular through the point.
Use a perpendicular connector between parallel lines
The distance between parallel lines is the length of a perpendicular segment joining them. You can choose a convenient point on one line, find the perpendicular through it, intersect the other line, then apply the distance formula. A vertical separation is only the shortest distance when the lines are horizontal.
Example. For y = x and y = x + 4, choose (0, 0). The perpendicular y = −x meets the other line at (−2, 2), giving distance √8 = 2√2, which is less than the vertical gap of 4.
Find the distance from (2,1) to 3x+4y−20=0.
- Substitute into the numerator: abs(6+4−20)=10.
- The normal vector length is √(9+16)=5.
- The distance is 10/5=2.
Find the distance between 3x+4y−20=0 and 3x+4y−5=0.
Check your reasoning
abs(−20−(−5))/5=15/5=3.
This self-check is for practice. It does not submit an answer or record mastery.
Normalize line coefficients before subtracting constants; multiplying a line equation does not change its location.
Ideas from CK-12
These original explanations and examples draw on the concepts in CK-12 Geometry Concepts (2012). Read the corresponding book lessons:
Show what you understand
Construct the perpendicular foot and compare parallel-line separation without subtracting intercepts blindly.
Complete this task on paper. In your student account, you can record lesson completion and use daily practice.
Create your account →