In mathematics, the Cauchy-Schwarz inequality is a fundamental and ubiquitously used inequality that relates the absolute value of the inner product of two elements of an inner product space with the magnitude of the two said vectors. It is named in the honor of the French mathematician Augustin-Louis Cauchy and German mathematician Hermann Amandus Schwarz[1].
The inequality for real numbers
The simplest form of the inequality, and the first one considered historically, states that
![{\displaystyle (x_{1}y_{1}+x_{2}y_{2}+\cdots +x_{n}y_{n})^{2}\leq (x_{1}^{2}+x_{2}^{2}+\cdots +x_{n}^{2})(y_{1}^{2}+y_{2}^{2}+\cdots +y_{n}^{2})}](https://wikimedia.org/api/rest_v1/media/math/render/svg/9e7d5082e7a1db67ff44e960b5556d0a9bd76a18)
for all real numbers x1, …, xn, y1, …, yn (where n is a arbitrary positive integer). Furthermore, the inequality is in fact an equality
![{\displaystyle (x_{1}y_{1}+x_{2}y_{2}+\cdots +x_{n}y_{n})^{2}=(x_{1}^{2}+x_{2}^{2}+\cdots +x_{n}^{2})(y_{1}^{2}+y_{2}^{2}+\cdots +y_{n}^{2})}](https://wikimedia.org/api/rest_v1/media/math/render/svg/2e38f8475a8c3f31db5f29fcb66e981977832903)
if and only if there is a number C such that
for all i.
The inequality for inner product spaces
Let V be a complex inner product space with inner product
. Then for any two elements
it holds that
![{\displaystyle |\langle x,y\rangle |\leq \|x\|\|y\|,\quad (1)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/4eb12c3a5babd0aa75cd397cee82724da76ef107)
where
for all
. Furthermore, the equality in (1) holds if and only if the vectors
and
are linearly dependent (in this case proportional one to the other).
If V is the Euclidean space Rn, whose inner product is defined by
![{\displaystyle \langle x,y\rangle =\sum _{i=1}^{n}x_{i}y_{i},}](https://wikimedia.org/api/rest_v1/media/math/render/svg/bc3cd43d9d8a84ac23b3bd06513ab752ab53dae5)
then (1) yields the inequality for real numbers mentioned in the previous section.
Another important example is where V is the space L2([a, b]). In this case, the Cauchy-Schwarz inequality states that
![{\displaystyle \left(\int _{a}^{b}f(x)g(x)\,\mathrm {d} x\right)^{2}\leq \int _{a}^{b}{\big (}f(x){\big )}^{2}\,\mathrm {d} x\cdot \int _{a}^{b}{\big (}g(x){\big )}^{2}\,\mathrm {d} x}](https://wikimedia.org/api/rest_v1/media/math/render/svg/5584b5d07bb6e309ef377c9e8b269c83561a3a2d)
for all real functions f and g in
.
Proof of the inequality
A standard yet clever idea for a proof of the Cauchy-Schwarz inequality for inner product spaces is to exploit the fact that the inner product induces a quadratic form on V. Let
be some fixed pair of vectors in V and let
be the argument of the complex number
. Now, consider the expression
for any real number t and notice that, by the properties of a complex inner product, f is a quadratic function of t. Moreover, f is non-negative definite:
for all t. Expanding the expression for f gives the following:
![{\displaystyle {\begin{aligned}f(t)&=\langle x+te^{i\phi (x,y)}y,x+te^{i\phi (x,y)}y\rangle \\&=\|x\|^{2}+te^{i\phi (x,y)}\langle y,x\rangle +te^{-i\phi (x,y)}\langle x,y\rangle +t^{2}\|y\|^{2}\\&=\|x\|^{2}+2t|\langle x,y\rangle |+t^{2}\|y\|^{2}.\end{aligned}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/360f9c612da42167997d577c46a11a3ee2009fce)
Since f is a non-negative definite quadratic function of t, it follows that the discriminant of f is non-positive definite. That is,
![{\displaystyle 4|\langle x,y\rangle |^{2}-4\|x\|^{2}\|y\|^{2}=4(|\langle x,y\rangle |^{2}-\|x\|^{2}\|y\|^{2})\leq 0,}](https://wikimedia.org/api/rest_v1/media/math/render/svg/b581dac913c17bce2384653b6c7791746d5dd919)
from which (1) follows immediately.
References
- ↑ Biography at MacTutor History of Mathematics, John J. O'Connor and Edmund F. Robertson, School of Mathematics and Statistics, University of St Andrews, Scotland.