The next important operation on vectors is the scalar product, sometimes called the dot product of two vectors.
The scalar product of two vectors , in is the real number:
Note that is a scalar (as the name suggests), not a vector!
Compute for the following pairs of vectors: (i) , (ii) , (iii) .
Note that we can only calculate the scalar product of two vectors of the same size! So for example, makes no sense.
The scalar product has the following properties:
(i) for any ,
(ii) for any , , ,
(iii) for any , .
(iv) for any .
Suppose , , .
(i) .
(ii) .
(iii) .
(iv) .
By definition, .
The scalar product and orthogonal vectors
The scalar product is extremely useful for calculating angles between vectors. A special case is when two vectors are at right-angles to each other. For example, consider two vectors going along the two coordinate axes in : the unit vector along the -axis is , while the unit vector along the -axis is . We note that the scalar product of these two vectors is zero: . Also, the and coordinate axes are at right angles to each other. More generally:
If is a unit vector at an angle to the -axis and is a unit vector at an angle to the -axis (i.e. at right-angles to ) then:
So in particular, .
This is an incredibly important property! It is also true in .
Let and be two vectors in , and let , where , be the angle between and . Then
.
From the law of cosines from trigonometry it follows that
Since and and , we can rewrite the above equation as
Now
Thus,
This gives the result.
Two non-zero vectors are orthogonal if and only if .
Cauchy-Schwarz inequality
The Cauchy-Schwarz inequality - which is a consequence of Thm. 1.11 - is a fundamental result which is often useful in problems of geometric nature.
Let be vectors in . Then .
If is not a scalar multiple of , then and so the inequality holds. In fact, if
and are both non-zero, then strict inequality holds in this case. When is a scalar multiple of , then equals zero or and , so equality holds in this case.
Let us look at the two extremes that can occur here, which are and .
Max. value: when and are parallel, and pointing in the same direction,
Min. value: when and are parallel, but pointing in opposite directions.
Find the greatest and least values of on the sphere , and find the values of for which these values occur.
Let . The condition can be stated in vector form as: . The function is just . But , so the greatest value of is . It occurs when is parallel to and pointing in the same direction, so .
Similarly, the least value of is , and it occurs when .
Find the greatest and least values of on the sphere .
Using scalar products to calculate angles in
Note that it follows from Thm. 1.11 that the angle , where , between the non-zero vectors and is given by
Find the angle between the vectors and .
Solution: , while , , hence . It follows that . Hence .
More commonly you may only be asked to determine the cosine of the angle between and .
Find , where is the angle between and .