Question
L : Ax+By+C=0
Original question: L : Ax+By+C=0 d=\frac{|A x_1+B y_1+C|}{\sqrt{A^2+B^2}} P(x_1,y_1) d Y O
Expert Verified Solution
Key concept: This note is about the distance from a point to a line written in standard form. The formula comes directly from projecting the point onto the line's normal vector.
Step by step
For a line in standard form
the perpendicular distance from a point to the line is
What each symbol means
- are the coefficients of the line
- is the given point
- is the shortest distance, measured perpendicularly to the line
Why this works
The vector is normal to the line. The numerator gives the signed projection of the point onto that normal direction, and the absolute value makes the distance nonnegative.
How to use it
- Write the line as .
- Substitute the point coordinates into .
- Take the absolute value.
- Divide by .
Pitfall alert
A frequent error is to forget the absolute value, which can make the result negative. Another common mistake is using the distance formula for a point to a point instead of point to a line. Also, the line must be in the form before applying the formula directly.
Try different conditions
If the line is written as , first rearrange it to before using the formula. If the point is the origin , the distance becomes .
Further reading
perpendicular distance, standard form, normal vector