Multiplying Vectors into a Scalar
The dot product (scalar product) combines two vectors into a single number. For and , (and analogously in higher dimensions: multiply matching components and sum). Despite its simplicity, it encodes the angle between vectors.
Its geometric identity is the key: where is the angle between the vectors. So the sign of the dot product reveals the angle:
- Positive — acute angle (), the vectors broadly agree in direction.
- Zero — right angle; the vectors are orthogonal (perpendicular).
- Negative — obtuse angle (), the vectors broadly oppose.
The orthogonality test is the workhorse: two nonzero vectors are perpendicular exactly when their dot product is zero — no trigonometry required. Rearranging the identity gives the angle itself: . The dot product also recovers length, since .
The dot product underlies projection (the component of one vector along another is ) and the Cauchy–Schwarz inequality , a cornerstone of geometry and analysis. Wherever "how aligned are these?" is asked, the dot product answers.
Common pitfall: thinking the dot product yields a vector, or forgetting that orthogonal means dot product zero. is a single scalar , not a vector. And perpendicular vectors have : a positive or negative dot product signals an acute or obtuse angle, never a right angle.
Two vectors from the origin with the angle theta marked; the accent dot-product value shrinks to zero as the angle opens to 90 degrees — orthogonality at u · v = 0.