We want to find the minimum distance between a point
and a line
If We label the point on the line which makes this distance a minimum
the we must find the distance![]()

This distance will be a minimum when the line
is at a right angle to
This means that the dot product of
with the tangent vector
to
is
We can use this to find
and then the distance![]()
Suppose
and the equation of
is
We take the point
as having coordinates
so the vector
is
The tangent vector of the line
is![]()
The dot product of
and the tangent vector is
Then
![]()