Friday, 4 October 2019

How can I solve this summation?



I've been trying to solve this problem for quite some time now and I can't think of how to reduce the inner summation to a smaller problem. Usually when I have variables in the upper and lower bound of the summation, I just do



(upperboundlowerbound+1)a where a is the value inside the summation. But this wont work here because I'll still have the j variable inside the outer sigma. Is there an easier way to do this that I don't know?



ni=0n1j=i(ji+1)



According to WolframAlpha, the solution should be:




16n(n2+3n+2)


Answer



This method doesn't use combinatorics explicitly, but reduces the sum to more well-known ones.



The terms i and 1 don't depend on the inner summation variable j, so you can take them out using the method you describe:



ni=0n1j=i(ji+1)=ni=0((ni)(1i)+n1j=ij)



Also, we evaluate the inner summation as T(n1)T(i1) where T(x) is the xth triangular number, and T(1)=T(0)=0




ni=0n1j=i(ji+1)=ni=0((ni)(1i)+n1j=ij)=ni=0(ni(n+1)+i2+n1j=ij)=nni=01(n+1)ni=0i+ni=0i2+ni=0n1j=ij=n(n+1)(n+1)T(n)+ni=0i2+ni=0n1j=ij=n(n+1)(n+1)T(n)+ni=0i2+ni=0(T(n1)T(i1))=n(n+1)(n+1)T(n)+ni=0i2+(n+1)T(n1)ni=0T(i1)=n(n+1)(n+1)T(n)+ni=0i2+(n+1)T(n1)n1i=1T(i)=(n+1)(n(T(n)T(n1)))0+ni=0i2n1i=1T(i)=ni=0i2n1i=1T(i)




Now the summation is expressed in terms of more standard summations whose values are well known.



ni=0i2=16n(n+1)(2n+1)
n1i=1T(i)=16(n1)n(n+1)



And we can evaluate:



ni=0i2n1i=1T(i)=16n(n+1)((2n+1)(n1))=16n(n+1)(n+2)=16n(n2+3n+2)


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

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