EngineeringRise

AM, GM and the AM-GM Relation: JEE Main Maths

Reviewed Last updated 2026-11-20. Syllabus topic: Arithmetic and geometric means and the AM-GM relation.

In short. To insert n arithmetic means between a and b, form an AP with n + 2 terms: d = (b - a)/(n + 1). For n geometric means the GP has n + 2 terms and r = (b/a)^(1/(n + 1)). For positive numbers AM >= GM, with equality only when all the numbers are equal.

  • n arithmetic means between a and b: d = (b - a)/(n + 1), and their sum is n(a + b)/2.
  • n geometric means between a and b: r^(n+1) = b/a, and, when the common ratio is positive, their product is (ab)^(n/2); for a negative ratio the product is (-1)^(n(n+1)/2) (ab)^(n/2), the sign being negative for an odd count of means such as five.
  • AM = (a + b)/2 and GM = square root of (ab) satisfy AM >= GM for positive a, b, with equality only when a = b; also GM² = a b.
  • For positive numbers x₁, ..., x_n: (x₁ + ... + x_n)/n >= (x₁ x₂ ... x_n)^(1/n), equality only if all are equal.
  • Least-value and greatest-value problems use AM-GM after splitting terms so that the variable cancels in the sum or in the product.

Syllabus line: SEQUENCE AND SERIES: Arithmetic and Geometric progressions, insertion of arithmetic, geometric means between two given numbers, Relation between A.M and G.M. (NTA JEE (Main) 2026 syllabus, Mathematics, Unit 6 (https://jeemain.nta.nic.in/document/syllabus-2026/))

Before you start

Prerequisites

  • Arithmetic progressions: Arithmetic means are the middle terms of an AP and need T_n and S_n. Read this first if d = (b - a)/(n + 1) is not clear.
  • Geometric progressions: Geometric means are the middle terms of a GP and need T_n = a r^(n-1). Read this first if the ratio from two given terms is slow.

Related topics

The concept step by step

  1. Step 1: What a mean inserted between two numbers is

    Inserting means between a and b means placing numbers between them so that the whole list, with a first and b last, forms a progression. n arithmetic means make an AP of n + 2 terms; n geometric means make a GP of n + 2 terms. The means are the terms strictly between a and b; the end points are not counted. With 4 means there are 6 terms and 5 gaps.

  2. Step 2: Arithmetic means between two numbers

    The last term is a + (n + 1)d = b, so d = (b - a)/(n + 1). To insert 4 means between 7 and 37, d = 30/5 = 6 and the means are 13, 19, 25, 31, with sum 88. The sum of the n means is n(a + b)/2, because the means pair off symmetrically around the AM of the ends. The single mean between a and b (n = 1) is (a + b)/2, the arithmetic mean.

  3. Step 3: Geometric means between two numbers

    The last term is a r^(n+1) = b, so r^(n+1) = b/a. To insert 3 means between 3 and 48, r⁴ = 16, giving r = 2 (or -2 if signs are free). The means are 6, 12, 24, and their product is the (n/2) power of ab: (3 x 48)^(3/2) = 144¹.5 = 1728. The single mean between a and b (n = 1) is the geometric mean, the square root of ab.

  4. Step 4: The relation between AM and GM

    For positive a and b, (a + b)/2 - square root of ab = (square root of a - square root of b)² / 2, which is never negative. So AM >= GM, with equality only for a = b. Also GM² = a b, so the GM of two numbers is the middle term of the GP a, GM, b. For two numbers with AM = A and GM = G, the numbers are the roots of x² - 2A x + G² = 0.

  5. Step 5: AM-GM for more numbers and least values

    For positive x₁, ..., x_n the AM is at least the GM, with equality only when all the x_i are equal. To find the least value of a sum, split terms so that the product is constant: for x² + 16/x take x², 8/x, 8/x, whose product is 64 at all x. Then the sum is at least 3 x 64^(1/3) = 12, with equality at x² = 8/x, that is x = 2. If equality cannot be reached, AM-GM does not give the least value.

  6. Step 6: Using A and G to find the numbers

    If two numbers have AM = A and GM = G, their sum is 2A and their product is G². Then m² + n² = 4A² - 2G² and (m - n)² = 4(A² - G²). With A + G = 25 and A - G = 1 we get A = 13, G = 12, the numbers are the roots of x² - 26x + 144 = 0, namely 8 and 18, and the sum of squares is 388.

Worked examples

Each solution shows the marks every step would earn. The sanity check tests units and size of the answer.

Example 1 (easy)

Insert 5 arithmetic means between 2 and 20 and find their sum.

Marks-style solution of example 1
StepMarks
There are 7 terms and 6 gaps: d = (20 - 2)/6 = 3.1
The means are 5, 8, 11, 14, 17.1
Sum = 5 + 8 + 11 + 14 + 17 = 55.1
Total: 3 marks3

Answer: 55

Fast method: Sum of n means = n(a + b)/2 = 5 x 11 = 55.

Sanity check: The middle mean 11 is the average of 2 and 20, and five means centred at 11 add to 55.

Example 2 (easy)

Find the AM and GM of 4 and 9 and show that AM >= GM. Give AM - GM.

Marks-style solution of example 2
StepMarks
AM = (4 + 9)/2 = 6.5.1
GM = square root of (4 x 9) = 6.1
AM - GM = 0.5, which is positive, in agreement with AM >= GM.1
Total: 3 marks3

Answer: AM = 6.5, GM = 6, difference 0.5

Fast method: AM - GM = (square root of 9 - square root of 4)² / 2 = 1/2.

Sanity check: The difference 0.5 is positive and equals (3 - 2)²/2, and it would be 0 if the two numbers were equal.

Example 3 (medium)

Insert two geometric means between 3 and 24 (positive ratio) and give their sum.

Marks-style solution of example 3
StepMarks
There are 4 terms: 3 r³ = 24, so r³ = 8 and r = 2.1
The means are 3 x 2 = 6 and 3 x 4 = 12.1
Sum = 6 + 12 = 18.1
Total: 3 marks3

Answer: 18 (the means are 6 and 12)

Fast method: r = cube root of (24/3) = 2, then 6 and 12.

Sanity check: The list 3, 6, 12, 24 has constant ratio 2, and 3 x 24 = 72 = 6 x 12 as pairs from the ends multiply to ab.

Example 4 (medium)

For two positive numbers a and b, the ratio AM : GM is 5 : 4. Find the ratio of the larger to the smaller number.

Marks-style solution of example 4
StepMarks
Let t = square root of (a/b). AM/GM = (a + b)/(2 square root of (ab)) = (t² + 1)/(2t).1
Set (t² + 1)/(2t) = 5/4, so 2t² - 5t + 2 = 0 and t = 2 or t = 1/2.2
The ratio a/b = t² = 4 or 1/4, so the larger to the smaller is 4 : 1.1
Total: 4 marks4

Answer: 4 : 1

Fast method: Try 4 and 1: AM = 2.5, GM = 2, and 2.5 : 2 = 5 : 4.

Sanity check: For 4 and 1 the AM is 2.5 and GM is 2, and 2.5/2 = 1.25 = 5/4, as required; the ratio cannot be 1 as AM : GM is not 1.

Typical trap: Taking a : b = 5 : 4 directly mixes the ratio of the means with the ratio of the numbers.

Example 5 (hard, multi-step)

For x > 0, find the least value of 3x + 12/x² and the value of x at which it occurs. Give the least value.

Marks-style solution of example 5
StepMarks
Split 3x as 3x/2 + 3x/2 so that the three terms have a constant product: (3x/2)(3x/2)(12/x²) = 27.2
AM-GM: (3x/2 + 3x/2 + 12/x²)/3 >= 27^(1/3) = 3, so the sum is at least 9.1
Equality needs 3x/2 = 12/x², so x³ = 8 and x = 2, which is allowed.1
The least value is 9, at x = 2.1
Total: 5 marks5

Answer: 9 (at x = 2)

Fast method: Split so the powers of x cancel in the product; the bound is then 3 x 3 = 9, and x = 2 gives 6 + 3 = 9.

Sanity check: At x = 2 the value is 6 + 3 = 9; at x = 1 it is 15 and at x = 4 it is 12.75, both above 9.

Typical trap: Using two terms 3x and 12/x² gives the product 36/x, which still contains x, so no fixed bound follows.

Example 6 (hard, multi-step)

Five geometric means (positive ratio) are inserted between 2 and 128. Find the product of the five means.

Marks-style solution of example 6
StepMarks
There are 7 terms: 2 r⁶ = 128, so r⁶ = 64 and r = 2.1
The means are 4, 8, 16, 32, 64.1
Pair them: the product of the means equals (ab)^(5/2) = 256^(5/2).2
256^(5/2) = 16⁵ = 1048576.1
Total: 5 marks5

Answer: 1048576

Fast method: The middle mean is the square root of 2 x 128 = 16, and for five means the product is 16⁵ = 1048576.

Sanity check: The product has exponent 2 + 3 + 4 + 5 + 6 = 20, so it is 2²0 = 1,048,576, matching 16⁵.

Typical trap: A negative ratio, if the stem allowed it, would make the product negative for five means; the stem states a positive ratio.

Formulas and units

Formula and unit box for Arithmetic and geometric means and the AM-GM relation
ResultFormulaValid whenUnits or noteWorked example
Common difference for n AMsd = (b - a)/(n + 1)a and b are the end terms; n AMs inserted between them (n+2 terms in AP)dimensionlessExample 1
Sum of n AMsn(a + b)/2n AMs inserted between a and b in APdimensionlessnone
Common ratio for n GMsr^(n+1) = b/an GMs inserted between a and b; a, b same signdimensionlessExample 3
Product of n GMs (positive ratio; negative ratio gives factor (-1)^(n(n+1)/2))(ab)^(n/2)n GMs inserted with positive common ratiodimensionlessExample 6
AM and GM of two numbersA = (a + b)/2, G = square root of (ab)a, b positive (GM needs ab > 0)dimensionlessExample 2
AM-GMA >= G, equality only for a = ba, b positive real numbersdimensionlessExample 2
DifferenceA - G = (square root of a - square root of b)² / 2a, b positive real numbersdimensionlessnone
LinkG² = a b, and a + b = 2Aa, b positive real numbersdimensionlessnone
n numbers(x₁ + ... + x_n)/n >= (x₁ ... x_n)^(1/n)x₁ ... x_n all positive reals; equality when all are equaldimensionlessExample 5
Numbers from A and Groots of x² - 2A x + G² = 0a, b positive; A >= G so roots are realdimensionlessnone

Use your browser's print command to print this page; the formula box prints on its own page. Download the one-page formula sheet (PDF).

Common mistakes and speed

  • Using n gaps instead of n + 1 when inserting n means. Why it tempts: The list with n means has n + 2 terms, but it is natural to divide by the number of means.
  • Including the end points in the sum of the means. Why it tempts: The whole AP is in view and the stem asks only for the means in between.
  • Applying AM-GM to terms whose product still contains the variable. Why it tempts: Any positive terms satisfy AM-GM, but the bound is only useful when the product is a constant.
  • Forgetting to check that equality is attained. Why it tempts: The inequality is true everywhere, so it seems the bound is automatically the least value; it is the least value only if the terms can be made equal.
  • Applying AM >= GM to negative numbers. Why it tempts: The formula looks the same, but square roots of negative products are not real and the inequality can reverse.

Time per question and fast method

Target: about 110 seconds per question.

Count the gaps (n + 1) before finding d or r. The sum of n arithmetic means is n(a + b)/2 and the product of n geometric means is (ab)^(n/2). For least values split the terms so the variable cancels in the product, then confirm that equality is reachable. For A and G of two numbers use sum 2A and product G².

Recall quiz

Pick an option for each question. Your answers stay on this page and are not sent anywhere.

Question 1. The common difference when 6 arithmetic means are inserted between 3 and 31 is
Show the answer

Answer: C: 4. There are 7 gaps: d = (31 - 3)/7 = 4; dividing by 6 is the slip.

Question 2. The AM of 8 and 18 minus their GM is
Show the answer

Answer: D: 1. AM = 13, GM = square root of 144 = 12, difference 1.

Question 3. The product of three geometric means inserted between 2 and 32 (positive ratio) is
Show the answer

Answer: B: 512. The means are 4, 8, 16 with product 512 = (2 x 32)^(3/2) = 64¹.5.

Question 4. For x > 0 the least value of x + 9/x is
Show the answer

Answer: D: 6. AM-GM: x + 9/x >= 2 square root of 9 = 6, with equality at x = 3.

Question 5. Equality in AM >= GM for two positive numbers holds when
Show the answer

Answer: B: the numbers are equal. AM - GM = (square root of a - square root of b)² / 2 vanishes only when a = b.

Question 6. The sum of 3 arithmetic means inserted between 10 and 30 is
Show the answer

Answer: C: 60. Sum = 3(10 + 30)/2 = 60; the means are 15, 20, 25.

Practice

Test your answers nowFull-length mocks

Previous-year questions

Previous-year questions are not imported yet. Previous-year questions are not imported yet; see the official papers on the NTA site. Official NTA papers page.

Going deeper and revision

Arithmetic means between two numbers

To insert n arithmetic means A₁, ..., A_n between a and b, build the AP a, A₁, ..., A_n, b with n + 2 terms. Then b = a + (n + 1)d, so d = (b - a)/(n + 1) and A_k = a + k d. Their sum is A₁ + ... + A_n = n(a + b)/2, n times the single AM of a and b, and the k th mean from the start and the k th from the end add to a + b. Note the common slip: n means give n + 1 gaps, not n. For the ratio problems of the type "the ratio of the p th mean to the q th mean", write both means as a + k d and use b = a + (n + 1)d; the ratio often fixes n.

Geometric means between two numbers

To insert n geometric means G₁, ..., G_n between a and b, build the GP a, G₁, ..., G_n, b: r^(n+1) = b/a and G_k = a rᵏ. Their product is (ab)^(n/2), because the k th from the start and k th from the end multiply to ab; so for three means the product is the cube of the middle one, which is the square root of ab. For positive a and b take the positive real r. When n + 1 is even and the stem does not restrict the sign, r = -(b/a)^(1/(n+1)) also gives a valid GP. The product of the means then carries the sign (-1)^(1 + 2 + ... + n) = (-1)^(n(n + 1)/2): positive for three means (so both ratios give 1728 between 3 and 48), negative for five means.

AM-GM relation and equality

For positive a and b, AM - GM = (square root of a - square root of b)² / 2, which is at least 0, so AM >= GM, with equality only for a = b. The GM G satisfies G² = a b, so a, G, b form a GP, while the AM A is the single arithmetic mean between a and b. For n positive numbers, the AM is at least the GM, with equality only when all the numbers are equal. Positivity is essential: for negative numbers the inequality can fail. The standard device is to split a term into equal parts, as in x² + 8/x + 8/x.

Least and greatest values, and what examiners test

AM-GM gives a least value of a sum when the product of the chosen terms is constant, and a greatest value of a product when the sum is constant. Choose the split so that the variable cancels, then check that equality is attainable (the terms can all be equal at an allowed value). For the greatest value of x² (6 - x) with 0 < x < 6, split into x/2, x/2, 6 - x, whose sum is 6 for all x, so the product is at most 8 and x² (6 - x) at most 32 at x = 4. Examiners also test: n means between two numbers with a ratio condition; the product or sum of inserted means; A, G given and the numbers wanted; and least-value questions. Expected time is 100 to 150 seconds.

Memory hook

Suppose a straight road runs from your house at the 2 km mark to a market at the 20 km mark, and 5 tea stalls are to be placed between them at equal gaps.

  1. There are 5 stalls, so 6 gaps between the two end points: the gap is (20 - 2)/6 = 3 km, and the stalls stand at 5, 8, 11, 14, 17 km, which are 5 arithmetic means.
  2. The stall in the middle, at 11 km, is exactly the average (2 + 20)/2 = 11 km of the two end points.
  3. Check: the five distances add to 55 = 5 x 11, the number of stalls times the average of the end points.

Equal gaps give arithmetic means with d = (b - a)/(n + 1); equal multiplying factors would give geometric means, and the AM of two numbers is never smaller than their GM.

n means need n + 1 gaps; and the average is never below the geometric middle.

Revision card

Try to answer each without looking above.

  1. How many terms and how many gaps are there when n means are inserted between a and b?
  2. Write the common difference for n arithmetic means and the common ratio for n geometric means.
  3. What are the sum of n arithmetic means and the product of n geometric means?
  4. State AM >= GM for two positive numbers and when equality holds.
  5. How do you split x² + 16/x to find its least value for x > 0?
  6. Given AM = A and GM = G of two numbers, what are their sum and product?

Sources and review

Reviewed Reviewed on 2026-11-20: every number recomputed by code and independently reviewed; textbook section references pending.

  • Method: Every number in worked examples, recall checks and notes recomputed by code; claims recomputed independently by a separate verifier run using other numerical methods; textbook section references not yet attached; wording defects found were fixed afterwards and re-linted (code checks re-run) but not re-reviewed by a second run; syllabus scope compared with the NTA JEE Main 2026 syllabus text (by the verifier; see the report)
  • Reviewer: independent verifier agent run (not the author)
  • Date: 2026-11-20
  • Defects found: 2; fixed: 2
  • Report: content/reviews/learn3-seq-2026-11-20.md

Textbook references

  • NCERT Mathematics, Class 11 (reprint 2026-27), Chapter 8: Sequences and Series, 8.4.3 Geometric Mean (G.M.) (read 2026-11-22)

Sources used

  • Syllabus: NTA JEE (Main) 2026 syllabus, Mathematics, Unit 6 (https://jeemain.nta.nic.in/document/syllabus-2026/), imported into syllabus/lines/jee-main/2026.json (line jee-main-2026-U06)
  • NCERT Class 11 Mathematics, chapter on Sequences and Series: scope reference only, not opened for this draft; content written fresh and textbook section references are pending

How labels work: see how answers and lessons are verified. Found a mistake? Use Report an error on any question page.