Relationship between AM and GM

Take any two positive numbers — say 99 and 1616 — and compute two different "averages": the ordinary Arithmetic Mean 9+162=12.5\tfrac{9+16}{2}=12.5, and the Geometric Mean 9×16=12\sqrt{9\times16}=12. Notice the Arithmetic Mean came out larger. That is not a coincidence of this one pair; it happens for every pair of positive numbers, and it is exactly what the closing result of the Sequences and Series chapter — the AM–GM relation, AM≥GM\text{AM} \ge \text{GM} — asserts. The proof is a two-line algebra argument built on nothing more than "a square is never negative," yet it is powerful enough to prove inequalities such as x+1x≥2x+\tfrac1x \ge 2 in a few steps. This article proves the relation, verifies it on a worked pair, and flags the traps examiners love to set.

The core insight

For any two positive real numbers aa and bb, the Arithmetic Mean is never smaller than the Geometric Mean, AM=a+b2≥ab=GM\text{AM}=\tfrac{a+b}{2} \ge \sqrt{ab}=\text{GM}, with equality exactly when a=ba=b.

The core idea

Recall the two means for two positive real numbers aa and bb:

AM=a+b2,GM=ab\text{AM} = \frac{a+b}{2}, \qquad \text{GM} = \sqrt{ab}

where: a,ba, b are positive real numbers, AM\text{AM} is their Arithmetic Mean (the ordinary average), and GM\text{GM} is their Geometric Mean (the side of a square whose area equals the rectangle a×ba\times b). The AM–GM relation states that these two means always sit in a fixed order:

AM≥GM,i.e.a+b2≥ab\text{AM} \ge \text{GM}, \qquad \text{i.e.} \quad \frac{a+b}{2} \ge \sqrt{ab}

where: equality holds if and only if a=ba=b — the two means coincide precisely when the two numbers are equal, and separate the moment aa and bb differ. A useful picture to hold in mind: if a≤ba \le b, the Geometric Mean always lands between the two numbers and below the Arithmetic Mean, giving the chain a≤GM≤AM≤ba \le \text{GM} \le \text{AM} \le b. The figure below places this on a number line for a=9a=9 and b=16b=16, the same pair used in the worked example ahead.

Figure
Number line showing a equals nine then GM equals twelve then AM equals twelve point five then b equals sixteen in increasing order
GM always sits below AM, both between a and b a = 9 GM = 12 AM = 12.5 b = 16 a ≤ GM ≤ AM ≤ b, with equality only when a = b

This inequality needs nothing beyond a,b>0a,b>0 (so that a\sqrt a and b\sqrt b are real numbers) — it is a direct consequence of a perfect square being non-negative, proved next. It is worth noticing where this result sits in the chapter's logic. Arithmetic Mean was first met as the single term inserted between two numbers to keep an Arithmetic Progression running smoothly; Geometric Mean played the same role for a Geometric Progression. The AM–GM relation is the natural next question once both means are on the table: given the same two starting numbers, which of the two inserted means is bigger? The algebra says the answer is always the same — Arithmetic Mean never loses — and that fixed ordering is precisely what makes the relation useful as a tool rather than just a curiosity: it lets you replace an unknown product ab\sqrt{ab} by the more manageable sum a+b2\tfrac{a+b}{2} in an inequality, or vice versa, whenever a "greater than or equal to" is all that is needed.

Derivation AProving AM is greater than or equal to GM for two positive numbers

The goal is to show, using only the fact that the square of a real number can never be negative, that for any two positive real numbers aa and bb the Arithmetic Mean a+b2\tfrac{a+b}{2} is always at least as large as the Geometric Mean ab\sqrt{ab}, and to pin down exactly when the two become equal.

Step 1. Start from a fact that is true for every real number: its square cannot be negative. Apply this to the real number a−b\sqrt a - \sqrt b (real because a,b>0a,b>0 makes a,b\sqrt a,\sqrt b real):

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

Step 2. Expand the square using (x−y)2=x2−2xy+y2(x-y)^2 = x^2 - 2xy + y^2 with x=ax=\sqrt a, y=by=\sqrt b:

a−2ab+b≥0a - 2\sqrt{a}\sqrt{b} + b \ge 0

Step 3. Move the middle term to the other side:

a+b≥2aba + b \ge 2\sqrt{ab}

Step 4. Divide both sides by 22, which does not flip the inequality since 2>02>0:

a+b2≥ab\frac{a+b}{2} \ge \sqrt{ab}

This is exactly AM≥GM\text{AM} \ge \text{GM}, established for every pair of positive reals a,ba,b.

Step 5. Pin down equality. Every step above was reversible, so equality in the final line holds exactly when equality holds in Step 1, i.e. when (a−b)2=0(\sqrt a - \sqrt b)^2 = 0, which happens precisely when a=b\sqrt a = \sqrt b, i.e. when a=ba=b.

