Is My Proof by Induction Correct?

I suppose a more formal proof would look like this:Base Case: For n = 1, we have 1^3 = (1)^2, and thus the formula holds true. Inductive Step: Assume that the formula holds true for some integer k, i.e. 1^3 + 2^3 + ... + k^3 = (1 + 2 + ... + k)^2. Now we must show that the formula holds true for k + 1, i.e. 1^3 + 2^3 + ... + k^3 + (k + 1)^3 = (1 + 2 + ... + k + (k + 1))^2. Using
  • #1
zooxanthellae
157
1

Homework Statement



Prove the formula by induction:

[tex]1^3 + ... + n^3 = (1 + ... + n)^2[/tex]

Homework Equations



[tex]1 + ... + n = n(n+1)/2[/tex]

The Attempt at a Solution



I started by showing that the formula holds for 1, since:

[tex]1^3 = (1)^2 = 1[/tex]

Then I set about trying to prove that, if [tex]n[/tex] is true then [tex]n+1[/tex] is true as well, since this would prove the formula since we have our first validation of [tex]n[/tex] in the correct formula for [tex]1^3[/tex]. Here goes:

[tex] 1^3 + ... + n^3 = (1 + ... + n)^2[/tex]

[tex] 1^3 + ... + n^3 + (n+1)^3 = (1 + ... + n)^2 + (n + 1)^3[/tex]

Now I'll work with [tex](1 + ... + n)^2 + (n + 1)^3[/tex], since that is equivalent to [tex] 1^3 + ... + n^3 + (n + 1)^3[/tex].

I'm trying to prove, then, that [tex](1 + ... + n)^2 + (n + 1)^3 = (1 + ... + n + n + 1)^2[/tex].

[tex](1 + ... + n)^2 + (n + 1)^3 = (1 + ... + n + n + 1)^2[/tex]

[tex](n + 1)^3 = (1 + ... + n + n + 1)^2 - (1 + ... + n)^2[/tex]

[tex](n + 1)^3 = 2(n + 1)(1 + ... + n) + (n + 1)^2[/tex]

Next I used the relevant equation:

[tex](n + 1)^3 = 2(n + 1)(n(n + 1)/2) + (n + 1)^2[/tex]

Now it's just basic algebra:

[tex](n + 1)^3 = (n + 1)(n)(n + 1) + (n + 1)^2[/tex]

[tex](n + 1)(n+1)(n+1) = (n+1)(n^2 + n) + (n^2 + 2n + 1)[/tex]

[tex](n^2 + 2n + 1)(n + 1) = (n^3 + 2n^2 + n) + (n^2 + 2n + 1)[/tex]

[tex] n^3 + 3n^2 + 3n + 1 = n^3 + 3n^2 + 3n + 1[/tex]

Therefore:

[tex](1 + ... + n)^2 + (n + 1)^3 = (1 + ... + n + n + 1)^2[/tex].

Therefore:

[tex](1 + ... + n + n + 1)^2 = (1^3 + ... + n^3 + (n+1)^3)[/tex].

So what is true for [tex]n[/tex] is true for [tex]n + 1[/tex] 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
  • #2
zooxanthellae said:

Homework Statement



Prove the formula by induction:

[tex]1^3 + ... + n^3 = (1 + ... + n)^2[/tex]


Homework Equations



[tex]1 + ... + n = n(n+1)/2[/tex]


The Attempt at a Solution



I started by showing that the formula holds for 1, since:

[tex]1^3 = (1)^2 = 1[/tex]

Then I set about trying to prove that, if [tex]n[/tex] is true then [tex]n+1[/tex] is true as well, since this would prove the formula since we have our first validation of [tex]n[/tex] in the correct formula for [tex]1^3[/tex].
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:

[tex] 1^3 + ... + n^3 = (1 + ... + n)^2[/tex]
OK, this is P(n).
zooxanthellae said:
[tex] 1^3 + ... + n^3 + (n+1)^3 = (1 + ... + n)^2 + (n + 1)^3[/tex]
And this is P(n + 1).
zooxanthellae said:
Now I'll work with [tex](1 + ... + n)^2 + (n + 1)^3[/tex], since that is equivalent to [tex] 1^3 + ... + n^3 + (n + 1)^3[/tex].

