Skip to main content

Proving inequalities in HSC Mathematics Extension 2: the non-negativity of squares, the AM-GM inequality, and rigorous algebraic argument

Syllabus dot point

“Prove inequalities using algebraic manipulation, the fact that squares are non-negative, and standard results such as the arithmetic mean-geometric mean inequality”

HSCMaths Extension 2Proof (MEX-P1)13 min read

Quick answer

The workhorse fact is that x2≥0x^2 \ge 0 for every real xx, with equality only when x=0x = 0. To prove L≥RL \ge R, the reliable strategy is to consider L−RL - R and show it equals a square (or a sum of squares), which is automatically non-negative. From (a−b)2≥0(a - b)^2 \ge 0 you get a2+b2≥2aba^2 + b^2 \ge 2ab, and from (a−b)2≥0(\sqrt{a} - \sqrt{b})^2 \ge 0 you get the two-variable AM-GM result a+b2≥ab\frac{a + b}{2} \ge \sqrt{ab} for a,b≥0a, b \ge 0. Always argue forwards from a known truth, and always state the equality case.

Jump to a section
  1. What this dot point is asking
  2. The non-negative square: the central tool
  3. The "consider LHS minus RHS" method
  4. The arithmetic mean-geometric mean inequality
  5. The Cauchy-Schwarz inequality at Extension 2 level
  6. The forwards structure of a proof
  7. Building new inequalities from old
  8. How exam questions ask about inequalities
  9. Exam-style questions

What this dot point is asking

NESA wants you to prove inequalities, not merely verify them numerically. You must build arguments from accepted facts, the most important being that a real square is never negative, and you must know and apply the arithmetic mean-geometric mean (AM-GM) inequality. Crucially, you must structure the argument forwards from known truths to the required result, never assuming what you are trying to prove. Extension 2 also expects you to chain and combine given inequalities to reach a new one, and to recognise when a problem is really an AM-GM or Cauchy-Schwarz problem in disguise.

The non-negative square: the central tool

Every real number squared is greater than or equal to zero:

x2≥0for all x∈R,x^2 \ge 0 \quad \text{for all } x \in \mathbb{R},

with equality if and only if x=0x = 0. This single fact is the engine behind almost every Extension 2 inequality, because it is the one inequality you never have to justify, it is true for all real values with no domain restriction, and you control exactly when it becomes an equality. A sum of squares inherits both properties: u2+v2+w2≥0u^2 + v^2 + w^2 \ge 0 with equality only when u=v=w=0u = v = w = 0. The whole craft of these proofs is engineering the right square (or squares) to appear.

To see the tool in its simplest form, prove a2+b2≥2aba^2 + b^2 \ge 2ab for all real a,ba, b. Begin with the true statement

(a−b)2≥0.(a - b)^2 \ge 0.

Expanding gives a2−2ab+b2≥0a^2 - 2ab + b^2 \ge 0, and adding 2ab2ab to both sides yields a2+b2≥2aba^2 + b^2 \ge 2ab. Equality holds exactly when a−b=0a - b = 0, that is a=ba = b.

Key fact

To prove L≥RL \ge R, consider the difference L−RL - R and show it is a square, a sum of squares, or otherwise manifestly non-negative; then L−R≥0L - R \ge 0 gives L≥RL \ge R immediately. Equality holds precisely when every square in the difference is zero. This "consider L−RL - R" move turns almost every inequality into a hunt for the right square, and it makes the equality case fall out for free.

The "consider LHS minus RHS" method

The most dependable opening move for an unfamiliar inequality L≥RL \ge R is to form the difference L−RL - R and try to write it as something obviously non-negative, usually a perfect square or a sum of perfect squares. If you succeed, the inequality is proved and the equality case is read off as the condition that makes every square vanish.

For example, to prove a2+b2+1≥ab+a+ba^2 + b^2 + 1 \ge ab + a + b for all real a,ba, b, consider

a2+b2+1−ab−a−b.a^2 + b^2 + 1 - ab - a - b.

Doubling (to clear the halves that completing the square will produce) gives 2a2+2b2+2−2ab−2a−2b2a^2 + 2b^2 + 2 - 2ab - 2a - 2b, and this rearranges into a sum of three squares:

(a−b)2+(a−1)2+(b−1)2≥0.(a - b)^2 + (a - 1)^2 + (b - 1)^2 \ge 0.

