Cauchy–Schwarz inequality

Mathematical inequality relating inner products and norms

The Cauchy–Schwarz inequality (also called Cauchy–Bunyakovsky–Schwarz inequality)[1][2][3][4] is an upper bound on the inner product between two vectors in an inner product space in terms of the product of the vector norms. It is considered one of the most important and widely used inequalities in mathematics.[5]

The inequality for sums was published by Augustin-Louis Cauchy (1821). The corresponding inequality for integrals was published by Viktor Bunyakovsky (1859)[2] and Hermann Schwarz (1888). Schwarz gave the modern proof of the integral version.[5]

Statement of the inequality

The Cauchy–Schwarz inequality states that for all vectors u {\displaystyle \mathbf {u} } and v {\displaystyle \mathbf {v} } of an inner product space

| u , v | 2 u , u v , v , {\displaystyle \left|\langle \mathbf {u} ,\mathbf {v} \rangle \right|^{2}\leq \langle \mathbf {u} ,\mathbf {u} \rangle \cdot \langle \mathbf {v} ,\mathbf {v} \rangle ,} (1)

where , {\displaystyle \langle \cdot ,\cdot \rangle } is the inner product. Examples of inner products include the real and complex dot product; see the examples in inner product. Every inner product gives rise to a Euclidean l 2 {\displaystyle l_{2}} norm, called the canonical or induced norm, where the norm of a vector u {\displaystyle \mathbf {u} } is denoted and defined by

u := u , u , {\displaystyle \|\mathbf {u} \|:={\sqrt {\langle \mathbf {u} ,\mathbf {u} \rangle }},}
where u , u {\displaystyle \langle \mathbf {u} ,\mathbf {u} \rangle } is always a non-negative real number (even if the inner product is complex-valued). By taking the square root of both sides of the above inequality, the Cauchy–Schwarz inequality can be written in its more familiar form in terms of the norm:[6][7]

| u , v | u v . {\displaystyle |\langle \mathbf {u} ,\mathbf {v} \rangle |\leq \|\mathbf {u} \|\|\mathbf {v} \|.} (2)

Moreover, the two sides are equal if and only if u {\displaystyle \mathbf {u} } and v {\displaystyle \mathbf {v} } are linearly dependent.[8][9][10]

Special cases

Sedrakyan's lemma - Positive real numbers

Sedrakyan's inequality, also called Bergström's inequality, Engel's form, the T2 lemma, or Titu's lemma, states that for real numbers u 1 , u 2 , , u n {\displaystyle u_{1},u_{2},\dots ,u_{n}} and positive real numbers v 1 , v 2 , , v n {\displaystyle v_{1},v_{2},\dots ,v_{n}} :

( i = 1 n u i ) 2 i = 1 n v i i = 1 n u i 2 v i  or equivalently,  ( u 1 + u 2 + + u n ) 2 v 1 + v 2 + + v n u 1 2 v 1 + u 2 2 v 2 + + u n 2 v n . {\displaystyle {\frac {\left(\displaystyle \sum _{i=1}^{n}u_{i}\right)^{2}}{\displaystyle \sum _{i=1}^{n}v_{i}}}\leq \sum _{i=1}^{n}{\frac {u_{i}^{2}}{v_{i}}}\quad {\text{ or equivalently, }}\quad {\frac {\left(u_{1}+u_{2}+\cdots +u_{n}\right)^{2}}{v_{1}+v_{2}+\cdots +v_{n}}}\leq {\frac {u_{1}^{2}}{v_{1}}}+{\frac {u_{2}^{2}}{v_{2}}}+\cdots +{\frac {u_{n}^{2}}{v_{n}}}.}

It is a direct consequence of the Cauchy–Schwarz inequality, obtained by using the dot product on R n {\displaystyle \mathbb {R} ^{n}} upon substituting u i = u i v i {\displaystyle u_{i}'={\frac {u_{i}}{\sqrt {v_{i}}}}} and v i = v i {\displaystyle v_{i}'={\sqrt {v_{i}}}} . This form is especially helpful when the inequality involves fractions where the numerator is a perfect square.

R2 - The plane

Cauchy-Schwarz inequality in a unit circle of the Euclidean plane

The real vector space R 2 {\displaystyle \mathbb {R} ^{2}} denotes the 2-dimensional plane. It is also the 2-dimensional Euclidean space where the inner product is the dot product. If u = ( u 1 , u 2 ) {\displaystyle \mathbf {u} =\left(u_{1},u_{2}\right)} and v = ( v 1 , v 2 ) {\displaystyle \mathbf {v} =\left(v_{1},v_{2}\right)} then the Cauchy–Schwarz inequality becomes:

u , v 2 = ( u v cos θ ) 2 u 2 v 2 , {\displaystyle \langle \mathbf {u} ,\mathbf {v} \rangle ^{2}=(\|\mathbf {u} \|\|\mathbf {v} \|\cos \theta )^{2}\leq \|\mathbf {u} \|^{2}\|\mathbf {v} \|^{2},}
where θ {\displaystyle \theta } is the angle between u {\displaystyle \mathbf {u} } and v {\displaystyle \mathbf {v} } .

The form above is perhaps the easiest in which to understand the inequality, since the square of the cosine can be at most 1, which occurs when the vectors are in the same or opposite directions. It can also be restated in terms of the vector coordinates u 1 {\displaystyle u_{1}} , u 2 {\displaystyle u_{2}} , v 1 {\displaystyle v_{1}} , and v 2 {\displaystyle v_{2}} as

