Vol. I a living index of named laws · est. mmxxvi no ads · no account
The Law Tomeindex of named laws

The Cauchy-Schwarz Inequality

also known as — Cauchy-Bunyakovsky-Schwarz inequality, CBS inequality
"The inner product of two vectors can never exceed the product of their lengths."
In plain English

What does The Cauchy-Schwarz Inequality mean?

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.

Run the numbers

The Cauchy-Schwarz Inequality calculator

Move two vectors and watch the inner product stay under the product of their lengths.

|<u,v>| <= ||u|| ||v||

u, v
The two vectors
<u,v>
Their inner product
||u||
Length of u
Inner product |<u,v>| —
Product of lengths ||u|| ||v|| —
Slack between them —

Computed live from |<u,v>| <= ||u|| ||v|| — the law's own arithmetic, nothing fitted or predicted.

Reliability

Rated Empirical: grounded in studies or measurable evidence. The other 608.

Lineage
1821COINED
How it works

How does The Cauchy-Schwarz Inequality work?

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.

Figure illustrating The Cauchy-Schwarz Inequality
The Cauchy-Schwarz Inequality — Adamant.pwn · CC0 · source
Where you'll see it

What are examples of The Cauchy-Schwarz Inequality?

The angle between vectors Defining the cosine of the angle as the inner product over the product of lengths only makes sense because Cauchy-Schwarz keeps that ratio within minus one to one.
The correlation coefficient In statistics the inequality is why the correlation coefficient between two variables always lies between minus one and one, a direct application to sums of products.
The triangle inequality The triangle inequality for vector lengths, that the length of a sum is at most the sum of lengths, follows directly from Cauchy-Schwarz.
Types & variants

What are the types of The Cauchy-Schwarz Inequality?

The sums form§

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 integral form§

The version for integrals of functions, developed by Bunyakovsky and Schwarz, extending the inequality from finite sums to inner products on function spaces.

Why it matters

Why does The Cauchy-Schwarz Inequality matter?

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.

Working with it

How do you apply The Cauchy-Schwarz Inequality?

  • Bound the interaction by the sizes — whenever an inner product or sum of paired products appears, cap its magnitude by the product of the two norms.
  • Prove it by positivity — expand the non-negative length squared of a difference as a quadratic; its non-positive discriminant is exactly the inequality.
  • Use it to define angle — rely on it to keep the inner product over the product of lengths within minus one and one, so the cosine of an angle is well defined.
Where it breaks down

What are the limits of The Cauchy-Schwarz Inequality?

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.

What it doesn't say

What are common misconceptions about The Cauchy-Schwarz Inequality?

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.

Is it real?

Is The Cauchy-Schwarz Inequality real?

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.

Occasionally printedin printed books: one of 240 names in its band, of 903 measured
38 of 51entries in mathematics & proof carry the same rating

The best-known laws are the least likely to rest on measurement.

Origin

Where did The Cauchy-Schwarz Inequality come from?

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.

How the name spread

When did people start saying “The Cauchy-Schwarz Inequality”?

1800coined 18212019
How often “Cauchy - Schwarz Inequality” appears in printed English, which takes hold around 1960 and peaks around 2019. The idea dates to 1821: the phrase took about 139 years to reach print in any quantity, which is the gap this chart measures. Source: Google Books Ngrams.
Sources

Sources & further reading

  1. 1Cauchy-Schwarz inequality, Wikipedia. — the inner-product and sums forms, the equality condition, the three names and dates, and the correlation-coefficient and angle applications.secondary
  2. 2Schwarz's Inequality, Wolfram MathWorld. — the inequality with the linear-dependence equality condition.secondary

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.

What we checked

  • 1,116entries in the tomeListed one by one on the browse page.
  • 1,116of them citing a sourceOpen any entry: its sources sit at the foot of the page.
  • 2,489source references in allEach is named, and linked wherever the source is online.