A quick expansion confirms the three squares sum to 2a2+2b2+2−2ab−2a−2b2a^2 + 2b^2 + 2 - 2ab - 2a - 2b, so the doubled difference is non-negative, hence the difference itself is non-negative, and the inequality holds. Equality needs all three squares to be zero at once: a=ba = b, a=1a = 1 and b=1b = 1, that is a=b=1a = b = 1.

The arithmetic mean-geometric mean inequality

For non-negative reals aa and bb, the arithmetic mean is at least the geometric mean:

a+b2≥ab,a,b≥0.\frac{a + b}{2} \ge \sqrt{ab}, \qquad a, b \ge 0.

Algebraic proof. Since a,b≥0a, b \ge 0, both a\sqrt{a} and b\sqrt{b} are real. Start from the true statement

(a−b)2≥0.\left(\sqrt{a} - \sqrt{b}\right)^2 \ge 0.

Expanding gives a−2ab+b≥0a - 2\sqrt{a}\sqrt{b} + b \ge 0, that is a+b≥2aba + b \ge 2\sqrt{ab}. Dividing by 22 gives the result. Equality holds when a=b\sqrt{a} = \sqrt{b}, that is a=ba = b.

A frequently used corollary is that for any positive real xx,

x+1x≥2,x + \frac{1}{x} \ge 2,

obtained by applying AM-GM to a=xa = x and b=1xb = \frac{1}{x}, since x⋅1x=1\sqrt{x \cdot \frac{1}{x}} = 1. The same trick gives pq+qp≥2\frac{p}{q} + \frac{q}{p} \ge 2 for positive p,qp, q.

A geometric picture of AM-GM

The two-variable AM-GM result has a clean geometric meaning that is worth carrying in your head, because it instantly tells you why equality occurs only when a=ba = b. Draw a semicircle on a diameter PQPQ of length a+ba + b, and let DD split the diameter into PD=aPD = a and DQ=bDQ = b. Drop the perpendicular from DD up to the circle at CC.

Geometric proof that the arithmetic mean is at least the geometric mean A semicircle stands on a diameter PQ split at D into lengths a and b. The radius OM up to the top of the circle has length (a plus b) over 2, the arithmetic mean. The perpendicular DC from the diameter up to the circle has length the square root of ab, the geometric mean. The perpendicular cannot exceed the radius, so the arithmetic mean is at least the geometric mean. P Q D O C M a b OM = (a + b)/2 DC = √(ab)

The radius of the circle is half the diameter, OM=a+b2OM = \frac{a + b}{2}, the arithmetic mean. The half-chord DCDC is the geometric mean: since PQPQ is a diameter, the angle PCQPCQ is a right angle (angle in a semicircle), and the altitude from the right angle to the hypotenuse satisfies DC2=PD⋅DQ=abDC^2 = PD \cdot DQ = ab, so DC=abDC = \sqrt{ab}. A perpendicular from a point on the diameter up to the circle can never be longer than the radius, so DC≤OMDC \le OM, that is ab≤a+b2\sqrt{ab} \le \frac{a + b}{2}. Equality happens only when DD coincides with the centre OO, which is exactly when a=ba = b.

The Cauchy-Schwarz inequality at Extension 2 level

A second standard result, almost always built up within a question rather than quoted cold, is the Cauchy-Schwarz inequality. In its two-term form it states that for all real numbers a,b,x,ya, b, x, y,

(ax+by)2≤(a2+b2)(x2+y2).(ax + by)^2 \le (a^2 + b^2)(x^2 + y^2).

Proof by the difference. Expand both sides and consider the difference RHS−LHS\text{RHS} - \text{LHS}:

(a2+b2)(x2+y2)−(ax+by)2.(a^2 + b^2)(x^2 + y^2) - (ax + by)^2.

Multiplying out, (a2+b2)(x2+y2)=a2x2+a2y2+b2x2+b2y2(a^2 + b^2)(x^2 + y^2) = a^2x^2 + a^2y^2 + b^2x^2 + b^2y^2, while (ax+by)2=a2x2+2abxy+b2y2(ax + by)^2 = a^2x^2 + 2abxy + b^2y^2. Subtracting, the a2x2a^2x^2 and b2y2b^2y^2 terms cancel and we are left with

a2y2−2abxy+b2x2=(ay−bx)2≥0.a^2y^2 - 2abxy + b^2x^2 = (ay - bx)^2 \ge 0.

