Math Lab

AM ≥ GM Inequality

Inequalities · Class XI

Choose two positive numbers , the arithmetic mean is always at least the geometric mean.

4
type a value
0.120
9
type a value
0.120
Live values
  • Arithmetic Mean6.5
  • Geometric Mean6
  • Gap AM − GM0.5
  • Harmonic Mean5.5385
xy
  • AM = (a + x)/2
  • GM = sqrt(a*x)

Formulas in this lab

  • Arithmetic Mean
    AM=a+b2AM = \dfrac{a+b}{2}
  • Geometric Mean
    GM=abGM = \sqrt{ab}
  • Gap AM − GM
    AMGM0AM - GM \ge 0
  • Harmonic Mean
    HM=2aba+bHM = \dfrac{2ab}{a+b}
Tip: The AM line sits on or above the GM curve; they touch exactly when x = a.

Frequently asked questions

What is the AM-GM inequality?

For any two positive numbers $a$ and $b$, the arithmetic mean is at least the geometric mean: $\frac{a+b}{2} \ge \sqrt{ab}$, with equality only when $a = b$. So for $a = 4$ and $b = 9$, $\mathrm{AM} = 6.5$ and $\mathrm{GM} = 6$, confirming $6.5 \ge 6$.

How do I use the AM-GM lab?

Slide positive values $a$ and $b$. The lab shows $\mathrm{AM}$, $\mathrm{GM}$, the gap $\mathrm{AM}-\mathrm{GM}\ge 0$, and harmonic mean $\mathrm{HM} = \frac{2ab}{a+b}$. Set $a = b$ to see all three means coincide — a classic equality case.

How does AM-GM solve JEE optimization questions?

Maximizing $xy$ subject to $x+y = 10$: by AM-GM, $xy \le (x+y)^2/4 = 25$, attained when $x = y = 5$. JEE Main and Advanced lean heavily on this. Practising the lab builds the instinct to convert sums to products and vice versa.

Where does AM-GM show up in real life?

Compounding returns: an investment doubling and halving over two years gives geometric mean return $\sqrt{2\times 0.5} = 1$, so net return is $0\%$ even though the arithmetic mean of $+100\%$ and $-50\%$ is $+25\%$. AM-GM warns investors against trusting simple averages of returns.