Concept stop · What is it?

The Cauchy Inequality and Its Proofs

In the Chinese book: 柯西不等式及其证明

(Σaᵢbᵢ)² ≤ Σaᵢ²·Σbᵢ²; the gap is a squared area, zero only when flattened.

📖 §3.1 of 《平均值不等式与柯西不等式》

Before this stop, visit:The Inner Product (Concept)AM–GM with Parameters (Skill)

Hands first, words secondDrag the tips of and . When are the two sides equal? Keep an eye on the area of the pale parallelogram.

Loading figure…

Try this

  1. Drag onto the same line as (same direction or opposite, either works). What does “Gap = area²” become?
  2. Keep fixed and swing once around the origin (keeping its length roughly the same). When is the left side largest? When is it ?
  3. Look at the thick segment: the projection of onto the direction of . Why is it never longer than ?
  4. Put the vectors anywhere, compute , and compare it with right side minus left side.

For two vectors and , the dot product is , and . Squaring gives

Replace two numbers by numbers and you get the Cauchy inequality: for any real numbers and ,

with equality if and only if the two lists are proportional (there is a with for every , or all the are ).

Predict first

, and has length and any direction. What is the largest possible value of ?

Choose an answer first; then you can see the result.

Why: a parabola that never dips below the axis

The geometric argument only covers . For any there is a proof that uses nothing but school algebra: a sum of squares is never negative.

Proving Cauchy with the discriminant

Step 1 / 5
Loading figure…
  1. Build a sum of squares

    Take a variable , turn each pair of numbers into , and add them all up. The dashed curves are the single terms, the solid curve is their sum. Every term is , so for every .

How big is the gap? Lagrange's identity

The discriminant shows the inequality never goes the other way, but it does not say how much is lost. For , just expand:

Right side minus left side is exactly a square

Step 1 / 5
Loading figure…
  1. Numbers first

    , : the left side is , the right side , a gap of .

Three proofs, three ways of looking: the angle (), the discriminant (the parabola never dips below the axis) and completing the square (the gap is a sum of squares). They all say the same thing: how tight the inequality is depends entirely on how far the two lists are from being proportional.

Practice

Exercise 1Basic

Real numbers satisfy . Find the minimum of .

Exercise 2Basic

Real numbers satisfy . Find the maximum of .

Exercise 3Advanced

Real numbers satisfy . Find the maximum of .

Exercise 4Challenge

Let . Prove that , and say when equality holds.

Mistake Museum · Exhibits from this stop

Before you leave, look at the traps other people fell into here.See every exhibit in the museum →

Exhibit

Writing only one sum of squares

The wrong step: By the Cauchy inequality, .
What went wrong? Think first, then open

Diagnosis The right-hand side of the Cauchy inequality is the product of two sums of squares. Here the second list is ; its sum of squares is , and you cannot drop it. Take : the left side is , the right side , so the inequality as written is simply false.

The right step: , that is, .

“Write down both lists first, then apply the formula”

Exhibit

Mistaking “proportional” for “equal”

The wrong step: , with equality when .
What went wrong? Think first, then open

Diagnosis Take : the left side is and the right side , not equal. The two lists are and ; equality needs them to be proportional, not equal to .

The right step: Equality holds if and only if , i.e. . Check: at both sides are .

“Equality is about the ratio between the two lists, not about the numbers inside one list”