zooxanthellae
- 157
- 1
Homework Statement
Prove the formula by induction:
1^3 + ... + n^3 = (1 + ... + n)^2
Homework Equations
1 + ... + n = n(n+1)/2
The Attempt at a Solution
I started by showing that the formula holds for 1, since:
1^3 = (1)^2 = 1
Then I set about trying to prove that, if n is true then n+1 is true as well, since this would prove the formula since we have our first validation of n in the correct formula for 1^3. Here goes:
1^3 + ... + n^3 = (1 + ... + n)^2
1^3 + ... + n^3 + (n+1)^3 = (1 + ... + n)^2 + (n + 1)^3
Now I'll work with (1 + ... + n)^2 + (n + 1)^3, since that is equivalent to 1^3 + ... + n^3 + (n + 1)^3.
I'm trying to prove, then, that (1 + ... + n)^2 + (n + 1)^3 = (1 + ... + n + n + 1)^2.
(1 + ... + n)^2 + (n + 1)^3 = (1 + ... + n + n + 1)^2
(n + 1)^3 = (1 + ... + n + n + 1)^2 - (1 + ... + n)^2
(n + 1)^3 = 2(n + 1)(1 + ... + n) + (n + 1)^2
Next I used the relevant equation:
(n + 1)^3 = 2(n + 1)(n(n + 1)/2) + (n + 1)^2
Now it's just basic algebra:
(n + 1)^3 = (n + 1)(n)(n + 1) + (n + 1)^2
(n + 1)(n+1)(n+1) = (n+1)(n^2 + n) + (n^2 + 2n + 1)
(n^2 + 2n + 1)(n + 1) = (n^3 + 2n^2 + n) + (n^2 + 2n + 1)
n^3 + 3n^2 + 3n + 1 = n^3 + 3n^2 + 3n + 1
Therefore:
(1 + ... + n)^2 + (n + 1)^3 = (1 + ... + n + n + 1)^2.
Therefore:
(1 + ... + n + n + 1)^2 = (1^3 + ... + n^3 + (n+1)^3).
So what is true for n is true for n + 1 and the proof by induction seems to be complete. I just learned this method of proof, so critiques appreciated. Sorry for how long it is! I have a feeling it could be cleaned up more than a little bit.
Thanks.