So RHS−LHS=(ay−bx)2≥0\text{RHS} - \text{LHS} = (ay - bx)^2 \ge 0, which gives the inequality. Equality holds exactly when ay=bxay = bx, that is when the pairs (a,b)(a, b) and (x,y)(x, y) are proportional. The same idea in three terms (the Lagrange identity) writes (a2+b2+c2)(x2+y2+z2)−(ax+by+cz)2(a^2 + b^2 + c^2)(x^2 + y^2 + z^2) - (ax + by + cz)^2 as the sum of squares (ay−bx)2+(bz−cy)2+(cx−az)2(ay - bx)^2 + (bz - cy)^2 + (cx - az)^2, again non-negative.

The forwards structure of a proof

The single most important discipline is direction. A valid proof of L≥RL \ge R starts from a statement already known to be true and arrives at L≥RL \ge R. It is invalid to write L≥RL \ge R, manipulate it, reach a true statement, and declare victory: that only shows the target implies something true, not that it is true. The two readings differ because not every algebraic step is reversible; squaring, for instance, can turn a false statement into a true one.

When working backwards from the target is the natural way to discover the proof, do that as scratch work, then reverse the steps for the final write-up, checking that each reversed step is itself a valid implication. If a step involves multiplying by a quantity, check its sign, because multiplying an inequality by a negative number reverses it.

Building new inequalities from old

Often you are handed one or more inequalities and asked to deduce another. The permitted operations are limited and worth knowing exactly:

  • Add the same quantity to both sides (direction preserved).
  • Multiply both sides by a positive quantity (direction preserved) or a negative quantity (direction reversed).
  • Add two inequalities pointing the same way: from A≥BA \ge B and C≥DC \ge D you may conclude A+C≥B+DA + C \ge B + D.
  • Apply a strictly increasing function to both sides (for example take square roots of non-negative quantities).
  • Chain inequalities: from A≥BA \ge B and B≥CB \ge C conclude A≥CA \ge C.

What you may not do in general is subtract one inequality from another, or multiply two inequalities together, unless every quantity involved is known to be non-negative. A common Extension 2 task is to apply a given two-variable inequality more than once, feeding the output of one application into the next, exactly as in the 2021 HSC question above.

How exam questions ask about inequalities

  • "Prove that L≥RL \ge R for all real ...": form L−RL - R and show it is a square or a sum of squares; state the equality case.
  • "Prove the AM-GM inequality a+b2≥ab\frac{a+b}{2} \ge \sqrt{ab}": start from (a−b)2≥0(\sqrt{a} - \sqrt{b})^2 \ge 0. Watch the domain a,b≥0a, b \ge 0.
  • "Show that (ax+by)2≤(a2+b2)(x2+y2)(ax + by)^2 \le (a^2 + b^2)(x^2 + y^2)": a Cauchy-Schwarz problem; subtract the sides and recognise (ay−bx)2(ay - bx)^2.
  • "It is given that [inequality]. Hence show [new inequality]": do not reprove the given result; apply it, possibly more than once, and combine.
  • "Prove that x+1x≥2x + \frac{1}{x} \ge 2 for x>0x > 0": a one-line AM-GM corollary, or consider (x−1)2x≥0\frac{(x - 1)^2}{x} \ge 0.
  • "Deduce that ... and state when equality holds": the equality condition is where the marks finish; trace it back to the squares being zero.
Exam technique

Open with the known truth, not the target. Write "Consider L−RL - R" or "Since (… )2≥0(\dots)^2 \ge 0" as your first line so the marker sees the forwards direction immediately. When you complete a square, double the difference first if halves would appear, then halve back at the end. Whenever you multiply or divide an inequality, write a short clause naming the sign of the multiplier ("dividing by the positive quantity x2+y2x^2 + y^2"), because that is a frequent place to drop a mark. For AM-GM, always check the domain restriction a,b≥0a, b \ge 0 before taking square roots. Finish by stating the equality case explicitly, since for square-based proofs it is simply the condition that makes every square zero, and it is almost always worth a mark.

Prove that a2+b2+c2≥ab+bc+caa^2 + b^2 + c^2 \ge ab + bc + ca for all real a,b,ca, b, c

Prove that a2+b2+c2≥ab+bc+caa^2 + b^2 + c^2 \ge ab + bc + ca for all real a,b,ca, b, c

The key insight is that a square of a real number is always non-negative. We find three squares whose sum, when expanded, reproduces twice the difference between the two sides of the inequality.

Identify the three non-negative squares: Every real square is at least zero, so the following three statements are all true simultaneously:

