• Foundation
  • About 15 min
  • 5 practice questions

Sum of an AP and the arithmetic mean

Add the terms of an arithmetic progression with Sₙ = n/2 [2a + (n − 1)d], find a term from a sum formula, and insert arithmetic means between two numbers.

If something looks wrong, please tell us.

Once you can find any term of an AP, the next natural question is how to add many terms quickly. Adding 1 + 2 + 3 + ... + 100 by hand takes a long time, yet there is a neat trick that does it in seconds. This lesson turns that trick into a formula for the sum of any AP, shows how to work backwards from a sum to a term, and introduces the arithmetic mean.

The pairing idea

Write S = 1 + 2 + 3 + ... + 100, then write the same sum backwards: S = 100 + 99 + ... + 1. Add the two lines column by column. Each column gives 1 + 100 = 101, 2 + 99 = 101 and so on, and there are 100 columns. So 2S = 100 × 101 and S = 5050. The same pairing works for any AP, because moving one step in from each end adds d to one term and takes d from the other, so every pair has the same total, first term plus last term.

The sum formula

For an AP with first term a, common difference d and n terms, the last term is l = a + (n − 1)d. Pairing gives two equivalent formulas: Sₙ = n/2 × (a + l), useful when you know the last term, and Sₙ = n/2 × [2a + (n − 1)d], useful when you know d. Both say the same thing: the sum is the number of terms times the average of the first and last terms.

Sum of n terms of an AP: Sₙ = n/2 [2a + (n − 1)d] = n/2 (a + l).

Worked example 1: sum from a and d

Find the sum of the first 20 terms of 2, 5, 8, ... Here a = 2, d = 3, n = 20. S₂₀ = 20/2 × [2 × 2 + 19 × 3] = 10 × [4 + 57] = 10 × 61 = 610.

Worked example 2: odd numbers

Find the sum of all odd numbers from 1 to 99. They form an AP with a = 1, d = 2 and l = 99, so n = (99 − 1)/2 + 1 = 50. Then S = 50/2 × (1 + 99) = 25 × 100 = 2500. Notice that 2500 = 50². In general the sum of the first n odd numbers is n², which is a pleasant fact to remember.

From the sum back to a term

The sum of the first n terms minus the sum of the first n − 1 terms leaves only the nth term. So aₙ = Sₙ − Sₙ₋₁ for n ≥ 2, and a₁ = S₁. This lets you find terms when a question gives only a formula for Sₙ.

Worked example 3: term from Sₙ

The sum of the first n terms of a sequence is Sₙ = 3n² + 2n. Find the nth term. Sₙ₋₁ = 3(n − 1)² + 2(n − 1) = 3n² − 6n + 3 + 2n − 2 = 3n² − 4n + 1. So aₙ = (3n² + 2n) − (3n² − 4n + 1) = 6n − 1. Check with n = 1: S₁ = 3 + 2 = 5 and 6 × 1 − 1 = 5. The terms are 5, 11, 17, ..., an AP with d = 6.

The arithmetic mean

The arithmetic mean (AM) of two numbers a and b is A = (a + b)/2. Then a, A, b are in AP, because A − a and b − A are both (b − a)/2. More generally, to insert n arithmetic means between a and b means to fill in n numbers so that the whole list of n + 2 numbers is an AP. Since b is the (n + 2)th term, b = a + (n + 1)d, so d = (b − a)/(n + 1).

Worked example 4: inserting three means

Insert three arithmetic means between 4 and 20. Here n = 3, so d = (20 − 4)/(3 + 1) = 16/4 = 4. The means are 4 + 4 = 8, 8 + 4 = 12 and 12 + 4 = 16, and the full AP is 4, 8, 12, 16, 20. The middle mean, 12, is also the ordinary AM of 4 and 20.

Key takeaways

The sum of an AP is the number of terms times the average of the first and last terms: Sₙ = n/2 (a + l) = n/2 [2a + (n − 1)d]. Always find n first when only the last term is given. The nth term can be recovered from a sum formula with aₙ = Sₙ − Sₙ₋₁. The AM of a and b is (a + b)/2, and n means inserted between a and b use d = (b − a)/(n + 1). Next we move from adding a fixed number to multiplying by one.

Check your understanding

  1. 1. What is the sum 1 + 2 + 3 + ... + 50?

    1. 2550
    2. 1250
    3. 1300
    4. 1275
    Show answer

    Answer: D. S = 50/2 × (1 + 50) = 25 × 51 = 1275.

  2. 2. What is the sum of the first 15 terms of 4, 7, 10, ...?

    1. 360
    2. 375
    3. 390
    4. 345
    Show answer

    Answer: B. a = 4, d = 3: S₁₅ = 15/2 × [8 + 14 × 3] = 15/2 × 50 = 375.

  3. 3. What is the arithmetic mean of 13 and 29?

    1. 21
    2. 16
    3. 42
    4. 19
    Show answer

    Answer: A. (13 + 29)/2 = 42/2 = 21.

  4. 4. The sum of the first n terms of a sequence is Sₙ = n² + 4n. What is its 5th term?

    1. 45
    2. 13
    3. 11
    4. 15
    Show answer

    Answer: B. a₅ = S₅ − S₄ = (25 + 20) − (16 + 16) = 45 − 32 = 13.

  5. 5. Four arithmetic means are inserted between 3 and 23. What is the third of these means?

    1. 11
    2. 19
    3. 15
    4. 13
    Show answer

    Answer: C. d = (23 − 3)/(4 + 1) = 4, so the means are 7, 11, 15, 19. The third is 15.

Privacy · Terms · Refunds · Delivery