I'm trying to prove, then, that [tex](1 + ... + n)^2 + (n + 1)^3 = (1 + ... + n + n + 1)^2[/tex].
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:
[tex](1 + ... + n)^2 + (n + 1)^3 = (1 + ... + n + n + 1)^2[/tex]

[tex](n + 1)^3 = (1 + ... + n + n + 1)^2 - (1 + ... + n)^2[/tex]

[tex](n + 1)^3 = 2(n + 1)(1 + ... + n) + (n + 1)^2[/tex]

Next I used the relevant equation:

[tex](n + 1)^3 = 2(n + 1)(n(n + 1)/2) + (n + 1)^2[/tex]

Now it's just basic algebra:

[tex](n + 1)^3 = (n + 1)(n)(n + 1) + (n + 1)^2[/tex]

[tex](n + 1)(n+1)(n+1) = (n+1)(n^2 + n) + (n^2 + 2n + 1)[/tex]

[tex](n^2 + 2n + 1)(n + 1) = (n^3 + 2n^2 + n) + (n^2 + 2n + 1)[/tex]

[tex] n^3 + 3n^2 + 3n + 1 = n^3 + 3n^2 + 3n + 1[/tex]
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
[tex](1 + ... + n)^2 + (n + 1)^3 [/tex]

and work with it to reach
[tex] (1 + ... + n + n + 1)^2[/tex]

zooxanthellae said:
Therefore:

[tex](1 + ... + n)^2 + (n + 1)^3 = (1 + ... + n + n + 1)^2[/tex].

Therefore:

[tex](1 + ... + n + n + 1)^2 = (1^3 + ... + n^3 + (n+1)^3)[/tex].

So what is true for [tex]n[/tex] is true for [tex]n + 1[/tex] 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.

[tex]1^3 + 2^3 ... + n^3 + (n + 1)^3 = (1 + 2 + ... + n)^2 + (n + 1)^3 \text{By induction hypothesis}[/tex]
[tex]= (\frac{n(n + 1)}{2})^2 + (n + 1)^3[/tex]
[tex]= \frac{n^2(n + 1)^2}{4} + \frac{4(n + 1)^3}{4}[/tex]
[tex]= \frac{(n + 1)^2(n^2 + 4n + 4)}{4} = \frac{(n + 1)^2(n + 2)^2}{4}[/tex]
[tex]= (1 + 2 + ... + n + (n + 1))^2[/tex]
Therefore (you should use this only once)
[tex]1^3 + 2^3 ... + n^3 + (n + 1)^3 = (1 + 2 + ... + n + (n + 1))^2[/tex]
 
  • #3
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
[tex](1 + ... + n)^2 + (n + 1)^3 [/tex]

and work with it to reach
[tex] (1 + ... + n + n + 1)^2[/tex]
...

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).
 

FAQ: Is My Proof by Induction Correct?

What is proof by induction?

Proof by induction is a mathematical technique used to prove that a statement or formula holds true for all natural numbers. It involves breaking down a problem into smaller parts and proving that the statement holds true for the smallest value (usually 0 or 1), and then showing that if it holds true for a particular value, it also holds true for the next value.

How do I know if my proof by induction is correct?

To determine if your proof by induction is correct, you should follow these steps: 1) Clearly state the statement or formula you are trying to prove. 2) Prove that the statement holds true for the base case (usually 0 or 1). 3) Assume the statement holds true for a particular value. 4) Use this assumption to prove that the statement also holds true for the next value. 5) Conclude by stating that the statement holds true for all natural numbers.

What are common mistakes to avoid in proof by induction?

Some common mistakes to avoid in proof by induction include: 1) Using the wrong base case. 2) Not clearly stating the statement or formula being proven. 3) Making faulty assumptions. 4) Skipping steps in the proof. 5) Using circular reasoning.

Can I use proof by induction to prove any statement?

No, proof by induction is specifically used to prove statements that hold true for all natural numbers. It cannot be used to prove statements about real numbers or irrational numbers, as they are not discrete and cannot be broken down into smaller parts.

Are there any alternatives to proof by induction?

Yes, there are other methods of proof such as direct proof, proof by contradiction, and proof by contrapositive. These methods may be more suitable for certain types of statements and problems, so it is important to understand all the different proof techniques and choose the one that is most appropriate for the given statement.

Back
Top