Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›IB Mathematics: Analysis and Approaches
  3. ›3 Geometry and trigonometry
  4. ›3.15 Intersecting and skew lines

IB Mathematics: Analysis and Approaches · Topic 3 · Geometry and trigonometry

3.15 Intersecting and skew lines

Decide whether two lines in space are parallel, intersect or are skew, find any intersection point, and calculate the angle between two lines.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
  • HL only
Start a Quick 5 on this topic→Jump to the 10 questions
1/5Two lines in space can be parallel, intersecting or skew
  1. 1Two lines in space can be parallel, intersecting or skew
  2. 2Parallel lines have direction vectors that are multiples
  3. 3Equating the two lines tests for an intersection
  4. 4A worked check finds the point or shows the lines are skew
  5. 5The angle between lines comes from their direction vectors
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: Two lines in space can be parallel, intersecting or skew

In a flat diagram, two lines either meet or run parallel. In three dimensions, a third case appears. Picture a bridge passing over a road: the two paths never meet, yet they are not parallel.

Lines like these are skew lines. The other two cases are lines that intersect at one point and lines that are parallel. Two lines that lie in one plane can never be skew. Deciding which case applies is the first step in any problem about two lines.

The three ways two lines in space can relate

CaseDirection vectorsCommon points
ParallelScalar multiplesNone, or all
IntersectingNot multiplesExactly one
SkewNot multiplesNone
Case
Parallel
Direction vectors
Scalar multiples
Common points
None, or all
Case
Intersecting
Direction vectors
Not multiples
Common points
Exactly one
Case
Skew
Direction vectors
Not multiples
Common points
None

Key term

skew lines

Skew lines are lines in three dimensions that are neither parallel nor intersecting, so they never lie in one plane.

Part 1 done

2

Part 2 of 5: Parallel lines have direction vectors that are multiples

Start with the quickest test, which uses only the directions. If one direction vector is a multiple of the other, the two lines run the same way. They are called parallel lines.

Parallel lines may still be the same line. Check whether one point of the first line lies on the second. If it does, the two lines are the same line. One point is enough, because the directions already match. They are called coincident lines.

Worked example

Testing for parallel lines

Line L1L_1L1​ is r=(120)+λ(2−46)\mathbf{r}=\begin{pmatrix}1 \\ 2 \\ 0\end{pmatrix}+\lambda\begin{pmatrix}2 \\ -4 \\ 6\end{pmatrix}r=​120​​+λ​2−46​​ and line L2L_2L2​ is r=(013)+μ(−12−3)\mathbf{r}=\begin{pmatrix}0 \\ 1 \\ 3\end{pmatrix}+\mu\begin{pmatrix}-1 \\ 2 \\ -3\end{pmatrix}r=​013​​+μ​−12−3​​. Determine whether they are parallel or coincident.
  1. 1
    Compare directions: (2−46)=−2(−12−3)\begin{pmatrix}2 \\ -4 \\ 6\end{pmatrix}=-2\begin{pmatrix}-1 \\ 2 \\ -3\end{pmatrix}​2−46​​=−2​−12−3​​. The lines are parallel.
  2. 2
    Test the point (1,2,0)(1,2,0)(1,2,0) on L2L_2L2​. The xxx equation −μ=1-\mu=1−μ=1 gives μ=−1\mu=-1μ=−1.
  3. 3
    Check yyy: 1+2(−1)=−11+2(-1)=-11+2(−1)=−1, which is not 2.

Answer: The lines are parallel but not coincident.

Common mistake

Directions need not be equal. A negative multiple reverses the direction, but the lines are still parallel.

Key terms · tap one for its definition

parallel lines

Parallel lines are lines whose direction vectors are non-zero scalar multiples of each other, including negative multiples.

coincident lines

Coincident lines are two lines that share every point, so they are one line with different equations.

Part 2 done

Quick check

One question on the part you just read

Easy

