Intersection of lines and distances
Studying this course? Keep your progress in one place.
Key facts
- To find where two lines meet, equate components with different parameters, solve two equations, then check the third.
- Two lines in 3D are parallel, intersecting or skew (not parallel and no common point).
- Distance from a point to a line: find the foot of the perpendicular using , then .
- Skew lines: the common perpendicular has and .
Where two lines meet
Equate the position vectors using different parameters, solve two equations, then check the third.
Write each line in components using a different parameter (say and ) and equate the position vectors. Three equations arise, one for each coordinate:
- Solve any two of them for and .
- Check the values in the third equation.
- If it works, the lines intersect: substitute back for the point. If it fails, they do not intersect.
- 1
Equate components
using different parameters and
- 2
Solve two equations
for and
- 3
Check the third
it works: intersect; it fails: no intersection
Worked example
Do and intersect?
- 1
Equate : , so .
- 2
Equate : , so .
- 3
Then , so and .
- 4
Check : and . They agree.
- 5
Substitute : .
Solving two component equations gave , , but the third equation fails. What do you conclude?
Parallel, intersecting or skew
Two lines are parallel, intersecting or skew; skew is possible only in 3D.
Two lines in 3D can be:
- parallel: direction vectors are multiples of each other (the same line, or distinct);
- intersecting: not parallel, and the three equations are consistent;
- skew: not parallel and no common point.
Check for parallel first, then try to solve. For and the and equations give , , but on one line and on the other, so the lines are skew.
- 1
Compare directions
Are the direction vectors multiples of each other?
- 2
If yes: parallel
Test a point to see if they are the same line
- 3
If no: solve two equations
Find the two parameters
- 4
Test the third equation
It works: intersecting. It fails: skew
Lines with directions and : what is the first thing you can conclude?
Distance from a point to a line
The shortest distance is the perpendicular from the point to the line, found by setting .
The shortest distance from a point to a line is the length of the perpendicular from to the line. Let be the foot of the perpendicular.
- Write in terms of the parameter.
- Form .
- Set and solve for the parameter.
- The distance is .
The reflection of in the line is . For two parallel lines, use any point on one.
Worked example
Find the distance from to .
- 1
, so .
- 2
Set : .
- 3
So , and .
- 4
.
In the method above, which scalar product is set to zero?
Distance between skew lines
The shortest distance is along the common perpendicular, which is perpendicular to both directions.
For skew lines, take a general point on the first line (parameter ) and on the second (). The shortest distance is along the common perpendicular, so
Solve these simultaneous equations for and , then find .
The shortest distance between two parallel lines is found as for a point and a line.
- 1
Take general points
P on line 1 (parameter λ), Q on line 2 (parameter μ)
- 2
Form the vector PQ
in terms of λ and μ
- 3
Make PQ perpendicular to both lines
PQ · d₁ = 0 and PQ · d₂ = 0
- 4
Solve for λ and μ
then substitute to find PQ
- 5
Distance = |PQ|
the length of the common perpendicular
- Common perpendicular,
Worked example
Find the shortest distance between and .
- 1
and .
- 2
gives .
- 3
gives .
- 4
, so .
To find the shortest distance between skew lines, how many scalar products are set to zero?
Try an exam question
Line has equation and line has equation . Show that and do not intersect.
[4 marks]
- [1]Equates components: and .
- [1]Solves to obtain and .
- [1]The components are on and on , so they differ.
- [1]The directions are not multiples, so the lines are skew and do not meet.
That's the notes covered.
Carry on to the next subtopic.
Try a question
Which pair of equations comes from equating the - and -components of and ?
1 mark, marked against the mark scheme
Which pair of equations comes from equating the - and -components of and ?
1 mark, marked against the mark scheme