All revision notes topics

3.11 Vector equation of a lineIB Maths: Applications and Interpretation HL: Revision notes

Section 1

The vector equation r = a + λb

A line in two or three dimensions is fixed by a point on it and a direction. Its vector equation is r=a+λb,λ∈R,\mathbf{r}=\mathbf{a}+\lambda\mathbf{b},\qquad\lambda\in\mathbb{R}, where

  • r\mathbf{r} is the position vector of a general point on the line,
  • a\mathbf{a} is the position vector of a known point on the line,
  • b\mathbf{b} is a direction vector, parallel to the line,
  • λ\lambda is a parameter: each value of λ\lambda gives one point on the line.

Example: r=(2−14)+λ(32−1)\mathbf{r}=\begin{pmatrix}2 \\ -1 \\ 4\end{pmatrix}+\lambda\begin{pmatrix}3 \\ 2 \\ -1\end{pmatrix}. At λ=0\lambda=0 the point is (2,−1,4)(2,-1,4) and at λ=2\lambda=2 it is (8,3,2)(8,3,2). Negative values of λ\lambda give points on the other side of a\mathbf{a}.

Key termsvector equation of a linedirection vectorparameter
Common mistake

Using a position vector as the direction. The direction vector is the difference between two points on the line, or a given vector parallel to it.

Section 2

Finding the equation of a line

From a point and a direction: use r=a+λb\mathbf{r}=\mathbf{a}+\lambda\mathbf{b} directly.

From two points AA and BB: the direction is AB→=b−a\overrightarrow{AB}=\mathbf{b}-\mathbf{a} (end minus start), and either point can be the base: r=OA→+λAB→.\mathbf{r}=\overrightarrow{OA}+\lambda\overrightarrow{AB}. Example: A(1,2,−3)A(1,2,-3) and B(4,6,9)B(4,6,9) give AB→=(3412)\overrightarrow{AB}=\begin{pmatrix}3 \\ 4 \\ 12\end{pmatrix}, so r=(12−3)+λ(3412)\mathbf{r}=\begin{pmatrix}1 \\ 2 \\ -3\end{pmatrix}+\lambda\begin{pmatrix}3 \\ 4 \\ 12\end{pmatrix}.

The equation is not unique: any point on the line can be a\mathbf{a}, and any non-zero multiple of b\mathbf{b} can be the direction. In 2D the same form is used with 2-component vectors, e.g. r=(25)+λ(9−12)\mathbf{r}=\begin{pmatrix}2 \\ 5\end{pmatrix}+\lambda\begin{pmatrix}9 \\ -12\end{pmatrix} (the direction can be simplified to (3−4)\begin{pmatrix}3 \\ -4\end{pmatrix}).

Key termstwo-point form
Exam tip

Check your equation by substituting both points: one should be at λ=0\lambda=0 and the other at λ=1\lambda=1 when you use AB→\overrightarrow{AB} as the direction.

Section 3

Does a point lie on the line?

A point lies on the line if one value of λ\lambda gives all its coordinates.

Example: does (7,10,21)(7,10,21) lie on r=(12−3)+λ(3412)\mathbf{r}=\begin{pmatrix}1 \\ 2 \\ -3\end{pmatrix}+\lambda\begin{pmatrix}3 \\ 4 \\ 12\end{pmatrix}?

  • xx: 1+3λ=71+3\lambda=7 gives λ=2\lambda=2.
  • yy: 2+4(2)=102+4(2)=10 ✓.
  • zz: −3+12(2)=21-3+12(2)=21 ✓.

All three agree, so it is on the line. If the same λ\lambda failed for even one coordinate, the point would not be on the line.

You can also find an unknown coordinate: (7,10,p)(7,10,p) on the line gives p=21p=21. And where the line meets a coordinate plane such as z=0z=0, set that component equal to 0 and solve for λ\lambda.

Common mistake

Finding a different λ\lambda for each coordinate and stopping. The same λ\lambda must work in every component.

Section 4

Parametric form

Splitting r=(x0y0z0)+λ(lmn)\mathbf{r}=\begin{pmatrix}x_0 \\ y_0 \\ z_0\end{pmatrix}+\lambda\begin{pmatrix}l \\ m \\ n\end{pmatrix} into components gives the parametric equations x=x0+λl,y=y0+λm,z=z0+λn.x=x_0+\lambda l,\qquad y=y_0+\lambda m,\qquad z=z_0+\lambda n. Example: r=(2−14)+λ(32−1)\mathbf{r}=\begin{pmatrix}2 \\ -1 \\ 4\end{pmatrix}+\lambda\begin{pmatrix}3 \\ 2 \\ -1\end{pmatrix} becomes x=2+3λx=2+3\lambda, y=−1+2λy=-1+2\lambda, z=4−λz=4-\lambda.

To convert back, read off the point from the constant terms and the direction from the coefficients of λ\lambda: x=4−2λx=4-2\lambda, y=1+λy=1+\lambda, z=3λz=3\lambda gives r=(410)+λ(−213)\mathbf{r}=\begin{pmatrix}4 \\ 1 \\ 0\end{pmatrix}+\lambda\begin{pmatrix}-2 \\ 1 \\ 3\end{pmatrix}. A component with no constant has constant 0.

Key termsparametric equations
Exam tip

Write the parametric equations in a column, one per line, then substitute known coordinates to find λ\lambda.

Section 5

Lines in motion

A moving object often has position r=r0+tv\mathbf{r}=\mathbf{r}_0+t\mathbf{v}, with time tt in place of λ\lambda. Then

  • r0\mathbf{r}_0 is the starting position,
  • v\mathbf{v} is the velocity, and the speed is ∣v∣|\mathbf{v}|,
  • the path of the object is the line.

Example: a drone has r=(−201030)+t(4−2−3)\mathbf{r}=\begin{pmatrix}-20 \\ 10 \\ 30\end{pmatrix}+t\begin{pmatrix}4 \\ -2 \\ -3\end{pmatrix}, with the zz-axis vertical. Speed =16+4+9=5.39=\sqrt{16+4+9}=5.39 m s−1^{-1}. It reaches the ground when z=0z=0: 30−3t=030-3t=0, so t=10t=10 s, at (20,−10,0)(20,-10,0).

State answers in context, with units, and remember that tt is usually restricted to t≥0t\ge0.

Key termsspeed
Common mistake

Confusing velocity (a vector) with speed (its magnitude). The coefficient of tt is the velocity; the speed is its magnitude.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on 3.11 Vector equation of a line

  1. A line ll has vector equation r=(2−14)+λ(32−1)\mathbf{r}=\begin{pmatrix}2 \\ -1 \\ 4\end{pmatrix}+\lambda\begin{pmatrix}3 \\ 2 \\ -1\end{pmatrix}, where λ∈R\lambda\in\mathbb{R}.
    Find the coordinates of the point where ll meets the plane z=0z=0.2 marks
  2. The line l1l_1 passes through the points A(1,2,−3)A(1,2,-3) and B(4,6,9)B(4,6,9).
    Write down the parametric equations of l1l_1.2 marks
  3. A lifeboat leaves the harbour at A(2,5)A(2,5) and travels in a straight line through the point B(11,−7)B(11,-7). Coordinates are in km, relative to a lighthouse at the origin OO.
    Find a vector equation of the line along which the lifeboat travels.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).