Thursday, 26 January 2017

calculus - Faster way to find Taylor series



I'm trying to figure out if there is a better way to teach the following Taylor series problem. I can do the problem myself, but my solution doesn't seem very nice!



Let's say I want to find the first n terms (small n - say 3 or 4) in the Taylor series for




f(z)=11+z2



around z0=2 (or more generally around any z00, to make it interesting!) Obviously, two methods that come to mind are 1) computing the derivatives f(n)(z0), which quickly turns into a bit of a mess, and 2) making a change of variables w=zz0, then computing the power series expansion for



g(w)=11+(w+z0)2 and trying to simplify it, which also turns into a bit of a mess. Neither approach seems particularly rapid or elegant. Any thoughts?


Answer




Let g(w)=n=0anwn.



Then
(w2+4w+5)g(w)=1 implies
5a0=14a0+5a1=0a0+4a1+5a2=0a1+4a2+5a3=0etc.



which you can then solve for the an's in a stepwise fashion.


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