(a−b)2≥0,(b−c)2≥0,(c−a)2≥0.(a - b)^2 \ge 0, \quad (b - c)^2 \ge 0, \quad (c - a)^2 \ge 0.

We can add valid inequalities of the same direction to obtain another valid inequality.

Add the three inequalities: Summing the three true statements preserves the inequality:

(a−b)2+(b−c)2+(c−a)2≥0.(a - b)^2 + (b - c)^2 + (c - a)^2 \ge 0.

Expand and collect terms: Expanding each squared bracket:

(a2−2ab+b2)+(b2−2bc+c2)+(c2−2ca+a2)≥0.(a^2 - 2ab + b^2) + (b^2 - 2bc + c^2) + (c^2 - 2ca + a^2) \ge 0.

Collecting terms gives 2a2+2b2+2c2−2ab−2bc−2ca≥02a^2 + 2b^2 + 2c^2 - 2ab - 2bc - 2ca \ge 0, which we can write as:

2(a2+b2+c2)≥2(ab+bc+ca).2(a^2 + b^2 + c^2) \ge 2(ab + bc + ca).

Divide and state the result: Dividing both sides by the positive number 22 gives the required inequality:

a2+b2+c2≥ab+bc+ca.a^2 + b^2 + c^2 \ge ab + bc + ca.

Equality holds when all three squared terms are zero, that is, when a=b=ca = b = c. A numerical check with a=1a = 1, b=2b = 2, c=3c = 3 gives left side =14= 14 and right side =11= 11, confirming 14≥1114 \ge 11.

Final answer: a2+b2+c2≥ab+bc+caa^2 + b^2 + c^2 \ge ab + bc + ca for all real a,b,ca, b, c, with equality if and only if a=b=ca = b = c.

Use AM-GM to prove (a+b)(b+c)(c+a)≥8abc(a + b)(b + c)(c + a) \ge 8abc for a,b,c≥0a, b, c \ge 0

Use AM-GM to prove (a+b)(b+c)(c+a)≥8abc(a + b)(b + c)(c + a) \ge 8abc for a,b,c≥0a, b, c \ge 0

This is a classic "apply AM-GM to each factor, then multiply" problem. It also shows why the non-negativity of every factor is what lets us multiply the three inequalities together.

Apply AM-GM to each bracket: By AM-GM applied to the two non-negative numbers in each bracket,

a+b≥2ab,b+c≥2bc,c+a≥2ca.a + b \ge 2\sqrt{ab}, \qquad b + c \ge 2\sqrt{bc}, \qquad c + a \ge 2\sqrt{ca}.

Each left-hand side is therefore at least a non-negative quantity.

Multiply the three inequalities: All six quantities involved are non-negative, so we may multiply the three inequalities in the same direction:

(a+b)(b+c)(c+a)≥2ab⋅2bc⋅2ca=8a2b2c2.(a + b)(b + c)(c + a) \ge 2\sqrt{ab} \cdot 2\sqrt{bc} \cdot 2\sqrt{ca} = 8\sqrt{a^2 b^2 c^2}.

Simplify the right-hand side: Since a,b,c≥0a, b, c \ge 0, we have a2b2c2=abc\sqrt{a^2 b^2 c^2} = abc. Therefore

(a+b)(b+c)(c+a)≥8abc.(a + b)(b + c)(c + a) \ge 8abc.

State the equality case: Equality in every application of AM-GM requires the two numbers in each bracket to be equal: a=ba = b, b=cb = c and c=ac = a, that is a=b=ca = b = c. A check with a=b=c=1a = b = c = 1 gives 2⋅2⋅2=82 \cdot 2 \cdot 2 = 8 and 8⋅1=88 \cdot 1 = 8, confirming equality there.

Final answer: (a+b)(b+c)(c+a)≥8abc(a + b)(b + c)(c + a) \ge 8abc for all a,b,c≥0a, b, c \ge 0, with equality if and only if a=b=ca = b = c.

