Vector and Cartesian equations of a line

Vector and Cartesian equations of a line

Spec 6.1 · Edexcel A-Level Further Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A line is r=a+λb\mathbf r=\mathbf a+\lambda\mathbf b: a position vector plus a multiple of a direction vector.
  • The Cartesian form is x−a1b1=y−a2b2=z−a3b3\frac{x-a_1}{b_1}=\frac{y-a_2}{b_2}=\frac{z-a_3}{b_3}.
  • To test a point, find λ\lambda from one coordinate and check all three.
  • Two lines meet if equating components, with different parameters, gives a consistent solution.
  • Lines that are neither parallel nor intersecting are skew.

Vector equation of a line

Take a point on the line and add any multiple of a direction vector: r=a+λb\mathbf r=\mathbf a+\lambda\mathbf b.

A line in 3-D is fixed by a point AA with position vector a\mathbf a and a direction vector b\mathbf b. Each value of the parameter λ\lambda gives one point on the line.

For the line through AA and BB, take the direction as AB→\overrightarrow{AB}: the position vector of BB minus the position vector of AA.

A line has many correct equations: any point on it and any non-zero multiple of the direction will do.

r = a + λbabOADL1L2
The line r = a + λb in two dimensions: a is the position vector of a point A on the line and b is the direction vector
  • Liner=a+λb\mathbf r=\mathbf a+\lambda\mathbf b
  • Direction through AA, BBAB→\overrightarrow{AB} = BB minus AA

Worked example

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

Which is a direction vector for the line through A(1,0,2)A(1,0,2) and B(3,4,−2)B(3,4,-2)?

Cartesian form

Eliminate λ\lambda: equate the three expressions x−a1b1\frac{x-a_1}{b_1}, y−a2b2\frac{y-a_2}{b_2}, z−a3b3\frac{z-a_3}{b_3}.

Eliminating λ\lambda from x=a1+λb1x=a_1+\lambda b_1, y=a2+λb2y=a_2+\lambda b_2 and z=a3+λb3z=a_3+\lambda b_3 gives the Cartesian form below.

To go back, set each fraction equal to λ\lambda. Read the point from the numerators and the direction from the denominators.

If a denominator is zero, that coordinate is constant: direction (2,0,1)(2,0,1) through (1,3,5)(1,3,5) gives x−12=z−51,  y=3\frac{x-1}{2}=\frac{z-5}{1},\;y=3.

  1. 1

    Write x, y and z separately

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

  2. 2

    Make λ the subject of each

    λ = (x − a₁)/b₁ and so on

  3. 3

    Equate the three expressions

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

From the vector form to the Cartesian form

Vector form

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

Cartesian form

  • x−23=y+12=z−4−4\frac{x-2}{3}=\frac{y+1}{2}=\frac{z-4}{-4}
  • Numerators give the point (sign flipped), denominators the direction

Write r=(1,−2,3)+λ(2,5,−1)\mathbf r=(1,-2,3)+\lambda(2,5,-1) in Cartesian form.

Is a point on the line?

Find λ\lambda from one coordinate, then check that all three coordinates agree.

Write the general point (a1+λb1, a2+λb2, a3+λb3)(a_1+\lambda b_1,\,a_2+\lambda b_2,\,a_3+\lambda b_3) and equate it to the given point.

Use one coordinate to find λ\lambda, then check that all three coordinates agree. Checking only two can give a false "yes".

  1. 1

    Write the general point

    in terms of λ\lambda

  2. 2

    Find λ\lambda

    from one coordinate

  3. 3

    Check the other two

    all three must agree

  4. 4

    Decide

    any mismatch means not on the line

Testing whether a point is on a line

Worked example

Is (11,5,−12)(11,5,-12) on r=(2,−1,4)+λ(3,2,−4)\mathbf r=(2,-1,4)+\lambda(3,2,-4)?

Is (8,3,−4)(8,3,-4) on r=(2,−1,4)+λ(3,2,−4)\mathbf r=(2,-1,4)+\lambda(3,2,-4)?

Intersecting lines

Equate the position vectors using different parameters, solve two equations and check the third.

For r1=a1+λb1\mathbf r_1=\mathbf a_1+\lambda\mathbf b_1 and r2=a2+μb2\mathbf r_2=\mathbf a_2+\mu\mathbf b_2, use different parameters.

Equate the three components. Solve two of the equations, then substitute into the third.

If it holds, the lines meet, and substituting back gives the point of intersection. If it fails, they do not meet.

  1. 1

    Equate components

    xx, yy and zz give three equations

  2. 2

    Solve two

    find λ\lambda and μ\mu

  3. 3

    Check the third

    does it hold?

  4. 4

    Substitute back

    read off the point

Testing whether two lines meet

Worked example

Do (3,1,−2)+λ(1,2,−1)(3,1,-2)+\lambda(1,2,-1) and (3,6,−7)+μ(2,−1,3)(3,6,-7)+\mu(2,-1,3) intersect?

Two components give λ=1\lambda=1, μ=2\mu=2, but the third component does not match. What does this show?

Parallel and skew lines

In 3-D, lines that are neither parallel nor intersecting are skew.

Two lines are parallel if their direction vectors are multiples of each other. They are the same line if a point of one lies on the other.

In 2-D, non-parallel lines always meet. In 3-D they need not: lines that are neither parallel nor intersecting are skew.

To show lines are skew you need both facts: the directions are not multiples, and the equations have no solution.

  1. 1

    Compare the direction vectors

    if one is a multiple of the other, the lines are parallel

  2. 2

    Otherwise equate the coordinates

    solve two equations for λ and μ, then test the third

  3. 3

    Decide

    all three satisfied: they intersect; otherwise they are skew

Deciding how two lines in 3-D are related

Parallel

  • Directions are multiples
  • Never meet (or identical)

Intersecting

  • Directions not multiples
  • A solution exists

Skew

  • Directions not multiples
  • No solution

Worked example

Are (1,0,0)+λ(1,1,0)(1,0,0)+\lambda(1,1,0) and (0,1,0)+μ(1,0,1)(0,1,0)+\mu(1,0,1) skew?

Two lines have directions (1,2,−1)(1,2,-1) and (−2,−4,2)(-2,-4,2) and share no point. Are they skew?

Try an exam question

Line l1l_1 has equation r=(1,2,3)+λ(2,1,−1)\mathbf r=(1,2,3)+\lambda(2,1,-1) and line l2l_2 has equation r=(5,1,0)+μ(−1,1,1)\mathbf r=(5,1,0)+\mu(-1,1,1). Show that the lines intersect and find the coordinates of the point of intersection.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Which is a vector equation of l1l_1?

1 mark, marked against the mark scheme

Revision notes