online advertising
Loading [MathJax]/jax/output/HTML-CSS/jax.js

Saturday, April 2, 2016

The Art of Computer Programming - Section 1.2.3, First Set, Exercise 16

Problem:


Solution:

The trick is to differentiate the geometric series on both side


nj=0xj=xn+11x1ddx(nj=0xj)=ddx(xn+11x1)nj=0ddx(xj)=ddx(xn+11x1)nj=0jxj1=ddx(xn+11x1)nj=0jxj=xddx(xn+11x1)=x(x1)(xn+11)(xn+11)(x1)(x1)2=x(x1)(n+1)xn(xn+11)(x1)2=x(n+1)xn+1(n+1)xnxn+1+1(x1)2=xnxn+1(n+1)xn+1(x1)2=nxn+2(n+1)xn+1+x(x1)2

No comments:

Post a Comment