3.15 · AHL · HL onlyPaper 1Paper 2

Relationships between lines

Builds on 3.14 Vector equations of lines28 min read

In a minute

Two lines in 3D can be the same line, be , cross at one point, or be : not parallel, yet never meeting. Two tests tell them apart. Compare the , then look for a common point. When the lines meet, the same working gives the point of intersection.

You'll be able to

  • Tell whether two lines are coincident, parallel, intersecting or skew, starting from their direction vectors.
  • Show that two lines are skew, giving both parts of the reason.
  • Find the point where two lines meet, and check it in every component equation.
  • Find an unknown constant that makes two lines meet.
Before you start3 quick questions on what this builds on
Check yourself
Which point lies on the line r=(2−13)+λ(14−2)\boldsymbol{r} = \begin{pmatrix}2\\-1\\3\end{pmatrix} + \lambda\begin{pmatrix}1\\4\\-2\end{pmatrix}?
Check yourself
A line has Cartesian equations x−32=4−y5=z+1\frac{x - 3}{2} = \frac{4 - y}{5} = z + 1. Which is a direction vector of the line?
Check yourself
Find the number kk for which (−46−2)=k(2−31)\begin{pmatrix}-4\\6\\-2\end{pmatrix} = k\begin{pmatrix}2\\-3\\1\end{pmatrix}.

Revise first: 3.14 Vector equations of lines

Four ways two lines can sit

Draw two lines on a sheet of paper. They cross at one point, run side by side without meeting, or lie on top of each other. In 3D there is a fourth option.

Picture a road on a bridge and a railway underneath it, heading off in another direction. They are not , but they never meet. Lines like these are called .

So any two lines L1L_1 and L2L_2 fall into exactly one of four cases.

1. : they are the same line, so every point is shared.

2. Parallel: the same direction, but no point in common.

3. : different directions and exactly one point in common.

4. Skew: different directions and no point in common.

The four ways two lines can sit: coincident, parallel, intersecting and skew Coincident Parallel Intersecting Skew L₁ L₂ L₁ L₂ L₁ L₂ L₁ L₂
Only skew lines need three dimensions. Edges of a box show them well.

In 2D, two lines that are not parallel always meet. In 3D that is no longer true, so different directions alone don't tell you the lines cross.

The first test uses only the b1\boldsymbol{b}_1 and b2\boldsymbol{b}_2. It splits the four cases into two pairs.

To test, divide matching components. If every one gives the same kk, the directions match.

Same direction still leaves two cases. Take any point on L2L_2 and test whether it lies on L1L_1. If it does, the lines share a point and a direction, so they are coincident. If not, they are parallel.

Worked exampleDetermine whether the lines L1:r=(13−2)+λ(2−14)L_1: \boldsymbol{r} = \begin{pmatrix}1\\3\\-2\end{pmatrix} + \lambda\begin{pmatrix}2\\-1\\4\end{pmatrix} and L2:r=(053)+μ(−63−12)L_2: \boldsymbol{r} = \begin{pmatrix}0\\5\\3\end{pmatrix} + \mu\begin{pmatrix}-6\\3\\-12\end{pmatrix} are coincident or parallel.

Try it first, then reveal one step at a time.

  1. Compare the directions: (−63−12)=−3(2−14)\begin{pmatrix}-6\\3\\-12\end{pmatrix} = -3\begin{pmatrix}2\\-1\\4\end{pmatrix}. Every component gives k=−3k = -3, so the lines have the same direction.
Worked exampleThe lines L1:r=(13−2)+λ(2−14)L_1: \boldsymbol{r} = \begin{pmatrix}1\\3\\-2\end{pmatrix} + \lambda\begin{pmatrix}2\\-1\\4\end{pmatrix} and L2:r=(5a6)+μ(−42−8)L_2: \boldsymbol{r} = \begin{pmatrix}5\\a\\6\end{pmatrix} + \mu\begin{pmatrix}-4\\2\\-8\end{pmatrix} are coincident. Find the value of aa.

Try it first, then reveal one step at a time.

  1. Check the directions first: (−42−8)=−2(2−14)\begin{pmatrix}-4\\2\\-8\end{pmatrix} = -2\begin{pmatrix}2\\-1\\4\end{pmatrix}. So the lines are parallel or coincident.
