6.310 min read
Angles and Orthogonality
Given two nonzero vectors, the angle between them satisfies . The Cauchy-Schwarz inequality guarantees this ratio always lies in , so is well-defined. The angle is always in .
The most important special case is — when , i.e., when . We say and are orthogonal and write . Orthogonality generalizes the familiar notion of perpendicularity to all dimensions.
Note: orthogonality includes the case where one of the vectors is zero, since for all .
Formal View
Definition 6.5 — Angle Between Vectors
For nonzero , the angle between them is
Definition 6.6 — Orthogonality
Vectors are orthogonal, written , if .
Example 6.7
In : since . In : and — the standard basis vectors are mutually orthogonal.
Interactive Visualization
Dot Product and Angle
Why This Matters
Orthogonality is the central organizing principle of applied linear algebra.
- Fourier analysis decomposes signals into orthogonal sine and cosine waves — orthogonality ensures no frequency "contaminates" another
- In statistics, uncorrelated random variables are nearly the same concept as orthogonal vectors
- PCA (principal component analysis) finds orthogonal directions of maximum variance in high-dimensional data
- Error-correcting codes exploit orthogonality: a transmitted signal lies in one subspace, and errors lie in the orthogonal complement
Quiz
Question 1
Which pair of vectors is orthogonal?
Question 2
The zero vector is orthogonal to every vector.
Common Mistakes
- Thinking perpendicular means — orthogonality is about the dot product, not the sum.
- Confusing negative dot product (obtuse angle) with orthogonal (zero dot product) — orthogonal means exactly zero.
- Assuming and implies — orthogonality to a fixed vector does not force two vectors to be orthogonal to each other.