Maths WorkshopMaths problems with full solutions
Exercise 1043Logic, sets and proofs › Proof techniques › InductionL1Added 3 Nov 2026

Sum of cubes

#induction#sum of cubes

Statement

Prove by induction: ∑k=1nk3=(n(n+1)2)2\sum_{k=1}^n k^3=\left(\frac{n(n+1)}{2}\right)^2.

Hint

Note that 13+⋯+n3=(1+⋯+n)21^3+\cdots+n^3=(1+\cdots+n)^2.

Show solutionHide solution

Solution

Base case. n=1n=1: 1=121=1^2. ✓

Inductive step. Assume the identity. Then
∑k=1n+1k3=n2(n+1)24+(n+1)3=(n+1)2[n2+4(n+1)]4=(n+1)2(n+2)24.\sum_{k=1}^{n+1}k^3=\frac{n^2(n+1)^2}{4}+(n+1)^3=\frac{(n+1)^2[n^2+4(n+1)]}{4}=\frac{(n+1)^2(n+2)^2}{4}.
That's ((n+1)(n+2)2)2\left(\frac{(n+1)(n+2)}{2}\right)^2.

Conclusion. The formula holds.