Two lines have direction vectors (24−6)\begin{pmatrix}2 \\ 4 \\ -6\end{pmatrix}​24−6​​ and (−1−23)\begin{pmatrix}-1 \\ -2 \\ 3\end{pmatrix}​−1−23​​. Identify what this tells you about the lines.
Show answer and explanation

Answer: C · Worked explanation

The first vector equals -2 times the second, so the directions are scalar multiples and the lines are parallel. Perpendicular lines would need a scalar product of zero, but here it is −2−8−18=−28-2-8-18=-28−2−8−18=−28. Always compare directions first, before looking for a common point.
3

Part 3 of 5: Equating the two lines tests for an intersection

Now suppose the lines are not parallel. They either intersect or are skew. To decide, ask whether one point lies on both lines.

Write the lines as r1=a1+λb1\mathbf{r}_1=\mathbf{a}_1+\lambda\mathbf{b}_1r1​=a1​+λb1​ and r2=a2+μb2\mathbf{r}_2=\mathbf{a}_2+\mu\mathbf{b}_2r2​=a2​+μb2​. Use different letters for the parameters. The common point is usually reached at different parameter values on each line.

  • Set r1=r2\mathbf{r}_1=\mathbf{r}_2r1​=r2​ and write the three component equations.
  • Solve two of the equations for λ\lambdaλ and μ\muμ.
  • Substitute both values into the third equation.
  • State that the lines intersect if it holds, and that they are skew if it fails.

When the lines do intersect, substitute a parameter value into its own line to find the point. Using the other line gives the same point, which is a useful check.

Part 3 done

4

Part 4 of 5: A worked check finds the point or shows the lines are skew

The method is easiest to see with numbers. After the example, a small change shows how skew lines appear.

Worked example

Finding an intersection

Line L1L_1L1​ is r=(102)+λ(12−1)\mathbf{r}=\begin{pmatrix}1 \\ 0 \\ 2\end{pmatrix}+\lambda\begin{pmatrix}1 \\ 2 \\ -1\end{pmatrix}r=​102​​+λ​12−1​​ and line L2L_2L2​ is r=(131)+μ(21−1)\mathbf{r}=\begin{pmatrix}1 \\ 3 \\ 1\end{pmatrix}+\mu\begin{pmatrix}2 \\ 1 \\ -1\end{pmatrix}r=​131​​+μ​21−1​​. Find their intersection.
  1. 1
    The directions (1,2,−1)(1,2,-1)(1,2,−1) and (2,1,−1)(2,1,-1)(2,1,−1) are not multiples, so the lines are not parallel.
  2. 2
    Equate components: 1+λ=1+2μ1+\lambda=1+2\mu1+λ=1+2μ, 2λ=3+μ2\lambda=3+\mu2λ=3+μ and 2−λ=1−μ2-\lambda=1-\mu2−λ=1−μ.
  3. 3
    The first gives λ=2μ\lambda=2\muλ=2μ. Substitute into the second: 4μ=3+μ4\mu=3+\mu4μ=3+μ, so μ=1\mu=1μ=1 and λ=2\lambda=2λ=2.
  4. 4
    Check the third: 2−2=02-2=02−2=0 and 1−1=01-1=01−1=0. It holds.
  5. 5
    Substitute λ=2\lambda=2λ=2 into L1L_1L1​: (1+2, 0+4, 2−2)(1+2,\,0+4,\,2-2)(1+2,0+4,2−2).

Answer: The lines intersect at (3,4,0)(3,4,0)(3,4,0).

Now change the start of L2L_2L2​ to (1,3,2)(1,3,2)(1,3,2). The first two equations still give λ=2\lambda=2λ=2 and μ=1\mu=1μ=1. The third becomes 2−λ=2−μ2-\lambda=2-\mu2−λ=2−μ, which gives 0=10=10=1. The lines are then skew. The third equation is the one that decides the case.

Exam tip

Always check the third equation. Two equations in two unknowns can always be solved, so they prove nothing alone.

Part 4 done

Quick check

One question on the part you just read

Easy

State the number of common points of two skew lines.
Show answer and explanation