Check yourself
Which line is parallel to L:r=(20−1)+λ(3−69)L: \boldsymbol{r} = \begin{pmatrix}2\\0\\-1\end{pmatrix} + \lambda\begin{pmatrix}3\\-6\\9\end{pmatrix}, but not the same line?
Check yourself
How are the lines L1:r=(1−14)+λ(21−1)L_1: \boldsymbol{r} = \begin{pmatrix}1\\-1\\4\end{pmatrix} + \lambda\begin{pmatrix}2\\1\\-1\end{pmatrix} and L2:r=(512)+μ(−4−22)L_2: \boldsymbol{r} = \begin{pmatrix}5\\1\\2\end{pmatrix} + \mu\begin{pmatrix}-4\\-2\\2\end{pmatrix} related?

Finding the point of intersection

Suppose L1L_1 and L2L_2 meet at a point P. P is on L1L_1, so some value of λ\lambda gives it. P is also on L2L_2, so some value of μ\mu gives it.

The two values are usually different. Each line has its own parameter, so give them different letters. Using λ\lambda for both would force the lines to reach P at the same value, which is almost never true.

Setting the two general points equal gives one equation per component. In 3D that is three equations in just two unknowns, λ\lambda and μ\mu.

Learn this
a1+λb1=a2+μb2\boldsymbol{a}_{1} + \lambda\boldsymbol{b}_{1} = \boldsymbol{a}_{2} + \mu\boldsymbol{b}_{2}

1. Write both lines with different parameters, such as λ\lambda and μ\mu.

2. Set the xx-, yy- and zz-components equal. You get three equations.

3. Solve two of them for λ\lambda and μ\mu. Pick the pair that looks easiest.

4. Substitute both values into the third equation. If it holds, the lines meet. If it fails, they don't.

5. Put λ\lambda into L1L_1, or μ\mu into L2L_2, to get the point. Doing both is a quick check.

Step 4 matters. Two equations in two unknowns nearly always have a solution, so they can't tell you on their own whether the lines meet.

In 2D there are only two equations, so step 4 has nothing to test.

Worked exampleFind the point of intersection of the lines L1:r=(12)+λ(31)L_1: \boldsymbol{r} = \begin{pmatrix}1\\2\end{pmatrix} + \lambda\begin{pmatrix}3\\1\end{pmatrix} and L2:r=(91)+μ(2−3)L_2: \boldsymbol{r} = \begin{pmatrix}9\\1\end{pmatrix} + \mu\begin{pmatrix}2\\-3\end{pmatrix}.

Try it first, then reveal one step at a time.

  1. Set the general points equal: (1+3λ2+λ)=(9+2μ1−3μ)\begin{pmatrix}1 + 3\lambda\\2 + \lambda\end{pmatrix} = \begin{pmatrix}9 + 2\mu\\1 - 3\mu\end{pmatrix}.
Worked exampleShow that the lines L1:r=(−151)+λ(2−32)L_1: \boldsymbol{r} = \begin{pmatrix}-1\\5\\1\end{pmatrix} + \lambda\begin{pmatrix}2\\-3\\2\end{pmatrix} and L2:r=(614)+μ(32−1)L_2: \boldsymbol{r} = \begin{pmatrix}6\\1\\4\end{pmatrix} + \mu\begin{pmatrix}3\\2\\-1\end{pmatrix} intersect, and find their point of intersection.

Try it first, then reveal one step at a time.

  1. Equate the components: −1+2λ=6+3μ-1 + 2\lambda = 6 + 3\mu,   5−3λ=1+2μ\;5 - 3\lambda = 1 + 2\mu and   1+2λ=4−μ\;1 + 2\lambda = 4 - \mu.
Worked exampleThe lines L1:r=(201)+λ(11−2)L_1: \boldsymbol{r} = \begin{pmatrix}2\\0\\1\end{pmatrix} + \lambda\begin{pmatrix}1\\1\\-2\end{pmatrix} and L2:r=(c3−4)+μ(2−11)L_2: \boldsymbol{r} = \begin{pmatrix}c\\3\\-4\end{pmatrix} + \mu\begin{pmatrix}2\\-1\\1\end{pmatrix} intersect. Find the value of cc and the point of intersection.

Try it first, then reveal one step at a time.

  1. Equate the components: 2+λ=c+2μ2 + \lambda = c + 2\mu,   λ=3−μ\;\lambda = 3 - \mu and   1−2λ=−4+μ\;1 - 2\lambda = -4 + \mu.