( u 1 v 1 + u 2 v 2 ) 2 ( u 1 2 + u 2 2 ) ( v 1 2 + v 2 2 ) , {\displaystyle \left(u_{1}v_{1}+u_{2}v_{2}\right)^{2}\leq \left(u_{1}^{2}+u_{2}^{2}\right)\left(v_{1}^{2}+v_{2}^{2}\right),}
where equality holds if and only if the vector ( u 1 , u 2 ) {\displaystyle \left(u_{1},u_{2}\right)} is in the same or opposite direction as the vector ( v 1 , v 2 ) {\displaystyle \left(v_{1},v_{2}\right)} , or if one of them is the zero vector.

Rn: n-dimensional Euclidean space

In Euclidean space R n {\displaystyle \mathbb {R} ^{n}} with the standard inner product, which is the dot product, the Cauchy–Schwarz inequality becomes:

( i = 1 n u i v i ) 2 ( i = 1 n u i 2 ) ( i = 1 n v i 2 ) . {\displaystyle \left(\sum _{i=1}^{n}u_{i}v_{i}\right)^{2}\leq \left(\sum _{i=1}^{n}u_{i}^{2}\right)\left(\sum _{i=1}^{n}v_{i}^{2}\right).}

The Cauchy–Schwarz inequality can be proved using only elementary algebra in this case by observing that the difference of the right and the left hand side is

1 2 i , j = 1 , , n ( u i v j u j v i ) 2 0 {\displaystyle {\frac {1}{2}}\sum _{i,j=1,\ldots ,n}(u_{i}v_{j}-u_{j}v_{i})^{2}\geq 0}

or by considering the following quadratic polynomial in x {\displaystyle x}

( u 1 x + v 1 ) 2 + + ( u n x + v n ) 2 = ( i u i 2 ) x 2 + 2 ( i u i v i ) x + i v i 2 . {\displaystyle \left(u_{1}x+v_{1}\right)^{2}+\cdots +\left(u_{n}x+v_{n}\right)^{2}=\left(\sum _{i}u_{i}^{2}\right)x^{2}+2\left(\sum _{i}u_{i}v_{i}\right)x+\sum _{i}v_{i}^{2}.}

Since the latter polynomial is nonnegative, it has at most one real root, hence its discriminant is less than or equal to zero. That is,

( i u i v i ) 2 ( i u i 2 ) ( i v i 2 ) 0. {\displaystyle \left(\sum _{i}u_{i}v_{i}\right)^{2}-\left(\sum _{i}{u_{i}^{2}}\right)\left(\sum _{i}{v_{i}^{2}}\right)\leq 0.}

Cn: n-dimensional Complex space

If u , v C n {\displaystyle \mathbf {u} ,\mathbf {v} \in \mathbb {C} ^{n}} with u = ( u 1 , , u n ) {\displaystyle \mathbf {u} =\left(u_{1},\ldots ,u_{n}\right)} and v = ( v 1 , , v n ) {\displaystyle \mathbf {v} =\left(v_{1},\ldots ,v_{n}\right)} (where u 1 , , u n C {\displaystyle u_{1},\ldots ,u_{n}\in \mathbb {C} } and v 1 , , v n C {\displaystyle v_{1},\ldots ,v_{n}\in \mathbb {C} } ) and if the inner product on the vector space C n {\displaystyle \mathbb {C} ^{n}} is the canonical complex inner product (defined by u , v := u 1 v 1 ¯ + + u n v n ¯ , {\displaystyle \langle \mathbf {u} ,\mathbf {v} \rangle :=u_{1}{\overline {v_{1}}}+\cdots +u_{n}{\overline {v_{n}}},} where the bar notation is used for complex conjugation), then the inequality may be restated more explicitly as follows:

| u , v | 2 = | k = 1 n u k v ¯ k | 2 u , u v , v = ( k = 1 n u k u ¯ k ) ( k = 1 n v k v ¯ k ) = j = 1 n | u j | 2 k = 1 n | v k | 2 . {\displaystyle |\langle \mathbf {u} ,\mathbf {v} \rangle |^{2}=\left|\sum _{k=1}^{n}u_{k}{\bar {v}}_{k}\right|^{2}\leq \langle \mathbf {u} ,\mathbf {u} \rangle \langle \mathbf {v} ,\mathbf {v} \rangle =\left(\sum _{k=1}^{n}u_{k}{\bar {u}}_{k}\right)\left(\sum _{k=1}^{n}v_{k}{\bar {v}}_{k}\right)=\sum _{j=1}^{n}\left|u_{j}\right|^{2}\sum _{k=1}^{n}\left|v_{k}\right|^{2}.}

That is,

| u 1 v ¯ 1 + + u n v ¯ n | 2 ( | u 1 | 2 + + | u n | 2 ) ( | v 1 | 2 + + | v n | 2 ) . {\displaystyle \left|u_{1}{\bar {v}}_{1}+\cdots +u_{n}{\bar {v}}_{n}\right|^{2}\leq \left(\left|u_{1}\right|^{2}+\cdots +\left|u_{n}\right|^{2}\right)\left(\left|v_{1}\right|^{2}+\cdots +\left|v_{n}\right|^{2}\right).}

L2

For the inner product space of square-integrable complex-valued functions, the following inequality:

