M
hscscience Ext 2 · Y12
0/100daily goal
0
0
0 due
0
L1 · 0 XP
KJ
Your weak spots
Insights load after your first practice round.
Module 11 · L06 of 12 ~40 min ⚡ +90 XP available

Cauchy–Schwarz Inequality

Two vectors and a deceptively short identity unlock a master inequality that powers everything from optics to quantum mechanics. $(a_1 b_1 + a_2 b_2)^2 \leq (a_1^2 + a_2^2)(b_1^2 + b_2^2)$, at first sight it looks random; you will prove it with one Lagrange identity, then deploy it across two- and three-variable HSC problems where direct expansion would take pages.

Today's hook, Before reading on, write down (no proof yet) what you think the largest possible value of $a_1 b_1 + a_2 b_2$ could be, given $a_1^2 + a_2^2 = 1$ and $b_1^2 + b_2^2 = 1$. Compare with the Cauchy–Schwarz bound after card 05.
0/5QUESTS
1
You are here

Recall, your gut answer first

Start with the warm-up and record your first reasoning.

01
Recall, your gut answer first
+5 XP warm-up

You know that $(a_1 b_2 - a_2 b_1)^2 \geq 0$ for all real $a_1, a_2, b_1, b_2$. Before reading on expand this square fully and write what you notice. Which familiar quantities appear?

auto-saved
2

The two moves for Cauchy–Schwarz problems

Orient yourself to the lesson goals, language, and core approach.

02
The two moves for Cauchy–Schwarz problems
+5 XP to read

Cauchy–Schwarz problems reward two habits: recognise the shape anything that looks like a sum of products squared, bounded by a product of sums of squares, and choose your $a_i, b_i$ deliberately. The right choice turns a horrible algebra question into a one-line application.

The Cauchy–Schwarz strategy: (1) write the target as $\bigl(\sum a_i b_i\bigr)^2$, (2) identify the $a_i$ and $b_i$ pairings, (3) apply the inequality $\bigl(\sum a_i b_i\bigr)^2 \leq \bigl(\sum a_i^2\bigr)\bigl(\sum b_i^2\bigr)$.

2-var: $(a_1 b_1 + a_2 b_2)^2 \leq (a_1^2 + a_2^2)(b_1^2 + b_2^2)$

Three-step Cauchy-Schwarz strategy flow with equality condition footnote
$\bigl(\textstyle\sum a_i b_i\bigr)^2 \leq \bigl(\sum a_i^2\bigr)\bigl(\sum b_i^2\bigr)$
Spot the shape
A target like $(x + y + z)^2$ with extra info on $x^2 + y^2 + z^2$ or $\frac{1}{a} + \frac{1}{b}$ paired with $a + b$ usually screams Cauchy–Schwarz.
Engineer the pairing
The freedom is in choosing $a_i$ and $b_i$. For $(\sqrt a + \sqrt b)^2 \leq 2(a+b)$, pair $a_i = (1,1)$ with $b_i = (\sqrt a, \sqrt b)$.
Equality is linear dependence
Cauchy–Schwarz equality holds iff the two tuples are linearly dependent. This includes either tuple being zero; otherwise one is a scalar multiple of the other.
03
What you'll master
Know

Key facts

  • 2-variable: $(a_1 b_1 + a_2 b_2)^2 \leq (a_1^2 + a_2^2)(b_1^2 + b_2^2)$
  • 3-variable: $(a_1 b_1 + a_2 b_2 + a_3 b_3)^2 \leq (a_1^2 + a_2^2 + a_3^2)(b_1^2 + b_2^2 + b_3^2)$
  • Lagrange identity: $(a_1^2 + a_2^2)(b_1^2 + b_2^2) - (a_1 b_1 + a_2 b_2)^2 = (a_1 b_2 - a_2 b_1)^2$
Understand

Concepts

  • Why Cauchy–Schwarz follows from a single sum of squares
  • How the discriminant proof generalises to $n$ variables
  • Why equality holds when the two tuples are linearly dependent, including the zero-tuple case
Can do

Skills

  • State and prove the 2-variable Cauchy–Schwarz inequality
  • Apply Cauchy–Schwarz to deduce inequalities involving sums and sums of squares
  • Identify the right pairing $a_i, b_i$ for a given problem
