Intersection of lines and distances

Intersection of lines and distances

Spec F6 · AQA A-Level Further Maths: Revision notes

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 FF using PF→⋅d=0\overrightarrow{PF}\cdot\mathbf d=0, then ∣PF→∣|\overrightarrow{PF}|.
  • Skew lines: the common perpendicular has PQ→⋅d1=0\overrightarrow{PQ}\cdot\mathbf d_1=0 and PQ→⋅d2=0\overrightarrow{PQ}\cdot\mathbf d_2=0.

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 λ\lambda and μ\mu) and equate the position vectors. Three equations arise, one for each coordinate:

  1. Solve any two of them for λ\lambda and μ\mu.
  2. Check the values in the third equation.
  3. If it works, the lines intersect: substitute back for the point. If it fails, they do not intersect.
  1. 1

    Equate components

    using different parameters λ\lambda and μ\mu

  2. 2

    Solve two equations

    for λ\lambda and μ\mu

  3. 3

    Check the third

    it works: intersect; it fails: no intersection

Finding an intersection

Worked example

Do r=(1,2,3)+λ(1,−1,2)\mathbf r=(1,2,3)+\lambda(1,-1,2) and r=(1,−1,4)+μ(2,1,3)\mathbf r=(1,-1,4)+\mu(2,1,3) intersect?

Solving two component equations gave λ=1\lambda=1, μ=2\mu=2, 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 (1,2,3)+λ(1,−1,2)(1,2,3)+\lambda(1,-1,2) and (1,−1,5)+μ(2,1,3)(1,-1,5)+\mu(2,1,3) the xx and yy equations give λ=2\lambda=2, μ=1\mu=1, but z=7z=7 on one line and 88 on the other, so the lines are skew.

  1. 1

    Compare directions

    Are the direction vectors multiples of each other?

  2. 2

    If yes: parallel

    Test a point to see if they are the same line

  3. 3

    If no: solve two equations

    Find the two parameters

  4. 4

    Test the third equation

    It works: intersecting. It fails: skew

Classifying two lines

Lines with directions (1,2,3)(1,2,3) and (2,4,6)(2,4,6): 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 PF→⋅d=0\overrightarrow{PF}\cdot\mathbf d=0.

The shortest distance from a point PP to a line is the length of the perpendicular from PP to the line. Let FF be the foot of the perpendicular.

  1. Write FF in terms of the parameter.
  2. Form PF→\overrightarrow{PF}.
  3. Set PF→⋅d=0\overrightarrow{PF}\cdot\mathbf d=0 and solve for the parameter.
  4. The distance is ∣PF→∣|\overrightarrow{PF}|.

The reflection of PP in the line is 2OF→−OP→2\overrightarrow{OF}-\overrightarrow{OP}. For two parallel lines, use any point on one.

shortest distanceLMFP
The shortest distance from P to the line is the perpendicular PF.

Worked example

Find the distance from P(4,3,2)P(4,3,2) to r=(1,0,2)+λ(1,2,2)\mathbf r=(1,0,2)+\lambda(1,2,2).

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 PP on the first line (parameter λ\lambda) and QQ on the second (μ\mu). The shortest distance is along the common perpendicular, so

PQ→⋅d1=0andPQ→⋅d2=0.\overrightarrow{PQ}\cdot\mathbf d_1=0\quad\text{and}\quad\overrightarrow{PQ}\cdot\mathbf d_2=0.

Solve these simultaneous equations for λ\lambda and μ\mu, then find ∣PQ→∣|\overrightarrow{PQ}|.

The shortest distance between two parallel lines is found as for a point and a line.

  1. 1

    Take general points

    P on line 1 (parameter λ), Q on line 2 (parameter μ)

  2. 2

    Form the vector PQ

    in terms of λ and μ

  3. 3

    Make PQ perpendicular to both lines

    PQ · d₁ = 0 and PQ · d₂ = 0

  4. 4

    Solve for λ and μ

    then substitute to find PQ

  5. 5

    Distance = |PQ|

    the length of the common perpendicular

Finding the shortest distance between two skew lines.
  • Common perpendicularPQ→⋅d1=0\overrightarrow{PQ}\cdot\mathbf d_1=0, PQ→⋅d2=0\overrightarrow{PQ}\cdot\mathbf d_2=0

Worked example

Find the shortest distance between r=λ(1,2,2)\mathbf r=\lambda(1,2,2) and r=(1,−1,2)+μ(2,1,−2)\mathbf r=(1,-1,2)+\mu(2,1,-2).

To find the shortest distance between skew lines, how many scalar products are set to zero?

Try an exam question

Line l1l_1 has equation r=(2,1,0)+λ(1,2,−1)\mathbf r=(2,1,0)+\lambda(1,2,-1) and line l2l_2 has equation r=(0,7,3)+μ(2,−1,1)\mathbf r=(0,7,3)+\mu(2,-1,1). Show that l1l_1 and l2l_2 do not intersect.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Which pair of equations comes from equating the xx- and yy-components of l1l_1 and l2l_2?

1 mark, marked against the mark scheme

Revision notes