• Foundation
  • About 18 min
  • 5 practice questions

Sum of the first n terms of a G.P.

Derive the formula for the sum of n terms of a geometric progression, choose the convenient form, and use it for sums, for finding the number of terms, and for series like 9 + 99 + 999 + ….

If something looks wrong, please tell us.

Adding the first 20 terms of 3, 6, 12, … by hand would be slow and error-prone. A single formula does it in one line. In this lesson we derive that formula by a neat trick, multiplying the whole sum by r and subtracting, and then use it on several types of problem.

Deriving the formula

Let the G.P. have first term a and common ratio r, and let Sₙ be the sum of its first n terms:

Sₙ = a + ar + ar² + … + arⁿ⁻¹ … (1)

Case 1: r = 1. Every term equals a, so Sₙ = a + a + … + a (n terms) = na.

Case 2: r ≠ 1. Multiply (1) by r: rSₙ = ar + ar² + ar³ + … + arⁿ … (2). Subtract (2) from (1). All terms from ar to arⁿ⁻¹ appear in both lines and cancel, leaving (1 − r)Sₙ = a − arⁿ = a(1 − rⁿ). Divide by (1 − r), which is allowed because r ≠ 1.

The multiply-and-subtract method

  1. Write Sₙ Sₙ = a + ar + … + arⁿ⁻¹
  2. Multiply by r rSₙ = ar + ar² + … + arⁿ
  3. Subtract Middle terms cancel: Sₙ − rSₙ = a − arⁿ
  4. Factorise (1 − r)Sₙ = a(1 − rⁿ)
  5. Divide (r ≠ 1) Sₙ = a(1 − rⁿ)/(1 − r)

Sum of n terms of a G.P.: Sₙ = a(1 − rⁿ)/(1 − r) = a(rⁿ − 1)/(r − 1) for r ≠ 1, and Sₙ = na for r = 1.

The two forms are equal (multiply top and bottom by −1). Use a(rⁿ − 1)/(r − 1) when r > 1 and a(1 − rⁿ)/(1 − r) when r < 1; this keeps the numbers positive and reduces sign slips.

Worked examples

Worked example 1: sum of given terms

Find the sum of the first 8 terms of 3 + 6 + 12 + …. Here a = 3, r = 2 > 1, n = 8. S₈ = 3(2⁸ − 1)/(2 − 1) = 3 × 255 = 765.

Worked example 2: a ratio less than 1

Find the sum of the first 5 terms of 1 + 1/3 + 1/9 + …. Here a = 1, r = 1/3, n = 5. S₅ = (1 − (1/3)⁵)/(1 − 1/3) = (1 − 1/243) ÷ (2/3) = (242/243) × (3/2) = 726/486 = 121/81. Check by direct addition: (81 + 27 + 9 + 3 + 1)/81 = 121/81.

Worked example 3: how many terms?

How many terms of 2 + 6 + 18 + … must be taken to make 728? a = 2, r = 3. Sₙ = 2(3ⁿ − 1)/(3 − 1) = 3ⁿ − 1. Set 3ⁿ − 1 = 728, so 3ⁿ = 729 = 3⁶, and n = 6. Check: 2 + 6 + 18 + 54 + 162 + 486 = 728.

Worked example 4: a sigma sum

Evaluate Σ 2ᵏ for k = 1 to 6. The terms 2, 4, 8, …, 64 form a G.P. with a = 2, r = 2, n = 6. The sum is 2(2⁶ − 1)/(2 − 1) = 2 × 63 = 126.

Series that become geometric: 9 + 99 + 999 + …

Some series are not G.P.s but can be turned into one. Find the sum to n terms of 9 + 99 + 999 + …. Write each term as a power of 10 minus 1: 9 = 10 − 1, 99 = 10² − 1, 999 = 10³ − 1, and so on.

