Example 1: Find the Taylor series for f(x)=cosx centered at the given value of a=π. [Assume that f has a power series expansion. Do not show that Rn(x)→0.] Also find the associated radius of convergence.
Solution: (1) f(x)=cosx and f(π)=−1; (2) f′(x)=−sinx and f′(π)=0; (3) f′′(x)=−cosx and f′′(π)=1; (4) f′′′(x)=sinx and f′′′(x)=0; and this pattern repeats indefinitely. Therefore the Taylor series at π is −1+2!1(x−π)2−4!1(x−π)4+6!1(x−π)6−8!1(x−π)8+…=∑n=0∞(−1)n−1(2n)!1(x−π)2n.
The binomial series theorem: if k is any real number and ∣x∣<1, then (1+x)k=∑n=0∞(nk)xn=1+1!kx+2!k(k−1)x2+3!k(k−1)(k−2)x3+….
Example 2: Use the binomial series to expand the function (2+x)31 as a power series. State the radius of convergence.
Hint: Use (2+x)31=81(1+x/2)−3 and the binomial series theorem.
Important Maclaurin series:
- 1−x1=∑n=0∞xn=1+x+x2+x3+…;
- ex=∑n=0∞n!xn=1+1!x+2!x2+3!x3+…;
- sinx=∑n=0∞(−1)n(2n+1)!x2n+1=x−3!x3+5!x5−7!x7+…;
- cosx=∑n=0∞(−1)n(2n)!x2n=1−2!x2+4!x4−6!x6+…;
- tan−1x=∑n=0∞(−1)n2n+1x2n+1=x−3x3+5x5−7x7+…;
- ln(1+x)=∑n=0∞(−1)n−1nxn=x−2x2+3x3−4x4+….
Example 3: Use the important Maclaurin series to obtain the Maclaurin series for the given function (a) f(x)=xcos(x2/2); (b) f(x)=4+x2x.
Hint: (a) Use the Maclaurin series of cosx; (b) Use the Maclaurin series of 1/(1−x).
Example 4: Use series to evaluate the limit limx→0x5sinx−x+x3/6.
Hint: Use the Maclaurin series of sinx.
Example 5: Find the sum of the series ∑n=0∞(−1)nn!x4n.
Solution: Use the Maclaurin series of ex=∑n=0∞n!xn. By replacing x with −x4, we obtain ∑n=0∞(−1)nn!x4n=e−x4.