Skip to content

← Grade 12 Mathematics

Sequence and Series

Unit 4 · Algebra

Hide the stories, facts, photos, activities and interactives, for revising before an exam
What this builds on from class
In this unit 5 sections
  1. 4.1 Sum of finite natural numbers
  2. 4.2 Sum of squares of first n natural numbers
  3. 4.3 Sum of cubes of first n natural numbers
  4. 4.4 Principle of mathematical induction
  5. Exercise

Fruit sellers stack oranges in a square pyramid: a square of oranges at the bottom, a smaller square on top of it, each orange resting in the hollow between four below, up to a single orange at the top. Cannonballs were stacked the same way, and in the late 1500s, on a sea voyage, Sir Walter Raleigh asked the mathematician Thomas Harriot for a quick way to tell how many balls a stack held without counting them.

So here is this unit’s question: a pyramid of oranges has 10 on each side of its bottom layer; how many oranges are in it, and how could you know without counting? The layers hold 102,92,…,12 10^2, 9^2, \ldots, 1^2 oranges, so the question is a sum of squares. This unit finds the sums of the first n natural numbers, of their squares and of their cubes, and proves such formulas once and for all by mathematical induction. The answer comes at the end of 4.2.

4.1 Sum of finite natural numbers

What you need. From Grade 11, Unit 5: the sum Sn=t1+t2+⋯+tn S_n = t_1 + t_2 + \cdots + t_n is written ∑k=1ntk \sum_{k=1}^{n} t_k , and an AP with first term a and last term l sums to n2(a+l) \frac{n}{2}(a + l) . Grade 11 summed series whose terms grow by adding (AP) or multiplying (GP). The squares 1, 4, 9, 16, … do neither, and they are this unit’s business.

1 + 2 + ⋯ + n is an AP with a = 1, l = n: written forwards and backwards, each pair adds up to n + 1, and there are n pairs, so
∑k=1nk=1+2+3+⋯+n=n(n+1)2 \sum_{k=1}^{n} k = 1 + 2 + 3 + \cdots + n = \frac{n(n + 1)}{2}
So 1 + 2 + ⋯ + 100 = 5050. The odd and even numbers follow:

  • the first n odd numbers: 1+3+5+⋯+(2n−1)=n2(1+2n−1)=n2 1 + 3 + 5 + \cdots + (2n - 1) = \frac{n}{2}(1 + 2n - 1) = \mathbf{n^2} ;
  • the first n even numbers: 2+4+⋯+2n=2(1+2+⋯+n)=n(n+1) 2 + 4 + \cdots + 2n = 2(1 + 2 + \cdots + n) = \mathbf{n(n + 1)} .

Rules for Σ. A sum of n terms can be split and its constants taken out, because addition can be regrouped:

  1. ∑k=1n(tk+uk)=∑k=1ntk+∑k=1nuk \sum_{k=1}^{n} (t_k + u_k) = \sum_{k=1}^{n} t_k + \sum_{k=1}^{n} u_k (add the t’s and the u’s separately);
  2. ∑k=1nc tk=c∑k=1ntk \sum_{k=1}^{n} c\,t_k = c\sum_{k=1}^{n} t_k (take out the common factor);
  3. ∑k=1nc=c+c+⋯+c=nc \sum_{k=1}^{n} c = c + c + \cdots + c = nc (n terms, each c).

But a sum of products is not the product of sums: ∑k2≠(∑k)2 \sum k^2 \ne \left(\sum k\right)^2 (for n = 2: 1 + 4 = 5, but 32=9 3^2 = 9 ). So whenever the kth term is a polynomial in k, multiply it out into powers of k and sum each power. For that we need ∑k2 \sum k^2 and ∑k3 \sum k^3 .

2 + 4 + 6 + ⋯ + 100 equals:

Pick an answer to see why.

4.2 Sum of squares of first n natural numbers

