Cauchy-Schwarz inequality: Difference between revisions
imported>Jitse Niesen (special cases: in R^n (treated first because it's easiest to understand) and in L^2; rename variables for consistency) |
imported>Jitse Niesen (→The inequality for real numbers: fix mistake and simplify by not using sigma notation for sums) |
||
Line 4: | Line 4: | ||
==The inequality for real numbers== | ==The inequality for real numbers== | ||
The simplest form of the inequality, and the first one considered historically, states that | The simplest form of the inequality, and the first one considered historically, states that | ||
:<math> | :<math> ( x_1 y_1 + x_2 y_2 + \cdots + x_n y_n )^2 \le ( x_1^2 + x_2^2 + \cdots + x_n^2 ) ( y_1^2 + y_2^2 + \cdots + y_n^2 ) </math> | ||
for all real numbers ''x''<sub>1</sub>, …, ''x''<sub>''n''</sub>, ''y''<sub>1</sub>, …, ''y''<sub>''n''</sub> (where ''n'' is a arbitrary positive integer). Furthermore, the inequality is in fact an equality | for all real numbers ''x''<sub>1</sub>, …, ''x''<sub>''n''</sub>, ''y''<sub>1</sub>, …, ''y''<sub>''n''</sub> (where ''n'' is a arbitrary positive integer). Furthermore, the inequality is in fact an equality | ||
:<math> | :<math> ( 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 ) </math> | ||
if and only if there is a number ''C'' such that <math>x_i = Cy_i</math> for all ''i''. | if and only if there is a number ''C'' such that <math>x_i = Cy_i</math> for all ''i''. | ||
Revision as of 10:36, 27 July 2008
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
for all real numbers x1, …, xn, y1, …, yn (where n is a arbitrary positive integer). Furthermore, the inequality is in fact an equality
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
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
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
for all real functions f and g for which the integrals on the right-hand side exist.
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:
Since f is a non-negative definite quadratic function of t, it follows that the discriminant of f is non-positive definite. That is,
from which (1) follows immediately.