| R n f ( x ) g ( x ) ¯ d x | 2 R n | f ( x ) | 2 d x R n | g ( x ) | 2 d x . {\displaystyle \left|\int _{\mathbb {R} ^{n}}f(x){\overline {g(x)}}\,dx\right|^{2}\leq \int _{\mathbb {R} ^{n}}|f(x)|^{2}\,dx\int _{\mathbb {R} ^{n}}|g(x)|^{2}\,dx.}

The Hölder inequality is a generalization of this.

Applications

Analysis

In any inner product space, the triangle inequality is a consequence of the Cauchy–Schwarz inequality, as is now shown:

u + v 2 = u + v , u + v = u 2 + u , v + v , u + v 2      where  v , u = u , v ¯ = u 2 + 2 Re u , v + v 2 u 2 + 2 | u , v | + v 2 u 2 + 2 u v + v 2      using CS = ( u + v ) 2 . {\displaystyle {\begin{alignedat}{4}\|\mathbf {u} +\mathbf {v} \|^{2}&=\langle \mathbf {u} +\mathbf {v} ,\mathbf {u} +\mathbf {v} \rangle &&\\&=\|\mathbf {u} \|^{2}+\langle \mathbf {u} ,\mathbf {v} \rangle +\langle \mathbf {v} ,\mathbf {u} \rangle +\|\mathbf {v} \|^{2}~&&~{\text{ where }}\langle \mathbf {v} ,\mathbf {u} \rangle ={\overline {\langle \mathbf {u} ,\mathbf {v} \rangle }}\\&=\|\mathbf {u} \|^{2}+2\operatorname {Re} \langle \mathbf {u} ,\mathbf {v} \rangle +\|\mathbf {v} \|^{2}&&\\&\leq \|\mathbf {u} \|^{2}+2|\langle \mathbf {u} ,\mathbf {v} \rangle |+\|\mathbf {v} \|^{2}&&\\&\leq \|\mathbf {u} \|^{2}+2\|\mathbf {u} \|\|\mathbf {v} \|+\|\mathbf {v} \|^{2}~&&~{\text{ using CS}}\\&=(\|\mathbf {u} \|+\|\mathbf {v} \|)^{2}.&&\end{alignedat}}}

Taking square roots gives the triangle inequality:

u + v u + v . {\displaystyle \|\mathbf {u} +\mathbf {v} \|\leq \|\mathbf {u} \|+\|\mathbf {v} \|.}

The Cauchy–Schwarz inequality is used to prove that the inner product is a continuous function with respect to the topology induced by the inner product itself.[11][12]

Geometry

The Cauchy–Schwarz inequality allows one to extend the notion of "angle between two vectors" to any real inner-product space by defining:[13][14]

cos θ u v = u , v u v . {\displaystyle \cos \theta _{\mathbf {u} \mathbf {v} }={\frac {\langle \mathbf {u} ,\mathbf {v} \rangle }{\|\mathbf {u} \|\|\mathbf {v} \|}}.}

The Cauchy–Schwarz inequality proves that this definition is sensible, by showing that the right-hand side lies in the interval [−1, 1] and justifies the notion that (real) Hilbert spaces are simply generalizations of the Euclidean space. It can also be used to define an angle in complex inner-product spaces, by taking the absolute value or the real part of the right-hand side,[15][16] as is done when extracting a metric from quantum fidelity.

Probability theory

Let X {\displaystyle X} and Y {\displaystyle Y} be random variables, then the covariance inequality[17][18] is given by:

Var ( X ) Cov ( X , Y ) 2 Var ( Y ) . {\displaystyle \operatorname {Var} (X)\geq {\frac {\operatorname {Cov} (X,Y)^{2}}{\operatorname {Var} (Y)}}.}

After defining an inner product on the set of random variables using the expectation of their product,

X , Y := E ( X Y ) , {\displaystyle \langle X,Y\rangle :=\operatorname {E} (XY),}
the Cauchy–Schwarz inequality becomes
| E ( X Y ) | 2 E ( X 2 ) E ( Y 2 ) . {\displaystyle |\operatorname {E} (XY)|^{2}\leq \operatorname {E} (X^{2})\operatorname {E} (Y^{2}).}

To prove the covariance inequality using the Cauchy–Schwarz inequality, let μ = E ( X ) {\displaystyle \mu =\operatorname {E} (X)} and ν = E ( Y ) , {\displaystyle \nu =\operatorname {E} (Y),} then

| Cov ( X , Y ) | 2 = | E ( ( X μ ) ( Y ν ) ) | 2 = | X μ , Y ν | 2 X μ , X μ Y ν , Y ν = E ( ( X μ ) 2 ) E ( ( Y ν ) 2 ) = Var ( X ) Var ( Y ) , {\displaystyle {\begin{aligned}|\operatorname {Cov} (X,Y)|^{2}&=|\operatorname {E} ((X-\mu )(Y-\nu ))|^{2}\\&=|\langle X-\mu ,Y-\nu \rangle |^{2}\\&\leq \langle X-\mu ,X-\mu \rangle \langle Y-\nu ,Y-\nu \rangle \\&=\operatorname {E} \left((X-\mu )^{2}\right)\operatorname {E} \left((Y-\nu )^{2}\right)\\&=\operatorname {Var} (X)\operatorname {Var} (Y),\end{aligned}}}
where Var {\displaystyle \operatorname {Var} } denotes variance and Cov {\displaystyle \operatorname {Cov} } denotes covariance.

