3 The vector equation of a line

Consider the straight line A P B shown in Figure 48. This is a line in three-dimensional space.

Figure 48

No alt text was set. Please request alt text from the person who provided you with this resource.

Points A and B are fixed and known points on the line, and have position vectors a ̲ and b ̲ respectively. Point P is any other arbitrary point on the line, and has position vector r ̲ . Note that because A B and A P are parallel, A P is simply a scalar multiple of A B , that is, A P = t A B where t is a number.

Task!

Referring to Figure 48, write down an expression for the vector A B in terms of a ̲ and b ̲ .

A B = b ̲ a ̲

Task!

Referring to Figure 48, use the triangle law for vector addition to find an expression for r ̲ in terms of a ̲ , b ̲ and t , where A P = t A B .

O P = O A + A P

so that

r ̲ = a ̲ + t ( b ̲ a ̲ )  since  A P = t A B

The answer to the above Task, r ̲ = a ̲ + t ( b ̲ a ̲ ) , is the vector equation of the line through A and B . It is a rule which gives the position vector r ̲ of a general point on the line in terms of the given vectors a ̲ , b ̲ . By varying the value of t we can move to any point on the line. For example, referring to Figure 48,

when t = 0 , the equation gives r ̲ = a ̲ ,  which locates point  A ,

when t = 1 , the equation gives r ̲ = b ̲ ,  which locates point  B .

If 0 < t < 1 the point P lies on the line between A and B . If t > 1 the point P lies on the line beyond B (to the right in the figure). If t < 0 the point P lies on the line beyond A (to the left in the figure).

Key Point 25

The vector equation of the line through points A and B with position vectors a ̲ and b ̲ is

r ̲ = a ̲ + t ( b ̲ a ̲ )
Task!

Write down the vector equation of the line which passes through the points with position vectors a ̲ = 3 i ̲ + 2 j ̲ and b ̲ = 7 i ̲ + 5 j ̲ . Also express the equation in column vector form.

b ̲ a ̲ = ( 7 i ̲ + 5 j ̲ ) ( 3 i ̲ + 2 j ̲ ) = 4 i ̲ + 3 j ̲

The equation of the line is then

r ̲ = a ̲ + t ( b ̲ a ̲ ) = ( 3 i ̲ + 2 j ̲ ) + t ( 4 i ̲ + 3 j ̲ )

Using column vector notation we could write

r ̲ = 3 2 + t 4 3

Task!

Using column vector notation, write down the vector equation of the line which passes through the points with position vectors a ̲ = 5 i ̲ 2 j ̲ + 3 k ̲ and b ̲ = 2 i ̲ + j ̲ 4 k ̲ .

Using column vector notation note that b ̲ a ̲ = 2 1 4 5 2 3 = 3 3 7

The equation of the line is then r ̲ = a ̲ + t ( b ̲ a ̲ ) = 5 2 3 + t 3 3 7

3.1 Cartesian form

On occasions it is useful to convert the vector form of the equation of a straight line into Cartesian form. Suppose we write

a ̲ = a 1 a 2 a 3 , b ̲ = b 1 b 2 b 3 , r ̲ = x y z

then r ̲ = a ̲ + t ( b ̲ a ̲ ) implies

x y z = a 1 a 2 a 3 + t b 1 a 1 b 2 a 2 b 3 a 3 = a 1 + t ( b 1 a 1 ) a 2 + t ( b 2 a 2 ) a 3 + t ( b 3 a 3 )

Equating the individual components we find

x = a 1 + t ( b 1 a 1 ) ,  or equivalently  t = x a 1 b 1 a 1

y = a 2 + t ( b 2 a 2 ) ,  or equivalently  t = y a 2 b 2 a 2

z = a 3 + t ( b 3 a 3 ) ,  or equivalently  t = z a 3 b 3 a 3

Each expression on the right is equal to t and so we can write

x a 1 b 1 a 1 = y a 2 b 2 a 2 = z a 3 b 3 a 3

This gives the Cartesian form of the equations of the straight line which passes through the points with coordinates ( a 1 , a 2 , a 3 ) and ( b 1 , b 2 , b 3 ) .

Key Point 26

The Cartesian form of the equation of the straight line which passes through the points with coordinates ( a 1 , a 2 , a 3 ) and ( b 1 , b 2 , b 3 ) is

x a 1 b 1 a 1 = y a 2 b 2 a 2 = z a 3 b 3 a 3
Example 22
  1. Write down the Cartesian form of the equation of the straight line which passes through the two points ( 9 , 3 , 2 ) and ( 4 , 5 , 1 ) .
  2. State the equivalent vector equation.
Solution
  1. x 9 4 9 = y 3 5 3 = z ( 2 ) 1 ( 2 )

    that is

    x 9 5 = y 3 2 = z + 2 1 (Cartesian form)

  2. The vector equation is r ̲ = a ̲ + t ( b ̲ a ̲ ) = 9 3 2 + t ( 4 5 1 9 3 2 ) = 9 3 2 + t 5 2 1
Exercises
    1. Write down the vector A B joining the points A and B with coordinates ( 3 , 2 , 7 ) and ( 1 , 2 , 3 ) respectively.
    2. Find the equation of the straight line through A and B .
  1. Write down the vector equation of the line passing through the points with position vectors p ̲ = 3 i ̲ + 7 j ̲ 2 k ̲ and q ̲ = 3 i ̲ + 2 j ̲ + 2 k ̲ . Find also the Cartesian equation of this line.
  2. Find the vector equation of the line passing through ( 9 , 1 , 2 ) and which is parallel to the vector ( 1 , 1 , 1 ) .
    1. 4 i ̲ 4 k ̲ .
    2. r ̲ = 3 2 7 + t 4 0 4 .
  1. r ̲ = 3 7 2 + t 6 5 4 . Cartesian form x 3 6 = y 7 5 = z + 2 4 .
  2. r ̲ = 9 1 2 + t 1 1 1 .