The Cauchy-Schwarz Inequality
"The inner product of two vectors can never exceed the product of their lengths."
"The inner product of two vectors can never exceed the product of their lengths."
The Cauchy-Schwarz inequality states that for any two vectors, the absolute value of their inner product is at most the product of their lengths, or norms. In coordinates, the square of a sum of products of paired numbers is at most the product of the two sums of squares. Equality holds exactly when the two vectors are linearly dependent, pointing along the same line. It is one of the most important and widely used inequalities in all of mathematics, holding in any inner-product space, real or complex, finite or infinite dimensional. Its power lies in bounding an interaction, the inner product, by the separate sizes of the things interacting, a constraint that turns up everywhere from geometry and analysis to statistics and quantum mechanics.
Rated Empirical: grounded in studies or measurable evidence. The other 608.
The inequality follows from a simple positivity argument. Consider the vector formed by subtracting a variable multiple of one vector from the other; its length squared is never negative, so as a quadratic in that multiple it can have at most one real root, which forces its discriminant to be non-positive. Working out that discriminant condition yields exactly the Cauchy-Schwarz inequality, with equality when the length is zero, meaning the vectors are parallel. Geometrically the inequality is what makes the definition of angle sensible, since the cosine of the angle between two vectors is their inner product divided by the product of their lengths, a ratio the inequality keeps between minus one and one. Without it, the notion of angle in abstract spaces would not be well defined.
The classical coordinate version, that the square of the sum of paired products is at most the product of the two sums of squares, given by Cauchy in 1821.
The version for integrals of functions, developed by Bunyakovsky and Schwarz, extending the inequality from finite sums to inner products on function spaces.
The Cauchy-Schwarz inequality is a cornerstone of analysis, geometry, probability, and physics, so ubiquitous that it is often the first tool reached for when bounding an inner product or a sum of products. It underpins the triangle inequality and hence the very notion of distance in vector spaces, makes the definition of angle coherent, guarantees the correlation coefficient lies in its familiar range, and stands behind the uncertainty relations of quantum mechanics through its role in the Robertson-Schrodinger inequality. Elegant, elementary to prove, and endlessly applicable, it is a model of how a single inequality can organise vast swaths of mathematics.
The inequality is exactly that, an inequality, becoming an equality only when the two vectors are linearly dependent, so it is tight only in that parallel case. It presupposes a genuine inner product with its positivity and symmetry properties; in settings lacking a true inner product it need not hold. It bounds the inner product by the norms but says nothing about the sign or the precise value of the inner product, only its magnitude. And while it holds in infinite-dimensional spaces, applying it there requires the relevant inner products and norms to be finite, so its use is bounded by the existence of the quantities it relates.
The inequality gives an upper bound, reached as equality only for parallel vectors, so it is not an identity and not generally tight. The Schwarz here is Hermann Amandus Schwarz, a nineteenth-century German analyst, not the twentieth-century Laurent Schwartz of distribution theory, a common confusion. And it concerns the magnitude of the inner product, not its sign, so it constrains how large the interaction can be without telling you whether the vectors point with or against each other, which is a separate matter of the inner product's sign.
Yes, as far as the evidence goes. The Cauchy-Schwarz Inequality is rated Empirical here: it rests on studies or measurements rather than on a saying.
Rated from two sources. 609 of the 1,116 entries carry this rating. How the scale works.
The best-known laws are the least likely to rest on measurement.
The finite-sum version was given by Augustin-Louis Cauchy in 1821, the integral version by Viktor Bunyakovsky in 1859, and the general inner-product form by Hermann Amandus Schwarz in 1888, whence the combined name Cauchy-Bunyakovsky-Schwarz.
Everything above traces to en.wikipedia.org and mathworld.wolfram.com: two secondary sources, accounts of the original rather than the original itself, which has not been located for this entry. Nothing is written from memory, and the method is written down. Spot an error or a better source? Suggest a fix.