Check yourself
Find the point where L1:r=(012)+λ(12−1)L_1: \boldsymbol{r} = \begin{pmatrix}0\\1\\2\end{pmatrix} + \lambda\begin{pmatrix}1\\2\\-1\end{pmatrix} meets L2:r=(523)+μ(1−11)L_2: \boldsymbol{r} = \begin{pmatrix}5\\2\\3\end{pmatrix} + \mu\begin{pmatrix}1\\-1\\1\end{pmatrix}.
Check yourself
The lines r=(1−23)+λ(210)\boldsymbol{r} = \begin{pmatrix}1\\-2\\3\end{pmatrix} + \lambda\begin{pmatrix}2\\1\\0\end{pmatrix} and r=(40p)+μ(11−1)\boldsymbol{r} = \begin{pmatrix}4\\0\\p\end{pmatrix} + \mu\begin{pmatrix}1\\1\\-1\end{pmatrix} intersect. Find pp.

Showing that lines are skew

fail both tests: the directions are not multiples, and the third equation fails.

Look at a closed box. Take the front edge of the lid and the left edge of the floor, which runs from front to back. They point different ways and never touch, so they are skew.

So a proof that two lines are skew has two parts. Leave either out and the proof has a gap: lines with no common point could still be parallel.

Worked exampleShow that the lines L1:r=(102)+λ(121)L_1: \boldsymbol{r} = \begin{pmatrix}1\\0\\2\end{pmatrix} + \lambda\begin{pmatrix}1\\2\\1\end{pmatrix} and L2:r=(2−14)+μ(11−2)L_2: \boldsymbol{r} = \begin{pmatrix}2\\-1\\4\end{pmatrix} + \mu\begin{pmatrix}1\\1\\-2\end{pmatrix} are skew.

Try it first, then reveal one step at a time.

  1. Not parallel: if (11−2)=k(121)\begin{pmatrix}1\\1\\-2\end{pmatrix} = k\begin{pmatrix}1\\2\\1\end{pmatrix}, the xx-components give k=1k = 1 but the yy-components give k=12k = \frac{1}{2}. So the directions are not multiples of each other.
Worked exampleThe line L1L_1 has Cartesian equations x−23=y+1−1=z−42\frac{x - 2}{3} = \frac{y + 1}{-1} = \frac{z - 4}{2}, and L2:r=(120)+μ(101)L_2: \boldsymbol{r} = \begin{pmatrix}1\\2\\0\end{pmatrix} + \mu\begin{pmatrix}1\\0\\1\end{pmatrix}. Show that L1L_1 and L2L_2 are skew.

Try it first, then reveal one step at a time.

  1. Give L1L_1 its own parameter. Setting each part equal to λ\lambda gives x=2+3λx = 2 + 3\lambda, y=−1−λy = -1 - \lambda and z=4+2λz = 4 + 2\lambda.
Check yourself
How are the lines L1:r=(021)+λ(1−13)L_1: \boldsymbol{r} = \begin{pmatrix}0\\2\\1\end{pmatrix} + \lambda\begin{pmatrix}1\\-1\\3\end{pmatrix} and L2:r=(402)+μ(11−1)L_2: \boldsymbol{r} = \begin{pmatrix}4\\0\\2\end{pmatrix} + \mu\begin{pmatrix}1\\1\\-1\end{pmatrix} related?
Check yourself
The lines L1:r=(102)+λ(2−13)L_1: \boldsymbol{r} = \begin{pmatrix}1\\0\\2\end{pmatrix} + \lambda\begin{pmatrix}2\\-1\\3\end{pmatrix} and L2:r=(041)+μ(−42−6)L_2: \boldsymbol{r} = \begin{pmatrix}0\\4\\1\end{pmatrix} + \mu\begin{pmatrix}-4\\2\\-6\end{pmatrix} have no point in common. How are they related?

Deciding which case you have

To decide how two lines are related, run the two tests in order.

1. Compare the . Is one a multiple of the other?

2. If yes, test one point of L2L_2 on L1L_1. On the line means . Off the line means .

3. If no, solve two component equations for λ\lambda and μ\mu, then test the third. If it holds, the lines , and you can find the point. If it fails, they are .

If one line holds an unknown, solve the two equations without it first. Then use the last equation to find it.

