6.47 min read
The Pythagorean Theorem
The classical Pythagorean theorem says that for a right triangle with legs and hypotenuse , we have . The vector version says exactly the same thing: if , then .
The proof is a direct computation using the dot product. Expand . The cross-term vanishes exactly when .
This result holds in all dimensions — not just 2D. Whenever two vectors are orthogonal, the squared length of their sum equals the sum of their squared lengths. This is the key behind many decompositions and error bounds.
Formal View
Theorem 6.8 — Pythagorean Theorem
Vectors are orthogonal if and only if
Proof: . The term vanishes iff .
Why This Matters
The Pythagorean theorem is used to bound errors and measure approximation quality throughout applied mathematics.
- Parseval's theorem in signal processing is the Pythagorean theorem for Fourier components — total power equals sum of powers at each frequency
- In the best approximation theorem, the Pythagorean theorem proves that the projection is strictly closer than any other vector in the subspace
- Variance decomposition in statistics () follows from the Pythagorean theorem applied to residuals and fitted values
Quiz
Question 1
For any two vectors and : .
Question 2
If , , and , what is ?
Common Mistakes
- Assuming always — this only holds when .
- Forgetting the cross term when expanding — always expand using the dot product, not treating it like ordinary algebra.