TheoremComplete

The Cauchy-Schwarz Inequality

The Cauchy-Schwarz inequality is one of the most important inequalities in mathematics, relating inner products to norms. It underlies the triangle inequality and angle definition.

TheoremCauchy-Schwarz Inequality

For any vectors u,v\mathbf{u}, \mathbf{v} in an inner product space: ∣⟨u,v⟩∣≤∥u∥∥v∥|\langle \mathbf{u}, \mathbf{v} \rangle| \leq \|\mathbf{u}\| \|\mathbf{v}\|

Equality holds if and only if u\mathbf{u} and v\mathbf{v} are linearly dependent (one is a scalar multiple of the other).

This inequality ensures that −1≤⟨u,v⟩∥u∥∥v∥≤1-1 \leq \frac{\langle \mathbf{u}, \mathbf{v} \rangle}{\|\mathbf{u}\|\|\mathbf{v}\|} \leq 1, validating the cosine formula for angles. It appears in countless contexts from analysis to probability theory.

ExampleCauchy-Schwarz in $\mathbb{R}^n$

For x,y∈Rn\mathbf{x}, \mathbf{y} \in \mathbb{R}^n, Cauchy-Schwarz states: ∣∑i=1nxiyi∣≤∑i=1nxi2⋅∑i=1nyi2\left|\sum_{i=1}^n x_iy_i\right| \leq \sqrt{\sum_{i=1}^n x_i^2} \cdot \sqrt{\sum_{i=1}^n y_i^2}

Example: x=(1,2,3)\mathbf{x} = (1,2,3), y=(4,5,6)\mathbf{y} = (4,5,6): ∣1⋅4+2⋅5+3⋅6∣=32|1 \cdot 4 + 2 \cdot 5 + 3 \cdot 6| = 32 12+22+32⋅42+52+62=14⋅77≈32.9\sqrt{1^2+2^2+3^2} \cdot \sqrt{4^2+5^2+6^2} = \sqrt{14} \cdot \sqrt{77} \approx 32.9

Indeed, 32≤32.932 \leq 32.9. ✓

TheoremTriangle Inequality

For any vectors u,v\mathbf{u}, \mathbf{v} in an inner product space: ∥u+v∥≤∥u∥+∥v∥\|\mathbf{u} + \mathbf{v}\| \leq \|\mathbf{u}\| + \|\mathbf{v}\|

Proof: Expand ∥u+v∥2\|\mathbf{u} + \mathbf{v}\|^2: ∥u+v∥2=⟨u+v,u+v⟩=∥u∥2+2⟨u,v⟩+∥v∥2\|\mathbf{u} + \mathbf{v}\|^2 = \langle \mathbf{u} + \mathbf{v}, \mathbf{u} + \mathbf{v} \rangle = \|\mathbf{u}\|^2 + 2\langle \mathbf{u}, \mathbf{v} \rangle + \|\mathbf{v}\|^2

By Cauchy-Schwarz: ⟨u,v⟩≤∣⟨u,v⟩∣≤∥u∥∥v∥\langle \mathbf{u}, \mathbf{v} \rangle \leq |\langle \mathbf{u}, \mathbf{v} \rangle| \leq \|\mathbf{u}\|\|\mathbf{v}\|

Therefore: ∥u+v∥2≤∥u∥2+2∥u∥∥v∥+∥v∥2=(∥u∥+∥v∥)2\|\mathbf{u} + \mathbf{v}\|^2 \leq \|\mathbf{u}\|^2 + 2\|\mathbf{u}\|\|\mathbf{v}\| + \|\mathbf{v}\|^2 = (\|\mathbf{u}\| + \|\mathbf{v}\|)^2

Taking square roots gives the result. ∎

TheoremBessel's Inequality

Let {e1,…,ek}\{\mathbf{e}_1, \ldots, \mathbf{e}_k\} be an orthonormal set in inner product space VV. For any v∈V\mathbf{v} \in V: ∑i=1k∣⟨v,ei⟩∣2≤∥v∥2\sum_{i=1}^k |\langle \mathbf{v}, \mathbf{e}_i \rangle|^2 \leq \|\mathbf{v}\|^2

If the orthonormal set is a basis, this becomes Parseval's identity (equality holds).

TheoremPythagorean Theorem

If u⊥v\mathbf{u} \perp \mathbf{v} (orthogonal), then: ∥u+v∥2=∥u∥2+∥v∥2\|\mathbf{u} + \mathbf{v}\|^2 = \|\mathbf{u}\|^2 + \|\mathbf{v}\|^2

Proof: ∥u+v∥2=∥u∥2+2⟨u,v⟩+∥v∥2=∥u∥2+∥v∥2\|\mathbf{u} + \mathbf{v}\|^2 = \|\mathbf{u}\|^2 + 2\langle \mathbf{u}, \mathbf{v} \rangle + \|\mathbf{v}\|^2 = \|\mathbf{u}\|^2 + \|\mathbf{v}\|^2 since ⟨u,v⟩=0\langle \mathbf{u}, \mathbf{v} \rangle = 0. ∎

Remark

The Cauchy-Schwarz inequality is fundamental to analysis: it ensures that the norm induced by an inner product satisfies the triangle inequality, making the space a metric space. In probability, it becomes the correlation coefficient bound ∣Corr(X,Y)∣≤1|\text{Corr}(X,Y)| \leq 1. In quantum mechanics, it underlies the uncertainty principle. Its ubiquity reflects its role as a bridge between algebra (inner products) and geometry (lengths and angles).