The formula. The trick is to add up something whose sum is easy and in which the squares appear: differences of cubes do both. Let S=12+22+⋯+n2 S = 1^2 + 2^2 + \cdots + n^2 .

  1. For every k, (k+1)3−k3=3k2+3k+1 (k + 1)^3 - k^3 = 3k^2 + 3k + 1 (expand (k+1)3=k3+3k2+3k+1 (k + 1)^3 = k^3 + 3k^2 + 3k + 1 ).
  2. Write it for k = 1, 2, …, n and add the n lines. On the left, (23−13)+(33−23)+⋯+((n+1)3−n3) (2^3 - 1^3) + (3^3 - 2^3) + \cdots + ((n + 1)^3 - n^3) : every cube but the first and last cancels, leaving (n+1)3−1 (n + 1)^3 - 1 .
  3. On the right, by the rules for Σ: 3S+3⋅n(n+1)2+n 3S + 3\cdot\frac{n(n + 1)}{2} + n .
  4. So 3S=(n+1)3−1−3n(n+1)2−n=(n+1)3−(n+1)−3n(n+1)2 3S = (n + 1)^3 - 1 - \frac{3n(n + 1)}{2} - n = (n + 1)^3 - (n + 1) - \frac{3n(n + 1)}{2} .
  5. Take out (n + 1): 3S=(n+1)[(n+1)2−1−3n2]=(n+1)⋅2n2+n2=n(n+1)(2n+1)2 3S = (n + 1)\left[(n + 1)^2 - 1 - \frac{3n}{2}\right] = (n + 1)\cdot\frac{2n^2 + n}{2} = \frac{n(n + 1)(2n + 1)}{2} .

∑k=1nk2=12+22+⋯+n2=n(n+1)(2n+1)6 \sum_{k=1}^{n} k^2 = 1^2 + 2^2 + \cdots + n^2 = \frac{n(n + 1)(2n + 1)}{6}
Check: n = 3 gives 3⋅4⋅76=14=1+4+9 \frac{3 \cdot 4 \cdot 7}{6} = 14 = 1 + 4 + 9 . ✓ Step 2, where all but two terms cancel like the tubes of a telescope closing, is called telescoping.

Back to the stack

The pyramid with 10 oranges on a side holds
12+22+⋯+102=10×11×216=385 1^2 + 2^2 + \cdots + 10^2 = \frac{10 \times 11 \times 21}{6} = \mathbf{385}
oranges. That is the kind of answer Raleigh wanted: from the number along the bottom edge, the count of the whole stack, without counting. And the stack is close to a pyramid’s volume, 13×base×height=10003≈333 \frac{1}{3} \times \text{base} \times \text{height} = \frac{1000}{3} \approx 333 , the n33 \frac{n^3}{3} of Example 1 again; the other 52 are the steps the layers make, n22+n6 \frac{n^2}{2} + \frac{n}{6} at n = 10.

12+22+⋯+202 1^2 + 2^2 + \cdots + 20^2 equals:

Pick an answer to see why.

4.3 Sum of cubes of first n natural numbers

The formula. Let T=13+23+⋯+n3 T = 1^3 + 2^3 + \cdots + n^3 . The same trick one power up:

  1. (k+1)4−k4=4k3+6k2+4k+1 (k + 1)^4 - k^4 = 4k^3 + 6k^2 + 4k + 1 for every k.
  2. Add for k = 1 to n; the left telescopes: (n+1)4−1=4T+6∑k2+4∑k+n (n + 1)^4 - 1 = 4T + 6\sum k^2 + 4\sum k + n .
  3. 6∑k2+4∑k+n=n(n+1)(2n+1)+2n(n+1)+n=2n3+5n2+4n 6\sum k^2 + 4\sum k + n = n(n + 1)(2n + 1) + 2n(n + 1) + n = 2n^3 + 5n^2 + 4n (multiply out).
  4. (n+1)4−1=n4+4n3+6n2+4n (n + 1)^4 - 1 = n^4 + 4n^3 + 6n^2 + 4n , so 4T=n4+2n3+n2=n2(n+1)2 4T = n^4 + 2n^3 + n^2 = n^2(n + 1)^2 .

