Cauchy–Schwarz Inequality
(Algebra – IMO Preparation)
1. Simple Explanation
The Cauchy–Schwarz Inequality (often called CS) is a fundamental tool that bounds the product of two sums (or inner products) by the product of their lengths.
In Euclidean space (\mathbb{R}^n) it says:
[ \left(\sum_{i=1}^{n} a_i b_i\right)^2 ;\le; \left(\sum_{i=1}^{n} a_i^2\right)!\left(\sum_{i=1}^{n} b_i^2\right). ]
Geometrically, it is equivalent to saying that the angle between two vectors is never “more obtuse” than 90°, because the cosine of the angle (the dot product divided by the product of norms) is always between (-1) and (1).
2. Key Points
| Concept | What to remember |
|---|---|
| Statement | For real (or complex) sequences (a_i, b_i): ((\sum a_ib_i)^2 \le (\sum a_i^2)(\sum b_i^2)). |
| Equality condition | Equality holds iff the vectors ((a_1,\dots,a_n)) and ((b_1,\dots,b_n)) are linearly dependent (one is a scalar multiple of the other). |
| Signed version | The inequality also holds for absolute values: ( |
| Applications | Bounding sums, proving AM–GM, Hölder’s inequality (for (p=q=2)), rearrangement inequality, and many Olympiad problems. |
| Proof strategy | 1. Consider the quadratic (f(t) = \sum (a_i - t b_i)^2 \ge 0). 2. Expand, set derivative to zero, or compare coefficients. |
| Variants | • Cauchy–Schwarz in inner product spaces. • Engel form: (\sum \frac{a_i^2}{b_i} \ge \frac{(\sum a_i)^2}{\sum b_i}). |
| Common pitfalls | • Forgetting to take absolute value when needed. • Mixing up the inequality direction for complex numbers (use modulus). |
3. Worked Example
Problem (IMO‑style).
Let (x_1, x_2, \dots, x_n) be positive real numbers such that (x_1x_2\cdots x_n = 1). Prove that
[ \sum_{i=1}^{n} \frac{1}{1+x_i} ;\le; \frac{n}{2}. ]
Solution
-
Introduce reciprocals.
Let (y_i = \frac{1}{x_i}). Then (y_i > 0) and (\prod y_i = 1) as well. -
Rewrite the sum.
[ \frac{1}{1+x_i} = \frac{x_i}{x_i(1+x_i)} = \frac{x_i}{x_i + x_i^2} = \frac{1}{1+\frac{1}{x_i}} = \frac{1}{1+y_i}. ]So the inequality is symmetric in (x_i) and (y_i).
-
Apply Cauchy–Schwarz in Engel form.
Consider [ \sum_{i=1}^{n} \frac{1}{1+x_i} = \sum_{i=1}^{n} \frac{1}{1+x_i}\cdot 1. ] Apply Engel's CS: [ \sum_{i=1}^{n} \frac{1^2}{1+x_i} ;\ge; \frac{\left(\sum 1\right)^2}{\sum (1+x_i)}. ] But we need an upper bound, so we reverse the roles: [ \sum_{i=1}^{n} \frac{1}{1+x_i} = \sum_{i=1}^{n} \frac{1}{1+x_i}\cdot 1 \le \sqrt{\sum_{i=1}^{n} \frac{1}{(1+x_i)^2}; \sum_{i=1}^{n} 1^2} = \sqrt{n \sum_{i=1}^{n} \frac{1}{(1+x_i)^2}}. ] This is not directly useful. A better approach: -
Use AM–GM on each term.
For each (i): [ \frac{1}{1+x_i} \le \frac{1}{2}\left(\frac{1}{x_i} + 1\right) ] because (1+x_i \ge 2\sqrt{x_i}) (AM–GM). Multiply both sides by (2): [ \frac{2}{1+x_i} \le \frac{1}{x_i} + 1. ] -
Sum over (i).
[ \sum_{i=1}^{n} \frac{2}{1+x_i} \le \sum_{i=1}^{n} \left(\frac{1}{x_i} + 1\right) = \sum_{i=1}^{n} \frac{1}{x_i} + n. ] -
Apply Cauchy–Schwarz to the reciprocal sum.
[ \left(\sum_{i=1}^{n} \frac{1}{x_i}\right)\left(\sum_{i=1}^{n} x_i\right) \ge \left(\sum_{i=1}^{n} 1\right)^2 = n^2. ] Since (x_i>0), we have (\sum x_i \ge n) by AM–GM ((\prod x_i = 1)).
Thus [ \sum_{i=1}^{n} \frac{1}{x_i} \ge \frac{n^2}{\sum x_i} \ge \frac{n^2}{n} = n. ]Hence [ \sum_{i=1}^{n} \frac{2}{1+x_i} \le \sum_{i=1}^{n} \frac{1}{x_i} + n \le n +