The Dot Product & Geometry
The dot product combines two vectors into a single number, answering how aligned they are. For and :
It connects algebra to geometry via the identity , where is the angle between them. Rearranging this gives the angle formula:
The dot product also recovers length: . It enables projection, measuring how far one vector extends along another via .
| Angle Type | Dot Product Sign | Geometric Meaning |
|---|---|---|
| Acute () | Positive | Vectors broadly agree |
| Right () | Zero | Orthogonal (perpendicular) |
| Obtuse () | Negative | Vectors broadly oppose |
Tests, Inequalities, & Pitfalls
The orthogonality test is a workhorse: two nonzero vectors are perpendicular exactly when their dot product is zero, requiring no trigonometry.
The operation is also bound by the Cauchy–Schwarz inequality, stating . This fundamental rule guarantees that never exceeds in magnitude.
Common Pitfalls to Avoid:
- Wrong output type: The dot product yields a scalar, never a vector.
- Zero confusion: Orthogonal means . A positive or negative result always indicates an acute or obtuse angle, never a right angle.
Wherever you need to measure alignment, projection, or perpendicularity, the dot product is the universal tool.