∑k=1nk3=13+23+⋯+n3=[n(n+1)2]2=(∑k=1nk)2 \sum_{k=1}^{n} k^3 = 1^3 + 2^3 + \cdots + n^3 = \left[\frac{n(n + 1)}{2}\right]^2 = \left(\sum_{k=1}^{n} k\right)^2
The sum of the first n cubes is the square of the sum of the first n numbers: 1+8+27+64=100=(1+2+3+4)2 1 + 8 + 27 + 64 = 100 = (1 + 2 + 3 + 4)^2 . The figure shows why.

1827641234
Figure 4.1 A square of side 1 + 2 + 3 + 4 = 10, cut into L-shaped pieces. The piece added at step k has width k and arms of length 1 + 2 + ⋯ + k; its area works out to k3 k^3 : 1, 8, 27, 64.

Each L in Figure 4.1 is the square of side k(k+1)2 \frac{k(k + 1)}{2} less the square of side (k−1)k2 \frac{(k - 1)k}{2} :
[k(k+1)2]2−[(k−1)k2]2=k24[(k+1)2−(k−1)2]=k24⋅4k=k3 \left[\tfrac{k(k + 1)}{2}\right]^2 - \left[\tfrac{(k - 1)k}{2}\right]^2 = \tfrac{k^2}{4}\left[(k + 1)^2 - (k - 1)^2\right] = \tfrac{k^2}{4}\cdot 4k = k^3
so the n pieces, 13+23+⋯+n3 1^3 + 2^3 + \cdots + n^3 , fill the square of side 1 + 2 + ⋯ + n.

If 1 + 2 + ⋯ + n = 36, then 13+23+⋯+n3 1^3 + 2^3 + \cdots + n^3 is:

Pick an answer to see why.

4.4 Principle of mathematical induction

A formula checked for n = 1, 2, 3, or even for a thousand values, is not proved. n2−n+41 n^2 - n + 41 is prime for n = 1, 2, …, 40, and then 412−41+41=412 41^2 - 41 + 41 = 41^2 is not. Induction proves a statement about every natural number in two finite steps.

Picture a long line of dominoes. If the first one falls, and if whenever one falls, it knocks over the next, then every domino falls: the first knocks the second, the second the third, and so on without end. Neither part alone is enough: a line with a wide gap somewhere stops there, and a perfect line nobody pushes never falls.

The principle of mathematical induction. Let P(n) be a statement about the natural number n. If

  1. P(1) is true (the base step), and
  2. for every natural number k, if P(k) is true then P(k + 1) is true (the inductive step),

then P(n) is true for every natural number n. In the inductive step, P(k) is not known to be true: it is assumed (the induction hypothesis), and the work is to show that P(k + 1) follows from it.

The sums of 4.1 and 4.3 are proved the same way. For ∑k \sum k , step 3 is k(k+1)2+(k+1)=(k+1)(k+2)2 \frac{k(k + 1)}{2} + (k + 1) = \frac{(k + 1)(k + 2)}{2} ; for ∑k3 \sum k^3 , it is short question 4 of the exercise.

Finding a sum. Induction needs the formula in hand. To find a sum, work out the first few, guess the pattern, and let induction prove the guess.

Exercise

Choose the correct option

The sum of the squares of the first n natural numbers is:

Pick an answer to see why.

The first step of a proof by mathematical induction is to:

Pick an answer to see why.

The sum of the first 15 odd natural numbers is:

Pick an answer to see why.

∑k=110(k2+1) \sum_{k=1}^{10} (k^2 + 1) equals:

Pick an answer to see why.

13+23+⋯+103 1^3 + 2^3 + \cdots + 10^3 equals:

Pick an answer to see why.

The nth term of 1 · 3 + 2 · 5 + 3 · 7 + ⋯ is:

Pick an answer to see why.

P(n) is “3n−1 3^n - 1 is divisible by 2”. Assuming P(k), which line proves P(k + 1)?

Pick an answer to see why.

112+122+⋯+202 11^2 + 12^2 + \cdots + 20^2 equals:

Pick an answer to see why.

A square pyramid of oranges has 204 oranges in all. How many are in its bottom layer?

Pick an answer to see why.

In 1∣3+5∣7+9+11∣… 1 \mid 3 + 5 \mid 7 + 9 + 11 \mid \ldots , the nth group has n odd numbers. The sum of the 20th group is:

Pick an answer to see why.

The largest n for which 12+22+⋯+n2<1000 1^2 + 2^2 + \cdots + n^2 < 1000 is:

Pick an answer to see why.

Short questions

1.
  • a.Find the sum of n terms of 12+32+52+⋯ 1^2 + 3^2 + 5^2 + \cdots . (3 marks)
  • b.Hence find 12+32+52+⋯+192 1^2 + 3^2 + 5^2 + \cdots + 19^2 . (2 marks)
Hint
Answer
2.

Prove by mathematical induction that 11⋅3+13⋅5+⋯+1(2n−1)(2n+1)=n2n+1 \dfrac{1}{1 \cdot 3} + \dfrac{1}{3 \cdot 5} + \cdots + \dfrac{1}{(2n - 1)(2n + 1)} = \dfrac{n}{2n + 1} . (5 marks)

Answer
3.

Find the sum of n terms of 2⋅12+3⋅22+4⋅32+⋯ 2 \cdot 1^2 + 3 \cdot 2^2 + 4 \cdot 3^2 + \cdots , and check your answer for n = 3. (5 marks)

Hint
Answer
4.
  • a.If 13+23+⋯+n3=2025 1^3 + 2^3 + \cdots + n^3 = 2025 , find n. (2 marks)
  • b.Prove by mathematical induction that 13+23+⋯+n3=[n(n+1)2]2 1^3 + 2^3 + \cdots + n^3 = \left[\dfrac{n(n + 1)}{2}\right]^2 . (3 marks)
Answer

Long question

5.

Consider the series 1 · 2 · 3 + 2 · 3 · 4 + 3 · 4 · 5 + ⋯

  • a.Write its nth term and expand it in powers of n. (1 mark)
  • b.Find the sum of its first n terms using ∑k \sum k , ∑k2 \sum k^2 , ∑k3 \sum k^3 . (4 marks)
  • c.Prove the same result by mathematical induction. (3 marks)
Hint
Answer

Project work

Where these facts come from
  • The cannonball problem, posed by Walter Raleigh to Thomas Harriot in the late 1500s, on a sea voyage: Wikipedia, “Square pyramidal number”, read November 2026.
  • Nicomachus’ odd numbers and the cubes; the identity in Āryabhaṭa (5th century) and al-Karajī (c. 1000); Row’s multiplication table (Geometric Exercises in Paper Folding, Madras, 1893) and its nested L-shapes: Wikipedia, “Squared triangular number”; al-Karajī born near Tehran, working in Baghdad, his inductive proof for the cubes in al-Fakhrī: Wikipedia, “Al-Karaji”; both read November 2026. Āryabhaṭa’s rules for summing the first n integers, their squares and their cubes: MacTutor, “Aryabhata I”, read November 2026.
  • Definitions and proofs checked against OpenStax, Precalculus 2e, 13.1–13.4 (CC BY 4.0).
  • The unit’s items: CDC, Secondary Education Curriculum 2078, Mathematics, Grades 11–12, Grade 12 content 1.4 and learning outcomes 1.14–1.15; the marks: CDC, Specification Grid 2078, Mathematics (Mat. 402), Grade 12, and its Model question 2080; IOE, BE/BArch Entrance Syllabus 2083, Mathematics.

Found a mistake? Please tell us.