Proofs

There are many different proofs[19] of the Cauchy–Schwarz inequality other than those given below.[5][7] When consulting other sources, there are often two sources of confusion. First, some authors define ⟨⋅,⋅⟩ to be linear in the second argument rather than the first. Second, some proofs are only valid when the field is R {\displaystyle \mathbb {R} } and not C . {\displaystyle \mathbb {C} .} [20]

This section gives two proofs of the following theorem:

Cauchy–Schwarz inequality — Let u {\displaystyle \mathbf {u} } and v {\displaystyle \mathbf {v} } be arbitrary vectors in an inner product space over the scalar field F , {\displaystyle \mathbb {F} ,} where F {\displaystyle \mathbb {F} } is the field of real numbers R {\displaystyle \mathbb {R} } or complex numbers C . {\displaystyle \mathbb {C} .} Then

| u , v | u v {\displaystyle \left|\langle \mathbf {u} ,\mathbf {v} \rangle \right|\leq \|\mathbf {u} \|\|\mathbf {v} \|} (Cauchy–Schwarz Inequality)

with equality holding in the Cauchy–Schwarz Inequality if and only if u {\displaystyle \mathbf {u} } and v {\displaystyle \mathbf {v} } are linearly dependent.

Moreover, if | u , v | = u v {\displaystyle |\langle \mathbf {u} ,\mathbf {v} \rangle |=\|\mathbf {u} \|\|\mathbf {v} \|} and v 0 {\displaystyle \mathbf {v} \neq \mathbf {0} } then u = u , v v 2 v . {\displaystyle \mathbf {u} ={\frac {\langle \mathbf {u} ,\mathbf {v} \rangle }{\|\mathbf {v} \|^{2}}}\mathbf {v} .}


In both of the proofs given below, the proof in the trivial case where at least one of the vectors is zero (or equivalently, in the case where u v = 0 {\displaystyle \|\mathbf {u} \|\|\mathbf {v} \|=0} ) is the same. It is presented immediately below only once to reduce repetition. It also includes the easy part of the proof of the Equality Characterization given above; that is, it proves that if u {\displaystyle \mathbf {u} } and v {\displaystyle \mathbf {v} } are linearly dependent then | u , v | = u v . {\displaystyle \left|\langle \mathbf {u} ,\mathbf {v} \rangle \right|=\|\mathbf {u} \|\|\mathbf {v} \|.}

Proof of the trivial parts: Case where a vector is 0 {\displaystyle \mathbf {0} } and also one direction of the Equality Characterization

By definition, u {\displaystyle \mathbf {u} } and v {\displaystyle \mathbf {v} } are linearly dependent if and only if one is a scalar multiple of the other. If u = c v {\displaystyle \mathbf {u} =c\mathbf {v} } where c {\displaystyle c} is some scalar then

| u , v | = | c v , v | = | c v , v | = | c | v v = c v v = u v {\displaystyle |\langle \mathbf {u} ,\mathbf {v} \rangle |=|\langle c\mathbf {v} ,\mathbf {v} \rangle |=|c\langle \mathbf {v} ,\mathbf {v} \rangle |=|c|\|\mathbf {v} \|\|\mathbf {v} \|=\|c\mathbf {v} \|\|\mathbf {v} \|=\|\mathbf {u} \|\|\mathbf {v} \|}

which shows that equality holds in the Cauchy–Schwarz Inequality. The case where v = c u {\displaystyle \mathbf {v} =c\mathbf {u} } for some scalar c {\displaystyle c} follows from the previous case:

| u , v | = | v , u | = v u . {\displaystyle |\langle \mathbf {u} ,\mathbf {v} \rangle |=|\langle \mathbf {v} ,\mathbf {u} \rangle |=\|\mathbf {v} \|\|\mathbf {u} \|.}

In particular, if at least one of u {\displaystyle \mathbf {u} } and v {\displaystyle \mathbf {v} } is the zero vector then u {\displaystyle \mathbf {u} } and v {\displaystyle \mathbf {v} } are necessarily linearly dependent (for example, if u = 0 {\displaystyle \mathbf {u} =\mathbf {0} } then u = c v {\displaystyle \mathbf {u} =c\mathbf {v} } where c = 0 {\displaystyle c=0} ), so the above computation shows that the Cauchy-Schwarz inequality holds in this case.

Consequently, the Cauchy–Schwarz inequality only needs to be proven only for non-zero vectors and also only the non-trivial direction of the Equality Characterization must be shown.

Proof via the Pythagorean theorem

The special case of v = 0 {\displaystyle \mathbf {v} =\mathbf {0} } was proven above so it is henceforth assumed that v 0 . {\displaystyle \mathbf {v} \neq \mathbf {0} .} Let

z := u u , v v , v v . {\displaystyle \mathbf {z} :=\mathbf {u} -{\frac {\langle \mathbf {u} ,\mathbf {v} \rangle }{\langle \mathbf {v} ,\mathbf {v} \rangle }}\mathbf {v} .}

It follows from the linearity of the inner product in its first argument that:

z , v = u u , v v , v v , v = u , v u , v v , v v , v = 0. {\displaystyle \langle \mathbf {z} ,\mathbf {v} \rangle =\left\langle \mathbf {u} -{\frac {\langle \mathbf {u} ,\mathbf {v} \rangle }{\langle \mathbf {v} ,\mathbf {v} \rangle }}\mathbf {v} ,\mathbf {v} \right\rangle =\langle \mathbf {u} ,\mathbf {v} \rangle -{\frac {\langle \mathbf {u} ,\mathbf {v} \rangle }{\langle \mathbf {v} ,\mathbf {v} \rangle }}\langle \mathbf {v} ,\mathbf {v} \rangle =0.}

