1F

Summing an arithmetic series

The two formulae for the sum of an arithmetic series, S(n) = n/2 (a + ℓ) and S(n) = n/2 (2a + (n − 1)d), and solving problems including finding how many terms give a given sum.

Adding $100$ terms of an AP one by one is slow and error-prone. A neat trick turns the whole sum into a single multiplication, and that trick is the reason the two formulas below work.

The reversing trick

Take $S = 2 + 5 + 8 + 11 + 14$. Write it forwards and backwards, then add the two lines column by column:

$S$$2$$5$$8$$11$$14$
$S$$14$$11$$8$$5$$2$
$2S$$16$$16$$16$$16$$16$

Every column adds to the same total, first + last $= 16$, because going along one row adds $d$ while the other row takes $d$ away. There are $5$ columns, so $2S = 5 \times 16$ and $S = 40$. The same argument works for any AP with $n$ terms, first term $a$ and last term $\ell$.

Sum of an AP
$$S_n = \frac{n}{2}(a + \ell) \qquad\qquad S_n = \frac{n}{2}\big(2a + (n - 1)d\big)$$

The second formula is the first with $\ell = T_n = a + (n - 1)d$ substituted. Use the first when you know the last term. Use the second when you know $d$ and the number of terms.

Using the formulas

Example 1: first and last term known●●

Find $12 + 17 + 22 + \cdots + 252$.

$12 + 5(n - 1) = 252$, so $5(n - 1) = 240$ and $n = 49$.
You need n before either formula works. Here a = 12 and d = 5.
$S_{49} = \dfrac{49}{2}(12 + 252) = \dfrac{49}{2} \times 264 = 6468$.
Now use the first formula, since we know the last term.
Example 2: d known●●

Find the sum of the first $30$ terms of $40, 37, 34, \ldots$

$S_{30} = \dfrac{30}{2}\big(80 + 29 \times (-3)\big) = 15 \times (-7) = -105$.
a = 40, d = −3, n = 30. The last term isn't given, so use the second formula.

A negative sum makes sense: the first $14$ terms are positive ($T_{14} = 1$), the rest are negative, and by the 30th term the negatives outweigh the positives.

How many terms for a given sum?

If the sum is known and $n$ is not, the formula becomes a quadratic in $n$. Keep only a positive whole-number answer.

Example 3●●●

How many terms of $3 + 7 + 11 + \cdots$ add to $820$?

$\dfrac{n}{2}\big(6 + 4(n - 1)\big) = 820$
a = 3, d = 4, and the sum is known.
$n(2n + 1) = 820$, so $2n^2 + n - 820 = 0$.
Simplify the bracket: 6 + 4n − 4 = 4n + 2, then halve.
$(n - 20)(2n + 41) = 0$, so $n = 20$. Reject $n = -20.5$.
Factor, or use the quadratic formula.

The partial sums of an AP lie on a parabola, because $S_n = \tfrac{d}{2}n^2 + \left(a - \tfrac{d}{2}\right)n$ is a quadratic in $n$.

Partial sums lie on a parabola

The AP starts at 10 and goes down by 2 each step. Drag P to read S₁, S₂, S₃ and so on

Try this

Find the largest partial sum. Which term of the AP is $0$, and why do two partial sums tie for the largest?

Your turn

Find the sum of all the multiples of $6$ between $50$ and $200$.

Show the working

The first is $54$ and the last is $198$. The number of terms is $\dfrac{198 - 54}{6} + 1 = 25$. The sum is $\dfrac{25}{2}(54 + 198) = \dfrac{25}{2} \times 252 = 3150$.

Flashcards
Sum of an AP, last term known
$S_n = \dfrac{n}{2}(a + \ell)$
Sum of an AP, difference known
$S_n = \dfrac{n}{2}\big(2a + (n - 1)d\big)$
Practice
  1. Find $2 + 5 + 8 + 11 + 14$ using $S_n = \dfrac n2(a + \ell)$.

  2. Find $1 + 2 + 3 + \cdots + 100$.

  3. Find the sum of the first $30$ terms of $40, 37, 34, \ldots$

  4. How many terms are in $12 + 17 + 22 + \cdots + 252$?

  5. Find $12 + 17 + 22 + \cdots + 252$.

  6. Find the sum of the multiples of $7$ between $100$ and $300$.

  7. $\displaystyle\sum_{k=1}^{20}(2k + 5) =$

  8. How many terms of $3 + 7 + 11 + \cdots$ add to $820$?

  9. Exam style: an AP has $S_{10} = 170$ and $S_{20} = 540$. Find the first term $a$.

  10. Exam style: find the largest value of $S_n$ for the AP $10, 8, 6, \ldots$

Formula sheet