Friday, 20 September 2019

induction - Proving that two summations are equivalent: sumni=1i3=(sumni=1i)2





Give a constructive proof to show that for all n1 ,



ni=1i3=(ni=1i)2



Observe that (n+1)4n4=4n3+6n2+4n+1 .







Now, the two following equalities are obvious:



ni=1i3=13+23+33+...+n3



(ni=1i)2=(1+2+3+...+n)2



And they are both obviously equivalent given the first few test cases:




ni=1i3=A(n)




  • A(1)=13=1

  • A(2)=13+23=1+8=9

  • A(3)=13+23+33=9+27=36



(ni=1i)2=B(n)





  • B(1)=(1)2=1

  • B(2)=(1+2)2=9

  • B(3)=(1+2+3)2=36



Now, I am thinking of finding the closed-forms for both functions in the hopes that they are indeed the same. Then I would prove those closed forms to work by induction. But:




  1. I don't know if that would be a sound way to do it.


  2. I don't know if this would even qualify as constructive, as the question requests.



As you may tell, I am no math major. I am a Computer Science major, though. This is a computing fundamentals class. I took discrete 1.5 years ago, so my knowledge is about as fresh as a litter box. I've been in quite a rut for a few hours over this.


Answer



Your goal is to prove the statement S(n) for all n1 where
S(n):13+23+33++n3=[n(n+1)2]2.


Using Σ-notation, we may rewrite S(n) as follows:

S(n):nr=1r3=[n(n+1)2]2.

Base step: The statement S(1) says that (1)3=(1)2 which is true because 1=1.



Inductive step [S(k)S(k+1)]: Fix some k1, where kN. Assume that
S(k):kr=1r3=[k(k+1)2]2


holds. To be proved is that

S(k+1):k+1r=1r3=[(k+1)((k+1)+1)2]2

follows. Beginning with the left side of S(k+1),
k+1r=1r3=kr=1r3+(k+1)3=[k(k+1)2]2+(k+1)3=(k+1)24[k2+4(k+1)]=(k+1)24[(k+2)(k+2)]=(k+1)2(k+2)24=[(k+1)(k+2)2]2=[(k+1)((k+1)+1)2]2,

one arrives at the right side of S(k+1), thereby showing that S(k+1) is also true, completing the inductive step.



By mathematical induction, it is proved that for all n1, where nN, that the statement S(n) is true.



Note: The step where (k+1)24 is factored out is an important one. If we do not factor this out and, instead, choose to expand (k+1)3, the problem becomes much more messy than it needs to be.


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find limh0sin(ha)h without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...