Therefore, z {\displaystyle \mathbf {z} } is a vector orthogonal to the vector v {\displaystyle \mathbf {v} } (Indeed, z {\displaystyle \mathbf {z} } is the projection of u {\displaystyle \mathbf {u} } onto the plane orthogonal to v . {\displaystyle \mathbf {v} .} ) We can thus apply the Pythagorean theorem to

u = u , v v , v v + z {\displaystyle \mathbf {u} ={\frac {\langle \mathbf {u} ,\mathbf {v} \rangle }{\langle \mathbf {v} ,\mathbf {v} \rangle }}\mathbf {v} +\mathbf {z} }
which gives
u 2 = | u , v v , v | 2 v 2 + z 2 = | u , v | 2 ( v 2 ) 2 v 2 + z 2 = | u , v | 2 v 2 + z 2 | u , v | 2 v 2 . {\displaystyle \|\mathbf {u} \|^{2}=\left|{\frac {\langle \mathbf {u} ,\mathbf {v} \rangle }{\langle \mathbf {v} ,\mathbf {v} \rangle }}\right|^{2}\|\mathbf {v} \|^{2}+\|\mathbf {z} \|^{2}={\frac {|\langle \mathbf {u} ,\mathbf {v} \rangle |^{2}}{(\|\mathbf {v} \|^{2})^{2}}}\,\|\mathbf {v} \|^{2}+\|\mathbf {z} \|^{2}={\frac {|\langle \mathbf {u} ,\mathbf {v} \rangle |^{2}}{\|\mathbf {v} \|^{2}}}+\|\mathbf {z} \|^{2}\geq {\frac {|\langle \mathbf {u} ,\mathbf {v} \rangle |^{2}}{\|\mathbf {v} \|^{2}}}.}

The Cauchy–Schwarz inequality follows by multiplying by v 2 {\displaystyle \|\mathbf {v} \|^{2}} and then taking the square root. Moreover, if the relation {\displaystyle \geq } in the above expression is actually an equality, then z 2 = 0 {\displaystyle \|\mathbf {z} \|^{2}=0} and hence z = 0 ; {\displaystyle \mathbf {z} =\mathbf {0} ;} the definition of z {\displaystyle \mathbf {z} } then establishes a relation of linear dependence between u {\displaystyle \mathbf {u} } and v . {\displaystyle \mathbf {v} .} The converse was proved at the beginning of this section, so the proof is complete. {\displaystyle \blacksquare }

Proof by analyzing a quadratic

Consider an arbitrary pair of vectors u , v {\displaystyle \mathbf {u} ,\mathbf {v} } . Define the function p : R R {\displaystyle p:\mathbb {R} \to \mathbb {R} } defined by p ( t ) = t α u + v , t α u + v {\displaystyle p(t)=\langle t\alpha \mathbf {u} +\mathbf {v} ,t\alpha \mathbf {u} +\mathbf {v} \rangle } , where α {\displaystyle \alpha } is a complex number satisfying | α | = 1 {\displaystyle |\alpha |=1} and α u , v = | u , v | {\displaystyle \alpha \langle \mathbf {u} ,\mathbf {v} \rangle =|\langle \mathbf {u} ,\mathbf {v} \rangle |} . Such an α {\displaystyle \alpha } exists since if u , v = 0 {\displaystyle \langle \mathbf {u} ,\mathbf {v} \rangle =0} then α {\displaystyle \alpha } can be taken to be 1.

Since the inner product is positive-definite, p ( t ) {\displaystyle p(t)} only takes non-negative real values. On the other hand, p ( t ) {\displaystyle p(t)} can be expanded using the bilinearity of the inner product:

p ( t ) = t α u , t α u + t α u , v + v , t α u + v , v = t α t α ¯ u , u + t α u , v + t α ¯ v , u + v , v = u 2 t 2 + 2 | u , v | t + v 2 {\displaystyle {\begin{aligned}p(t)&=\langle t\alpha \mathbf {u} ,t\alpha \mathbf {u} \rangle +\langle t\alpha \mathbf {u} ,\mathbf {v} \rangle +\langle \mathbf {v} ,t\alpha \mathbf {u} \rangle +\langle \mathbf {v} ,\mathbf {v} \rangle \\&=t\alpha t{\overline {\alpha }}\langle \mathbf {u} ,\mathbf {u} \rangle +t\alpha \langle \mathbf {u} ,\mathbf {v} \rangle +t{\overline {\alpha }}\langle \mathbf {v} ,\mathbf {u} \rangle +\langle \mathbf {v} ,\mathbf {v} \rangle \\&=\lVert \mathbf {u} \rVert ^{2}t^{2}+2|\langle \mathbf {u} ,\mathbf {v} \rangle |t+\lVert \mathbf {v} \rVert ^{2}\end{aligned}}}
Thus, p {\displaystyle p} is a polynomial of degree 2 {\displaystyle 2} (unless u = 0 , {\displaystyle \mathbf {u} =0,} which is a case that was checked earlier). Since the sign of p {\displaystyle p} does not change, the discriminant of this polynomial must be non-positive:
Δ = 4 ( | u , v | 2 u 2 v 2 ) 0. {\displaystyle \Delta =4\left(|\langle \mathbf {u} ,\mathbf {v} \rangle |^{2}-\Vert \mathbf {u} \Vert ^{2}\Vert \mathbf {v} \Vert ^{2}\right)\leqslant 0.}
The conclusion follows.[21]