Answer: A · Worked explanation

Skew lines never meet, so they have no common points. One common point describes intersecting lines. Infinitely many common points describe coincident lines. The number of common points separates the cases when lines are not parallel.
5

Part 5 of 5: The angle between lines comes from their direction vectors

Whether lines meet or not, you can measure an angle between them. Only the direction vectors matter. Recall that b1⋅b2\mathbf{b}_1\cdot\mathbf{b}_2b1​⋅b2​ means multiply matching components and add. The result gives the angle between two lines.

Reversing a direction vector leaves the line unchanged but turns the angle θ\thetaθ into 180∘−θ180^{\circ}-\theta180∘−θ. To avoid this, use an absolute value: cos⁡θ=∣b1⋅b2∣∣b1∣∣b2∣\cos\theta=\frac{|\mathbf{b}_1\cdot\mathbf{b}_2|}{|\mathbf{b}_1||\mathbf{b}_2|}cosθ=∣b1​∣∣b2​∣∣b1​⋅b2​∣​. Moving a line parallel to itself keeps its direction vector. So the position of the lines does not matter.

Worked example

Angle between two lines

Find the angle between lines with direction vectors (12−1)\begin{pmatrix}1 \\ 2 \\ -1\end{pmatrix}​12−1​​ and (21−1)\begin{pmatrix}2 \\ 1 \\ -1\end{pmatrix}​21−1​​.
  1. 1
    Scalar product: 2+2+1=52+2+1=52+2+1=5.
  2. 2
    Lengths: 6\sqrt{6}6​ and 6\sqrt{6}6​.
  3. 3
    Substitute: cos⁡θ=56\cos\theta=\frac{5}{6}cosθ=65​.

Answer: θ≈33.6∘\theta\approx33.6^{\circ}θ≈33.6∘.

Exam tip

Skew lines also have an angle. Use their direction vectors even though the lines never meet.

Key term

angle between two lines

The angle between two lines is the angle θ\thetaθ with 0∘≤θ≤90∘0^{\circ}\le\theta\le90^{\circ}0∘≤θ≤90∘ found from their direction vectors.

Note read

Check your recall[15 marks]