Sₙ = (10 − 1) + (10² − 1) + … + (10ⁿ − 1) = (10 + 10² + … + 10ⁿ) − n. The bracket is a G.P. with a = 10, r = 10, so its sum is 10(10ⁿ − 1)/9. Hence Sₙ = 10(10ⁿ − 1)/9 − n. Check with n = 2: 10 × 99/9 − 2 = 110 − 2 = 108 = 9 + 99.

Worked example 5: 4 + 44 + 444 + …

Take out 4/9: 4 + 44 + 444 + … = (4/9)(9 + 99 + 999 + …). Using the result above, Sₙ = (4/9)[10(10ⁿ − 1)/9 − n] = (40/81)(10ⁿ − 1) − 4n/9. Check with n = 2: (40/81)(99) − 8/9 = 3960/81 − 72/81 = 3888/81 = 48, and 4 + 44 = 48. The same method works for 0.3 + 0.33 + 0.333 + …, writing each term with powers of 1/10.

Choosing the form of the sum formula
SituationFormula to useReason
r > 1Sₙ = a(rⁿ − 1)/(r − 1)Numerator and denominator stay positive
0 < r < 1 or r negativeSₙ = a(1 − rⁿ)/(1 − r)Denominator 1 − r is positive
r = 1Sₙ = naAll terms equal; formula would divide by zero

Key takeaways

  • Sₙ = a(1 − rⁿ)/(1 − r) for r ≠ 1; Sₙ = na when r = 1.
  • To find n, set the sum formula equal to the given total and compare powers.
  • Series like 9 + 99 + … or 7 + 77 + … reduce to a G.P. minus a constant series.

Check your understanding

  1. 1. Find the sum of the first 6 terms of the G.P. 5, 10, 20, ….

    1. 155
    2. 315
    3. 320
    4. 635
    Show answer

    Answer: B. a = 5, r = 2, n = 6: S₆ = 5(2⁶ − 1)/(2 − 1) = 5 × 63 = 315.

  2. 2. What is the sum of the first 4 terms of 1 − 1/2 + 1/4 − …?

    1. 5/8
    2. 15/16
    3. 3/4
    4. 5/4
    Show answer

    Answer: A. a = 1, r = −1/2, n = 4: S₄ = (1 − (−1/2)⁴)/(1 − (−1/2)) = (1 − 1/16)/(3/2) = (15/16) × (2/3) = 5/8. Directly: 1 − 0.5 + 0.25 − 0.125 = 0.625 = 5/8.

  3. 3. How many terms of the G.P. 3, 9, 27, … add up to 1092?

    1. 5
    2. 6
    3. 7
    4. 8
    Show answer

    Answer: B. Sₙ = 3(3ⁿ − 1)/(3 − 1) = 1092, so 3ⁿ − 1 = 728 and 3ⁿ = 729 = 3⁶. Therefore n = 6.

  4. 4. The sum to n terms of 9 + 99 + 999 + … is:

    1. 10(10ⁿ − 1)/9
    2. (10ⁿ − 1)/9 − n
    3. 10(10ⁿ − 1)/9 − n
    4. 10ⁿ − 1 − n
    Show answer

    Answer: C. Write the terms as (10 − 1), (10² − 1), …, (10ⁿ − 1). The powers of 10 give 10(10ⁿ − 1)/9 and the n ones give −n, so Sₙ = 10(10ⁿ − 1)/9 − n.

  5. 5. Assertion (A): For the G.P. 7, 7, 7, …, the formula a(rⁿ − 1)/(r − 1) cannot be used. Reason (R): For this G.P. r = 1, so the formula's denominator is zero; the sum is na instead.

    1. Both A and R are true, and R is the correct explanation of A
    2. Both A and R are true, but R is not the correct explanation of A
    3. A is true, but R is false
    4. A is false, but R is true
    Show answer

    Answer: A. Both are true and R explains A. With r = 1 the denominator r − 1 is zero, so the formula is undefined. Every term is 7, so Sₙ = 7n.

Sign in to keep track of the lessons you finish.

Next lesson → Geometric mean and growth problems

Privacy · Terms · Refunds · Delivery