The Cauchy–Schwarz Inequality uses the Dot Product to establish a fundamental inequality relating two vectors, for any vectors ( and ) in an inner product space.
First, we derive this inequality utilize the property of the cosine function:
Using the dot product formula, we can rewrite it as such.
Multiplying both sides by the magnitude of both vectors gives us the inequality.
The Triangle Inequality
A direct and important application of the Cauchy–Schwarz Inequality is the Triangle Inequality, which states that for all vectors and :
The inequality originates from classical geometry, where it states that the length of one side of a triangle cannot exceed the sum of the other two sides.
Some “people” believe this to be a piece of useless mathematics; however it serves as a fundamental bridge between geometry and linear algebra.
We start by expanding the square of the norm using the dot product:
Using the Schwarz Inequality in the equation:
Taking the square roots of both sides (noting that magnitude can not be negative) yields the final inequality.
- Strang, Gilbert. Introduction to Linear Algebra. 5th ed. Wellesley–Cambridge Press, 2016. Chapter 1.2.