Cauchy–Schwarz inequality
From Wikipedia, the free encyclopedia
In mathematics, the Cauchy–Schwarz inequality, also known as the Schwarz inequality, the Cauchy inequality, or the Cauchy–Bunyakovski–Schwarz inequality, named after Augustin Louis Cauchy, Viktor Yakovlevich Bunyakovsky and Hermann Amandus Schwarz, is a useful inequality encountered in many different settings, such as linear algebra applied to vectors, in analysis applied to infinite series and integration of products, and in probability theory, applied to variances and covariances.
The inequality is represented in a simple manner by
Equality occurs exactly when
The inequality states that if x and y are elements of real or complex inner product spaces then
The two sides are equal if and only if x and y are linearly dependent (or in geometrical sense they are parallel). This contrasts with a property that the inner product of two vectors is zero if they are orthogonal (or perpendicular) to each other.
The inequality hence confers the notion of "the angle between the two vectors" to an inner product, where concepts of Euclidean geometry may not have meaningful sense, and justifies that the notion that inner product spaces are generalizations of Euclidean space.
An important consequence of the Cauchy–Schwarz inequality is that the inner product is a continuous function.
Another form of the Cauchy–Schwarz inequality is given using the notation of norm, as explained under norms on inner product spaces, as
The finite-dimensional case of this inequality for real vectors was proved by Cauchy in 1821, and in 1859 Cauchy's student V.Ya.Bunyakovsky noted that by taking limits one can obtain an integral form of Cauchy's inequality. The general result for an inner product space was obtained by K.H.A.Schwarz in 1885.
Contents |
[edit] Proof
[edit] First proof
As the inequality is trivially true in the case y = 0, we may assume <y, y> is nonzero. Let λ be a complex number. Then,
Choosing
we obtain
which is true if and only if
or equivalently:
[edit] Second proof
Given the polynomial
it is quick to note that it's a quadratic polynomial and its discriminant is not greater than zero, because it does not have any roots (unless all the ratios ai/bi are equal), thus
which yields the Cauchy-Schwarz inequality.
[edit] Notable special cases
- In the case of the Euclidean space Rn, we get
- In particular, in the Euclidean space of 2 or 3, if the dot product is defined in terms of the angle between two vectors, then one can immediately see the inequality: . Also, in this case the Cauchy–Schwarz inequality can be deduced from Lagrange's identity by omitting a term. In three dimensions n = 3, Lagrange's identity takes the form
- For the inner product space of square-integrable complex-valued functions, one has
A generalization of these two inequalities is the Hölder inequality.
[edit] Usage
The triangle inequality for the inner product is often shown as a consequence of the Cauchy–Schwarz inequality, as follows: given vectors x and y,
Taking the square roots gives the triangle inequality.
The Cauchy–Schwarz inequality is usually used to show Bessel's inequality.
The general formulation of the Heisenberg uncertainty principle is derived using the Cauchy-Schwarz inequality in the inner product space of physical wave functions.