Skip to content
Marlbridge

AP® Calculus BC · Unit 10 · Topic 10.14

Finding Taylor or Maclaurin Series for a Function: Study Guide (Calculus BC 10.14)

Build Taylor and Maclaurin series from derivatives, learn the series for eˣ, sin x, cos x and 1/(1 − x), and read derivatives and sums back from a series.

BC-only material. Taylor and Maclaurin series are part of Calculus BC only. Calculus AB students do not need this topic.

Before you start: prerequisites

If any of these is shaky, revisit it from the Calculus BC roadmap first. The previous topic, radius and interval of convergence, gives you the tools to say where a series converges.

Prerequisite Topic What you use it for here
Taylor polynomials 10.11 Each coefficient is f⁽ⁿ⁾(c)/n!
Radius and interval of convergence 10.13 Stating where each series converges
Geometric series 10.2 The series for 1/(1 − x)
Ratio test 10.8 Showing the eˣ, sin x and cos x series converge for all x
Derivatives of eˣ, sin x, cos x; chain rule Units 2–3 Finding derivative patterns

Notation on this page: Σ from n = 0 to ∞ of uₙ is the infinite series u₀ + u₁ + u₂ + … . f⁽ⁿ⁾(c) is the nth derivative of f at c, with f⁽⁰⁾ = f. Recall 0! = 1.

From Taylor polynomials to Taylor series

In Topic 10.11 you built the nth-degree Taylor polynomial for f about x = c:

Pₙ(x) = f(c) + f′(c)(x − c) + f″(c)(x − c)²/2! + … + f⁽ⁿ⁾(c)(x − c)ⁿ/n!

If f has derivatives of every order at c, you never have to stop. Keeping every term gives the Taylor series for f about x = c:

f(c) + f′(c)(x − c) + f″(c)(x − c)²/2! + … = Σ from n = 0 to ∞ of f⁽ⁿ⁾(c)(x − c)ⁿ / n!

When c = 0 it is called the Maclaurin series for f:

Σ from n = 0 to ∞ of f⁽ⁿ⁾(0) xⁿ / n!

The polynomial is a partial sum. P₃(x) is the sum of the first four terms of the Taylor series (the terms of degree 0 to 3). In general, the nth-degree Taylor polynomial is the partial sum of the series up to the (x − c)ⁿ term. So “the series converges at x” means “the Taylor polynomials at x settle down to a limit as the degree grows”.

Where does it equal f? A Taylor series is a power series, so by Topic 10.13 it converges on an interval centred at c (or only at c, or everywhere). For eˣ, sin x, cos x, 1/(1 − x), and the functions built from them in this unit, the series converges to f(x) at every x inside its interval. (Background: there are unusual functions where a Taylor series converges to something else, but they are outside this course.)

The four foundation series

You should be able to derive these and also recall them quickly.

eˣ. Every derivative of eˣ is eˣ, and e⁰ = 1. So every coefficient is 1/n!:

eˣ = 1 + x + x²/2! + x³/3! + … = Σ from n = 0 to ∞ of xⁿ/n!

Ratio test: |uₙ₊₁/uₙ| = |x|/(n + 1) → 0 for every x, so it converges for all real x.

sin x. The derivatives cycle sin x, cos x, −sin x, −cos x, sin x, … At 0 their values cycle 0, 1, 0, −1. Only odd powers survive, with alternating signs:

sin x = x − x³/3! + x⁵/5! − x⁷/7! + … = Σ from n = 0 to ∞ of (−1)ⁿ x^(2n+1)/(2n + 1)!

cos x. The derivatives at 0 cycle 1, 0, −1, 0. Only even powers survive:

cos x = 1 − x²/2! + x⁴/4! − x⁶/6! + … = Σ from n = 0 to ∞ of (−1)ⁿ x^(2n)/(2n)!

For both, the ratio of consecutive terms is x² divided by a product of two numbers that grow with n, so the limit is 0 and both converge for all real x.

1/(1 − x). Here f′(x) = 1/(1 − x)², f″(x) = 2/(1 − x)³, f‴(x) = 6/(1 − x)⁴, and in general f⁽ⁿ⁾(x) = n!/(1 − x)ⁿ⁺¹. So f⁽ⁿ⁾(0) = n! and every coefficient is n!/n! = 1:

1/(1 − x) = 1 + x + x² + x³ + … = Σ from n = 0 to ∞ of xⁿ

This is a geometric series with first term 1 and ratio x. It converges only when |x| < 1. At x = ±1 the terms do not tend to 0, so the interval is (−1, 1).

f(x) Maclaurin series General term Converges for
eˣ 1 + x + x²/2! + x³/3! + … xⁿ/n! all real x
sin x x − x³/3! + x⁵/5! − … (−1)ⁿ x^(2n+1)/(2n + 1)! all real x
cos x 1 − x²/2! + x⁴/4! − … (−1)ⁿ x^(2n)/(2n)! all real x
1/(1 − x) 1 + x + x² + x³ + … xⁿ −1 < x < 1

