next Triangle Inequality
previous Norm Induced by the Inner Product
up The Inner Product   Contents   Global Contents
global_index Global Index   Index   Search

Cauchy-Schwarz Inequality

The Cauchy-Schwarz Inequality (or ``Schwarz Inequality'') states that for all $ \underline{x}\in{\bf C}^N$ and $ \underline{y}\in{\bf C}^N$, we have

$\displaystyle \left\vert\left<\underline{x},\underline{y}\right>\right\vert \leq \Vert\underline{x}\Vert\cdot\Vert\underline{y}\Vert
$

with equality if and only if $ \underline{x}=c\underline{y}$ for some scalar $ c$.

We can quickly show this for real vectors $ \underline{x}\in{\bf R}^N$, $ \underline{y}\in{\bf R}^N$, as follows: If either $ \underline{x}$ or $ \underline{y}$ is zero, the inequality holds (as equality). Assuming both are nonzero, let's scale them to unit-length by defining the normalized vectors $ \underline{{\tilde x}}\isdef \underline{x}/\Vert\underline{x}\Vert$, $ \underline{{\tilde y}}
\isdef
\underline{y}/\Vert\underline{y}\Vert$, which are unit-length vectors lying on the ``unit ball'' in $ {\bf R}^N$ (a hypersphere of radius $ 1$). We have

\begin{eqnarray*}
0 \leq \Vert\underline{{\tilde x}}-\underline{{\tilde y}}\Vert...
... 2 - 2\left<\underline{{\tilde x}},\underline{{\tilde y}}\right>
\end{eqnarray*}

which implies

$\displaystyle \left<\underline{{\tilde x}},\underline{{\tilde y}}\right> \leq 1
$

or, removing the normalization,

$\displaystyle \left<\underline{x},\underline{y}\right> \leq \Vert x\Vert\cdot\Vert y\Vert.
$

The same derivation holds if $ \underline{x}$ is replaced by $ -\underline{x}$ yielding

$\displaystyle -\left<\underline{x},\underline{y}\right> \leq \Vert\underline{x}\Vert\cdot\Vert\underline{y}\Vert.
$

The last two equations imply

$\displaystyle \left\vert\left<\underline{x},\underline{y}\right>\right\vert \leq \Vert\underline{x}\Vert\cdot\Vert\underline{y}\Vert.
$

The complex case can be shown by rotating the components of $ \underline{x}$ and $ \underline{y}$ such that re$ \left\{\left<\underline{{\tilde x}},\underline{{\tilde y}}\right>\right\}$ becomes equal to $ \left\vert\left<\underline{{\tilde x}},\underline{{\tilde y}}\right>\right\vert$.


next Triangle Inequality
previous Norm Induced by the Inner Product
up The Inner Product   Contents   Global Contents
global_index Global Index   Index   Search

``Mathematics of the Discrete Fourier Transform (DFT)'', by Julius O. Smith III, W3K Publishing, 2003, ISBN 0-9745607-0-7.

(Browser settings for best viewing results)
(How to cite this work)
(Order a printed hardcopy)

Copyright © 2003-10-09 by Julius O. Smith III
Center for Computer Research in Music and Acoustics (CCRMA),   Stanford University
CCRMA  (automatic links disclaimer)