The distance from a point to a line is the shortest gap, measured straight across (perpendicular) from the point to the line. Here we find the distance from the origin to the line .
In general, the distance from a point to a line is given by this formula.
For this line , , . Substituting , the numerator is and the denominator is , so the distance is .
The perpendicular dropped from to the line is , and it meets the line at the foot of the perpendicular . The length from the origin to is , matching the distance from the formula.
This formula is exactly what lies behind the earlier topic "intersection of a circle and a line," where we compared the distance from the center to the line with the radius. The circle (center , radius ) is tangent to this line, since the distance is , equal to the radius. The large dots on the graph are the point and the foot of the perpendicular ; the length of the segment joining them is the distance we wanted.