For the equality case, notice that Δ = 0 {\displaystyle \Delta =0} happens if and only if p ( t ) = ( t u + v ) 2 . {\displaystyle p(t)=(t\Vert \mathbf {u} \Vert +\Vert \mathbf {v} \Vert )^{2}.} If t 0 = v / u , {\displaystyle t_{0}=-\Vert \mathbf {v} \Vert /\Vert \mathbf {u} \Vert ,} then p ( t 0 ) = t 0 α u + v , t 0 α u + v = 0 , {\displaystyle p(t_{0})=\langle t_{0}\alpha \mathbf {u} +\mathbf {v} ,t_{0}\alpha \mathbf {u} +\mathbf {v} \rangle =0,} and hence v = t 0 α u . {\displaystyle \mathbf {v} =-t_{0}\alpha \mathbf {u} .}

Generalizations

Various generalizations of the Cauchy–Schwarz inequality exist. Hölder's inequality generalizes it to L p {\displaystyle L^{p}} norms. More generally, it can be interpreted as a special case of the definition of the norm of a linear operator on a Banach space (Namely, when the space is a Hilbert space). Further generalizations are in the context of operator theory, e.g. for operator-convex functions and operator algebras, where the domain and/or range are replaced by a C*-algebra or W*-algebra.

An inner product can be used to define a positive linear functional. For example, given a Hilbert space L 2 ( m ) , m {\displaystyle L^{2}(m),m} being a finite measure, the standard inner product gives rise to a positive functional φ {\displaystyle \varphi } by φ ( g ) = g , 1 . {\displaystyle \varphi (g)=\langle g,1\rangle .} Conversely, every positive linear functional φ {\displaystyle \varphi } on L 2 ( m ) {\displaystyle L^{2}(m)} can be used to define an inner product f , g φ := φ ( g f ) , {\displaystyle \langle f,g\rangle _{\varphi }:=\varphi \left(g^{*}f\right),} where g {\displaystyle g^{*}} is the pointwise complex conjugate of g . {\displaystyle g.} In this language, the Cauchy–Schwarz inequality becomes[22]

| φ ( g f ) | 2 φ ( f f ) φ ( g g ) , {\displaystyle \left|\varphi \left(g^{*}f\right)\right|^{2}\leq \varphi \left(f^{*}f\right)\varphi \left(g^{*}g\right),}

which extends verbatim to positive functionals on C*-algebras:

Cauchy–Schwarz inequality for positive functionals on C*-algebras[23][24] — If φ {\displaystyle \varphi } is a positive linear functional on a C*-algebra A , {\displaystyle A,} then for all a , b A , {\displaystyle a,b\in A,} | φ ( b a ) | 2 φ ( b b ) φ ( a a ) . {\displaystyle \left|\varphi \left(b^{*}a\right)\right|^{2}\leq \varphi \left(b^{*}b\right)\varphi \left(a^{*}a\right).}

The next two theorems are further examples in operator algebra.

Kadison–Schwarz inequality[25][26] (Named after Richard Kadison) — If φ {\displaystyle \varphi } is a unital positive map, then for every normal element a {\displaystyle a} in its domain, we have φ ( a a ) φ ( a ) φ ( a ) {\displaystyle \varphi (a^{*}a)\geq \varphi \left(a^{*}\right)\varphi (a)} and φ ( a a ) φ ( a ) φ ( a ) . {\displaystyle \varphi \left(a^{*}a\right)\geq \varphi (a)\varphi \left(a^{*}\right).}

This extends the fact φ ( a a ) 1 φ ( a ) φ ( a ) = | φ ( a ) | 2 , {\displaystyle \varphi \left(a^{*}a\right)\cdot 1\geq \varphi (a)^{*}\varphi (a)=|\varphi (a)|^{2},} when φ {\displaystyle \varphi } is a linear functional. The case when a {\displaystyle a} is self-adjoint, that is, a = a , {\displaystyle a=a^{*},} is sometimes known as Kadison's inequality.

Cauchy–Schwarz inequality (Modified Schwarz inequality for 2-positive maps[27]) — For a 2-positive map φ {\displaystyle \varphi } between C*-algebras, for all a , b {\displaystyle a,b} in its domain,

φ ( a ) φ ( a ) φ ( 1 ) φ ( a a ) ,  and  {\displaystyle \varphi (a)^{*}\varphi (a)\leq \Vert \varphi (1)\Vert \varphi \left(a^{*}a\right),{\text{ and }}}
φ ( a b ) 2 φ ( a a ) φ ( b b ) . {\displaystyle \Vert \varphi \left(a^{*}b\right)\Vert ^{2}\leq \Vert \varphi \left(a^{*}a\right)\Vert \cdot \Vert \varphi \left(b^{*}b\right)\Vert .}

Another generalization is a refinement obtained by interpolating between both sides of the Cauchy–Schwarz inequality:

Callebaut's Inequality[28] — For reals 0 s t 1 , {\displaystyle 0\leqslant s\leqslant t\leqslant 1,}

