HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Notes
  2. /Means and the AM-GM Inequality: Quick Revision
Mathematics

Means and the AM-GM Inequality: Quick Revision

A brief note on the arithmetic, geometric, harmonic and power means, weighted AM-GM, Bernoulli's inequality and the splitting trick. With practice, a program and questions to check yourself.

StemPy LabWritten by StemPy Lab
Log in to save

A brief note on Means and the AM-GM Inequality. Read it before a test. Try each question at the end before you open its answer.

The means

  • Arithmetic: A=a1+⋯+annA = \dfrac{a_1 + \dots + a_n}{n}A=na1​+⋯+an​​.
  • Geometric: G=a1⋯annG = \sqrt[n]{a_1 \cdots a_n}G=na1​⋯an​​.
  • Harmonic: H=n1/a1+⋯+1/anH = \dfrac{n}{1/a_1 + \dots + 1/a_n}H=1/a1​+⋯+1/an​n​.
  • Quadratic: Q=a12+⋯+an2nQ = \sqrt{\dfrac{a_1^2 + \dots + a_n^2}{n}}Q=na12​+⋯+an2​​​.
  • Chain: H≤G≤A≤QH \le G \le A \le QH≤G≤A≤Q for positive numbers, with equality only when all are equal.
  • Two numbers: G2=AHG^2 = AHG2=AH.

The tools

  • Weighted AM-GM: ∑wiai≥∏aiwi\sum w_i a_i \ge \prod a_i^{w_i}∑wi​ai​≥∏aiwi​​ when the weights are positive and ∑wi=1\sum w_i = 1∑wi​=1.
  • Power means: Mp≤MqM_p \le M_qMp​≤Mq​ when p<qp < qp<q.
  • Bernoulli: (1+x)n≥1+nx(1 + x)^n \ge 1 + nx(1+x)n≥1+nx for x≥−1x \ge -1x≥−1 and a whole number nnn.
  • Fixed sum SSS of nnn numbers: the product is at most (Sn)n\left(\dfrac{S}{n}\right)^n(nS​)n.
  • Fixed product PPP of nnn numbers: the sum is at least nPnn\sqrt[n]{P}nnP​.

A worked example

Find the least value of 2x+1x22x + \dfrac{1}{x^2}2x+x21​ for x>0x > 0x>0.

  1. Split. x+x+1x2x + x + \dfrac{1}{x^2}x+x+x21​ has the constant product 111.
  2. AM-GM. The sum is at least 313=33\sqrt[3]{1} = 3331​=3.
  3. Equality. x=1x2x = \dfrac{1}{x^2}x=x21​ gives x=1x = 1x=1, and the value there is 333.

A program to try

The program checks AM-GM on random pairs and prints the pair that came closest to equality.

Read it first. Then run it. Is the closest pair made of two nearly equal numbers?

1. Change the program to use three numbers in each trial. Does the closest triple also have nearly equal numbers?

Mistakes to avoid

  • Negative numbers. AM-GM needs positive numbers.
  • A bound that moves. The right side must be a constant.
  • No equality check. The bound is the answer only if equal parts are allowed.
  • Wrong average of speeds. Equal distances need the harmonic mean.

Check yourself

  1. Find the least value of x+25xx + \dfrac{25}{x}x+x25​ for x>0x > 0x>0.
  1. Four positive numbers add up to 202020. What is their greatest product?
  1. Find the harmonic mean of 444 and 121212.
  1. Give the lower bound for 1.0581.05^{8}1.058 from Bernoulli's inequality.

Sources

  • Hardy, Littlewood and Pólya, Inequalities, Chapter 2.
  • Steele, The Cauchy-Schwarz Master Class, Chapter 2.
← All Notes
← Diophantine Equations and Pythagorean Triples: Quick RevisionCauchy-Schwarz and Rearrangement: Quick Revision →
More onInequalities and the AM, GM and HM Means

Discussion (0)

Log in to join the discussion.

Loading…

On this page

  1. The means
  2. The tools
  3. A worked example
  4. A program to try
  5. Mistakes to avoid
  6. Check yourself
  7. Sources

Goes with the lesson

  1. Greatest and least values with the meansThe AM-GM-HM Inequality and Power Means

More notes on this topic

Convexity and Inequality Techniques: Quick Revision
  • Cauchy-Schwarz and Rearrangement: Quick Revision
  • All notes on this topic →