The Scalar (Dot) Product and the Angle Between Vectors
The scalar product is the first way of multiplying two vectors together, and it is the single most useful tool this block introduces: it converts a question about an angle into a question about components, and vice versa. Everything in the rest of this block that involves "find the angle between..." or "show that these are perpendicular" reduces, eventually, to a scalar product.
To follow the chapter you need components, magnitude and the properties of vector addition and scalar multiplication from the previous two chapters, plus the cosine rule from basic trigonometry. Have both ready, since the scalar product is defined twice — once geometrically, once algebraically — and the cosine rule is what connects the two definitions.
Two definitions, one quantity. The scalar (or dot) product of two vectors can be computed either from their components or from their magnitudes and the angle between them. The content of this chapter is proving these two routes always agree.
1. The Geometric Definition
For two non-zero vectors and drawn from a common point, with angle between them (), the scalar product is defined as
The result is a scalar (a number), not a vector — hence the name. Notice immediately that is positive when is acute, negative when is obtuse, and exactly zero when , since .
Perpendicularity test. Two non-zero vectors and are perpendicular if and only if . This single fact is used constantly throughout the rest of this block.
2. The Component (Algebraic) Formula
In component form, for and ,
(drop the third term in 2D). To see that this must agree with the geometric definition, apply the cosine rule to the triangle formed by , and (drawn from the same point, so is the third side):
Expanding the left side using components, . Comparing the two expressions for forces
which is exactly by the geometric definition — the two formulas for the scalar product are proven identical.
Worked example. Find for , .
Since the scalar product is zero, and are perpendicular.
3. Properties of the Scalar Product
From the component formula, the scalar product inherits ordinary algebraic properties:
The last identity follows by setting in the component formula: , which is just the magnitude formula restated. It gives a second, often faster, route to magnitude: .
4. Finding the Angle Between Two Vectors
Rearranging the geometric definition gives the formula used to find an angle from components:
Worked example. Find the angle between and , to the nearest degree.
Since , the vectors are perpendicular: , without even needing the magnitudes.
Worked example — the harder case. Find the angle between and , to the nearest degree.
The edge case to notice: the scalar product came out negative, which immediately signals an obtuse angle before any calculator work — a useful sanity check on the final answer (a student who computes from the same numbers has made a sign error somewhere, since a negative cosine can never give an acute angle).
5. Scalar Projection
The scalar projection of onto is the signed length of the "shadow" casts on the line of , found by combining the geometric definition with basic trigonometry ( is exactly the adjacent-side length in the right triangle formed by dropping a perpendicular from the tip of to the line of ):
This quantity is positive when is acute (the shadow falls in the direction of ) and negative when is obtuse (the shadow falls behind the vector's tail).
Worked example. Find the scalar projection of onto .
This matches intuition: projecting onto the -axis direction simply reads off the -component.
Common Exam Pitfalls
- Computing the scalar product and expecting a vector back. The scalar product is a single number; if your answer has components, you have mistakenly performed some other operation.
- Forgetting that requires both vectors to be non-zero to conclude perpendicularity. A zero vector dotted with anything is zero, but a zero vector has no direction, so "perpendicular" is meaningless for it.
- Sign-reading errors in the angle formula. A negative always means an obtuse angle; if a calculator returns an acute angle from a negative cosine value, the calculator mode (degrees vs radians) or an earlier arithmetic slip is the likely cause.
- Using the wrong vectors for the angle "at a vertex." When asked for the angle of a triangle at vertex , use the two vectors emanating from (i.e. and ), not and — mixing directions flips the angle to its supplement.
- Confusing scalar projection with the projection vector. The scalar projection is a number (possibly negative); multiplying it by gives the full vector projection, a different (and more advanced) quantity.
- Assuming the distributive and commutative properties need re-derivation each time. These follow immediately from the component formula being an ordinary sum of products; cite them, don't re-derive them, to save time under exam pressure.
Summary
- Geometric definition: ; component formula: — proven equal via the cosine rule.
- Perpendicularity test: (for non-zero vectors).
- Properties: commutative, distributive over vector addition, scalars factor out, and .
- Angle between vectors: ; a negative scalar product signals an obtuse angle immediately.
- Scalar projection of onto : , signed according to whether is acute or obtuse.