6 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.State[1 mark]

    State the condition on direction vectors for two lines to be parallel.

    Show mark schemeHide mark scheme

    Model answer

    One direction vector is a non-zero scalar multiple of the other.

    • 1 mark for stating that the direction vectors are scalar multiples of each other
  2. 2.Determine[3 marks]

    Line L1L_1L1​ is r=(21−1)+λ(1−23)\mathbf{r}=\begin{pmatrix}2 \\ 1 \\ -1\end{pmatrix}+\lambda\begin{pmatrix}1 \\ -2 \\ 3\end{pmatrix}r=​21−1​​+λ​1−23​​ and line L2L_2L2​ is r=(054)+μ(−24−6)\mathbf{r}=\begin{pmatrix}0 \\ 5 \\ 4\end{pmatrix}+\mu\begin{pmatrix}-2 \\ 4 \\ -6\end{pmatrix}r=​054​​+μ​−24−6​​. Determine whether the lines are parallel, and whether they are coincident.

    Show mark schemeHide mark scheme

    Model answer

    The direction of L2L_2L2​ is -2 times the direction of L1L_1L1​, so the lines are parallel. Testing (2,1,−1)(2,1,-1)(2,1,−1) on L2L_2L2​: μ=−1\mu=-1μ=−1 from xxx gives z=10z=10z=10, not -1. The lines are not coincident.

    • 1 mark for showing that the directions are scalar multiples
    • 1 mark for testing a point of L1L_1L1​ on L2L_2L2​
    • 1 mark for concluding that the lines are parallel but not coincident
  3. 3.Determine[4 marks]

    Line L1L_1L1​ is r=(110)+λ(123)\mathbf{r}=\begin{pmatrix}1 \\ 1 \\ 0\end{pmatrix}+\lambda\begin{pmatrix}1 \\ 2 \\ 3\end{pmatrix}r=​110​​+λ​123​​ and line L2L_2L2​ is r=(244)+μ(112)\mathbf{r}=\begin{pmatrix}2 \\ 4 \\ 4\end{pmatrix}+\mu\begin{pmatrix}1 \\ 1 \\ 2\end{pmatrix}r=​244​​+μ​112​​. Determine the point where the lines intersect.

    Show mark schemeHide mark scheme

    Model answer

    Equating gives 1+λ=2+μ1+\lambda=2+\mu1+λ=2+μ, 1+2λ=4+μ1+2\lambda=4+\mu1+2λ=4+μ and 3λ=4+2μ3\lambda=4+2\mu3λ=4+2μ. The first two give λ=2\lambda=2λ=2 and μ=1\mu=1μ=1. The third holds, since 6=66=66=6. The point is (3,5,6)(3,5,6)(3,5,6).

    • 1 mark for equating the components
    • 1 mark for solving two equations to get λ=2\lambda=2λ=2 and μ=1\mu=1μ=1
    • 1 mark for checking the third equation
    • 1 mark for substituting to obtain (3,5,6)(3,5,6)(3,5,6)
  4. 4.Calculate[3 marks]

    Calculate the angle between two lines with direction vectors (236)\begin{pmatrix}2 \\ 3 \\ 6\end{pmatrix}​236​​ and (122)\begin{pmatrix}1 \\ 2 \\ 2\end{pmatrix}​122​​. Give your answer to 3 significant figures.

    Show mark schemeHide mark scheme

    Model answer

    The scalar product is 2+6+12=202+6+12=202+6+12=20. The lengths are 7 and 3. So cos⁡θ=2021\cos\theta=\frac{20}{21}cosθ=2120​ and θ≈17.8∘\theta\approx17.8^{\circ}θ≈17.8∘.

    • 1 mark for finding the scalar product 20
    • 1 mark for finding the lengths 7 and 3
    • 1 mark for obtaining θ≈17.8∘\theta\approx17.8^{\circ}θ≈17.8∘
  5. 5.Explain[2 marks]

    Explain why the formula for the angle between two lines uses the absolute value of the scalar product.

    Show mark schemeHide mark scheme

    Model answer

    Either direction vector can be reversed without changing its line. Reversing one changes the angle to 180∘−θ180^{\circ}-\theta180∘−θ. The absolute value gives the angle from 0∘0^{\circ}0∘ to 90∘90^{\circ}90∘.

    • 1 mark for stating that a direction vector can be reversed without changing the line
    • 1 mark for explaining that the absolute value gives an angle from 0∘0^{\circ}0∘ to 90∘90^{\circ}90∘
  6. 6.Distinguish[2 marks]

    Distinguish between skew lines and parallel lines.

    Show mark schemeHide mark scheme

    Model answer

    Parallel lines have direction vectors that are scalar multiples. Skew lines have directions that are not multiples, and they never meet.

    • 1 mark for stating that parallel lines have direction vectors that are scalar multiples
    • 1 mark for stating that skew lines are not parallel and do not intersect

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Explain[1 mark]

When equating r1=a1+λb1\mathbf{r}_1=\mathbf{a}_1+\lambda\mathbf{b}_1r1​=a1​+λb1​ with r2=a2+μb2\mathbf{r}_2=\mathbf{a}_2+\mu\mathbf{b}_2r2​=a2​+μb2​, explain why different letters are used.
Show answer and explanation

Answer: B · Worked explanation

Each line has its own parameter, and the point common to both lines usually has different parameter values on each line. Using one letter would force λ=μ\lambda=\muλ=μ, which would miss most intersections. Using a single letter would force the same parameter value on both lines.
4.

Medium·Determine[2 marks]