04
Key terms
Cauchy–Schwarz inequalityFor any reals $a_1,\ldots,a_n$ and $b_1,\ldots,b_n$: $\bigl(\sum a_i b_i\bigr)^2 \leq \bigl(\sum a_i^2\bigr)\bigl(\sum b_i^2\bigr)$.
Lagrange identity (2-var)$(a_1^2 + a_2^2)(b_1^2 + b_2^2) = (a_1 b_1 + a_2 b_2)^2 + (a_1 b_2 - a_2 b_1)^2$. The cleanest 2-variable proof.
Discriminant proofConsider $f(t) = \sum (a_i t - b_i)^2 \geq 0$. As a quadratic in $t$, its discriminant must be $\leq 0$, yielding Cauchy–Schwarz.
Equality (linear dependence)Equality holds iff the tuples $(a_1,\ldots,a_n)$ and $(b_1,\ldots,b_n)$ are linearly dependent. This includes either tuple being zero; otherwise one is a scalar multiple of the other.
Vector formGeometrically: $|\mathbf{a} \cdot \mathbf{b}| \leq |\mathbf{a}|\,|\mathbf{b}|$. For nonzero vectors, this is equivalent to $|\cos\theta| \leq 1$, where $\theta$ is the angle between them; a zero vector is handled directly by the norm inequality.
NESA MEX-P1Proof: the nature of proof. Includes algebraic and analytic proofs of classical inequalities such as Cauchy–Schwarz.
3

Statement and the Lagrange-identity proof

Work through the concept and complete its check.

05
Statement and the Lagrange-identity proof
core concept

Statement (2-variable). For all real numbers $a_1, a_2, b_1, b_2$:

$$(a_1 b_1 + a_2 b_2)^2 \leq (a_1^2 + a_2^2)(b_1^2 + b_2^2)$$

Proof. The cleanest argument is the Lagrange identity:

  • Expand $(a_1 b_2 - a_2 b_1)^2 = a_1^2 b_2^2 - 2 a_1 a_2 b_1 b_2 + a_2^2 b_1^2$.
  • Expand $(a_1^2 + a_2^2)(b_1^2 + b_2^2) = a_1^2 b_1^2 + a_1^2 b_2^2 + a_2^2 b_1^2 + a_2^2 b_2^2$.
  • Expand $(a_1 b_1 + a_2 b_2)^2 = a_1^2 b_1^2 + 2 a_1 a_2 b_1 b_2 + a_2^2 b_2^2$.
  • Subtract: $(a_1^2 + a_2^2)(b_1^2 + b_2^2) - (a_1 b_1 + a_2 b_2)^2 = a_1^2 b_2^2 - 2 a_1 a_2 b_1 b_2 + a_2^2 b_1^2 = (a_1 b_2 - a_2 b_1)^2 \geq 0$.
  • Therefore $(a_1 b_1 + a_2 b_2)^2 \leq (a_1^2 + a_2^2)(b_1^2 + b_2^2)$. $\blacksquare$

Equality holds iff $a_1 b_2 - a_2 b_1 = 0$, i.e., $a_1 b_2 = a_2 b_1$. This says the pairs $(a_1,a_2)$ and $(b_1,b_2)$ are linearly dependent, including when either pair is zero.

Answer to the hook. The maximum of $a_1 b_1 + a_2 b_2$ subject to $a_1^2 + a_2^2 = 1$ and $b_1^2 + b_2^2 = 1$ is $\sqrt{1 \cdot 1} = 1$, achieved when $(a_1, a_2) = (b_1, b_2)$.

$n$-variable statement. The same inequality extends: $\bigl(\sum_{i=1}^{n} a_i b_i\bigr)^2 \leq \bigl(\sum_{i=1}^{n} a_i^2\bigr)\bigl(\sum_{i=1}^{n} b_i^2\bigr)$. The standard HSC proof uses the discriminant: $f(t) = \sum (a_i t - b_i)^2 \geq 0$ is a non-negative quadratic in $t$, so its discriminant $\leq 0$.

Statement (2-var): $(a_1 b_1 + a_2 b_2)^2 \leq (a_1^2 + a_2^2)(b_1^2 + b_2^2)$ · Lagrange identity: RHS $-$ LHS $= (a_1 b_2 - a_2 b_1)^2 \geq 0$ · Equality iff the two tuples are linearly dependent (including if either is zero) · $n$-var: use the discriminant of $f(t) = \sum (a_i t - b_i)^2 \geq 0$, with the all-zero leading tuple handled separately

Pause, copy the two-variable Cauchy–Schwarz $(a_1 b_1+a_2 b_2)^2 \leq (a_1^2+a_2^2)(b_1^2+b_2^2)$, the Lagrange identity proof, and the equality condition into your book.

Quick check: Which identity gives the cleanest proof of the 2-variable Cauchy–Schwarz inequality?

4

The discriminant proof and $n$-variable form

Build the next proof move and complete its check.

