Cauchy–Schwarz inequality

1

The Cauchy–Schwarz inequality (also called Cauchy–Bunyakovsky–Schwarz inequality) 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. Inner products of vectors can describe finite sums (via finite-dimensional vector spaces), infinite series (via vectors in sequence spaces), and integrals (via vectors in Hilbert spaces). The inequality for sums was published by. The corresponding inequality for integrals was published by and. Schwarz gave the modern proof of the integral version.

Statement of the inequality

The Cauchy–Schwarz inequality states that for all vectors \mathbf{u} and \mathbf{v} of an inner product space where 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 \ell_2 norm, called the or , where the norm of a vector \mathbf{u} is denoted and defined by where 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: Moreover, the two sides are equal if and only if \mathbf{u} and \mathbf{v} are linearly dependent.

Special cases

Sedrakyan's lemma – positive real numbers

Sedrakyan's inequality, also known as Bergström's inequality, Engel's form, Titu's lemma (or the T2 lemma), states that for real numbers and positive real numbers : or, using summation notation, It is a direct consequence of the Cauchy–Schwarz inequality, obtained by using the dot product on \R^n upon substituting and. This form is especially helpful when the inequality involves fractions where the numerator is a perfect square.

R{{sup|2}}

  • The plane The real vector space \R^2 denotes the 2-dimensional plane. It is also the 2-dimensional Euclidean space where the inner product is the dot product. If and then the Cauchy–Schwarz inequality becomes: where \theta is the angle between \mathbf{u} and \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, u_2, v_1, and v_2 as where equality holds if and only if the vector is in the same or opposite direction as the vector, or if one of them is the zero vector.

R{{sup|n}}

: n-dimensional Euclidean space In Euclidean space \R^n with the standard inner product, which is the dot product, the Cauchy–Schwarz inequality becomes: 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 or by considering the following quadratic polynomial in x 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,

C{{sup|n}}

: n-dimensional complex space If with and (where and ) and if the inner product on the vector space \Complex^n is the canonical complex inner product (defined by where the bar notation is used for complex conjugation), then the inequality may be restated more explicitly as follows: That is,

L{{sup|2}}

For the inner product space of square-integrable complex-valued functions, the following inequality holds. 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: Taking square roots gives the triangle inequality: 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.

Geometry

The Cauchy–Schwarz inequality allows one to extend the notion of "angle between two vectors" to any real inner-product space by defining: 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, as is done when extracting a metric from quantum fidelity.

Probability theory

Let X and Y be random variables. Then the covariance inequality is given by: After defining an inner product on the set of random variables using the expectation of their product, the Cauchy–Schwarz inequality becomes To prove the covariance inequality using the Cauchy–Schwarz inequality, let and then where denotes variance and denotes covariance.

Proofs

There are many different proofs of the Cauchy–Schwarz inequality other than those given below. 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 \mathbb R and not \mathbb C. This section gives two proofs of the following theorem: 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 ) 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 \mathbf{u} and \mathbf{v} are linearly dependent then By definition, \mathbf{u} and \mathbf{v} are linearly dependent if and only if one is a scalar multiple of the other. If where c is some scalar then which shows that equality holds in the. The case where for some scalar c follows from the previous case: In particular, if at least one of \mathbf{u} and \mathbf{v} is the zero vector then \mathbf{u} and \mathbf{v} are necessarily linearly dependent (for example, if then where 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 was proven above so it is henceforth assumed that Let It follows from the linearity of the inner product in its first argument that: Therefore, \mathbf{z} is a vector orthogonal to the vector \mathbf{v} (Indeed, \mathbf{z} is the projection of \mathbf{u} onto the plane orthogonal to \mathbf{v}.) We can thus apply the Pythagorean theorem to which gives The Cauchy–Schwarz inequality follows by multiplying by and then taking the square root. Moreover, if the relation \geq in the above expression is actually an equality, then and hence the definition of \mathbf{z} then establishes a relation of linear dependence between \mathbf{u} and \mathbf{v}. The converse was proved at the beginning of this section, so the proof is complete.

Proof by analyzing a quadratic

Consider an arbitrary pair of vectors. Define the function defined by, where \alpha is a complex number satisfying and. Such an \alpha exists since if then \alpha can be taken to be 1. Since the inner product is positive-definite, p(t) only takes non-negative real values. On the other hand, p(t) can be expanded using the bilinearity of the inner product: Thus, p is a polynomial of degree 2 (unless which is a case that was checked earlier). Since the sign of p does not change, the discriminant of this polynomial must be non-positive: The conclusion follows. For the equality case, notice that \Delta = 0 happens if and only if If then and hence

Generalizations

Various generalizations of the Cauchy–Schwarz inequality exist. Hölder's inequality generalizes it to 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 being a finite measure, the standard inner product gives rise to a positive functional \varphi by Conversely, every positive linear functional \varphi on L^2(m) can be used to define an inner product where g^* is the pointwise complex conjugate of g. In this language, the Cauchy–Schwarz inequality becomes which extends verbatim to positive functionals on C*-algebras: The next two theorems are further examples in operator algebra. This extends the fact when \varphi is a linear functional. The case when a is self-adjoint, that is, a = a^*, is sometimes known as Kadison's inequality. Another generalization is a refinement obtained by interpolating between both sides of the Cauchy–Schwarz inequality: This theorem can be deduced from Hölder's inequality. There are also non-commutative versions for operators and tensor products of matrices. Several matrix versions of the Cauchy–Schwarz inequality and Kantorovich inequality are applied to linear regression models.

Citations

This article is derived from Wikipedia and licensed under CC BY-SA 4.0. View the original article.

Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc.
Bliptext is not affiliated with or endorsed by Wikipedia or the Wikimedia Foundation.

Edit article