The Cauchy-Schwarz Inequality
Why This Matters
The Cauchy-Schwarz inequality is the bilinear backbone of olympiad inequalities. Its statement:
For real numbers and , with equality if and only if and are proportional (or one is the zero vector).
Cauchy-Schwarz is to bilinear sums what AM-GM is to additive and multiplicative structure: a fundamental lower bound, true in great generality, with one-line proofs in dozens of forms. Every olympiad student should know the statement, the equality case, at least one proof, and the Engel form (Titu's lemma) , which is the form most contest problems actually need.
Recognize Cauchy-Schwarz when:
- You have a sum of products and want to bound it by a product of sums (or the reverse).
- You have ratios with squared numerators or denominators ( or ).
- A vector or inner-product geometry interpretation simplifies the problem.
- The equality case is "vectors proportional", which is a strong cue.
The inequality lives in any inner-product space. The finite-sum form above is the discrete case; integral and -norm forms generalize it. Olympiad applications are almost entirely the discrete case.
The Inequality
Cauchy-Schwarz Inequality (1821 / 1859 / 1885)
Statement
, with equality iff there exist scalars not both zero with for all .
Intuition
Geometric reading: . The angle between and satisfies , with equality iff or , i.e., the vectors are parallel.
The inequality is exactly for the angle between two vectors. That is the whole content.
Proof Sketch
Discriminant proof. Consider the quadratic in : This is non-negative for all real (sum of squares). Hence its discriminant is non-positive: which is Cauchy-Schwarz. Equality iff for some , i.e., for all , i.e., proportional.
Lagrange identity. Direct algebra: The right side is a sum of squares, hence non-negative. Equality iff every , i.e., proportional.
Engel form / Titu's lemma. For positive , This rearranges to the standard form by setting , and expanding.
Why It Matters
Cauchy-Schwarz is the most-cited inequality in olympiad solutions after AM-GM. The Engel form (Titu's lemma) is especially powerful: it converts a sum-of-fractions inequality into a comparison of single ratios, which is often immediate from the problem hypothesis.
The inequality also generalizes in many directions: Holder's inequality (with exponents summing reciprocally to 1 instead of just ), the Cauchy-Schwarz inequality on inner-product spaces, the integral form , and the matrix-trace form. The same proof technique (discriminant, expanding a square, Lagrange identity) adapts to all of these.
Failure Mode
The inequality is square. Without the square, you cannot conclude unless . For sums of products with negative terms, the inequality bounds , not itself.
The Engel form requires . If any the fraction is undefined. If any the inequality direction can flip.
Worked Example: The Engel Form in Action
The Engel form (Titu's lemma) at n=3
Problem. For positive reals , show
Solution. This is exactly the Engel form (Titu's lemma) at . Apply Cauchy-Schwarz to the sequences and : The left side is . Dividing by gives the result.
Equality iff , i.e., .
The Engel form is what you actually use in 80% of contest problems. Recognizing the pattern is the entry point.
Worked Example: A Classic Olympiad
Nesbitt's inequality
Problem. For positive reals , show
Solution (via Engel). Rewrite each fraction as :
It remains to show , i.e., . Expand the left: , i.e., , which is the classic SOS identity .
Equality at .
Two-step pattern: Engel reduces to a polynomial inequality; SOS or direct expansion finishes.
The Recognition Process
When facing an inequality, ask:
- Is there a sum of products and a product of sums? That is the standard CS form.
- Is there a sum of fractions with squared numerators? The Engel form fits: with .
- Is the equality case "vectors proportional"? A strong indicator that CS is the right tool.
- Can you write each term as for a clever choice of and ? The trick in many problems is the creative choice of which factors play the roles of and .
- Should you use Holder instead? If the inequality is "more than bilinear" (cubic ratios, mixed exponents), Holder's for is often the extension you need.
Common Mistakes
Forgetting the square
Cauchy-Schwarz is , not . The square matters when the sum of products can be negative. Always check signs before removing the square.
Wrong choice of $a_i$ and $b_i$
The art of using CS is choosing the right pair of sequences. A generic choice usually gives a useless bound. Look at the LHS and RHS of what you want to prove; reverse-engineer what products would produce the LHS and what and sums would produce the RHS.
Equality conditions glossed over
The equality case ( constant) is essential for optimization problems. Many writeups apply CS, get a bound, and forget to check whether equality is achievable in the problem's constraints. If equality cannot be achieved, the bound is not tight.
CS does not always give the tightest bound
For some inequalities, CS gives the right answer; for others, it gives a bound that is strictly weaker than the truth. If CS gives a bound that the problem hypothesis says cannot be achieved, you have not solved the problem. Either CS is the wrong tool or you need a sharper variant (Holder, rearrangement, SOS).
Engel form requires $b_i > 0$
The Engel form needs every . If a is zero or negative, this form fails (the LHS is undefined or the inequality flips). Verify positivity before applying.
Exercises
Problem
For real numbers , show .
Problem
For positive reals , show .
Problem
Show that for positive reals with ,
Cross-Network Links
- ProofsPath: am-gm-inequality is the multiplicative cousin; power-mean-inequality generalizes both; jensen-for-convex-functions is the convexity-based generalization; rearrangement-inequality handles cases CS does not.
- TheoremPath: inner-product-spaces-and-orthogonality is the abstract setting where Cauchy-Schwarz lives in full generality; maximum-likelihood-estimation uses Cauchy-Schwarz in proofs of the Cramer-Rao lower bound; matrix-norms uses CS in the operator-norm submultiplicativity proof.
References
See structured references block. Primary entry points: Steele
Cauchy-Schwarz Master Class for the canonical olympiad
treatment with dozens of variations and exercises;
Hardy-Littlewood-Polya Inequalities Ch 2 for the classical
analytic perspective; Engel Ch 7 for contest applications.