06
The discriminant proof and $n$-variable form
core concept

We just saw that the Lagrange identity RHS $-$ LHS $= (a_1 b_2 - a_2 b_1)^2 \geq 0$ proves Cauchy–Schwarz for two variables, with equality iff the two tuples are linearly dependent (including if either is zero). That raises a question: how does this generalise to $n$ variables without needing an $n$-variable Lagrange identity? This card answers it → the discriminant proof: $f(t) = \sum(a_i t - b_i)^2 \geq 0$ for all $t$ forces $\Delta \leq 0$.

For the $n$-variable Cauchy–Schwarz, the discriminant proof is the cleanest. Consider the function:

$$f(t) = \sum_{i=1}^{n}(a_i t - b_i)^2 \geq 0 \quad \text{for all } t \in \mathbb{R}$$

Expanding: $f(t) = \bigl(\sum a_i^2\bigr) t^2 - 2\bigl(\sum a_i b_i\bigr) t + \bigl(\sum b_i^2\bigr)$. This is a non-negative quadratic in $t$ (with positive leading coefficient, assuming not all $a_i$ are zero). For a non-negative quadratic, the discriminant $\Delta \leq 0$:

  • $\Delta = \bigl(-2\sum a_i b_i\bigr)^2 - 4\bigl(\sum a_i^2\bigr)\bigl(\sum b_i^2\bigr) \leq 0$.
  • Divide by 4: $\bigl(\sum a_i b_i\bigr)^2 - \bigl(\sum a_i^2\bigr)\bigl(\sum b_i^2\bigr) \leq 0$.
  • Rearrange: $\bigl(\sum a_i b_i\bigr)^2 \leq \bigl(\sum a_i^2\bigr)\bigl(\sum b_i^2\bigr)$. $\blacksquare$

If every $a_i=0$, both sides of Cauchy–Schwarz are zero, so equality holds for any tuple $(b_i)$. Otherwise, $\sum a_i^2>0$ and equality holds iff $\Delta=0$; then $f(t)$ has a real root, so $a_i t-b_i=0$ for every $i$, and one tuple is a scalar multiple of the other. Thus, in all cases, equality holds iff the two tuples are linearly dependent.

Zero-tuple case. If all $a_i=0$, then $f(t)=\sum b_i^2$ is constant rather than quadratic, but both sides of Cauchy–Schwarz are zero. This is an equality case, and the tuples are linearly dependent. If instead all $b_i=0$, equality also holds; the discriminant argument covers it when $(a_i)$ is nonzero.

Define $f(t) = \sum(a_i t - b_i)^2 \geq 0$ for all real $t$ · Expand: $\bigl(\sum a_i^2\bigr)t^2 - 2\bigl(\sum a_i b_i\bigr)t + \bigl(\sum b_i^2\bigr) \geq 0$ · Discriminant $\leq 0$ gives Cauchy–Schwarz · Equality iff the tuples are linearly dependent, including if either tuple is zero

Pause, copy the discriminant proof setup $f(t) = \sum(a_i t - b_i)^2 \geq 0$, the expansion, and the conclusion $\Delta \leq 0 \Rightarrow$ Cauchy–Schwarz into your book.

Did you get this? True or false: for any real tuples $(a_1,\ldots,a_n)$ and $(b_1,\ldots,b_n)$, equality in Cauchy–Schwarz holds iff the two tuples are linearly dependent (including when either tuple is zero).

5

Worked examples · 3 in a row, reveal as you go

Follow the worked examples, then complete the check.

PROBLEM 1 · 2-VARIABLE APPLICATION

Use the Cauchy–Schwarz inequality to prove that for all real $x, y$: $(x + y)^2 \leq 2(x^2 + y^2)$. State the equality case.

1
Choose the pairing: $a_1 = 1, a_2 = 1$ and $b_1 = x, b_2 = y$. Then $a_1 b_1 + a_2 b_2 = x + y$.
The target $(x+y)^2$ tells us to write $x + y$ as a "sum of products". The simplest pairing uses $a_i = 1$.
PROBLEM 2 · 3-VARIABLE APPLICATION

For all positive real numbers $a, b, c$, use Cauchy–Schwarz to prove $(a + b + c)\!\left(\dfrac{1}{a} + \dfrac{1}{b} + \dfrac{1}{c}\right) \geq 9$. State the equality case.

1
Choose the pairing: $a_i = (\sqrt{a}, \sqrt{b}, \sqrt{c})$ and $b_i = (1/\sqrt{a}, 1/\sqrt{b}, 1/\sqrt{c})$. Then $\sum a_i b_i = 1 + 1 + 1 = 3$.
Engineer the pairing so $\sum a_i b_i$ collapses to a constant, that constant becomes the lower bound for the RHS.
PROBLEM 3 · CLASSIC RMS-AM

