Sums of natural numbers, squares, cubes and fourth powers, of odd and even numbers and their squares and cubes, and the alternating sum 1² − 2² + 3² − …
Lesson 2 of 4
3 min read
6 practice questions
What this lesson covers
Induction problems keep returning to a small set of sums: of 1's, of natural numbers, of their squares, cubes and fourth powers, and of odd or even numbers. This lesson collects those results. Each of them can itself be proved by induction, and knowing them by heart saves a lot of time.
Sums of powers of natural numbers
The symbol ∑ (sigma) means "add up". k=1∑nf(k) means f(1)+f(2)+⋯+f(n).
Sum of n ones. Adding 1 to itself n times gives n:
k=1∑n1=1+1+⋯+1(n terms)=n.
Sum of the first n natural numbers.
∑n=1+2+3+⋯+n=2n(n+1),∀n∈N.
Sum of the squares of the first n natural numbers.
∑n2=12+22+32+⋯+n2=6n(n+1)(2n+1),∀n∈N.
Sum of the cubes of the first n natural numbers. This one equals the square of the sum of the numbers themselves:
∑n3=13+23+⋯+n3=4n2(n+1)2=(∑n)2,∀n∈N.
Sum of fourth powers.
14+24+⋯+n4=∑n4=5n(n4−1)+6n(n+1)(3n2−n+1),
which simplifies to the more familiar form 30n(n+1)(2n+1)(3n2+3n−1).
A warning: the sum of the squares is not the square of the sum, ∑n2=(∑n)2. For n=2, 12+22=5 while (1+2)2=9. Only the cubes have the special property above.
Odd and even numbers
First n odd positive integers.
1+3+5+⋯+(2n−1)=n2.
First n even positive integers.
2+4+6+⋯+2n=n(n+1).
Squares of the odd numbers.
12+32+52+…(n terms)=k=1∑n(2k−1)2=3n(4n2−1).
Squares of the even numbers.
22+42+62+…(n terms)=k=1∑n(2k)2=32n(n+1)(2n+1).
This is just 4∑n2.
Cubes of the odd numbers.
13+33+53+…(n terms)=k=1∑n(2k−1)3=n2(2n2−1).
An alternating sum of squares
For the series 12−22+32−42+52−… to n terms,
12−22+32−⋯=⎩⎨⎧2n(n+1),−2n(n+1),if n is odd,if n is even.
Pairing terms explains it: 12−22=−3, 32−42=−7, and so on, and these pair sums add up to −2n(n+1) when n is even.