Edge cases and what-ifs

  • The domain matters for square roots. AM-GM and any step that takes a square root require the quantities to be non-negative. If the variables can be negative, you cannot use ab\sqrt{ab} and must work with squares directly.
  • Strict versus non-strict. (a−b)2≥0(a - b)^2 \ge 0 is non-strict; it becomes the strict >0> 0 only when a≠ba \neq b. If a question asks for a strict inequality, you must argue that the relevant square cannot be zero (for instance because the variables are distinct).
  • Equality can be unreachable. Sometimes the equality condition (all squares zero) cannot be met inside the stated domain, in which case the inequality is in fact strict throughout. Note this when it happens.
  • Multiplying inequalities needs non-negativity. Multiplying a+b≥2aba + b \ge 2\sqrt{ab} by another inequality is only valid because both sides are non-negative. With possibly negative quantities the product step fails.
  • Dividing by a variable. To prove x+1x≥2x + \frac{1}{x} \ge 2 you must know x>0x > 0; for x<0x < 0 the inequality reverses to x+1x≤−2x + \frac{1}{x} \le -2.
Common traps
Assuming the result
Writing the target inequality first and manipulating it to a true statement does not prove it. Argue forwards from a known truth, or use the reversible "consider L−RL - R" method.
Multiplying by a quantity of unknown sign
Multiplying both sides by a variable that could be negative may reverse the inequality. Establish the sign first.
Forgetting the domain of AM-GM
The inequality a+b2≥ab\frac{a+b}{2} \ge \sqrt{ab} requires a,b≥0a, b \ge 0, otherwise ab\sqrt{ab} may not be real.
Multiplying two inequalities without checking signs
A≥BA \ge B and C≥DC \ge D do not give AC≥BDAC \ge BD unless all four quantities are non-negative.
Ignoring the equality case
Many marks come from stating precisely when equality holds, which for square-based proofs is when each squared term is zero.

Exam-style questions

Questions in the style of NESA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

2022 HSC-style2 marks
For real numbers a, b >= 0 prove that (a + b)/2 >= sqrt(ab).
Show worked answer →

Start from the fact that a square is never negative. Since a, b >= 0, their square roots are real, so

(sqrt(a) - sqrt(b))^2 >= 0.

Expand the left side:

a - 2 sqrt(a) sqrt(b) + b >= 0, that is a + b - 2 sqrt(ab) >= 0.

Rearrange: a + b >= 2 sqrt(ab), and dividing by 2 (positive) gives

(a + b)/2 >= sqrt(ab),

which is the arithmetic mean - geometric mean inequality. Equality holds when sqrt(a) = sqrt(b), i.e. a = b.

Mark notes: 1 mark for starting from (sqrt(a) - sqrt(b))^2 >= 0, 1 mark for expanding and rearranging to the required form.

2023 HSC-style2 marks
Prove that for all real numbers x and y, where x^2 + y^2 is not 0, (x + y)^2/(x^2 + y^2) <= 2.
Show worked answer →

Since x^2 + y^2 > 0 (it is non-zero and a sum of squares), we may compare numerator and denominator directly.

Begin with the non-negative square (x - y)^2 >= 0:

x^2 - 2xy + y^2 >= 0, so x^2 + y^2 >= 2xy.

Add x^2 + y^2 to both sides:

2(x^2 + y^2) >= x^2 + 2xy + y^2 = (x + y)^2.

Divide both sides by the positive quantity x^2 + y^2:

2 >= (x + y)^2/(x^2 + y^2),

which is the required inequality (x + y)^2/(x^2 + y^2) <= 2.

Mark notes: 1 mark for using (x - y)^2 >= 0 to get x^2 + y^2 >= 2xy, 1 mark for completing the algebra and dividing by the positive x^2 + y^2.

2021 HSC-style2 marks
For all non-negative real numbers x and y, sqrt(xy) <= (x + y)/2 (Do NOT prove this). Using this fact, show that for all non-negative real numbers a, b and c, sqrt(abc) <= (a^2 + b^2 + 2c)/4.
Show worked answer →

Apply the given inequality twice.

First, write sqrt(abc) = sqrt((ab)(c)) and use the fact with the two non-negative numbers ab and c:

sqrt(abc) <= (ab + c)/2.

Next, bound ab. Apply the given fact with the non-negative numbers a^2 and b^2: sqrt(a^2 b^2) <= (a^2 + b^2)/2. Since sqrt(a^2 b^2) = ab (as a, b >= 0),

ab <= (a^2 + b^2)/2.

Substitute this into the first inequality:

sqrt(abc) <= (ab + c)/2 <= ((a^2 + b^2)/2 + c)/2 = (a^2 + b^2 + 2c)/4.

Hence sqrt(abc) <= (a^2 + b^2 + 2c)/4.

Mark notes: 1 mark for applying the given inequality to ab and c, 1 mark for bounding ab by (a^2 + b^2)/2 and combining to the required result.

Practise this

Sources & how we know this

ExamExplained