Distance from a point to a line
The distance from a point to a line is the length of the perpendicular segment from the point to the line, which is the shortest path between them. Write the line as , plug the point into the left side, take the absolute value, and divide by .
Formulas
When to use it
Use it when you need the distance (the shortest distance) between a point and a line on the coordinate plane.
Worked example
Find the distance between the point and the line . The numerator is , and the denominator is . So the distance is .
Common mistake
Plugging straight into a line written like gives a wrong answer. First rearrange it so one side is 0, as in , then use the formula, and do not forget the absolute value in the numerator.