Worked exampleThe lines L1:r=(31−2)+λ(1−22)L_1: \boldsymbol{r} = \begin{pmatrix}3\\1\\-2\end{pmatrix} + \lambda\begin{pmatrix}1\\-2\\2\end{pmatrix} and L2:r=(6q1)+μ(2−11)L_2: \boldsymbol{r} = \begin{pmatrix}6\\q\\1\end{pmatrix} + \mu\begin{pmatrix}2\\-1\\1\end{pmatrix} are given. Find the value of qq for which the lines intersect, and say how they are related for every other value of qq.

Try it first, then reveal one step at a time.

  1. Equate the components: 3+λ=6+2μ3 + \lambda = 6 + 2\mu,   1−2λ=q−μ\;1 - 2\lambda = q - \mu and   −2+2λ=1+μ\;-2 + 2\lambda = 1 + \mu.
Worked exampleThe lines L1:r=(4−27)+λ(35−2)L_1: \boldsymbol{r} = \begin{pmatrix}4\\-2\\7\end{pmatrix} + \lambda\begin{pmatrix}3\\5\\-2\end{pmatrix} and L2:r=(−6103)+μ(4−31)L_2: \boldsymbol{r} = \begin{pmatrix}-6\\10\\3\end{pmatrix} + \mu\begin{pmatrix}4\\-3\\1\end{pmatrix} are given. Use your calculator to determine whether L1L_1 and L2L_2 intersect.

Try it first, then reveal one step at a time.

  1. Directions first. The xx-components have ratio 43\frac{4}{3} but the yy-components have ratio −35-\frac{3}{5}. So the lines are not parallel.
Check yourself
How are L1:x−52=y+34=2−z2L_1: \frac{x - 5}{2} = \frac{y + 3}{4} = \frac{2 - z}{2} and L2:r=(710)+μ(−1−21)L_2: \boldsymbol{r} = \begin{pmatrix}7\\1\\0\end{pmatrix} + \mu\begin{pmatrix}-1\\-2\\1\end{pmatrix} related?
Check yourself
The lines r=(21−1)+λ(132)\boldsymbol{r} = \begin{pmatrix}2\\1\\-1\end{pmatrix} + \lambda\begin{pmatrix}1\\3\\2\end{pmatrix} and r=(0−45)+μ(11h)\boldsymbol{r} = \begin{pmatrix}0\\-4\\5\end{pmatrix} + \mu\begin{pmatrix}1\\1\\h\end{pmatrix} intersect. Find hh.

Common mistakes

  • Using the same parameter for both lines. The lines usually reach their common point at different parameter values, so write λ\lambda for one line and μ\mu for the other.
  • Calling lines skew after showing only that they don't meet. Parallel lines don't meet either, so also show that the directions are not multiples.
  • Putting λ\lambda into L2L_2, or μ\mu into L1L_1. Each value belongs to its own line. Check the point by putting the other value into the other line.
  • Calling lines coincident because their directions match. One point of L2L_2 must also lie on L1L_1; if it doesn't, the lines are parallel.
  • Sign slips when expanding, such as writing −3(2−μ)-3(2 - \mu) as −6−3μ-6 - 3\mu. The wrong λ\lambda or μ\mu then makes the third equation seem to fail.

Exam tips

  • "Show that the lines are skew" needs two reasons: the directions are not multiples, and the third equation fails. Write the failing equation with its numbers.
  • "Find the point of intersection" wants coordinates. Show the test of the third equation, since it is part of the method.
  • On Paper 2, write down the two equations you enter in the solver, then the values of λ\lambda and μ\mu. Carry the full values into the third equation.

Key takeaways

Learn thisa1+λb1=a2+μb2\boldsymbol{a}_{1} + \lambda\boldsymbol{b}_{1} = \boldsymbol{a}_{2} + \mu\boldsymbol{b}_{2}
Learn thisTwo lines are coincident, parallel, intersecting or skew. Skew lines are not parallel and never meet, so they exist only in 3D.
Learn thisSame direction means b2=kb1\boldsymbol{b}_2 = k\boldsymbol{b}_1. Then test one point: on the other line means coincident, off it means parallel.
Learn thisFor a common point, use different parameters, solve two component equations and test the third. Put λ\lambda into L1L_1 for the point.
Learn thisTo show lines are skew, show both: the directions are not multiples, and the third equation fails.

Practise this

8 past-paper questions on 3.15 in the AA HL bank, each with a mark scheme and a worked explanation.

Practise 3.15 →