Sequences & series (AP, GP) · Lesson 2 of 4

The sum of an arithmetic progression

Adding the terms of an A.P. with Sₙ = n/2 [2a + (n − 1)d] or n/2 (a + l): finding the sum, finding a and d from a term and a sum, and finding how many terms give a sum.

15 minYou should already know: Expressions, formulae & change of subject
  1. 1
  2. 2
  3. 3
  4. 4

When you add the terms of a sequence you get a series. SnS_n stands for the sum of the first nn terms. For an A.P. there’s a shortcut. Write the sum forwards, then write it again backwards underneath. Each pair, one above the other, adds to the first term plus the last term, a+la + l. There are nn pairs, so two copies of the sum make n(a+l)n(a + l), and

Sn=n2(a+l)S_n = \frac{n}{2}(a + l)

The last term is l=a+(n−1)dl = a + (n - 1)d. Put that in when you don’t know ll:

Sn=n2[2a+(n−1)d]S_n = \frac{n}{2}\big[2a + (n - 1)d\big]
a + ln terms
Sum of an A.P.Two copies make n columns of a + l, so Sₙ = n/2 (a + l)

Try it

Adding up an A.P.Set a, d and n, then turn the copy round
217514811118145172a + l = 196 terms
2 + 17 = 19a + l, each column6 × 19 = 114n(a + l), both copies57S6, half of that
Green is 2 + 5 + 8 + 11 + 14 + 17. Gold is the same terms the other way round. Each column is a first-and-last pair adding to a + l = 19, and there are 6 columns, so two copies of the sum make 6 × 19 = 114. One copy is half: S6 = 6/2 × 19 = 57.

Whatever aa, dd and nn you choose, the columns all come out the same height, a+la + l. That’s why the sum is nn columns of a+la + l, halved.

Using the formula

Use n2(a+l)\frac{n}{2}(a + l) when you know the last term, and n2[2a+(n−1)d]\frac{n}{2}[2a + (n - 1)d] when you know dd. Either way you need nn, the number of terms.

A term and a sum given

When a question gives one term and one sum, write two equations: one from Tn=a+(n−1)dT_n = a + (n - 1)d and one from Sn=n2[2a+(n−1)d]S_n = \frac{n}{2}[2a + (n - 1)d]. Then solve them together, as in simultaneous equations.

Worked example · WAEC 2022

WAEC 2022 · Paper 2 · Q1

The third term of an Arithmetic Progression (A.P.) is 23 and the sum of the first seven terms is 210. Find the:

common difference;

first term;

sum of the first 20 terms.

  1. Equation from the term

    T3=a+2d=23T_3 = a + 2d = 23

    Think first. Write the third term in terms of a and d.

  2. Equation from the sum

    S7=72(2a+6d)=7(a+3d)=210S_7 = \frac72(2a + 6d) = 7(a + 3d) = 210, so a+3d=30a + 3d = 30.

    Think first. Put n = 7 into the sum formula and simplify.

  3. (a) Subtract

    (a+3d)−(a+2d)=30−23(a + 3d) - (a + 2d) = 30 - 23, so the common difference is d=7d = 7.

    Think first. Which letter cancels?

  4. (b) The first term

    a=23−14=9a = 23 - 14 = 9.

    Think first. Put d = 7 into a + 2d = 23.

  5. (c) The sum of 20 terms

    S20=202[2×9+19×7]=10×(18+133)=10×151=1510S_{20} = \frac{20}{2}[2 \times 9 + 19 \times 7] = 10 \times (18 + 133) = 10 \times 151 = 1510.

    Think first. Now you know a and d. Which formula?

How many terms make a sum?

When the sum is given and nn is unknown, the sum formula becomes a quadratic equation in nn. nn counts terms, so keep only a positive whole number.

Worked example · WAEC 2023

WAEC 2023 · Paper 2 · Q6

