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 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 is written , and an AP with first term a and last term l sums to . 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
So 1 + 2 + ⋯ + 100 = 5050. The odd and even numbers follow:
- the first n odd numbers: ;
- the first n even numbers: .
Rules for Σ. A sum of n terms can be split and its constants taken out, because addition can be regrouped:
- (add the t’s and the u’s separately);
- (take out the common factor);
- (n terms, each c).
But a sum of products is not the product of sums: (for n = 2: 1 + 4 = 5, but ). 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 and .
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 .
- For every k, (expand ).
- Write it for k = 1, 2, …, n and add the n lines. On the left, : every cube but the first and last cancels, leaving .
- On the right, by the rules for Σ: .
- So .
- Take out (n + 1): .
Check: n = 3 gives . ✓ 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
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, , the of Example 1 again; the other 52 are the steps the layers make, at n = 10.
equals:
Pick an answer to see why.
4.3 Sum of cubes of first n natural numbers
The formula. Let . The same trick one power up:
- for every k.
- Add for k = 1 to n; the left telescopes: .
- (multiply out).
- , so .
The sum of the first n cubes is the square of the sum of the first n numbers: . The figure shows why.
Each L in Figure 4.1 is the square of side less the square of side :
so the n pieces, , fill the square of side 1 + 2 + ⋯ + n.
If 1 + 2 + ⋯ + n = 36, then 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. is prime for n = 1, 2, …, 40, and then 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
- P(1) is true (the base step), and
- 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 , step 3 is ; for , 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.
equals:
Pick an answer to see why.
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 “ is divisible by 2”. Assuming P(k), which line proves P(k + 1)?
Pick an answer to see why.
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 , 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 is:
Pick an answer to see why.
Short questions
- a.Find the sum of n terms of . (3 marks)
- b.Hence find . (2 marks)
Hint
Answer
Prove by mathematical induction that . (5 marks)
Answer
Find the sum of n terms of , and check your answer for n = 3. (5 marks)
Hint
Answer
- a.If , find n. (2 marks)
- b.Prove by mathematical induction that . (3 marks)
Answer
Long question
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 , , . (4 marks)
- c.Prove the same result by mathematical induction. (3 marks)
Hint
Answer
Project work
Printable PDFs
- Study notes 2 pages
- Worksheet 4 pages Answer key
- Harder practice questions 1 page Answer key
Practice every question in the book, and keep track of the ones you miss →
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.
