Vector and Cartesian equations of lines

Vector and Cartesian equations of lines

Spec F1 · AQA A-Level Further Maths: 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+λd\mathbf r=\mathbf a+\lambda\mathbf d.
  • Through two points AA and BB: r=a+λ(b−a)\mathbf r=\mathbf a+\lambda(\mathbf b-\mathbf a), end minus start.
  • Cartesian form: x−a1d1=y−a2d2=z−a3d3\dfrac{x-a_1}{d_1}=\dfrac{y-a_2}{d_2}=\dfrac{z-a_3}{d_3}; read the point from the numerators with the signs changed.
  • Parallel lines have direction vectors that are multiples of each other.
  • To check a point lies on a line, find λ\lambda from one component, then check the other two.

The vector equation of a line

A line is a point on it plus a multiple of a direction vector: r=a+λd\mathbf r=\mathbf a+\lambda\mathbf d.

A line in 3D is fixed by a point on it and a direction.

If AA has position vector a\mathbf a and d\mathbf d is a direction vector, every point on the line has position vector

r=a+λd,\mathbf r=\mathbf a+\lambda\mathbf d,

where the parameter λ\lambda takes every real value. Each value of λ\lambda gives one point.

In components, r=(a1+λd1,  a2+λd2,  a3+λd3)\mathbf r=(a_1+\lambda d_1,\;a_2+\lambda d_2,\;a_3+\lambda d_3).

The equation is not unique: any point on the line can be the base point and any non-zero multiple of d\mathbf d can be the direction.

adrOABP
2D picture: from A, move 1.5 lots of d to reach P.

Does (5,0,3)(5,0,3) lie on r=(1,2,−1)+λ(2,−1,2)\mathbf r=(1,2,-1)+\lambda(2,-1,2)?

The line through two points

Take the direction as end minus start, b−a\mathbf b-\mathbf a, and use either point as the base.

For points AA and BB with position vectors a\mathbf a and b\mathbf b, the direction is AB→=b−a\overrightarrow{AB}=\mathbf b-\mathbf a (end minus start), so

r=a+λ(b−a).\mathbf r=\mathbf a+\lambda(\mathbf b-\mathbf a).

At λ=0\lambda=0 you are at AA and at λ=1\lambda=1 you are at BB.

abb − aOAB
In 2D: A(1,3)A(1,3), B(5,1)B(5,1), so AB→=b−a=(4,−2)\overrightarrow{AB}=\mathbf b-\mathbf a=(4,-2).

Worked example

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

A(2,0,1)A(2,0,1) and B(5,3,−1)B(5,3,-1). What is a direction vector of line ABAB?

The Cartesian form

Make λ\lambda the subject of each component and set the three expressions equal.

Write the vector equation as x=a1+λd1x=a_1+\lambda d_1, y=a2+λd2y=a_2+\lambda d_2, z=a3+λd3z=a_3+\lambda d_3 and make λ\lambda the subject of each:

x−a1d1=y−a2d2=z−a3d3  (=λ).\frac{x-a_1}{d_1}=\frac{y-a_2}{d_2}=\frac{z-a_3}{d_3}\;(=\lambda).

So r=(4,−3,1)+μ(2,−1,3)\mathbf r=(4,-3,1)+\mu(2,-1,3) becomes x−42=y+3−1=z−13\frac{x-4}{2}=\frac{y+3}{-1}=\frac{z-1}{3}.

In reverse, read the point from the numerators (change the signs: y+3y+3 means −3-3) and the direction from the denominators.

If a direction component is 00, you cannot divide by it. For direction (0,2,5)(0,2,5) through (3,1,−2)(3,1,-2) write x=3,  y−12=z+25x=3,\;\frac{y-1}{2}=\frac{z+2}{5}.

  1. 1

    Write the components

    x = a₁ + λd₁, y = a₂ + λd₂, z = a₃ + λd₃

  2. 2

    Make λ the subject

    of each component

  3. 3

    Set the three expressions equal

    (x − a₁)/d₁ = (y − a₂)/d₂ = (z − a₃)/d₃

From the vector form to the Cartesian form
  • r=a+λd\mathbf r=\mathbf a+\lambda\mathbf dx−a1d1=y−a2d2=z−a3d3\dfrac{x-a_1}{d_1}=\dfrac{y-a_2}{d_2}=\dfrac{z-a_3}{d_3}

Worked example

Write x−23=y+14=z−2\frac{x-2}{3}=\frac{y+1}{4}=\frac{z}{-2} in vector form.

Which point lies on x−12=y+43=z−5−1\frac{x-1}{2}=\frac{y+4}{3}=\frac{z-5}{-1}?

Parallel lines and the same line

Lines are parallel when their directions are multiples; they are the same line only if they also share a point.

Two lines are parallel if their direction vectors are multiples of each other.

Parallel lines are the same line only if a point on one also lies on the other.

A line parallel to a given line through a new point uses the same direction vector with the new base point.

line 1line 2, same direction, no common pointABCD
Parallel lines have directions that are multiples of each other; they are different lines unless they share a point

Parallel, different lines

  • Directions are multiples
  • No common point

The same line

  • Directions are multiples
  • A point of one lies on the other

Worked example

Are r=(2,−1,5)+λ(2,1,−1)\mathbf r=(2,-1,5)+\lambda(2,1,-1) and r=(1,4,−2)+μ(4,2,−2)\mathbf r=(1,4,-2)+\mu(4,2,-2) the same line?

r=(0,1,2)+λ(1,2,3)\mathbf r=(0,1,2)+\lambda(1,2,3) and r=(2,5,8)+μ(3,6,9)\mathbf r=(2,5,8)+\mu(3,6,9). What is true?

Try an exam question

The line ll passes through A(2,0,1)A(2,0,1) and B(5,3,−1)B(5,3,-1). Find a vector equation of ll and determine whether the point C(8,6,−3)C(8,6,-3) lies on ll.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find AB→\overrightarrow{AB}.

1 mark, marked against the mark scheme

Revision notes