The heights of students in a class form an Arithmetic Progression (A.P.) such that the tallest student is 1.90 m1.90\text{ m}. The common difference in their heights is 0.05 m0.05\text{ m} and the sum of their heights is 23.25 m23.25\text{ m}.

How many students are in the class?

Find the height of the shortest student.

  1. Name what you know

    Take the heights from shortest to tallest: first term aa (unknown), d=0.05d = 0.05, last term l=1.90l = 1.90, and nn students (unknown).

    Think first. The heights go up by 0.05 m. Is the tallest student the first term or the last?

  2. Equation from the last term

    1.90=a+0.05(n−1)1.90 = a + 0.05(n - 1), so a=1.95−0.05na = 1.95 - 0.05n.

    Think first. Write l = a + (n − 1)d and make a the subject.

  3. Equation from the sum

    n2(a+1.90)=23.25\frac{n}{2}(a + 1.90) = 23.25, so n(1.95−0.05n+1.90)=46.5n(1.95 - 0.05n + 1.90) = 46.5, which is n(3.85−0.05n)=46.5n(3.85 - 0.05n) = 46.5.

    Think first. Use Sₙ = n/2 (a + l) and put in a from the last step.

  4. (a) Solve the quadratic

    3.85n−0.05n2=46.53.85n - 0.05n^2 = 46.5. Times 20: 77n−n2=93077n - n^2 = 930, so n2−77n+930=0n^2 - 77n + 930 = 0 and (n−15)(n−62)=0(n - 15)(n - 62) = 0.

    Think first. Multiply by 20 to clear the decimals.

  5. Choose the right n

    n=62n = 62 gives a=1.95−3.10=−1.15a = 1.95 - 3.10 = -1.15 m, which is impossible. So there are 15 students.

    Think first. What shortest height does each value give?

  6. (b) The shortest student

    a=1.95−0.05×15=1.95−0.75=1.20a = 1.95 - 0.05 \times 15 = 1.95 - 0.75 = 1.20 m. Check: 152(1.20+1.90)=23.25\frac{15}{2}(1.20 + 1.90) = 23.25 ✓.

    Think first. Put n = 15 into a = 1.95 − 0.05n.

From the sum back to a term

If you’re given a formula for SnS_n, any term is the difference of two sums: Tn=Sn−Sn−1T_n = S_n - S_{n - 1}. The first nn terms minus the first n−1n - 1 terms leaves the nnth.

Your turn

WAEC 2018 · Paper 2 · Q1

The sum of the first ten terms of an Arithmetic Progression (A.P.) is 130. If the fifth term is 3 times the first term, find the:

  1. (a)

    common difference;

  2. (b)

    first term;

  3. (c)

    number of terms of the A.P. if the last term is 28.

Worked solution (try it first)
  1. Write each fact as an equation.
  2. The sum of the first ten terms: S10=102[2a+9d]S_{10} = \frac{10}{2}[2a + 9d]
    =5(2a+9d)= 5(2a + 9d)
    =130= 130, so 2a+9d=262a + 9d = 26.
  3. The fifth term is 3 times the first: a+4d=3aa + 4d = 3a, so 4d=2a4d = 2a and a=2da = 2d.

(a)

  1. Put a=2da = 2d into 2a+9d=262a + 9d = 26: 4d+9d=264d + 9d = 26, so 13d=2613d = 26 and the common difference is d=2d = 2.

(b)

  1. The first term is a=2d=4a = 2d = 4.
  2. (Check: 5(8+18)=1305(8 + 18) = 130 ✓ and T5=4+8=12=3×4T_5 = 4 + 8 = 12 = 3 \times 4 ✓.)

(c)

  1. The last term is 28: a+(n−1)d=28a + (n - 1)d = 28, so 4+2(n−1)=284 + 2(n - 1) = 28, 2(n−1)=242(n - 1) = 24, n−1=12n - 1 = 12 and there are n=13n = 13 terms.

Report a problem with this question

More past questions like this