( i = 1 n a i b i ) 2     ( i = 1 n a i 1 + s b i 1 s ) ( i = 1 n a i 1 s b i 1 + s )     ( i = 1 n a i 1 + t b i 1 t ) ( i = 1 n a i 1 t b i 1 + t )     ( i = 1 n a i 2 ) ( i = 1 n b i 2 ) . {\displaystyle \left(\sum _{i=1}^{n}a_{i}b_{i}\right)^{2}~\leqslant ~\left(\sum _{i=1}^{n}a_{i}^{1+s}b_{i}^{1-s}\right)\left(\sum _{i=1}^{n}a_{i}^{1-s}b_{i}^{1+s}\right)~\leqslant ~\left(\sum _{i=1}^{n}a_{i}^{1+t}b_{i}^{1-t}\right)\left(\sum _{i=1}^{n}a_{i}^{1-t}b_{i}^{1+t}\right)~\leqslant ~\left(\sum _{i=1}^{n}a_{i}^{2}\right)\left(\sum _{i=1}^{n}b_{i}^{2}\right).}

This theorem can be deduced from Hölder's inequality.[29] There are also non-commutative versions for operators and tensor products of matrices.[30]

Several matrix versions of the Cauchy–Schwarz inequality and Kantorovich inequality are applied to linear regression models.[31] [32]

See also

Notes

Citations

  1. ^ O'Connor, J.J.; Robertson, E.F. "Hermann Amandus Schwarz". University of St Andrews, Scotland.
  2. ^ a b Bityutskov, V. I. (2001) [1994], "Bunyakovskii inequality", Encyclopedia of Mathematics, EMS Press
  3. ^ Ćurgus, Branko. "Cauchy-Bunyakovsky-Schwarz inequality". Department of Mathematics. Western Washington University.
  4. ^ Joyce, David E. "Cauchy's inequality" (PDF). Department of Mathematics and Computer Science. Clark University. Archived (PDF) from the original on 2022-10-09.
  5. ^ a b c Steele, J. Michael (2004). The Cauchy–Schwarz Master Class: an Introduction to the Art of Mathematical Inequalities. The Mathematical Association of America. p. 1. ISBN 978-0521546775. ...there is no doubt that this is one of the most widely used and most important inequalities in all of mathematics.
  6. ^ Strang, Gilbert (19 July 2005). "3.2". Linear Algebra and its Applications (4th ed.). Stamford, CT: Cengage Learning. pp. 154–155. ISBN 978-0030105678.
  7. ^ a b Hunter, John K.; Nachtergaele, Bruno (2001). Applied Analysis. World Scientific. ISBN 981-02-4191-7.
  8. ^ Bachmann, George; Narici, Lawrence; Beckenstein, Edward (2012-12-06). Fourier and Wavelet Analysis. Springer Science & Business Media. p. 14. ISBN 9781461205050.
  9. ^ Hassani, Sadri (1999). Mathematical Physics: A Modern Introduction to Its Foundations. Springer. p. 29. ISBN 0-387-98579-4. Equality holds iff <c|c>=0 or |c>=0. From the definition of |c>, we conclude that |a> and |b> must be proportional.
  10. ^ Axler, Sheldon (2015). Linear Algebra Done Right, 3rd Ed. Springer International Publishing. p. 172. ISBN 978-3-319-11079-0. This inequality is an equality if and only if one of u, v is a scalar multiple of the other.
  11. ^ Bachman, George; Narici, Lawrence (2012-09-26). Functional Analysis. Courier Corporation. p. 141. ISBN 9780486136554.
  12. ^ Swartz, Charles (1994-02-21). Measure, Integration and Function Spaces. World Scientific. p. 236. ISBN 9789814502511.
  13. ^ Ricardo, Henry (2009-10-21). A Modern Introduction to Linear Algebra. CRC Press. p. 18. ISBN 9781439894613.
  14. ^ Banerjee, Sudipto; Roy, Anindya (2014-06-06). Linear Algebra and Matrix Analysis for Statistics. CRC Press. p. 181. ISBN 9781482248241.
  15. ^ Valenza, Robert J. (2012-12-06). Linear Algebra: An Introduction to Abstract Mathematics. Springer Science & Business Media. p. 146. ISBN 9781461209010.
  16. ^ Constantin, Adrian (2016-05-21). Fourier Analysis with Applications. Cambridge University Press. p. 74. ISBN 9781107044104.
  17. ^ Mukhopadhyay, Nitis (2000-03-22). Probability and Statistical Inference. CRC Press. p. 150. ISBN 9780824703790.
  18. ^ Keener, Robert W. (2010-09-08). Theoretical Statistics: Topics for a Core Course. Springer Science & Business Media. p. 71. ISBN 9780387938394.
  19. ^ Wu, Hui-Hua; Wu, Shanhe (April 2009). "Various proofs of the Cauchy-Schwarz inequality" (PDF). Octogon Mathematical Magazine. 17 (1): 221–229. ISBN 978-973-88255-5-0. ISSN 1222-5657. Archived (PDF) from the original on 2022-10-09. Retrieved 18 May 2016.
  20. ^ Aliprantis, Charalambos D.; Border, Kim C. (2007-05-02). Infinite Dimensional Analysis: A Hitchhiker's Guide. Springer Science & Business Media. ISBN 9783540326960.
  21. ^ Rudin, Walter (1987) [1966]. Real and Complex Analysis (3rd ed.). New York: McGraw-Hill. ISBN 0070542341.
  22. ^ Faria, Edson de; Melo, Welington de (2010-08-12). Mathematical Aspects of Quantum Field Theory. Cambridge University Press. p. 273. ISBN 9781139489805.
  23. ^ Lin, Huaxin (2001-01-01). An Introduction to the Classification of Amenable C*-algebras. World Scientific. p. 27. ISBN 9789812799883.
  24. ^ Arveson, W. (2012-12-06). An Invitation to C*-Algebras. Springer Science & Business Media. p. 28. ISBN 9781461263715.
  25. ^ Størmer, Erling (2012-12-13). Positive Linear Maps of Operator Algebras. Springer Monographs in Mathematics. Springer Science & Business Media. ISBN 9783642343698.
  26. ^ Kadison, Richard V. (1952-01-01). "A Generalized Schwarz Inequality and Algebraic Invariants for Operator Algebras". Annals of Mathematics. 56 (3): 494–503. doi:10.2307/1969657. JSTOR 1969657.
  27. ^ Paulsen, Vern (2002). Completely Bounded Maps and Operator Algebras. Cambridge Studies in Advanced Mathematics. Vol. 78. Cambridge University Press. p. 40. ISBN 9780521816694.
  28. ^ Callebaut, D.K. (1965). "Generalization of the Cauchy–Schwarz inequality". J. Math. Anal. Appl. 12 (3): 491–494. doi:10.1016/0022-247X(65)90016-8.
  29. ^ Callebaut's inequality. Entry in the AoPS Wiki.
  30. ^ Moslehian, M.S.; Matharu, J.S.; Aujla, J.S. (2011). "Non-commutative Callebaut inequality". Linear Algebra and Its Applications. 436 (9): 3347–3353. arXiv:1112.3003. doi:10.1016/j.laa.2011.11.024. S2CID 119592971.
  31. ^ Liu, Shuangzhe; Neudecker, Heinz (1999). "A survey of Cauchy-Schwarz and Kantorovich-type matrix inequalities". Statistical Papers. 40: 55–73. doi:10.1007/BF02927110. S2CID 122719088.
  32. ^ Liu, Shuangzhe; Trenkler, Götz; Kollo, Tõnu; von Rosen, Dietrich; Baksalary, Oskar Maria (2023). "Professor Heinz Neudecker and matrix differential calculus". Statistical Papers. doi:10.1007/s00362-023-01499-w. S2CID 263661094.