Line L1L_1L1​ is r=(102)+λ(12−1)\mathbf{r}=\begin{pmatrix}1 \\ 0 \\ 2\end{pmatrix}+\lambda\begin{pmatrix}1 \\ 2 \\ -1\end{pmatrix}r=​102​​+λ​12−1​​ and line L2L_2L2​ is r=(132)+μ(21−1)\mathbf{r}=\begin{pmatrix}1 \\ 3 \\ 2\end{pmatrix}+\mu\begin{pmatrix}2 \\ 1 \\ -1\end{pmatrix}r=​132​​+μ​21−1​​. Determine their relationship.
Show answer and explanation

Answer: D · Worked explanation

The first two equations give μ=1\mu=1μ=1 and λ=2\lambda=2λ=2. The third is 2−λ=2−μ2-\lambda=2-\mu2−λ=2−μ, so 0=10=10=1, which is false. The directions are not multiples, so the lines are skew. The point (3,4,0)(3,4,0)(3,4,0) lies on the first line but not the second. Skew lines need three dimensions, so this case cannot happen in a flat plane.
5.

Medium·Calculate[2 marks]

Calculate the angle between lines with direction vectors (122)\begin{pmatrix}1 \\ 2 \\ 2\end{pmatrix}​122​​ and (212)\begin{pmatrix}2 \\ 1 \\ 2\end{pmatrix}​212​​.
Show answer and explanation

Answer: A · Worked explanation

The scalar product is 2+2+4=82+2+4=82+2+4=8 and each length is 3. So cos⁡θ=89\cos\theta=\frac{8}{9}cosθ=98​ and θ≈27.3∘\theta\approx27.3^{\circ}θ≈27.3∘. The value 62.7∘62.7^{\circ}62.7∘ is 90∘90^{\circ}90∘ minus the correct angle, which comes from confusing cosine with sine. The formula uses the scalar product, so it needs cosine rather than sine.
6.

Medium·Determine[2 marks]

Line L1L_1L1​ is r=(210)+λ(111)\mathbf{r}=\begin{pmatrix}2 \\ 1 \\ 0\end{pmatrix}+\lambda\begin{pmatrix}1 \\ 1 \\ 1\end{pmatrix}r=​210​​+λ​111​​ and line L2L_2L2​ is r=(252)+μ(1−10)\mathbf{r}=\begin{pmatrix}2 \\ 5 \\ 2\end{pmatrix}+\mu\begin{pmatrix}1 \\ -1 \\ 0\end{pmatrix}r=​252​​+μ​1−10​​. Determine the point of intersection.
Show answer and explanation

Answer: B · Worked explanation

Equating gives λ=μ\lambda=\muλ=μ from xxx and 1+λ=5−μ1+\lambda=5-\mu1+λ=5−μ from yyy. So λ=μ=2\lambda=\mu=2λ=μ=2, and the zzz equation λ=2\lambda=2λ=2 holds. The point is (4,3,2)(4,3,2)(4,3,2). The point (3,2,1)(3,2,1)(3,2,1) is only the point on the first line for λ=1\lambda=1λ=1. Check: substituting λ=2\lambda=2λ=2 into the first line gives (4,3,2)(4,3,2)(4,3,2).
7.

Medium·Determine[1 mark]

A line with direction (1p−2)\begin{pmatrix}1 \\ p \\ -2\end{pmatrix}​1p−2​​ is parallel to a line with direction (−366)\begin{pmatrix}-3 \\ 6 \\ 6\end{pmatrix}​−366​​. Determine ppp.
Show answer and explanation

Answer: C · Worked explanation

The multiple is -3 because −3×1=−3-3\times1=-3−3×1=−3. The last components agree, since −3×(−2)=6-3\times(-2)=6−3×(−2)=6. So −3p=6-3p=6−3p=6 and p=−2p=-2p=−2. The value p=2p=2p=2 ignores the negative multiple. Check: with p=−2p=-2p=−2 the first direction becomes (1,−2,−2)(1,-2,-2)(1,−2,−2), and −3×(1,−2,−2)=(−3,6,6)-3\times(1,-2,-2)=(-3,6,6)−3×(1,−2,−2)=(−3,6,6). Matching one pair of components is enough to fix the multiple.
8.

Hard·Calculate[2 marks]

