1.2.2Working with vectors without coordinates
Before introducing any coordinates, let us see how much we can do with arrows alone. Everything in this section is true in any coordinate system, because no coordinate system appears in it.
Scaling and adding
Multiplying a vector by a number scales its length by and keeps its direction if , or reverses it if . Adding two vectors means putting them head to tail; the sum is the diagonal of the parallelogram they span (Figure [1.2]). These operations behave exactly as you would hope:
The dot product: how much of one vector lies along another
The dot product (also called the scalar product or inner product) of two vectors is the number
where is the angle between the two arrows (). It is a scalar: it only uses lengths and an angle, which every observer agrees on.
The most useful way to read it: if is a unit vector, then
is the length of the shadow of on the line through (Figure [1.3]). In words, dotting with a unit vector measures how much of a vector points in that direction. We will use this idea constantly: it is how we will extract components, and later how we will find the normal stress on a cut.
A few properties follow straight from [1.3]:
- It is symmetric: .
- It is linear in each vector: .
- A vector dotted with itself gives its length squared: , because .
- Two non-zero vectors are perpendicular exactly when .
You have used the dot product before as work: a force moving its point of application over does work . Only the part of the force along the motion does work, which is the projection idea again.
Use only the properties of the dot product to derive the law of cosines for a triangle with sides , and .
Compute the squared length of and expand with linearity and symmetry:
That is the law of cosines, with the angle between and . Notice what happened: a geometric fact came out of pure algebra with the dot product. That is the kind of manipulation we will do all through the course.
The cross product: area and orientation
The cross product (or vector product) of and is a new vector defined by three properties (Figure [1.4]):
- its length is the area of the parallelogram spanned by and : ;
- it is perpendicular to both and ;
- it points to the side given by the right-hand rule: fingers from to , thumb along .
Two consequences you should be able to see from the picture: swapping the order flips the direction, , and parallel vectors span no area, so . The cross product is linear in each argument, like the dot product, but it is not symmetric.
You know it from statics as the moment of a force about a point, : only the part of the force perpendicular to the lever arm turns anything, which is where the comes from.
The triple product: volume
Combining the two products gives a scalar,
Its meaning is a volume. The vector has the base area of the parallelepiped spanned by as its length and points perpendicular to the base. Dotting with measures the height of above that base. Base times height is the volume. The sign tells you the orientation: positive if form a right-handed set, negative if left-handed. If the three vectors lie in one plane, the volume is zero; this is the quickest test for whether three vectors are linearly dependent.
Explain without any calculation why .
All three expressions compute the volume of the same parallelepiped, using a different face as the base each time. A cyclic shift also keeps the handedness of the triple, so the sign is the same. Hence all three are equal. Swapping only two vectors reverses the handedness and flips the sign, for example .