For all real $a_1, a_2, \ldots, a_n$, use Cauchy–Schwarz to prove $(a_1 + a_2 + \cdots + a_n)^2 \leq n\bigl(a_1^2 + a_2^2 + \cdots + a_n^2\bigr)$. Deduce that the arithmetic mean is bounded by the quadratic (RMS) mean.

1
Pairing: $a_i = a_i$ (the given numbers) and $b_i = 1$ for $i = 1, \ldots, n$. Then $\sum a_i b_i = a_1 + a_2 + \cdots + a_n$.
Choosing $b_i = 1$ converts $\sum b_i^2$ into a count $n$, the cleanest way to introduce a factor of $n$.

Fill the gap: Applying Cauchy–Schwarz with $a_i = (1, 1, 1)$ and $b_i = (x, y, z)$ gives $(x + y + z)^2 \leq c\,(x^2 + y^2 + z^2)$, where $c =$ .

6

Misconceptions to fix · the 3 traps that cost marks

Correct the common traps and test your understanding.

Trap 01
Wrong direction of inequality
Cauchy–Schwarz gives $(\sum a_i b_i)^2 \leq (\sum a_i^2)(\sum b_i^2)$, the square of the cross-sum is $\leq$ the product of the squared sums. Students sometimes write it backwards. Sanity check: $(1 \cdot 1)^2 = 1$ vs $(1)(1) = 1$, so the bound is tight when one term is involved; in general the RHS is bigger.
Trap 02
Forgetting the equality case
Cauchy–Schwarz equality holds iff the paired tuples are linearly dependent, including when either tuple is zero. It does not require the entries to be all equal or positive. For $(x+y)^2 \leq 2(x^2+y^2)$, equality means $(x,y)$ is a scalar multiple of $(1,1)$, so $x=y$ (including $x=y=0$). For $(a+b+c)(1/a+1/b+1/c) \geq 9$ with positive $a,b,c$, equality is $a=b=c$. Always interpret the dependence condition for your chosen pairing.
Trap 03
Choosing a pairing that doesn't telescope
The whole skill of Cauchy–Schwarz problems is choosing $a_i, b_i$ so that $\sum a_i^2$ and $\sum b_i^2$ become the quantities in the target. If you pick a pairing that leaves messy radicals or unrelated sums, try a different choice. A common rescue: replace $a_i$ with $\sqrt{f_i}$ to introduce $f_i$ into $\sum a_i^2$.

Did you get this? True or false: the Cauchy–Schwarz inequality $(a_1 b_1 + a_2 b_2)^2 \leq (a_1^2 + a_2^2)(b_1^2 + b_2^2)$ requires $a_i$ and $b_i$ to be positive.

7

Revisit your thinking

Complete the practice activities and revisit your opening thinking.

1

State the 2-variable Cauchy–Schwarz inequality, and prove it using the Lagrange identity.

2

Use Cauchy–Schwarz to prove $(x + y + z)^2 \leq 3(x^2 + y^2 + z^2)$ for all real $x, y, z$.

3

For positive reals $a, b$, use C–S to prove $\dfrac{a^2}{b} + \dfrac{b^2}{a} \geq a + b$. (Hint: pair $(\sqrt b, \sqrt a)$ with $(a/\sqrt b, b/\sqrt a)$.)

4

Use Cauchy–Schwarz with $b_i = 1$ to prove that for any real $a_1, a_2, a_3$ with $a_1 + a_2 + a_3 = 6$, $\;a_1^2 + a_2^2 + a_3^2 \geq 12$.

5

Verify the Lagrange identity $(a_1^2 + a_2^2)(b_1^2 + b_2^2) = (a_1 b_1 + a_2 b_2)^2 + (a_1 b_2 - a_2 b_1)^2$ by expanding both sides.

Odd one out: Three of these statements about Cauchy–Schwarz are correct. Which one is NOT?

11
Revisit your thinking

Earlier you expanded $(a_1 b_2 - a_2 b_1)^2$ and looked for familiar quantities.

That single expansion is the proof of Cauchy–Schwarz: it equals $(a_1^2 + a_2^2)(b_1^2 + b_2^2) - (a_1 b_1 + a_2 b_2)^2$. The Lagrange identity packs the entire 2-variable Cauchy–Schwarz into one line. The $n$-variable version requires the discriminant trick, but the heart of every C–S proof is "a sum of squares is non-negative".

auto-saved
1

Show what you have learned

