A Taylor polynomial stops at some degree n. If you never stop, you get a Taylor series: a power series that, for many functions, equals the function exactly on its interval of convergence. Four of these series come up so often that the AP exam expects you to know them by heart. Once you know them, you can build series for many other functions without taking a single derivative.
When a=0, it’s called a Maclaurin series. Its partial sums are exactly the Taylor polynomials P0,P1,P2,…
For the functions in this course, the Taylor series equals f(x) at every x in its interval of convergence. (For ex, sinx, and cosx you can prove this with the Lagrange error bound, which shrinks to 0 as n grows.)
Inside the interval of convergence, adding more terms makes the partial sums match the function over a wider and wider stretch. For sinx, cosx and ex this keeps going for every x.
The partial sums of the cosine series of degree 4 and 10. The series converges to cosx for every x, so higher degrees fit over wider intervals.
Mixing up the sine and cosine series. Sine has odd powers and starts with x (because sin0=0); cosine has even powers and starts with 1 (because cos0=1). Check by plugging in x=0.
Dividing by the wrong factorial. In the sine series, x5 is divided by 5!, not 3! or (2n)!. The factorial always matches the power: xk goes with k!.
Using the 1/(1 − x) series outside its interval. The series 1+x+x2+⋯ only equals 1−x1 for −1<x<1. At x=2 the function equals −1, but the series diverges.
Writing a general term that doesn’t match the first terms. Always test your general term with n=0,1,2 to see that it reproduces the terms you wrote out, as in Example 2.
Forgetting radians. The series for sinx and cosx are only true in radians. sin30 means 30 radians, not 30∘.
2. (Warm-up) Find the sum of each series by recognizing a known Maclaurin series.
(a) 1+2+2!22+3!23+⋯
(b) 1−2!π2+4!π4−6!π6+⋯
Solution
(a) This is the ex series with x=2, so the sum is e2.
(b) This is the cosx series with x=π, so the sum is cosπ=−1.
3. (Warm-up) What is the sum of 1+0.3+0.32+0.33+⋯? What happens to 1+2+22+23+⋯, even though 1−21=−1?
Solution
The first is the 1−x1 series with x=0.3, which is inside −1<x<1, so the sum is 0.71=710.
The second has x=2, outside the interval of convergence. The partial sums grow without bound, so the series diverges. The formula 1−x1 doesn’t apply there.
4. (Core) Find the Taylor series for ex about x=3. Give the first three terms and the general term.
Solution
Every derivative of ex is ex, so f(n)(3)=e3 for every n:
ex=e3+e3(x−3)+2!e3(x−3)2+⋯=n=0∑∞n!e3(x−3)n
5. (Core) Find the Taylor series for cosx about x=2π. Give the first three nonzero terms and the general term.
Solution
At x=2π, the derivatives cosx,−sinx,−cosx,sinx,cosx,−sinx,… have values 0,−1,0,1,0,−1,… So only odd powers appear:
6. (Core) A function f has f(n)(0)=(−1)n2n for all n≥0. Write the first four terms and the general term of its Maclaurin series. Which familiar function is f?
The general term is n!(−1)n2nxn=n!(−2x)n. That’s the ex series with x replaced by −2x, so f(x)=e−2x.
7. (Core) Find the Taylor series for f(x)=x1 about x=2, and its interval of convergence.
Solution
f(n)(x)=(−1)nn!x−(n+1), so f(n)(2)=2n+1(−1)nn!. Dividing by n!:
x1=21−4x−2+8(x−2)2−⋯=n=0∑∞2n+1(−1)n(x−2)n
This is geometric with ratio −2x−2, so it converges when 2∣x−2∣<1, that is, 0<x<4. At x=0 and x=4 the terms have constant size 21, so they don’t approach 0 and both endpoints diverge. The interval of convergence is 0<x<4.
8. (Challenge) Use the Maclaurin series for cosx to find x→0limx4cosx−1+2x2.
Solution
The first two terms of the series cancel with −1+2x2:
Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.
All angles are in radians. Write each general term in sigma notation, starting at n=0 unless the question says otherwise.
(a) Find f′(0), f′′(0), f′′′(0), and a formula for f(n)(0).
(b) Use your answers to write the first four terms and the general term of the Maclaurin series for f.
(c) Check your answer by replacing x with 3x in the series for ex.
H2. (Foundations) Start from one of the four known series. For each function, write the first four nonzero terms and the general term of its Maclaurin series.
(a) e−x2
(b) sin(2x)
(c) 1+x21. Also state the values of x for which this series converges.
H3. (Core) Build each series from a known one, without taking derivatives. Give the first four nonzero terms and the general term.
(a) x2ex
(b) xsin(3x)
H4. (Core) Taylor series about a centre other than 0.
(a) Find the Taylor series for ex about x=2. Give the first four terms and the general term.
(b) Use the first three terms of your series from (a) to estimate e2.1 as a multiple of e2, then as a decimal. Compare with your calculator’s value of e2.1.
(c) Find the Taylor series for lnx about x=2. Give the first four terms (including the constant term) and the general term for n≥1.
H5. (Core) Each series below is a known Maclaurin series with something substituted in. Name the function it equals.
(a) n=0∑∞(2n)!(−1)nx2n
(b) n=0∑∞n!(−1)nxn
(c) n=0∑∞(2n+1)!(−1)n32n+1x2n+1
(d) n=0∑∞x3n. For which x does this one converge?
H6. (Core)(AP style) Let g(x)=x3sinx−x for x=0, and g(0)=−61.
(a) Write the first three nonzero terms and the general term of the Maclaurin series for sinx−x.
(b) Use your answer to (a) to find x→0limx3sinx−x. Explain why this shows g is continuous at x=0.
(c) Write the first three nonzero terms of the Maclaurin series for g, and use them to find g′′(0).
(a) The first step is correct, but the second is not. Explain the error, and write the correct general term.
(b) Write the first three nonzero terms of the correct series. Check them by writing out the student’s first three terms and showing the two series disagree.
(c) A second student writes the denominator as (4n+2)! instead of (2n+1)!. Explain why that is also wrong.
H9. (Challenge) Let f(x)=x2cosx.
(a) Write the general term of the Maclaurin series for f.
(b) Find f(10)(0) without taking ten derivatives.
(c) Explain why f(9)(0)=0.
H10. (Challenge) Find the exact sum of each series by recognizing a known Maclaurin series. Explain which series you used and what you substituted.
(a) n=0∑∞2nn!(−1)n
(b) 1−2!1(3π)2+4!1(3π)4−6!1(3π)6+⋯
(c) n=1∑∞n!n. (Hint: simplify n!n first, and watch the starting index.)