AoPSWiki
Support local problem solving programs by contributing to the Art of Problem Solving Foundation.
Click here for more information about the Foundation.

Cauchy-Schwarz Inequality

From AoPSWiki

The Cauchy-Schwarz Inequality (which is known by other names, including Cauchy's Inequality, Schwarz's Inequality, and the Cauchy-Bunyakovsky-Schwarz Inequality) is a well-known inequality with many elegant applications. It has an elementary form, a complex form, and a general form.

Augustin Cauchy wrote the first paper about the elementary form in 1821. The general form was discovered by Viktor Bunyakovsky in 1849 and independently by Hermann Schwarz in 1888.

Contents

Elementary Form

For any real numbers and , \biggl( \sum_{i=1}^{n}a_ib_i \biggr)^2 \le \biggl(\sum_{i=1}^{n}a_i^2 \biggr) \biggl(\sum_{i=1}^{n}b_i^2 \biggr), with equality when there exist constants not both zero such that for all , .

Discussion

Consider the vectors \mathbf{a} = \langle a_1, \ldots a_n \rangle and {} \mathbf{b} = \langle b_1, \ldots b_n \rangle. If is the angle formed by and , then the left-hand side of the inequality is equal to the square of the dot product of and , or \left( ||\mathbf{a}|| \cdot ||\mathbf{b}|| \cos\theta \right)^2. The right hand side of the inequality is equal to \left( ||\mathbf{a}|| \cdot ||\mathbf{b}|| \right)^2. The inequality then follows from , with equality when one of is a multiple of the other, as desired.

Complex Form

The inequality sometimes appears in the following form.

Let and be complex numbers. Then \biggl| \sum_{i=1}^na_ib_i \biggr|^2 \le \biggl(\sum_{i=1}^{n}|a_i^2| \biggr) \biggl( \sum_{i=1}^n |b_i^2| \biggr) . This appears to be more powerful, but it follows from \biggl| \sum_{i=1}^n a_ib_i \biggr| ^2 \le \biggl( \sum_{i=1}^n |a_i| \cdot |b_i| \biggr)^2 \le \biggl(\sum_{i=1}^n |a_i^2| \biggr) \biggl( \sum_{i=1}^n |b_i^2| \biggr).

General Form

Let be a vector space, and let \langle \cdot, \cdot \rangle : V \times V \to \mathbb{R} be an inner product. Then for any , \langle \mathbf{a,b} \rangle^2 \le \langle \mathbf{a,a} \rangle \langle \mathbf{b,b} \rangle , with equality if and only if there exist constants not both zero such that \mu\mathbf{a} = \lambda\mathbf{b}.

Proof 1

Consider the polynomial of \langle t\mathbf{a + b}, t\mathbf{a + b} \rangle = t^2\langle \mathbf{a,a} \rangle + 2t\langle \mathbf{a,b} \rangle + \langle \mathbf{b,b} \rangle . This must always be greater than or equal to zero, so it must have a non-positive discriminant, i.e., must be less than or equal to \langle \mathbf{a,a} \rangle \langle \mathbf{b,b} \rangle, with equality when or when there exists some scalar such that , as desired.

Proof 2

We consider \langle \mathbf{a-b, a-b} \rangle = \langle \mathbf{a,a} \rangle + \langle \mathbf{b,b} \rangle - 2 \langle \mathbf{a,b} \rangle . Since this is always greater than or equal to zero, we have \langle \mathbf{a,b} \rangle \le \frac{1}{2} \langle \mathbf{a,a} \rangle + \frac{1}{2} \langle \mathbf{b,b} \rangle . Now, if either or is equal to , then \langle \mathbf{a,b} \rangle^2 = \langle \mathbf{a,a} \rangle \langle \mathbf{b,b} \rangle = 0. Otherwise, we may normalize so that \langle \mathbf {a,a} \rangle = \langle \mathbf{b,b} \rangle = 1, and we have \langle \mathbf{a,b} \rangle \le 1 = \langle \mathbf{a,a} \rangle^{1/2} \langle \mathbf{b,b} \rangle^{1/2} , with equality when and may be scaled to each other, as desired.

Examples

The elementary form of the Cauchy-Schwarz inequality is a special case of the general form, as is the Cauchy-Schwarz Inequality for Integrals: for integrable functions , \biggl( \int_{a}^b f(x)g(x)dx \biggr)^2 \le \int_{a}^b \bigl[ f(x) \bigr]^2dx \cdot \int_a^b \bigl[ g(x) \bigr]^2 dx with equality when there exist constants not both equal to zero such that for , \mu \int_a^t f(x)dx = \lambda \int_a^t g(x)dx .

Problems

Introductory

  • Consider the function f(x)=\frac{(x+k)^2}{x^2+1},x\in (-\infty,\infty), where is a positive integer. Show that . (Source)

Intermediate

  • Let be a triangle such that

\left( \cot \frac{A}{2} \right)^2 + \left( 2 \cot \frac{B}{2} \right)^2 + \left( 3 \cot \frac{C}{2} \right)^2 = \left( \frac{6s}{7r} \right)^2 , where and denote its semiperimeter and inradius, respectively. Prove that triangle is similar to a triangle whose side lengths are all positive integers with no common divisor and determine those integers. (Source)

Olympiad

  • is a point inside a given triangle . are the feet of the perpendiculars from to the lines , respectively. Find all for which

\frac{BC}{PD} + \frac{CA}{PE} + \frac{AB}{PF} is least.

(Source)

Other Resources

Books

Preparing for MATHCOUNTS or the AMC contests, and having a tough time with number theory problems? Read Art of Problem Solving's Introduction to Number Theory by Mathew Crawford.
© Copyright 2007 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us