1.1 Vectors in cartesian form

When vectors are given in cartesian form there is an alternative formula for calculating the scalar product.

Proposition 1.4.

If a = a1i + a2j and b = b1i + b2j then

a b = a1b1 + a2b2.

Proof.  Consider the vector ba = b1 a1 b2 a2 . The modulus of this is

|b a| = (b1 a2 )2 + (b2 a2 )2.

Note from figure 2 that the vectors a , b and b a form a triangle:


Two vectors, labelled a and b, are drawn as line segments. Their start points coincide and their end points do not. There is an acute angle of theta between them. Forming a triangle, a third line segment, labelled b-a is added. This vector starts at the end point of a and ends at the end point of b. Each line segment has an arrow on it pointing from the start point to the end point.



Figure 2: A triangle is formed by two vectors and their difference.

Let θ denote the angle between a and b . Then, the cosine rule yields:

|b a|2 = |a|2 + |b|2 2|a||b| cos θ. (1)

Substituting the definition of the scalar product of a and b into equation 1 gives:

|b a|2 = |a|2 + |b|2 2 a b.

Rearranging:

a b = 1 2 |a|2 + |b|2 |b a|2 .

Writing this in terms of components produces:

a b = 1 2 a12 + a 22 + b 12 + b 22 (b 1 a1)2 (b 2 a2)2 = 1 2 a12 + a 22 + b 12 + b 22 b 12 + 2b 1a1 a12 b 22 + 2b 2a2 a22 = 1 2 2b1a1 + 2b2a2 = a1b1 + a2b2

as required. □

Example 1.5.

Consider again the vectors

a = 2 2 andb = 4 0 .

Calculating the scalar product using the components:

a b = a1b1 + a2b2 = 2 × 4 + 2 × 0 = 8.

Note that if we are given vectors in this form, the scalar product may be used to calculate the angle between them. Since a b = 8 and we have:

|a| = 8 |b| = 4.

Hence,

8 = a b = |a||b| cos θ = 48 cos θ.

Rearranging:

θ = cos 1 8 48 = 45.