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,vuv|\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 1u,vuv1-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,yRn\mathbf{x}, \mathbf{y} \in \mathbb{R}^n, Cauchy-Schwarz states: i=1nxiyii=1nxi2i=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): 14+25+36=32|1 \cdot 4 + 2 \cdot 5 + 3 \cdot 6| = 32 12+22+3242+52+62=147732.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, 3232.932 \leq 32.9. ✓

TheoremTriangle Inequality

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

Proof: Expand u+v2\|\mathbf{u} + \mathbf{v}\|^2: u+v2=u+v,u+v=u2+2u,v+v2\|\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,vu,vuv\langle \mathbf{u}, \mathbf{v} \rangle \leq |\langle \mathbf{u}, \mathbf{v} \rangle| \leq \|\mathbf{u}\|\|\mathbf{v}\|

Therefore: u+v2u2+2uv+v2=(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 vV\mathbf{v} \in V: i=1kv,ei2v2\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 uv\mathbf{u} \perp \mathbf{v} (orthogonal), then: u+v2=u2+v2\|\mathbf{u} + \mathbf{v}\|^2 = \|\mathbf{u}\|^2 + \|\mathbf{v}\|^2

Proof: u+v2=u2+2u,v+v2=u2+v2\|\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).