Distance of a point from a line
From a tree to a straight fence, the shortest rope goes straight at the fence, meeting it at a right angle.
ax + by + c = 0 a x + b y + c = 0
Drag to move · pinch or scroll to zoom · tap to read a point
distance from P to the line2.24
a h + b k + c (put P in the line)-5
Step by step
- P is the point. The dashed segment from P meets the line at a right angle, at the foot.
- Its length is the distance from P to the line. No other path to the line is shorter.
- Put P's numbers into the line: ah + bk + c. It is 0 only when P is on the line.
- The distance is |ah + bk + c| ÷ √(a² + b²).
- Move P across the line. ah + bk + c changes sign: its sign tells which side of the line P is on.
Try this
- Put P on the line. What is the distance?
- Find a point at distance 2 from the line.
- Move P to the other side and watch the sign of ah + bk + c.
Practise this
Problems on Straight Lines with checks, marks and help from Sir are on the exam site (sign in). Practise Straight Lines on the exam site →