Let f be infinitely many times differentiable on (a,b) and c,x∈(a,b).
If limn→∞Rn(x)=0 for x∈(c−R,c+R)⊂(a,b),
then Taylor series of f at c is given by:
n=0∑∞n!f(n)(c)(x−c)n
Procedure
Suppose a function f is given and its Taylor series is required.
- Differentiate f repeatedly and find a general solution for n-th derivative
- Construct Taylor polynomial
- Use root test or ratio test to find the range of convergence of the Taylor
polynomial
- Consider the endpoints of range of convergence to check if the Taylor
polynomial converges
- Construct the Taylor remainder
- Find for which values of x, the remainder converges to 0
Examples
e^x
Range of convergence is R.
ex=n=0∑∞n!xn=1+1!x+2!x2+3!x3+⋯
ln (1+x)
Range of convergence is (−1,1].
ln(1+x)=n=1∑∞n(−1)n−1xn=x−2x2+3x3−4x4+⋯
sin x
Range of convergence is R.
sinx=n=0∑∞(−1)n(2n+1)!x2n+1=x−3!x3+5!x5−7!x7+⋯
cos x
Range of convergence is R.
cosx=n=0∑∞(−1)n(2n)!x2n=1−2!x2+4!x4−6!x6+⋯