Thursday, October 29, 2015

calculus - How come such different methods result in the same number, e?


I guess the proof of the identity n=01n!limx(1+1x)x explains the connection between such different calculations. How is it done?


Answer



This identity, in isolation, is certainly confusing. It becomes less so once you know that it is just a special case of a more general identity



n0xnn!=limn(1+xn)n.


Why does this hold? Well, let's call the function on the left ex. Then by inspection, ddxex=ex. General theory tells you that the solution to y=y is unique provided you fix the value of y(0) (and this is also physically intuitive), and here e0=1 by inspection, so that tells you that ex is the unique function satisfying e0=1 and ddxex=ex.



Chandru1's deleted answer reminded me that the proof of this is actually completely elementary. Suppose f is a function which satisfies f(x)=f(x). Then


ddx(exf(x))=exf(x)exf(x)=0


hence exf(x)=Cf for some constant Cf. Substituting f(x)=ex gives exex=C, and substituting x=0 gives exex=1. Now it follows that f(x)=Cfex.



Why does the function on the RHS also satisfy this property? Let's call this function exp(x). Then


exp(cx)=limn(1+cxn)n=limm(1+xm)mc=exp(x)c


where m=nc. Setting c=1+yx, this gives


exp(x+y)=exp(x)1+yx=exp(x)exp(x)yx=exp(x)exp(y)


from which it follows that



ddxexp(x)=limh0exp(x)exp(h)exp(x)h=exp(x)limh0exp(h)1h


so it follows that exp(x) satisfies exp(0)=1 and ddxexp(x)=exp(x), which means it must equal ex - at least, as soon as we know that


limh0exp(h)1h=1.


But


exp(h)=limn(1+hn)n=limn(1+(n1)hn+(n2)h2n2+...)=limn(1+h+R(h,n))


where |R(h,n)|k2|h|k=O(|h|2) by the ratio test, from which the conclusion follows.



That last step, by the way, is an echo of the standard proof, where one expands


(1+xn)n=nk=0(nk)xknk


and uses the fact that 1nk(nk)1k! as n. While this is fairly hands-on, in my opinion it obscures an underlying principle behind this problem, which is that ex is a very special function and all of the equivalent ways of defining it are based on one of its special properties.


One really nice way to interpret the above identity is that it is precisely what you get by applying Euler's method to the ODE y=y with initial conditions y(0)=1.



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