Wize High School Grade 12 Calculus Textbook > Distance Between Lines & Planes
Distance from a Point to a Line in

0:00 / 0:00
Distance From a Point to a Line in R3
Suppose that is a line in and is a point on this line.
The shortest distance between a point and this line is or .

Example
Find the shortest distance between the point annd the line
A point on the line is , the point we are given is
The direction vector is .
Using the formula:
Practice: Distance Between 2 Parallel Lines in R3
Find the shortest distance between the lines and .

0:00 / 0:00
Example: Closest Point on a Line
a) Find the coordinates of the point on the line that is closest to the point .
b) Find the shortest distance between the point and the line.
a) Let be the point on the line that is closest to .
First, let's rewrite the line into parametric form:
So, is of the form for some value of .
We know that the position vector is perpendicular to the line:
The position vector is
Since this is perpendicular to the line, the dot product between this position vector and the line's direction vector should be 0:
Therefore, the point on the line closest to the point P is , which is
b) The shortest distance is
Practice: Reflection of a Point
Find the coordinates of the point obtained by reflecting the point along the line .