Proof of Cauchy-Schwarz Inequality
We present three proofs of the Cauchy--Schwarz inequality, each offering a different perspective: the quadratic form argument, the projection argument, and the Lagrange identity approach.
Statement
For all vectors in an inner product space :
Equality holds if and only if and are linearly dependent.
Proof 1: The quadratic form argument
Case 1: If , both sides are and the inequality holds with equality.
Case 2: Assume . For any scalar (or ), consider the vector . By positive definiteness:
Real case: Set (the optimal minimizing the quadratic):
Rearranging: .
Complex case: Set :
Rearranging: .
Equality: We have equality iff , iff , iff .
, . , .
, , .
✓.
If instead : , , equality holds.
, in .
, .
, . Product: .
✓. Strict inequality because and are linearly independent (no scalar with ).
Proof 2: Via orthogonal projection
If , the result is trivial. Assume .
Decompose orthogonally with respect to :
By the Pythagorean theorem (since the two components are orthogonal):
Since :
Multiplying both sides by : .
Equality iff , iff is a scalar multiple of .
, .
. Residual: .
.
Cauchy--Schwarz: ✓. The gap is .
, on .
.
✓.
The residual is , with .
Proof 3: Lagrange identity (for R^n)
For , the Lagrange identity states:
The right side is a sum of squares, hence . This gives .
Equality holds iff all for , iff all minors of vanish, iff and are proportional.
, :
.
For , : ✓.
, :
.
✓.
Note: in , , where is the cross product.
Consequences derived
.
The key step uses (Cauchy--Schwarz).
For an orthonormal set and any , let . Then for all , and:
.
This is Bessel's inequality, which is a multi-dimensional Cauchy--Schwarz.
Cauchy--Schwarz guarantees for real inner product spaces, so is well-defined.
Without Cauchy--Schwarz, the argument of could exceed , making the angle undefined.
Comparison of proofs
-
Quadratic form proof: The most general, works in any inner product space (real or complex, finite or infinite-dimensional). Shows that the inequality is equivalent to non-negativity of a specific scalar quadratic in .
-
Projection proof: Geometrically intuitive -- the inequality says the projection of onto is at most as long as itself. The "gap" measures how far is from being a multiple of .
-
Lagrange identity proof: Algebraically explicit (for only), showing the "defect" as a sum of squares. In , this equals , connecting to the cross product.
Historical note
The inequality is named after Augustin-Louis Cauchy (who proved the finite sum version in 1821), Viktor Bunyakovsky (who proved the integral version in 1859), and Hermann Amandus Schwarz (who independently proved the integral version in 1884). In some traditions it is called the Cauchy--Bunyakovsky--Schwarz inequality or CBS inequality.
The inequality appears in every branch of mathematics:
- Analysis: the foundation of space theory.
- Probability: bounds on covariance and correlation.
- Physics: uncertainty principles in quantum mechanics.
- Geometry: the angle between vectors, curvature bounds.
- Combinatorics: counting arguments via the second moment method.
Extended examples
In quantum mechanics, observables act on a Hilbert space . For a state , the uncertainty principle:
follows from Cauchy--Schwarz applied to and .
For position and momentum with : .
For real sequences and :
Setting and (number of divisors of ): . Since , this gives .
Cauchy--Schwarz is the case of Holder's inequality: for ,
The case is exactly Cauchy--Schwarz.
Summary
The Cauchy--Schwarz inequality is the single most consequential inequality in inner product space theory. From it flow:
- The triangle inequality (hence metric space structure).
- Bessel's inequality (finite energy of Fourier coefficients).
- The well-definedness of angles.
- The optimality of orthogonal projections.
- Uncertainty principles in physics.
Its proof, via the non-negativity of , is a masterclass in the power of positive definiteness.