Prove by Induction: $w_k = w_{k-2} + k$

  • Thread starter Thread starter Arew
  • Start date Start date
  • Tags Tags
    Induction Proof
AI Thread Summary
The discussion focuses on proving the formula \( w_k = w_{k−2} + k \) for integers \( k \ge 3 \) using mathematical induction, with initial conditions \( w_1 = 1 \) and \( w_2 = 2 \). The explicit formulas for \( w_n \) are provided for both odd and even integers. Participants clarify the inductive step for odd integers and express concerns about whether even integers need separate treatment. It is emphasized that both the base case and the treatment of even integers are crucial for the proof's completeness. The conversation concludes with a consensus on the necessity of addressing all integers in the proof.
Arew
Messages
7
Reaction score
0

Homework Statement


Prove by induction $$w_k = w_{k−2} + k$$, for all integers $$k \ge 3, w_1 = 1,w_2 = 2$$ has an explicit formula
$$ w_n =\begin{cases}
\frac{(n+1)^2}{4}, & \text{if $n$ is odd} \\
\frac n2(\frac n2 + 1), & \text{if $n$ is even}
\end{cases}$$


Homework Equations



The Attempt at a Solution


[/B]
Inductive step for when n is odd:

Suppose $$w_k = \frac{(k+1)^2}{4}$$ if k is odd. Then by definition of w, we have $$w_{k + 2} = w_k + k + 2 = \frac{(k+1)^2}{4} + k + 2 = \frac {k^2 + 2k + 1}{4} + k + 2= \frac {k^2 + 6k + 8}{4} = \frac {(k +3)^2}{4} $$ if k + 2 is odd.

Is it important that we prove $$w_{k + 1} = \frac{(k+2)^2}{4}$$ if k+ 1 is odd or is the proof for $$w_{k + 2} = \frac{(k+3)^2}{4}$$ if k + 2 is enough?

If none of the above makes sense, can I please get help getting started with the inductive step.
 
Physics news on Phys.org
Arew said:

Homework Statement


Prove by induction $$w_k = w_{k−2} + k$$, for all integers $$k \ge 3, w_1 = 1,w_2 = 2$$ has an explicit formula
$$ w_n =\begin{cases}
\frac{(n+1)^2}{4}, & \text{if $n$ is odd} \\
\frac n2(\frac n2 + 1), & \text{if $n$ is even}
\end{cases}$$


Homework Equations



The Attempt at a Solution


[/B]
Inductive step for when n is odd:

Suppose $$w_k = \frac{(k+1)^2}{4}$$ if k is odd. Then by definition of w, we have $$w_{k + 2} = w_k + k + 2 = \frac{(k+1)^2}{4} + k + 2 = \frac {k^2 + 2k + 1}{4} + k + 2= \frac {k^2 + 6k + 8}{4} = \frac {(k +3)^2}{4} $$

It's fine to here. That's the odd numbers sorted out. Now, what about the even numbers?
 
Arew said:

Homework Statement


Prove by induction $$w_k = w_{k−2} + k$$, for all integers $$k \ge 3, w_1 = 1,w_2 = 2$$ has an explicit formula
$$ w_n =\begin{cases}
\frac{(n+1)^2}{4}, & \text{if $n$ is odd} \\
\frac n2(\frac n2 + 1), & \text{if $n$ is even}
\end{cases}$$


Homework Equations



The Attempt at a Solution


[/B]
Inductive step for when n is odd:

Suppose $$w_k = \frac{(k+1)^2}{4}$$ if k is odd. Then by definition of w, we have $$w_{k + 2} = w_k + k + 2 = \frac{(k+1)^2}{4} + k + 2 = \frac {k^2 + 2k + 1}{4} + k + 2= \frac {k^2 + 6k + 8}{4} = \frac {(k +3)^2}{4} $$ if k + 2 is odd.

Is it important that we prove $$w_{k + 1} = \frac{(k+2)^2}{4}$$ if k+ 1 is odd or is the proof for $$w_{k + 2} = \frac{(k+3)^2}{4}$$ if k + 2 is enough?

If none of the above makes sense, can I please get help getting started with the inductive step.
And the induction base? You have to verify this, too. It is really important and not just something annoying.
And what if k is even?
(Remark: there is a typo.)
 
PeroK said:
It's fine to here. That's the odd numbers sorted out. Now, what about the even numbers?

fresh_42 said:
And the induction base? You have to verify this, too. It is really important and not just something annoying.
And what if k is even?
(Remark: there is a typo.)

Thanks for the comments. Do we have to handle $$w_{k+1}$$ at all?
 
Arew said:
Thanks for the comments. Do we have to handle $$w_{k+1}$$ at all?
Why would you?
 
PeroK said:
Why would you?

I was worried we proved w_k for every other integer k. I see why that's wrong. Thanks.
 
Arew said:
I was worried we proved w_k for every other integer k. I see why that's wrong. Thanks.
With the induction base (two values), the odd numbers, which are covered by ##k \rightarrow k+2##, only the even are missing. What other numbers can you think of?
 
fresh_42 said:
With the induction base (two values), the odd numbers, which are covered by ##k \rightarrow k+2##, only the even are missing. What other numbers can you think of?

Can't think of anything else :) Thanks.
 
Back
Top