= Cauchy-Schwarz inequality
{c}
{title2=$|\langle u,v\rangle|\leq\|u\|\|v\|$}
{wiki}
= Cauchy-Schwarz
{c}
{synonym}
In an <inner product space>, the <Cauchy-Schwarz inequality> is
$$
|\langle u,v\rangle|^2\leq\langle u,u\rangle\langle v,v\rangle.
$$
For $v\ne0$, subtract the <orthogonal projection> of $u$ onto $v$ and use nonnegativity of its squared <norm>; equality means that remainder vanishes. Thus equality holds exactly for <linearly dependent> <vectors>, including a zero <vector>. Applied to square-integrable <random variables>, it gives $|\mathbb E[XY]|\leq\sqrt{\mathbb E[X^2]\mathbb E[Y^2]}$; centring gives the bound $|\operatorname{Cov}(X,Y)|\leq\sigma_X\sigma_Y$.
Back to article page