How the heck do I do this induction proof?
should I prove n=0 as the base case?
\[\mathbb{Z}^+ \] are the integers starting with 1. So you need to use n=1 as your base case. Another reason why you should use n=1 as your base case is because the summation starts from i=1
@surjithayer
correct you should start for i=1
then assume for i=k then prove for i=k+1
so for the base case 1 <= 1, therefore it holds?
k has to be a positive integer?
@Bobo-i-bo Do you know how i'm supposed to write out the inductive step?
So what is the hypothesis? Do you understand what i mean by my question?
your question?
for the hypothesis we assume i=k
and say that it should be equal to i=k+1 for the equation, but how do we plug in the k for the summation part?
Okay. So the hypothesis/assumption is that when i is equal to some number k, then \[sum_{i=1}^{k}\frac{1}{i^2} \le 2-\frac{1}{k}\] So we have to try and prove that if that is true for when i equal to that number k, then when i=k+1, the formula also holds, ie. that \[sum_{i=1}^{k}\frac{1}{i^2} ]le 2-\frac{1}{k}\]
does that make sense?
umm not really
the second part, is confusing
sorry the latex didn't come out right, they were meant to say this: \[\sum_{i=1}^{k}\frac{1}{i^2} \le 2-\frac{1}{k}\] and \[\sum_{i=1}^{k+1}\frac{1}{i^2} \le 2-\frac{1}{k+1}\]
Is that better? :P
Oh, yeah that makes more sense
The induction step is the idea that we do 2 things 1) Make an assumption that the formula holds true for any general case. We call this case k since we don't want to say something like "case 3". So in this part, we're assuming the formula holds true when n = k 2) after the step done above, we need to prove that the formula holds true when n = k+1. If we can show this, then it effectively shows that for any value of n, the next value of n works too. Imagine a row of dominoes. One knocks down the other one at a time. This is what the inductive step is in a sense
So we have the assumption, just need to prove that the formula holds now?
yes and you'll use the assumption to help prove the n=k+1 case
hint: \[\Large \sum_{i = 1}^{k+1}\left[\frac{1}{i^2}\right]=\sum_{i = 1}^{k}\left[\frac{1}{i^2}\right]+\frac{1}{(k+1)^2}\]
So is that just algebra?
yes more or less
Also, this fact may help If `a < b` then `b = a+m` where m is some real number such that `m > 0`
umm okay
I don't understand your first hint however
I broke up the summation pulling out the expression \[\Large \sum_{i = 1}^{k}\left[\frac{1}{i^2}\right]\]
this is to be able to use the assumption (the n=k case)
and the second part is the assumption?
the 1/(k+1)^2 part?
yup
no, the assumption sums from `i = 1` to `i = k` (since we stop when n = k)
the extra `1/(k+1)^2` added on is the n = k+1 case that we need to prove
oh alright
so now we have to prove both sides are equal?
let's start with the assumption (n = k case) if we say \[\Large \sum_{i = 1}^{k}\left[\frac{1}{i^2}\right] \le 2 - \frac{1}{k}\] then that is the same as saying \[\Large \sum_{i = 1}^{k}\left[\frac{1}{i^2}\right]+m = 2 - \frac{1}{k}\] where m is some positive real number Agreed? or no?
yes
because of this: iIf a < b then b = a+m where m is some real number such that m > 0
ok let's isolate the summation by subtracting m from both sides \[\Large \sum_{i = 1}^{k}\left[\frac{1}{i^2}\right]+m = 2 - \frac{1}{k}\] \[\Large \sum_{i = 1}^{k}\left[\frac{1}{i^2}\right] = 2 - \frac{1}{k}-m\]
This will be used later on. Let's now focus on the n=k+1 case We need to prove the following \[\Large \sum_{i = 1}^{k+1}\left[\frac{1}{i^2}\right] \le 2 - \frac{1}{k+1}\] and we'll use the assumption to do this
with me so far?
yup
ok let's break up the summation on the left side \[\Large \sum_{i = 1}^{k+1}\left[\frac{1}{i^2}\right] \le 2 - \frac{1}{k+1}\] \[\Large \sum_{i = 1}^{k}\left[\frac{1}{i^2}\right]+\frac{1}{(k+1)^2} \le 2 - \frac{1}{k+1}\] and we'll make a subsitution using the previous summation we solved for \[\Large \sum_{i = 1}^{k}\left[\frac{1}{i^2}\right]+\frac{1}{(k+1)^2} \le 2 - \frac{1}{k+1}\] \[\Large {\color{red}{\sum_{i = 1}^{k}\left[\frac{1}{i^2}\right]}}+\frac{1}{(k+1)^2} \le 2 - \frac{1}{k+1}\] \[\Large {\color{red}{2 - \frac{1}{k}-m}}+\frac{1}{(k+1)^2} \le 2 - \frac{1}{k+1}\]
Sorry 1/(k+1)^2 added to the summation to break it up is because we're doing the k+1 case right?
correct
okay so what we have now has to somehow prove to be equal?
I'm thinking of how to do the next step. One moment
well I guess we can subtract 2 from both sides \[\Large {\color{black}{2 - \frac{1}{k}-m}}+\frac{1}{(k+1)^2} \le 2 - \frac{1}{k+1}\] \[\Large {\color{black}{2 - \frac{1}{k}-m}}+\frac{1}{(k+1)^2}{\color{blue}{-2}} \le 2 - \frac{1}{k+1}{\color{blue}{-2}}\] \[\Large {\color{black}{- \frac{1}{k}-m}}+\frac{1}{(k+1)^2} \le - \frac{1}{k+1}\]
Then we can multiply both sides by -1. So to make the right side positive \[\Large {\color{black}{- \frac{1}{k}-m}}+\frac{1}{(k+1)^2} \le - \frac{1}{k+1}\] \[\Large -1*\left({\color{black}{- \frac{1}{k}-m}}+\frac{1}{(k+1)^2}\right) \le -1*\left(- \frac{1}{k+1}\right)\] \[\Large \frac{1}{k}+m-\frac{1}{(k+1)^2} \ge \frac{1}{k+1}\] side note: the inequality sign flips
oh okay
Notice how 1/k gets smaller as k gets larger (1/2 ---> 1/3 ---> 1/4 etc) The general rule is this 1/k > 1/(k+1) for any positive number k Since `1/k > 1/(k+1)` we can say `1/k = 1/(k+1)+p` where p is some positive real number
so let's do that substitution and simplify a bit \[\Large \frac{1}{k}+m-\frac{1}{(k+1)^2} \ge \frac{1}{k+1}\] \[\Large {\color{red}{\frac{1}{k}}}+m-\frac{1}{(k+1)^2} \ge \frac{1}{k+1}\] \[\Large {\color{red}{\frac{1}{k+1}+p}}+m-\frac{1}{(k+1)^2} \ge \frac{1}{k+1}\] \[\Large \frac{1}{k+1}+p+m-\frac{1}{(k+1)^2} \ge \frac{1}{k+1}\] \[\Large p+m-\frac{1}{(k+1)^2} \ge 0\]
sp p and m are both reals > 0?
hmm still thinking on how to wrap it all up though
yes m > 0 p > 0
So do you need both?
I guess you could say q = p+m then replace `p+m` with `q` that would mean q > 0
a lot of variables being thrown in
let me see if there's another way to do this without adding in those extra variables
alrighty
ok do you agree that \[\Large \sum_{i = 1}^{k}\left[\frac{1}{i^2}\right] = \frac{1}{1^2}+\frac{1}{2^2}+\ldots+\frac{1}{k^2}\]
How come?
the summation is shorthand for saying "sum these terms up" so instead of saying `1+2+3+4+5+6+7+8` we can say \[\Large \sum_{i=1}^{8}i\]
Oh okay I get it
so saying \[\Large \sum_{i = 1}^{k}\left[\frac{1}{i^2}\right] \le 2 - \frac{1}{k}\] is the same as saying \[\Large \frac{1}{1^2}+\frac{1}{2^2}+\ldots+\frac{1}{k^2} \le 2 - \frac{1}{k}\]
agreed? or no?
yes
but how does that help?
Sorry one second, it's taking a bit longer for me to format it
ok so I messed up and it's taking way to long to write out, esp with LaTex. I found this video here and it pretty much goes through it step by step. So to avoid re-inventing the wheel, so to speak, it's probably better to watch it and follow that method https://www.youtube.com/watch?v=S2tkLx019QI
Okay i'll check it out :)
the inductive step starts at about 1:57 roughly, so you can skip to that part (since we already have the base case nailed down)
If you follow from my previous comment, then we must prove that it works for i=k+1 from the assumption that i=k. Now let us just consider: \[\sum_{i=1}^{k+1}\frac{ 1 }{ i^2 }\]
By defintion of the summation thing: \[\sum_{i=1}^{k+1}\frac{ 1 }{ i^2 }=\frac{ 1 }{ 1^2 }+\frac{ 1 }{ 2^2 }+...+\frac{ 1 }{ k^2 }+\frac{ 1 }{ (k+1)^2 }=\sum_{i=1}^{k}\frac{ 1 }{ i^2 }+\frac{ 1 }{ (k+1)^2 }\]
Following me? Do you understand what we're trying to do currently? Can you see what to do next?
well we have to do the proof now
We are trying to prove that \[\sum_{i=1}^{k+1} \leq 2-\frac{ 1 }{ k+1 }\] But we are given that \[\sum_{i=1}^{k}\frac{ 1 }{ i^2 } \leq 2-\frac{ 1 }{ k }\] and i have given you the thing above. Does that help? :)
oops first inequality should be \[\sum_{i=1}^{k+1}\frac{ 1 }{ i^2 } \leq 2-\frac{ 1 }{ k+1 }\]
okay
sorry kinda lost on what to do next
That's okay ^_^ Do you understand the concept of principle of induction?
Umm yeah i'm pretty sure i get it, i'm just thinking that the right side of the inequality should be that same as \[2-\frac{ 1 }{ k }+ \frac{ 1 }{ (k+1)^2}\]
because of the definition of summation thingy
Yup :D
give me a sec
but we want to have it look like \[2 - \frac{ 1 }{ k+1 }\] on the right side
oh okay sure
yup!
Sooo, wouldnt it be nice that perhaps \[2 - \frac{ 1 }{ k } +\frac{ 1 }{ (k+1)^2 } \leq 2 - \frac{ 1 }{ k+1 }\] when \[k \geq 1\] Why not try and see if it's true/see if you can prove it. ;) ;)
Okie ill try, we just have to try simplifying the left side of the inequality right??
Hmm, you need to try and simplify the whole inequality to a point where you can infer for what values of k, the inequality holds
Umm okay, so how should I start?
Okay to start you off, you can minus 2 from both sides, then you can multiply both sides of the inequality by minus 1 (and remember to switch the sign of the inequality)
so we get this? \[\frac{1}{k}+m-\frac{1}{(k+1)^2} \ge \frac{1}{k+1} \]
Join our real-time social learning platform and learn together with your friends!