article

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 states that if x and y are elements of real or complex inner product spaces then

|\langle x,y\rangle|^2 \leq \langle x,x\rangle \cdot \langle y,y\rangle.

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

|\langle x,y\rangle| \leq \|x\| \cdot \|y\|.\,

The finite dimensional case of this inequality was proved by Cauchy in 1821, and the proof of the general case was published by Bunyakovsky in 1859. The works of Schwarz appeared only 25 years later.

Proof


As the inequality is trivially true in the case y = 0, we may assume <y, y> is nonzero. Let \lambda be a complex number. Then,

0 \leq \left\| x-\lambda y \right\|^2
= \langle x-\lambda y,x-\lambda y \rangle
= \langle x,x \rangle - \lambda \langle x,y \rangle - \lambda \langle y,x \rangle + |\lambda|^2 \langle y,y\rangle.

Choosing

\lambda = \langle x,y \rangle \cdot \langle y,y \rangle^{-1}
we obtain

0 \leq \langle x,x \rangle - |\langle x,y \rangle|^2 \cdot \langle y,y \rangle^{-1}

which is true if and only if

|\langle x,y \rangle|^2 \leq \langle x,x \rangle \cdot \langle y,y \rangle

or equivalently:

\big| \langle x,y \rangle \big|
\leq \left\|x\right\| \left\|y\right\|. Q.E.D.

Notable special cases


\left(\sum_{i=1}^n x_i y_i\right)^2\leq \left(\sum_{i=1}^n x_i^2\right) \left(\sum_{i=1}^n y_i^2\right). 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: |\mathbf{x} \cdot \mathbf{y}| = |\mathbf{x}| |\mathbf{y}| |\cos \theta| \le |\mathbf{x}| |\mathbf{y}|. 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
\langle x,x\rangle \cdot \langle y,y\rangle = |\langle x,y\rangle|^2 + |x \times y|^2.

\left|\int f(x)g(x)\,dx\right|^2\leq\int \left|f(x)\right|^2\,dx \cdot \int\left|g(x)\right|^2\,dx.

A generalization of these two inequalities is the Hölder inequality.

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,
{| \ >x + y\ = \langle x + y, x + y \rangle = \ >x\ \le \ >x\ \le \ >x\ = \left(\ >x\

Taking the square roots gives the triangle inequality.

The Cauchy-Schwarz inequality is usually used to show Bessel's inequality.

Inequalities

Cauchy-Schwarz' ulighed | Cauchy-Schwarzsche Ungleichung | Desigualdad de Cauchy-Schwarz | Inégalité de Cauchy-Schwarz | Disuguaglianza di Cauchy-Schwarz | אי שוויון קושי-שוורץ | Cauchy–Bunyakovszkij–Schwarz-egyenlőtlenség | Ongelijkheid van Cauchy-Schwarz | コーシー・シュワルツの不等式 | Cauchy–Schwarz' ulikhet | Nierówność Schwarza | Desigualdade de Cauchy-Schwarz | Неравенство Коши — Буняковского | Cauchyn epäyhtälö | Cauchy-Schwarz olikhet | 柯西—施瓦茨不等式

 

This article is licensed under the GNU Free Documentation License. It uses material from the "Cauchy-Schwarz inequality".

Home Pageartsbusinesscomputersgameshealthhospitalshomekids & teensnewsphysiciansrecreationreferenceregionalscienceshoppingsocietysportsworld