The line equation is
and the point is
.
Show that the distance from a point
to the line
is
.
The normalized vector parallel to the line
is
.
The normalized vector parallel to the normal to the line is
.
Hence the scalar product of the two equations is zero.
\Draw the related diagram :
\
The point
is the any point on the line equation
.
The distance
is the magnitude of proj of
on
.



Substitute
.



Therefore, the distance from a point
to the line
is
.
The point is
.
The line equation is
.
The general form of line equation is
.
Here
.
The distance from a point
to the line
is
.
Substitute
and
.



.
Therefore, the distance form a point
to the line
is
.
The distance form a point
to the line
is
.