Maths doubt, JEE

What is the formula for the distance of a point from a line?

Answer: The perpendicular distance of from the line is . The distance between the parallel lines and is .

By Sunil Kumar. Updated 26 November 2026.

Why

Foot of the perpendicular : .

Image of the point in the line: the same expression with a factor 2, .

Two points lie on the same side of the line when has the same sign at both.

Angle between lines of slopes , : . Parallel when , perpendicular when .

Exam tip

Before using the parallel-lines formula make the coefficients of and identical in both equations. The distance from the origin is simply .

Previous year questions on this

More maths doubts