Quick checks. sin x is an odd function and its series has only odd powers; cos x is even and has only even powers. Differentiating the sin series term by term gives the cos series, as it should.

Worked example 1: a Taylor series from a derivative pattern

Question. Find the Taylor series for f(x) = 1/x² about x = 1. Give the first four terms and the general term, and find the interval of convergence.

  1. Derivatives. Write f(x) = x⁻². f′(x) = −2x⁻³, f″(x) = 6x⁻⁴, f‴(x) = −24x⁻⁵, f⁽⁴⁾(x) = 120x⁻⁶.
  2. Values at x = 1. f(1) = 1, f′(1) = −2, f″(1) = 6, f‴(1) = −24, f⁽⁴⁾(1) = 120.
  3. Spot the pattern. The sizes are 1, 2, 6, 24, 120, which are 1!, 2!, 3!, 4!, 5!. The signs alternate. So f⁽ⁿ⁾(1) = (−1)ⁿ(n + 1)!.
  4. Coefficients. aₙ = f⁽ⁿ⁾(1)/n! = (−1)ⁿ(n + 1)!/n! = (−1)ⁿ(n + 1).
  5. Write the series. 1/x² = 1 − 2(x − 1) + 3(x − 1)² − 4(x − 1)³ + … = Σ from n = 0 to ∞ of (−1)ⁿ(n + 1)(x − 1)ⁿ
  6. Radius. |uₙ₊₁/uₙ| = |x − 1| · (n + 2)/(n + 1) → |x − 1|. So |x − 1| < 1 and R = 1.
  7. Endpoints. At x = 2 the series is Σ (−1)ⁿ(n + 1) = 1 − 2 + 3 − …; at x = 0 it is Σ (n + 1) = 1 + 2 + 3 + … . In both, the terms do not tend to 0, so both diverge (nth term test).

Answer. Σ from n = 0 to ∞ of (−1)ⁿ(n + 1)(x − 1)ⁿ, with interval of convergence (0, 2).

Checks.

  • Pattern: the n = 4 term should be 5(x − 1)⁴, and f⁽⁴⁾(1)/4! = 120/24 = 5. ✓
  • A value inside: at x = 1.2, 1/x² = 25/36 ≈ 0.6944. The partial sums give P₂(1.2) = 0.72 and P₅(1.2) ≈ 0.6941, closing in on 0.6944. ✓
  • Sense: 1/x² is undefined at 0, so the series cannot reach past 0. The interval is centred at 1, so it cannot reach past 2 either, even though 1/x² is defined there.
y = 1/x² and three partial sums of its Taylor series about x = 1 Graph for x from 0.3 to 2.3 and y from −2 to 6. The solid curve is y = 1/x². The dashed curve is the partial sum P2, the dotted curve is P5 and the dash-dot curve is P10. All four curves pass through (1, 1). Between about x = 0.6 and x = 1.4 the partial sums lie almost on top of 1/x², and P10 stays close over a wider part of the interval from 0 to 2. A dashed vertical line marks x = 2, the right end of the interval of convergence, and the region to its right is hatched and labelled outside the interval. There P10 shoots off the top of the graph and P5 drops off the bottom, while 1/x² stays small and positive. 0.511.52 −22460 x y = 1/x² (solid)P₂ (dashed)P₅ (dotted)P₁₀ (dash-dot)(1, 1) outsideinterval
Figure 1. Partial sums of the Taylor series for 1/x² about x = 1. Inside the interval of convergence (0, 2), adding more terms brings the partial sums closer to 1/x². At x = 2 and beyond (hatched), the partial sums move further apart as more terms are added, even though 1/x² itself is defined there.

Taylor series about other centres

The same method works for any centre. For eˣ about x = −1, every derivative is eˣ, so every derivative at −1 is e⁻¹:

eˣ = e⁻¹ + e⁻¹(x + 1) + e⁻¹(x + 1)²/2! + … = Σ from n = 0 to ∞ of e⁻¹(x + 1)ⁿ/n!, for all real x.

Check another way: eˣ = e⁻¹ · e^(x+1), and putting (x + 1) into the eˣ series gives the same answer.

Building on the foundation series

You do not always need to differentiate. If a function is one of the four foundation functions with something substituted, substitute into the known series. For example, replacing x by −2x in the eˣ series:

e^(−2x) = Σ (−2x)ⁿ/n! = 1 − 2x + 2x² − (4/3)x³ + …, for all real x.

Each term is (−2)ⁿxⁿ/n!; the whole of (−2x) is raised to the power n. Topic 10.15 develops this idea much further, with substitution, multiplying by powers of x, and term-by-term calculus.

Worked example 2: interpreting a Taylor series

Question. A function g has derivatives of all orders. Its Taylor series about x = 1 is

g(x) = Σ from n = 0 to ∞ of (−1)ⁿ(n + 2)(x − 1)ⁿ/n! = 2 − 3(x − 1) + 2(x − 1)² − (5/6)(x − 1)³ + …