Two lines have direction vectors (304)\begin{pmatrix}3 \\ 0 \\ 4\end{pmatrix}​304​​ and (04−3)\begin{pmatrix}0 \\ 4 \\ -3\end{pmatrix}​04−3​​. Calculate the angle between the lines.
Show answer and explanation

Answer: D · Worked explanation

The scalar product is -12 and both lengths are 5, so the vectors make 118.7∘118.7^{\circ}118.7∘. The angle between the lines is the acute angle 180∘−118.7∘=61.3∘180^{\circ}-118.7^{\circ}=61.3^{\circ}180∘−118.7∘=61.3∘, found with cos⁡θ=1225\cos\theta=\frac{12}{25}cosθ=2512​. The value 118.7∘118.7^{\circ}118.7∘ skips the absolute value. Dropping the minus sign before applying the inverse cosine is the purpose of the absolute value.
9.

Hard·Deduce[2 marks]

Two lines have directions that are not multiples. Equating components, the first two equations give λ=3\lambda=3λ=3 and μ=−1\mu=-1μ=−1, and the third reduces to 7=57=57=5. Deduce the relationship of the lines.
Show answer and explanation

Answer: A · Worked explanation

A common point must satisfy all three equations. The third fails, so no common point exists. The directions are not multiples, so the lines are not parallel. They are skew. Solving two equations alone does not prove an intersection. Only a contradiction in the third equation, not a solution of the first two, decides the case.
10.

Hard·Determine[2 marks]

Line L1L_1L1​ is r=(123)+λ(21−1)\mathbf{r}=\begin{pmatrix}1 \\ 2 \\ 3\end{pmatrix}+\lambda\begin{pmatrix}2 \\ 1 \\ -1\end{pmatrix}r=​123​​+λ​21−1​​ and line L2L_2L2​ is r=(7k6)+μ(01−2)\mathbf{r}=\begin{pmatrix}7 \\ k \\ 6\end{pmatrix}+\mu\begin{pmatrix}0 \\ 1 \\ -2\end{pmatrix}r=​7k6​​+μ​01−2​​. The lines intersect. Determine kkk.
Show answer and explanation

Answer: C · Worked explanation

From xxx, 7=1+2λ7=1+2\lambda7=1+2λ gives λ=3\lambda=3λ=3. From zzz, 6−2μ=3−3=06-2\mu=3-3=06−2μ=3−3=0 gives μ=3\mu=3μ=3. Then yyy gives 2+3=k+32+3=k+32+3=k+3, so k=2k=2k=2. The value k=5k=5k=5 is the yyy coordinate of the intersection, not the value of kkk. Check: yyy on the first line is 2+3=52+3=52+3=5, and on the second line k+3=5k+3=5k+3=5 when k=2k=2k=2.

Keep going

Next topic3.16 Vector productPrevious topic3.14 Vector equations of lines

More in Topic 3 · Geometry and trigonometry

  1. 3.10Compound angle identitiesNotes · 10 questions· HL only
  2. 3.11Symmetry of trig graphsNotes · 10 questions· HL only
  3. 3.12Introduction to vectorsNotes · 10 questions· HL only
  4. 3.13Scalar productNotes · 10 questions· HL only
  5. 3.14Vector equations of linesNotes · 10 questions· HL only
  6. 3.15Intersecting and skew linesNotes · 10 questions· HL only
  7. 3.16Vector productNotes · 10 questions· HL only
  8. 3.17Vector equations of planesNotes · 10 questions· HL only
  9. 3.18Lines and planes: intersections and anglesNotes · 10 questions· HL only

All IB Mathematics: Analysis and Approaches topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by IB Diploma Programme or any exam board.

On this page

0/5 read

  1. 1Two lines in space can be parallel, intersecting or skew
  2. 2Parallel lines have direction vectors that are multiples
  3. 3Equating the two lines tests for an intersection
  4. 4A worked check finds the point or shows the lines are skew
  5. 5The angle between lines comes from their direction vectors
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe