Study Guide

Vector Equation of a Line, Intersections

IB Mathematics AI HLΒ· 6 min read

1. Vector Equation of a Lineβ˜…β˜…β˜†β˜†β˜†β± 15 min

πŸ“˜ Definition

Vector Equation of a Line

For a line passing through a fixed point with position vector and parallel to direction vector , any point on the line is given by the sum of and a scalar multiple of . The parameter can take any real value, generating all points on the line.

Example:

A line through parallel to has equation

This form works for both 2D and 3D space β€” only the dimension of the position and direction vectors changes. Any scalar multiple of the direction vector produces an equivalent equation for the same line.

πŸ“ Worked Example

Find the vector equation of the line passing through points and .

  1. 1

    Choose the position vector of a fixed point on the line, using :

  2. 2
    a=(2βˆ’14)\mathbf{a} = \begin{pmatrix}2 \\ -1 \\ 4\end{pmatrix}
  3. 3

    Calculate the direction vector as the vector between the two points:

  4. 4
    d=PQβ†’=Qβˆ’P=(5βˆ’22βˆ’(βˆ’1)1βˆ’4)=(33βˆ’3)\mathbf{d} = \overrightarrow{PQ} = Q - P = \begin{pmatrix}5-2 \\ 2 - (-1) \\ 1 - 4\end{pmatrix} = \begin{pmatrix}3 \\ 3 \\ -3\end{pmatrix}
  5. 5

    Simplify the direction vector by dividing by the scalar 3 (any non-zero scalar multiple is valid):

  6. 6
    d=(11βˆ’1)\mathbf{d} = \begin{pmatrix}1 \\ 1 \\ -1\end{pmatrix}
  7. 7

    Substitute into the general vector equation:

  8. 8
    r=(2βˆ’14)+Ξ»(11βˆ’1),λ∈R\mathbf{r} = \begin{pmatrix}2 \\ -1 \\ 4\end{pmatrix} + \lambda \begin{pmatrix}1 \\ 1 \\ -1\end{pmatrix}, \lambda \in \mathbb{R}

2. Converting Between Common Line Formsβ˜…β˜…β˜†β˜†β˜†β± 15 min

For calculations, you will often need to convert the vector equation into parametric or Cartesian form. Starting from the general 3D vector equation:

r=(a1a2a3)+Ξ»(d1d2d3)\mathbf{r} = \begin{pmatrix}a_1 \\ a_2 \\ a_3\end{pmatrix} + \lambda \begin{pmatrix}d_1 \\ d_2 \\ d_3\end{pmatrix}
  1. Parametric form: Split into separate equations for each coordinate: , ,

  2. Cartesian form: Rearrange to isolate from each equation, then equate:

πŸ“ Worked Example

Convert to parametric and Cartesian form.

  1. 1

    Let , equate components to get parametric form:

  2. 2
    x=1+2Ξ»,y=3βˆ’Ξ»,z=βˆ’2+4Ξ»x = 1 + 2\lambda, \quad y = 3 - \lambda, \quad z = -2 + 4\lambda
  3. 3

    Rearrange each equation to isolate :

  4. 4
    Ξ»=xβˆ’12,Ξ»=yβˆ’3βˆ’1,Ξ»=z+24\lambda = \frac{x-1}{2}, \quad \lambda = \frac{y-3}{-1}, \quad \lambda = \frac{z+2}{4}
  5. 5

    Equate all expressions to get Cartesian form:

  6. 6
    xβˆ’12=3βˆ’y=z+24\frac{x-1}{2} = 3 - y = \frac{z+2}{4}

3. Intersections and Relationships Between Two Linesβ˜…β˜…β˜…β˜†β˜†β± 20 min

πŸ“˜ Definition

Relationships Between Two Lines in 3D

There are three possible cases for two lines in 3D space:

  1. Parallel: Direction vectors are scalar multiples of each other, lines never meet.
  2. Intersecting: Lines are not parallel and share exactly one common point.
  3. Skew: Lines are not parallel and never meet, only possible in 3D.

To find if two lines intersect, write both in parametric form with different parameters, set coordinates equal, solve the system of equations, then check consistency.

πŸ“ Worked Example

Determine if lines and intersect, and find the intersection point if they do.

  1. 1

    Write parametric equations for both lines:

  2. 2
    L1:x=2+Ξ», y=2βˆ’Ξ», z=3+2Ξ»L2:x=1+2ΞΌ, y=ΞΌ, z=4+ΞΌL_1: x=2+\lambda,\ y=2-\lambda,\ z=3+2\lambda \\ L_2: x=1+2\mu,\ y=\mu,\ z=4+\mu
  3. 3

    Set coordinates equal to get a system of equations:

  4. 4
    2+Ξ»=1+2ΞΌβ€…β€ŠβŸΉβ€…β€ŠΞ»βˆ’2ΞΌ=βˆ’1(1)2βˆ’Ξ»=ΞΌβ€…β€ŠβŸΉβ€…β€ŠΞ»+ΞΌ=2(2)3+2Ξ»=4+ΞΌβ€…β€ŠβŸΉβ€…β€Š2Ξ»βˆ’ΞΌ=1(3)2 + \lambda = 1 + 2\mu \implies \lambda - 2\mu = -1 \quad (1) \\ 2 - \lambda = \mu \implies \lambda + \mu = 2 \quad (2) \\ 3 + 2\lambda = 4 + \mu \implies 2\lambda - \mu = 1 \quad (3)
  5. 5

    Solve (1) and (2): Substitute from (2) into (1):

  6. 6
    (2βˆ’ΞΌ)βˆ’2ΞΌ=βˆ’1β€…β€ŠβŸΉβ€…β€Š2βˆ’3ΞΌ=βˆ’1β€…β€ŠβŸΉβ€…β€ŠΞΌ=1,Ξ»=1(2 - \mu) - 2\mu = -1 \implies 2 - 3\mu = -1 \implies \mu = 1, \lambda = 1
  7. 7

    Check consistency with equation (3): Left side , which matches the right side. The solution is consistent.

  8. 8

    Substitute into to get the intersection point:

  9. 9
    x=3, y=1, z=5β€…β€ŠβŸΉβ€…β€ŠIntersection at (3,1,5)x=3,\ y=1,\ z=5 \implies \text{Intersection at } (3, 1, 5)

4. Common Pitfalls

Wrong move:

Using the same parameter variable for both lines when solving for intersections

Why:

Each line has an independent free parameter, so using the same variable incorrectly forces the parameter value to be the same on both lines

Correct move:

Use for the first line and for the second line to keep the parameters independent

Wrong move:

Stopping after solving two equations, not checking consistency with the third equation in 3D

Why:

Two equations will always produce a solution even for skew lines, so you must confirm the solution satisfies all equations

Correct move:

Always substitute the calculated parameter values into the third equation to check consistency before concluding lines intersect

Wrong move:

Claiming non-parallel lines that do not intersect are parallel

Why:

This ignores the third category of lines unique to 3D space

Correct move:

Classify non-parallel lines that never intersect as skew lines

Wrong move:

Forgetting that direction vectors can be any scalar multiple

Why:

Sign errors or incorrect scaling leads to incorrect conversion to Cartesian form

Correct move:

Simplify direction vectors to have integer components with a positive leading term for consistency

5. Quick Reference Cheatsheet

Concept

Rule/Formula

Vector equation of line

Parametric form (3D)

Cartesian form (3D)

Parallel lines

for some scalar

Intersecting lines

Non-parallel, consistent parameter solution exists

Skew lines

Non-parallel, no consistent parameter solution

When this came up on past exams

AI-estimated based on syllabus patterns β€” cross-check with official past papers for accuracy. Use only as revision-focus signals.

  • 2021 Β· 1

    Find intersection of two 3D lines

  • 2023 Β· 2

    Classify lines as parallel/intersecting/skew

What's Next

Understanding the vector equation of a line is the core foundation for all further 3D vector topics in IB AI HL, including the vector equation of planes and finding intersections between lines and planes, which are frequently tested in both Paper 1 and Paper 2. This topic builds on your knowledge of coordinate geometry and vectors, and connects to applied problems involving paths of moving objects. Mastering the method for checking intersections and classifying lines will make all more complex 3D geometry problems much easier to approach and solve correctly.