and it converges to g(x) for all real x.

(a) Find g(1), g′(1), g″(1) and g⁽⁵⁾(1). (b) Is g increasing or decreasing at x = 1? Is its graph concave up or down there? (c) Use the second-degree Taylor polynomial to estimate g(1.2).

  1. Link coefficients to derivatives. The coefficient of (x − 1)ⁿ is aₙ = g⁽ⁿ⁾(1)/n!, so g⁽ⁿ⁾(1) = n! · aₙ.
  2. (a) a₀ = 2, so g(1) = 2. a₁ = −3, so g′(1) = 1! · (−3) = −3. a₂ = 4/2! = 2, so g″(1) = 2! · 2 = 4. For n = 5, a₅ = (−1)⁵ · 7/5!, so g⁽⁵⁾(1) = 5! · (−7/5!) = −7. (In general g⁽ⁿ⁾(1) = (−1)ⁿ(n + 2): the n! cancels.)
  3. (b) g′(1) = −3 < 0, so g is decreasing at x = 1. g″(1) = 4 > 0, so the graph is concave up there.
  4. (c) P₂(x) = 2 − 3(x − 1) + 2(x − 1)². With x − 1 = 0.2: P₂(1.2) = 2 − 0.6 + 0.08 = 1.48.

Checks.

  • Partial sums: adding the cubic term, P₃(1.2) = 1.48 − (5/6)(0.008) ≈ 1.4733. The changes are getting smaller, as you expect inside the interval of convergence.
  • Convergence for all x: the ratio of consecutive terms is |x − 1|(n + 3)/((n + 1)(n + 2)), which tends to 0. ✓
  • Background only: this series is the Taylor series of g(x) = (3 − x)e^(1 − x), and g(1.2) ≈ 1.474.

Interpretation. You found several derivatives, the direction of the graph and an estimate without ever knowing a formula for g. That is the main way Taylor series appear in exam-style questions.

Recognising the sum of a series

Because the foundation series equal their functions, you can sometimes find the exact sum of a numerical series by matching it to one.

  • 1 + 3 + 3²/2! + 3³/3! + … = Σ 3ⁿ/n! is the eˣ series at x = 3, so it equals e³.
  • 1 − 1/2! + 1/4! − 1/6! + … is the cos x series at x = 1, so it equals cos 1 (about 0.540).
  • 1 + ½ + ¼ + ⅛ + … is the 1/(1 − x) series at x = ½, so it equals 1/(1 − ½) = 2.

Match the powers, the factorials and the signs. If the factorials are (2n)!, think cos; (2n + 1)!, think sin; n!, think eˣ; none, think geometric.

Common misconceptions

  • Forgetting the n! The coefficient is f⁽ⁿ⁾(c)/n!, not f⁽ⁿ⁾(c). Writing 1/x² = 1 − 2(x − 1) + 6(x − 1)² + … is wrong.
  • Using xⁿ for a series about c ≠ 0. About x = 1 the powers are (x − 1)ⁿ.
  • Mixing up sin and cos. sin x has odd powers and odd factorials, starting with x; cos x has even powers and even factorials, starting with 1.
  • Wrong sign pattern. In the sin and cos series the signs alternate +, −, +, …, starting from the first nonzero term.
  • Using 1/(1 − x) = Σ xⁿ outside (−1, 1). At x = 2, 1/(1 − x) = −1, but 1 + 2 + 4 + … diverges.
  • Confusing “degree n” with “n terms”. For sin x, P₃ and P₄ are both x − x³/6, because the x⁴ coefficient is 0.
  • Reading a coefficient as the derivative. If the coefficient of (x − c)³ is 1/2, then f‴(c) = 3! · 1/2 = 3, not 1/2.
  • Substituting into only part of the term. In e^(−2x), the term is (−2x)ⁿ/n!, not −2xⁿ/n!.

Where this leads

Next, Representing functions as power series (Topic 10.15) builds new series from the four on this page by substitution, algebra and term-by-term differentiation and integration. The error bounds from Topics 10.10 and 10.12 then tell you how good a partial sum is. Use the Calculus BC roadmap to see the order.

Try the practice questions now, then use the revision notes and the checklist to consolidate.

Quick questions

Do Calculus AB students need this?

No. Taylor and Maclaurin series are BC-only content. AB students can skip this page.

What is the difference between a Taylor series and a Maclaurin series?

A Maclaurin series is a Taylor series centred at x = 0. Every Maclaurin series is a Taylor series; a Taylor series about any other centre uses powers of (x − c).

Which series should I memorise?

The series for eˣ, sin x, cos x and 1/(1 − x), with their intervals of convergence. Many other series in this unit are built from these four.

AP® and Advanced Placement® are trademarks registered by the College Board, which is not affiliated with, and does not endorse, this website. Marlbridge is an independent tuition provider. It is not an authorized AP course provider, an AP school or an exam centre, and these resources are not official College Board materials. Reading them or doing simulations does not meet the laboratory requirement of an AP science course.