Learn/Algebra/Cauchy-Schwarz Inequality
Algebra • Topic 27

Cauchy-Schwarz Inequality

The Cauchy-Schwarz Inequality (often just "Cauchy") is the most versatile inequality in olympiad mathematics. It relates the dot product of two vectors to the product of their magnitudes.

Statement

Theorem (Cauchy-Schwarz Inequality)
For all real numbers and :

Equality holds if and only if the sequences are proportional: .

Titu's Lemma (Engel's Form)

A highly useful corollary for fraction sums.
Corollary (Titu's Lemma)
where .

Proof. Apply Cauchy-Schwarz to sequences and .

Dividing by gives the result.

Applications

1. Bounding Sums

Use Cauchy to turn a sum of products into a product of sums.
Example
Prove that for positive reals :

Proof. Let and . By Cauchy-Schwarz:

2. Eliminating Radicals

Cauchy-Schwarz is excellent for removing square roots from expressions.

Practice Problems

Exercise (Problem 1)
Prove that if , then .
Exercise (Problem 2)
Use Titu's Lemma to prove .
Exercise (Problem 3)
Find the maximum value of subject to .