Is My Proof by Induction Correct?

  • Thread starter Thread starter zooxanthellae
  • Start date Start date
  • Tags Tags
    Induction Proof
AI Thread Summary
The discussion centers on proving the formula 1^3 + ... + n^3 = (1 + ... + n)^2 using mathematical induction. The initial step confirms the base case for n=1, and the attempt to show that if the formula holds for n, it also holds for n+1 is outlined. Participants suggest refining the proof by starting with the expression for n+1 and working towards the desired conclusion more efficiently. The importance of clear expression and reversible operations in the proof is emphasized to ensure correctness. Overall, the proof by induction appears to be complete, but participants encourage simplification and clarity in the explanation.
zooxanthellae
Messages
157
Reaction score
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.
 
Physics news on Phys.org
zooxanthellae said:

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.
Something like "... if the statement is true for n, then it will be true for n + 1" is what you want to say. n is a number, not something that is true or false.

What you have is a sequence of statements P(1), P(2), ..., P(n), P(n + 1), ... You show that P(1) or some other base-case statement is true, then show that if P(n) is true, it necessarily follows that P(n + 1) is true as well.
zooxanthellae said:
Here goes:

1^3 + ... + n^3 = (1 + ... + n)^2
OK, this is P(n).
zooxanthellae said:
1^3 + ... + n^3 + (n+1)^3 = (1 + ... + n)^2 + (n + 1)^3
And this is P(n + 1).
zooxanthellae said:
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.
Don't start off assuming what you want to show. Start with 1^3 + 2^3 + ... + n^3 + (n + 1)^on the left side and work with it until you reach (1 + 2 + ... + n + (n + 1))^2.

BTW, you can cut probably half or more of what you have below.
zooxanthellae said:
(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
Above, you have reached a statement that is identically true. If you can convince yourself and me that all of your steps are reversible operations, then you can conclude that the original equation must also be true.

A better way to do things, IMO, is to start with
(1 + ... + n)^2 + (n + 1)^3

and work with it to reach
(1 + ... + n + n + 1)^2

zooxanthellae said:
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.

1^3 + 2^3 ... + n^3 + (n + 1)^3 = (1 + 2 + ... + n)^2 + (n + 1)^3 \text{By induction hypothesis}
= (\frac{n(n + 1)}{2})^2 + (n + 1)^3
= \frac{n^2(n + 1)^2}{4} + \frac{4(n + 1)^3}{4}
= \frac{(n + 1)^2(n^2 + 4n + 4)}{4} = \frac{(n + 1)^2(n + 2)^2}{4}
= (1 + 2 + ... + n + (n + 1))^2
Therefore (you should use this only once)
1^3 + 2^3 ... + n^3 + (n + 1)^3 = (1 + 2 + ... + n + (n + 1))^2
 
Mark44 said:
Something like "... if the statement is true for n, then it will be true for n + 1" is what you want to say. n is a number, not something that is true or false.

This was an error of expression on my part. I meant what you said (that " the statement is true for n".)

...Don't start off assuming what you want to show. Start with 1^3 + 2^3 + ... + n^3 + (n + 1)^on the left side and work with it until you reach (1 + 2 + ... + n + (n + 1))^2.

Again this is an error of expression on my part. By writing that, I was really trying to say something along the lines of "can we prove that this expression is true?" However, I will keep your point in mind in future problems, since I can see how what I wrote is actually wrong.

BTW, you can cut probably half or more of what you have below.
Above, you have reached a statement that is identically true. If you can convince yourself and me that all of your steps are reversible operations, then you can conclude that the original equation must also be true.

A better way to do things, IMO, is to start with
(1 + ... + n)^2 + (n + 1)^3

and work with it to reach
(1 + ... + n + n + 1)^2
...

Ah, I can see how your way accomplishes the same result in a much shorter time (and so, I guess, is a better proof). I suppose my long-winded proof is the way it is because I didn't stop to clean it up any (the proof is the thought process I went through).
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top