Monday, September 24, 2018

How to find closed form by induction


How can I find the closed form of


a) 1+3+5+...+(2n+1)
b) 1^2 + 2^2 + ... + n^2

using induction?



I'm new to this site, and I've thought about using the series 1 + 2 + 3 +...+ n = n(n+1)/2 to help me out But isn't that technically using prior knowledge and hence invalid? Am I on the right track? Thanks.


Answer



a): Clearly it is an Arithmetic Series


So, the sum up to nth term is =n2{21+(n1)2}=n2


Let P(n):1rn(2r1)=n2


P(1):1r1(2r1)=1 which is =12 so P(n) is true for n=1


Let P(n) is true for n=m


So, 1rm(2r1)=m2


P(m+1):1rm+1(2r1)=1rm(2r1)+2m+1=m2+2m+1=(m+1)2


So, P(m+1) will be true if P(m) is true.



But we have already shown P(n) is true for n=1


So, by induction we can prove that P(n) is true for all positive integer n


b):


HINT:


We know, (r+1)3r3=3r2+3r+1


Putting r=1,2,,n1,n and adding we get (n+1)31=31rnr2+31rnr+1rn1


Now, you know 1rnr=n(n+1)2 and 1rn1=n


On simplification 1rnr2=n(n+1)(2n+1)6


Can you use similar induction approach here?


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