Multiple choice, then short answer under exam conditions.

01
Multiple choice
+5 XP per correct · +25 XP all-correct

Pick your answer, then rate your confidence. That tells the system what to drill next. Each retry pulls a fresh mix from the bank.

02
Short answer
ApplyBand 32 marks

Q1. State the 2-variable Cauchy–Schwarz inequality and prove it using the Lagrange identity. (2 marks)

auto-saved
ApplyBand 43 marks

Q2. Use the Cauchy–Schwarz inequality to prove that for all real $x, y, z$: $(x + 2y + 3z)^2 \leq 14(x^2 + y^2 + z^2)$. State the equality case. (3 marks)

auto-saved
AnalyseBand 53 marks

Q3. For positive real numbers $a, b, c$ satisfying $a + b + c = 1$, use Cauchy–Schwarz to prove $\dfrac{1}{a} + \dfrac{1}{b} + \dfrac{1}{c} \geq 9$, and state when equality holds. (3 marks)

auto-saved
Comprehensive answers (click to reveal)

Activity answers:

1. Statement: $(a_1 b_1 + a_2 b_2)^2 \leq (a_1^2 + a_2^2)(b_1^2 + b_2^2)$. Proof: $(a_1^2 + a_2^2)(b_1^2 + b_2^2) - (a_1 b_1 + a_2 b_2)^2 = (a_1 b_2 - a_2 b_1)^2 \geq 0$, so $(a_1 b_1 + a_2 b_2)^2 \leq (a_1^2 + a_2^2)(b_1^2 + b_2^2)$. Equality iff $a_1 b_2 = a_2 b_1$.

2. With $a_i = (1, 1, 1)$ and $b_i = (x, y, z)$: $(x + y + z)^2 \leq (1+1+1)(x^2 + y^2 + z^2) = 3(x^2 + y^2 + z^2)$. Equality iff $x = y = z$.

3. With $a_i = (\sqrt b, \sqrt a)$ and $b_i = (a/\sqrt b, b/\sqrt a)$: $\sum a_i b_i = a + b$, $\sum a_i^2 = a + b$, $\sum b_i^2 = a^2/b + b^2/a$. C–S: $(a + b)^2 \leq (a + b)(a^2/b + b^2/a)$. Divide by $a + b > 0$: $a + b \leq a^2/b + b^2/a$. Equality iff $a = b$.

4. C–S with $b_i = 1$: $(a_1 + a_2 + a_3)^2 \leq 3(a_1^2 + a_2^2 + a_3^2)$. Given $a_1 + a_2 + a_3 = 6$: $36 \leq 3(a_1^2 + a_2^2 + a_3^2)$, so $a_1^2 + a_2^2 + a_3^2 \geq 12$. Equality iff $a_1 = a_2 = a_3 = 2$.

5. LHS $= a_1^2 b_1^2 + a_1^2 b_2^2 + a_2^2 b_1^2 + a_2^2 b_2^2$. RHS $= (a_1^2 b_1^2 + 2 a_1 a_2 b_1 b_2 + a_2^2 b_2^2) + (a_1^2 b_2^2 - 2 a_1 a_2 b_1 b_2 + a_2^2 b_1^2) = a_1^2 b_1^2 + a_1^2 b_2^2 + a_2^2 b_1^2 + a_2^2 b_2^2$ ✓.

Q1 (2 marks): Statement [1]. Proof using Lagrange identity, showing $(a_1^2 + a_2^2)(b_1^2 + b_2^2) - (a_1 b_1 + a_2 b_2)^2 = (a_1 b_2 - a_2 b_1)^2 \geq 0$ [1].

Q2 (3 marks): Choose $a_i = (1, 2, 3)$, $b_i = (x, y, z)$ [1]. Apply C–S: $(x + 2y + 3z)^2 \leq (1 + 4 + 9)(x^2 + y^2 + z^2) = 14(x^2 + y^2 + z^2)$ [1]. Equality iff $(x,y,z)=t(1,2,3)$ for some real $t$, including $t=0$ [1].

Q3 (3 marks): Choose $a_i = (\sqrt a, \sqrt b, \sqrt c)$, $b_i = (1/\sqrt a, 1/\sqrt b, 1/\sqrt c)$, so $\sum a_i b_i = 3$, $\sum a_i^2 = a + b + c = 1$, $\sum b_i^2 = 1/a + 1/b + 1/c$ [1]. C–S: $9 = 3^2 \leq 1 \cdot (1/a + 1/b + 1/c)$, so $1/a + 1/b + 1/c \geq 9$ [1]. Equality iff $a = b = c = 1/3$ [1].