Worked example

Problem. Verify the AM–GM relation for a=9a=9 and b=16b=16, state whether equality holds, and use the same relation to prove that for every positive real number xx, x+1x≥2x+\dfrac1x \ge 2.

Step 1 — compute AM and GM for the given pair.

AM=9+162=12.5,GM=9×16=144=12\text{AM} = \frac{9+16}{2} = 12.5, \qquad \text{GM} = \sqrt{9\times16} = \sqrt{144} = 12

Step 2 — compare. Since 12.5≥1212.5 \ge 12, the relation AM≥GM\text{AM} \ge \text{GM} holds for this pair. Equality does not hold, because 9≠169 \ne 16.

Step 3 — apply the relation to a new pair. Take the two positive numbers to be xx and 1x\dfrac1x (valid for any x>0x>0, since then 1x>0\tfrac1x>0 too). Their means are

AM=x+1x2,GM=x⋅1x=1=1\text{AM} = \frac{x+\frac1x}{2}, \qquad \text{GM} = \sqrt{x\cdot\frac1x} = \sqrt{1} = 1

Step 4 — apply AM≥GM\text{AM} \ge \text{GM} and clear the fraction.

x+1x2≥1⟹x+1x≥2\frac{x+\frac1x}{2} \ge 1 \quad\Longrightarrow\quad x+\frac1x \ge 2

The final answer: AM=12.5\text{AM}=12.5, GM=12\text{GM}=12, equality does not hold since a≠ba\ne b; and x+1x≥2x+\tfrac1x \ge 2 for every positive real xx, with equality exactly when x=1xx=\tfrac1x, i.e. x=1x=1.

Competitive stretch

The same trick generalises: for any two positive quantities pp and qq whose product is a fixed constant kk (i.e. pq=kpq=k), AM–GM gives p+q2≥k\tfrac{p+q}{2}\ge\sqrt{k}, so their sum p+qp+q is minimised — and equals 2k2\sqrt k — exactly when p=qp=q. This "fix the product, minimise the sum" idea (or its mirror, "fix the sum, maximise the product") is the standard entry point for optimisation-style inequality questions built on AM–GM.

Common traps

  • Applying AM ≥ GM to non-positive numbers. The relation is proved only for a,b>0a,b>0; if either number is negative or zero, ab\sqrt{ab} may not be a real number, so the inequality does not apply as stated.
  • Forgetting the equality condition. Many questions specifically ask when equality holds — the answer is always "when a=ba=b," and it is often the key step in optimisation problems like the x+1xx+\tfrac1x example.
  • Mixing up which mean is larger. A quick sanity check with a=1,b=9a=1,b=9 gives AM=5≥GM=3\text{AM}=5 \ge \text{GM}=3 — AM is always the larger (or equal) one for positive numbers, never the smaller.
  • Reaching for Harmonic Mean or an AM–GM–HM chain. That three-way relationship uses Harmonic Progression, which is outside this syllabus; stick to the two-mean statement proved here.

Ask the tutor: want to try AM–GM on a few more optimisation-style inequalities, like minimising 2x+8x2x+\tfrac{8}{x}?

Why does the AM-GM relation require both numbers to be positive?

The proof rests on a\sqrt a and b\sqrt b being real numbers, which needs a,b≥0a,b \ge 0; and the "positive" restriction (ruling out zero too, in the strict sense used here) keeps GM meaningfully comparable as a mean of two genuine positive quantities. If either number were negative, ab\sqrt{ab} could involve the square root of a negative number and simply would not be a real value to compare against AM, so the inequality as stated would not even make sense.

Is this the same as the AM, GM, HM chain some other resources mention?

No — this syllabus examines only the two-mean statement AM≥GM\text{AM}\ge\text{GM} for two positive numbers, proved directly from (a−b)2≥0(\sqrt a-\sqrt b)^2\ge0. The three-way chain AM≥GM≥HM\text{AM}\ge\text{GM}\ge\text{HM} brings in the Harmonic Mean, which relies on Harmonic Progression — a topic outside this chapter's scope. Keep your proof and your problem-solving confined to the two-mean relation covered here.

How do I actually use AM-GM to find a minimum value, like in the x plus 1 over x example?

Identify two positive quantities whose product is a fixed constant — here xx and 1x\tfrac1x multiply to the constant 11. Apply AM≥GM\text{AM}\ge\text{GM} to that pair: the Arithmetic Mean (half their sum) is at least their Geometric Mean, which is fixed since the product is fixed. Doubling both sides turns "sum ≥\ge twice the GM" into the minimum value of the sum, and equality (the actual minimum) occurs exactly when the two quantities are equal — here x=1xx=\tfrac1x, giving x=1x=1.

Before this

Where this leads