Cauchy–Schwarz inequality

The absolute inner product of two vectors is at most the product of their norms
Cauchy–Schwarz inequality

Cauchy–Schwarz inequality: In an inner product space (V,,)(V,\langle\cdot,\cdot\rangle), for all u,vVu,v\in V, u,vuv,where u=u,u. |\langle u,v\rangle|\le \|u\|\,\|v\|, \qquad \text{where } \|u\|=\sqrt{\langle u,u\rangle}. Moreover, equality holds if and only if uu and vv are linearly dependent (i.e., one is a scalar multiple of the other).

Cauchy–Schwarz is a central inequality in analysis and linear algebra. It implies the for the norm induced by an and controls projections and angles.

Proof sketch: If v=0v=0 the statement is trivial. Otherwise consider the nonnegative quadratic function in tRt\in\mathbb{R}: 0utv2=utv,utv=u22tu,v+t2v2. 0\le \|u-tv\|^2=\langle u-tv,u-tv\rangle=\|u\|^2-2t\langle u,v\rangle+t^2\|v\|^2. Its discriminant must be nonpositive, giving u,v2u2v2\langle u,v\rangle^2\le \|u\|^2\|v\|^2.