3.11 Vector equation of a line

3.11 Vector equation of a line

IB Maths: Applications and Interpretation HL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A line is fixed by a point and a direction: r=a+λb\mathbf r=\mathbf a+\lambda\mathbf b, λ∈R\lambda\in\mathbb R.
  • From two points AA and BB, the direction is AB→=b−a\overrightarrow{AB}=\mathbf b-\mathbf a (end minus start).
  • The equation is not unique: any point on the line and any non-zero multiple of the direction will do.
  • A point is on the line only if one value of λ\lambda fits all its coordinates.
  • Components give the parametric equations x=x0+λlx=x_0+\lambda l, y=y0+λmy=y_0+\lambda m, z=z0+λnz=z_0+\lambda n.
Oaa + bλ = 2λ = −1
r = a + λb: start at a, then move λ lots of the direction vector b.

The vector equation

A point on the line plus any multiple of a direction vector reaches every point on the line.

r=a+λb,λ∈R\mathbf r=\mathbf a+\lambda\mathbf b,\qquad\lambda\in\mathbb R

  • 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.
  • b\mathbf b is a direction vector, parallel to the line.
  • λ\lambda is a parameter: each value gives one point.

For r=(2−14)+λ(32−1)\mathbf r=\begin{pmatrix}2\\-1\\4\end{pmatrix}+\lambda\begin{pmatrix}3\\2\\-1\end{pmatrix}: λ=0\lambda=0 gives (2,−1,4)(2,-1,4) and λ=2\lambda=2 gives (8,3,2)(8,3,2).

bA (λ = 0)(3, 3)(5, 4)(−1, 1)
Two-dimensional example r = (1, 2) + λ(2, 1): λ = 0 gives A, λ = 1 gives (3, 3) and λ = 2 gives (5, 4), all on one line parallel to b.
  • r=a+λb\mathbf r=\mathbf a+\lambda\mathbf bpoint + parameter × direction

For r=(2−14)+λ(32−1)\mathbf r=\begin{pmatrix}2\\-1\\4\end{pmatrix}+\lambda\begin{pmatrix}3\\2\\-1\end{pmatrix}, which point has λ=2\lambda=2?

Finding the equation

Use end minus start for the direction and either point as the base.

From a point and a direction, use r=a+λb\mathbf r=\mathbf a+\lambda\mathbf b directly. From two points AA and BB:

r=OA→+λAB→,AB→=b−a.\mathbf r=\overrightarrow{OA}+\lambda\overrightarrow{AB},\qquad\overrightarrow{AB}=\mathbf b-\mathbf a.

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 uses 2-component vectors.

  1. 1

    Direction

    AB→=(3,4,12)\overrightarrow{AB}=(3,4,12)

  2. 2

    Base point

    AA, position vector (1,2,−3)(1,2,-3)

  3. 3

    Equation

    r=(1,2,−3)+λ(3,4,12)\mathbf r=(1,2,-3)+\lambda(3,4,12)

Line through A(1, 2, −3) and B(4, 6, 9)

Worked example

Find a vector equation of the line through A(1,2,−3)A(1,2,-3) and B(4,6,9)B(4,6,9).

Which direction vector also works for the same line?

Is a point on the line?

Find λ\lambda from one coordinate, then check it gives the other coordinates.

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

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 agree, so it is on the line. To find an unknown coordinate, or where the line meets a plane such as z=0z=0, set that component and solve for λ\lambda.

  1. 1

    Use xx

    1+3λ=71+3\lambda=7, so λ=2\lambda=2

  2. 2

    Check yy

    2+8=102+8=10 ✓

  3. 3

    Check zz

    −3+24=21-3+24=21 ✓

  4. 4

    Conclude

    On the line

Testing (7, 10, 21)

A point fits xx and yy with λ=2\lambda=2 but zz needs λ=3\lambda=3. Is it on the line?

Parametric form

Each component gives its own equation in λ\lambda.

Splitting r=(x0,y0,z0)+λ(l,m,n)\mathbf r=(x_0,y_0,z_0)+\lambda(l,m,n) gives the parametric equations

x=x0+λl,y=y0+λm,z=z0+λn.x=x_0+\lambda l,\quad y=y_0+\lambda m,\quad z=z_0+\lambda n.

For example x=2+3λx=2+3\lambda, y=−1+2λy=-1+2\lambda, z=4−λz=4-\lambda.

To convert back, read the point from the constants and the direction from the coefficients of λ\lambda. A component with no constant has constant 0.

−4−2246810−4−2246xyλ = 0λ = 2x = 2 + 3λ, y = −1 + 2λ
The x and y parametric equations x = 2 + 3λ, y = −1 + 2λ trace this line (z is not shown). λ = 0 gives (2, −1) and λ = 2 gives (8, 3).

Vector form

  • r=(2,−1,4)+λ(3,2,−1)\mathbf r=(2,-1,4)+\lambda(3,2,-1)

Parametric form

  • x=2+3λx=2+3\lambda, y=−1+2λy=-1+2\lambda, z=4−λz=4-\lambda

Worked example

Write x=4−2λx=4-2\lambda, y=1+λy=1+\lambda, z=3λz=3\lambda as a vector equation.

In x=5+2λx=5+2\lambda, y=−1y=-1, z=3λz=3\lambda, what is the direction vector?

Lines in motion

Replace λ\lambda with time: position is start plus velocity times tt.

A moving object has r=r0+tv\mathbf r=\mathbf r_0+t\mathbf v, with r0\mathbf r_0 the starting position and v\mathbf v the velocity. The speed is ∣v∣|\mathbf v|, and the path is the line.

A drone has r=(−20,10,30)+t(4,−2,−3)\mathbf r=(-20,10,30)+t(4,-2,-3) with zz vertical. Speed =16+4+9=5.39=\sqrt{16+4+9}=5.39 m s−1^{-1}. It lands when 30−3t=030-3t=0, so t=10t=10 s, at (20,−10,0)(20,-10,0). State answers in context with units; usually t≥0t\geq0.

246810125101520253035xystart: 30 mlands at t = 10 sz = 30 − 3t (x axis is t in s)
Height of the drone, z = 30 − 3t: it falls steadily and lands when z = 0 at t = 10 s.
  • Positionr0+tv\mathbf r_0+t\mathbf v
  • Speed∣v∣|\mathbf v|

Worked example

A drone has r=(−20,10,30)+t(4,−2,−3)\mathbf r=(-20,10,30)+t(4,-2,-3), zz vertical (metres, seconds). Find its speed and where it lands.

If v=(3,4,0)\mathbf v=(3,4,0) m s−1^{-1}, what is the speed?

Try an exam question

The line LL passes through A(1,2,−3)A(1,2,-3) and B(4,6,9)B(4,6,9). (a) Find a vector equation of LL. (b) Show that C(7,10,21)C(7,10,21) lies on LL.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Which of the following points lies on ll?

1 mark, marked against the mark scheme

Revision notes