Monday, February 8, 2016

discrete mathematics - Proving 1+frac14+frac19+cdots+frac1n2leq2frac1n for all ngeq2 by induction




Question:




Let P(n) be the statement that 1+14+19++1n2<21n. Prove by mathematical induction. Use P(2) for base case.




Attempt at solution:



So I plugged in P(2) for the base case, providing me with 14<32 , which is true.




I assume P(n) is true, so I need to prove P(k)P(k+1).



So 1(k+1)2<21k+1.



I don't know where to go from here, do I assume that by the Inductive hypothesis that it's true?


Answer



For n2, let S(n) denote the statement
S(n):1+14+19++1n221n.




Base step (n=2): S(2) says that 1+14=5432=212, and this is true.



Inductive step: Fix some k2 and suppose that S(k) is true. It remains to show that
S(k+1):1+14+19++1k2+1(k+1)221k+1
holds. Starting with the left-hand side of S(k+1),
1+14++1k2+1(k+1)221k+1(k+1)2(by S(k))=21k+1(k+1k1k+1)=21k+1(k2+k+1k(k+1))<21k+1.
we see that the right-hand side of S(k+1) follows. Thus, S(k+1) is true, thereby completing the inductive step.



By mathematical induction, for any n2, the statement S(n) is true.







Addendum: How did I get from the "simplify" step to the () step? Well, the numerator is k2+k+1 and the denominator is k2+k. We note that, k2+k+1>k2+k (this boils down to accepting that 1>0). Since 1k+1 is being multiplied by something greater than 1, this means that what is being subtracted from 2 in the "simplify" step is larger than what is being subtracting from 2 in the () step.






Note: It really was unnecessary to start your base case at n=2. Starting at n=1 would have been perfectly fine. Also, note that this exercise shows that the sum of the reciprocals of the squares converges to something at most 2; in fact, the series converges to π26.


No comments:

Post a Comment

analysis - Injection, making bijection

I have injection f:AB and I want to get bijection. Can I just resting codomain to f(A)? I know that every function i...