Distances and projection (HL)
The notation of projections will not appear in exams, but knowledge of scalar projections may still be assessed. Knowing why the formulas work makes them so much easier to remember.
The formulas should be used only after the intersections between the lines and/or planes have been characterized in the question, or through previous parts. Lines or planes that intersect have distance 0.
Last edited: 2026-06-21 make equations of lines more consistent
Contents
- Projection
- Point and plane
- Two parallel planes
- Two skew lines
- Two parallel lines
- Two linear trajectories
Projection
The scalar projection of vector onto vector , where the angle between the vectors is , is
For distance, we want the absolute value so
In most of the formulas below, we project a displacement vector of two points onto the direction of the distance, which is colored in purple.
Point and plane
Given some point (position vector) and vector equation of plane
We want to project onto
So we don’t actually need to find a point on the plane.
Note, distance between a line and a parallel plane is also this, where is a given point on the line.
Two parallel planes
Similar to above, but using both constants on the right side.
Note the two normal vectors must be identical, not just parallel.
Two skew lines
Given two lines
Even if the same parameter is given for both lines, you need to assume they are different if you want distance between two lines not two paths.
Distance is always perpendicular to the line. So we want to project onto the cross product
This works because and are on parallel planes, then the problem becomes equivalent to projecting along the normal to find the distance between the two planes.
Two parallel lines
Given two lines
The cross product of scalar multiples of vectors, is . So we cannot use the skew lines formula. The two direction vectors we have are and . Instead of finding and adjacent side, we need to find the and opposite side. So we use instead the cross product
We can use the same formula for distance between a point and a line.
Two linear trajectories
Or nearest approach between two objects in linear, constant-velocity, motion.
This is different from distance of skew lines because the nearest approach may not necessarily be the shortest distance between the lines.
Given two trajectories
Where and are velocity vectors. The parameters are the same, and are often for time.
With as the distance, solve
This is minimizing a square root function. However, mathematically speaking, it is easier to minimize the square of the distance
with each component a function of time. Then take the square root for the distance.