References

  • Aldaz, J. M.; Barza, S.; Fujii, M.; Moslehian, M. S. (2015), "Advances in Operator Cauchy—Schwarz inequalities and their reverses", Annals of Functional Analysis, 6 (3): 275–295, doi:10.15352/afa/06-3-20, S2CID 122631202
  • Bunyakovsky, Viktor (1859), "Sur quelques inegalités concernant les intégrales aux différences finies" (PDF), Mem. Acad. Sci. St. Petersbourg, 7 (1): 6, archived (PDF) from the original on 2022-10-09
  • Cauchy, A.-L. (1821), "Sur les formules qui résultent de l'emploie du signe et sur > ou <, et sur les moyennes entre plusieurs quantités", Cours d'Analyse, 1er Partie: Analyse Algébrique 1821; OEuvres Ser.2 III 373-377
  • Dragomir, S. S. (2003), "A survey on Cauchy–Bunyakovsky–Schwarz type discrete inequalities", Journal of Inequalities in Pure and Applied Mathematics, 4 (3): 142 pp, archived from the original on 2008-07-20
  • Grinshpan, A. Z. (2005), "General inequalities, consequences, and applications", Advances in Applied Mathematics, 34 (1): 71–100, doi:10.1016/j.aam.2004.05.001
  • Halmos, Paul R. (8 November 1982). A Hilbert Space Problem Book. Graduate Texts in Mathematics. Vol. 19 (2nd ed.). New York: Springer-Verlag. ISBN 978-0-387-90685-0. OCLC 8169781.
  • Kadison, R. V. (1952), "A generalized Schwarz inequality and algebraic invariants for operator algebras", Annals of Mathematics, 56 (3): 494–503, doi:10.2307/1969657, JSTOR 1969657.
  • Lohwater, Arthur (1982), Introduction to Inequalities, Online e-book in PDF format
  • Paulsen, V. (2003), Completely Bounded Maps and Operator Algebras, Cambridge University Press.
  • Schwarz, H. A. (1888), "Über ein Flächen kleinsten Flächeninhalts betreffendes Problem der Variationsrechnung" (PDF), Acta Societatis Scientiarum Fennicae, XV: 318, archived (PDF) from the original on 2022-10-09
  • Solomentsev, E. D. (2001) [1994], "Cauchy inequality", Encyclopedia of Mathematics, EMS Press
  • Steele, J. M. (2004), The Cauchy–Schwarz Master Class, Cambridge University Press, ISBN 0-521-54677-X

External links

  • Earliest Uses: The entry on the Cauchy–Schwarz inequality has some historical information.
  • Example of application of Cauchy–Schwarz inequality to determine Linearly Independent Vectors Tutorial and Interactive program.
  • v
  • t
  • e
Basic conceptsL1 spacesL2 spaces L {\displaystyle L^{\infty }} spacesMapsInequalitiesResults
For Lebesgue measure
Applications & related
  • v
  • t
  • e
Spaces
Properties
Theorems
Operators
Algebras
Open problems
Applications
Advanced topics
  • Category