Topic 20

Taylor & Maclaurin Series

The Taylor series of ff centered at aa is ∑n=0∞f(n)(a)n!(x−a)n\sum_{n=0}^{\infty} \dfrac{f^{(n)}(a)}{n!}(x - a)^{n}. When a=0a = 0, it is called a Maclaurin series. You rarely need to differentiate. Instead, substitute into the six series you know: exe^{x}, sin⁡x\sin x, cos⁡x\cos x, log⁡(1+x)\log(1 + x), arctan⁡x\arctan x and 11−x\dfrac{1}{1 - x}. Then use the result to sum series, find limits and approximate numbers.

6 kinds of question. Open the one you are stuck on.

1

Find a Taylor series using the definition

e.g. “Using the definition of a Taylor series, find the Taylor series for … centered at …”
  1. 1
    Differentiate a few times and spot the pattern

    Write f(n)(x)f^{(n)}(x) as a formula in nn. Sine and cosine repeat every four derivatives.

  2. 2
    Evaluate at the center: f(n)(a)f^{(n)}(a)
  3. 3
    Plug into ∑f(n)(a)n!(x−a)n\sum \dfrac{f^{(n)}(a)}{n!}(x - a)^{n} and simplify

    If asked for the radius, run the ratio test on the result.

Remember: Derivatives at the center, over n factorial.

See it in a problem3 worked examples

Using the definition, find the Maclaurin series of f(x)=2xf(x) = 2^{x}.

  1. 1
    Differentiate a few times and spot the pattern

    f′(x)=2xlog⁡2f'(x) = 2^{x}\log 2, f′′(x)=2x(log⁡2)2f''(x) = 2^{x}(\log 2)^{2}, so f(n)(x)=2x(log⁡2)nf^{(n)}(x) = 2^{x}(\log 2)^{n}.

  2. 2
    Evaluate at the center: f(n)(a)f^{(n)}(a)

    f(n)(0)=(log⁡2)nf^{(n)}(0) = (\log 2)^{n}.

  3. 3
    Plug into ∑f(n)(a)n!(x−a)n\sum \dfrac{f^{(n)}(a)}{n!}(x - a)^{n} and simplify

    ∑n=0∞(log⁡2)nn!xn\sum_{n=0}^{\infty} \dfrac{(\log 2)^{n}}{n!}x^{n}.

Answer:

2x=∑n=0∞(log⁡2)nn!xn2^{x} = \displaystyle\sum_{n=0}^{\infty} \dfrac{(\log 2)^{n}}{n!}x^{n}

Common mistakes3
  • Writing xnx^{n} instead of (x−a)n(x - a)^{n} when the center is not 00.
  • Forgetting the n!n! in the bottom.
  • Losing the sign pattern: at n=0n = 0, (−1)n(-1)^{n} is ++ and (−1)n+1(-1)^{n+1} is −-.
2

Find a Maclaurin series by substituting into a known series

e.g. “Find the Maclaurin series for x3e−x2x^{3}e^{-x^{2}}”
  1. 1
    Pick the known series that matches the outside function
  2. 2
    Substitute the inside expression for xx

    Replace every xx, including inside the power: (−x2)n=(−1)nx2n(-x^{2})^{n} = (-1)^{n}x^{2n}.

  3. 3
    Multiply by any outside factor and combine powers
  4. 4
    State where it converges

    Use the known series' condition on uu: log⁡(1+u)\log(1 + u) needs −1<u≤1-1 < u \leq 1, while eue^{u}, sin⁡u\sin u and cos⁡u\cos u work for every uu.

Remember: Known series, swap in, multiply out.

See it in a problem3 worked examples

Find the Maclaurin series for x3e−x2x^{3}e^{-x^{2}}.

  1. 1
    Pick the known series that matches the outside function

    eu=∑n=0∞unn!e^{u} = \sum_{n=0}^{\infty} \dfrac{u^{n}}{n!}.

  2. 2
    Substitute the inside expression for xx

    u=−x2u = -x^{2}: e−x2=∑n=0∞(−1)nx2nn!e^{-x^{2}} = \sum_{n=0}^{\infty} \dfrac{(-1)^{n}x^{2n}}{n!}.

  3. 3
    Multiply by any outside factor and combine powers

    x3e−x2=∑n=0∞(−1)nx2n+3n!x^{3}e^{-x^{2}} = \sum_{n=0}^{\infty} \dfrac{(-1)^{n}x^{2n+3}}{n!}.

  4. 4
    State where it converges

    Every xx, like eue^{u}.

Answer:

∑n=0∞(−1)nx2n+3n!\displaystyle\sum_{n=0}^{\infty} \dfrac{(-1)^{n}x^{2n+3}}{n!}, for all xx

Common mistakes3
  • Substituting into xnx^{n} but not the whole term: (3x)n=3nxn(3x)^{n} = 3^{n}x^{n}, not 3xn3x^{n}.
  • Combining powers wrong: x3⋅x2n=x2n+3x^{3} \cdot x^{2n} = x^{2n+3}, not x6nx^{6n}.
  • Differentiating from scratch when a substitution does it in one line.
3

Find a high-order derivative at a point using a Taylor series

e.g. “Find f(20)(3)f^{(20)}(3): a very high derivative at one point”
  1. 1
    Write the series of ff in powers of x−ax - a
  2. 2
    Find the coefficient of (x−a)n(x - a)^{n}

    Solve for the summation index that gives that power. No such term: the coefficient is 00.

  3. 3
    Multiply by n!n!: f(n)(a)=n! cnf^{(n)}(a) = n!\,c_n

Remember: Coefficient times n factorial.

See it in a problem3 worked examples

Let f(x)=x ex2f(x) = x\,e^{x^{2}}. Find f(7)(0)f^{(7)}(0) and f(6)(0)f^{(6)}(0).

  1. 1
    Write the series of ff in powers of x−ax - a

    f(x)=x∑k=0∞x2kk!=∑k=0∞x2k+1k!f(x) = x\sum_{k=0}^{\infty} \dfrac{x^{2k}}{k!} = \sum_{k=0}^{\infty} \dfrac{x^{2k+1}}{k!}.

  2. 2
    Find the coefficient of (x−a)n(x - a)^{n}

    x7x^{7}: 2k+1=72k + 1 = 7, so k=3k = 3 and the coefficient is 13!=16\dfrac{1}{3!} = \dfrac{1}{6}. x6x^{6}: no such term, coefficient 00.

  3. 3
    Multiply by n!n!: f(n)(a)=n! cnf^{(n)}(a) = n!\,c_n

    f(7)(0)=7!⋅16=840f^{(7)}(0) = 7! \cdot \dfrac{1}{6} = 840 and f(6)(0)=0f^{(6)}(0) = 0.

Answer:

f(7)(0)=840f^{(7)}(0) = 840, f(6)(0)=0f^{(6)}(0) = 0

Common mistakes2
  • Forgetting the n!n!: the coefficient is f(n)(a)n!\dfrac{f^{(n)}(a)}{n!}, not f(n)(a)f^{(n)}(a).
  • Matching the summation index instead of the power: in ∑x2k+1\sum x^{2k+1}, the x7x^{7} term has k=3k = 3, not k=7k = 7.
4

Find the sum of a series by recognizing a Taylor series

e.g. “A factorial in the bottom: think exe^{x}, sin⁡x\sin x or cos⁡x\cos x”
  1. 1
    Match the terms to a known series
  2. 2
    Read off the value of xx
  3. 3
    Adjust for a different starting index

    Subtract the terms the sum leaves out. For exe^{x} from n=1n = 1, subtract the n=0n = 0 term, 11.

  4. 4
    Evaluate the function at that xx

Remember: Find the twin series, then plug in.

See it in a problem3 worked examples

Evaluate ∑n=1∞2nn!\displaystyle\sum_{n=1}^{\infty} \dfrac{2^{n}}{n!}.

  1. 1
    Match the terms to a known series

    xnn!\dfrac{x^{n}}{n!}: the series for exe^{x}.

  2. 2
    Read off the value of xx

    x=2x = 2.

  3. 3
    Adjust for a different starting index

    exe^{x} starts at n=0n = 0 with the term 11, so ∑n=1∞2nn!=e2−1\sum_{n=1}^{\infty} \dfrac{2^{n}}{n!} = e^{2} - 1.

  4. 4
    Evaluate the function at that xx

    e2−1e^{2} - 1.

Answer:

e2−1e^{2} - 1

Common mistakes3
  • Missing the start: ∑n=1∞xnn!=ex−1\sum_{n=1}^{\infty} \dfrac{x^{n}}{n!} = e^{x} - 1, not exe^{x}.
  • Plugging in an xx outside the interval: log⁡(1+x)\log(1 + x) only works for −1<x≤1-1 < x \leq 1.
  • Writing (π3)2n\left(\tfrac{\pi}{3}\right)^{2n} as π2n3n\dfrac{\pi^{2n}}{3^{n}}. It is π2n9n\dfrac{\pi^{2n}}{9^{n}}.
5

Evaluate a limit using Taylor series

e.g. “Use series to evaluate lim⁡x→0…\displaystyle\lim_{x \to 0} \dots”
  1. 1
    Replace each function by the first few terms of its series
  2. 2
    Cancel, and keep the lowest surviving power on top and bottom

    Add terms until each side has a nonzero term.

  3. 3
    Divide by that power and let x→0x \to 0

Remember: Expand, cancel, lowest power wins.

See it in a problem3 worked examples

Use series to evaluate lim⁡x→0x−arctan⁡xx3\displaystyle\lim_{x \to 0} \dfrac{x - \arctan x}{x^{3}}.

  1. 1
    Replace each function by the first few terms of its series

    arctan⁡x=x−x33+x55−⋯\arctan x = x - \dfrac{x^{3}}{3} + \dfrac{x^{5}}{5} - \cdots

  2. 2
    Cancel, and keep the lowest surviving power on top and bottom

    x−arctan⁡x=x33−x55+⋯x - \arctan x = \dfrac{x^{3}}{3} - \dfrac{x^{5}}{5} + \cdots

  3. 3
    Divide by that power and let x→0x \to 0

    x−arctan⁡xx3=13−x25+⋯→13\dfrac{x - \arctan x}{x^{3}} = \dfrac{1}{3} - \dfrac{x^{2}}{5} + \cdots \to \dfrac{1}{3}.

Answer:

13\dfrac{1}{3}

Common mistakes2
  • Stopping the series too early: if everything cancels, you needed more terms.
  • Dropping a cross term when multiplying two series. Keep every power up to the one you need.
6

Approximate a number or integral with a Taylor series

e.g. “Approximate … as a rational number, accurate to within 10−410^{-4}”
  1. 1
    Write the series, integrating term by term if needed
  2. 2
    Plug in the value to get a series of numbers
  3. 3
    Bound the error for each number of terms you try

    Alternating, with terms decreasing to 00: error ≤\leq the first term you leave out. Otherwise use the ∣f(n+1)(c)∣(n+1)!∣x−a∣n+1\dfrac{|f^{(n+1)}(c)|}{(n+1)!}|x - a|^{n+1}, with cc between aa and xx.

  4. 4
    Stop once the bound beats the tolerance; add up the terms

Remember: Add terms until the error bound is small enough.

See it in a problem3 worked examples

Approximate ∫01/2sin⁡(x2) dx\displaystyle\int_0^{1/2} \sin(x^{2})\,dx with an error of at most 10−410^{-4}.

  1. 1
    Write the series, integrating term by term if needed

    sin⁡(x2)=∑n=0∞(−1)nx4n+2(2n+1)!\sin(x^{2}) = \sum_{n=0}^{\infty} \dfrac{(-1)^{n}x^{4n+2}}{(2n+1)!}, so the integral is ∑n=0∞(−1)n(1/2)4n+3(2n+1)! (4n+3)\sum_{n=0}^{\infty} \dfrac{(-1)^{n}(1/2)^{4n+3}}{(2n+1)!\,(4n+3)}.

  2. 2
    Plug in the value to get a series of numbers

    Terms: 124\dfrac{1}{24}, −15376-\dfrac{1}{5376}, 12703360\dfrac{1}{2703360}, …

  3. 3
    Bound the error for each number of terms you try

    Alternating and decreasing. One term: error up to 15376≈1.9×10−4\dfrac{1}{5376} \approx 1.9 \times 10^{-4}, too big. Two terms: error at most 12703360≈3.7×10−7\dfrac{1}{2703360} \approx 3.7 \times 10^{-7}.

  4. 4
    Stop once the bound beats the tolerance; add up the terms

    Two terms: 124−15376=2235376\dfrac{1}{24} - \dfrac{1}{5376} = \dfrac{223}{5376}.

Answer:

2235376≈0.04148\dfrac{223}{5376} \approx 0.04148

Common mistakes3
  • Using the first term you leave out as the bound when the series is not alternating. Then you need the remainder.
  • Bounding ece^{c} with the very number you are computing. Use a known bound such as e<3e < 3.
  • Miscounting: the terms n=0n = 0 to n=2n = 2 are three terms.

Need the formulas? Must memorize · Flashcards

Found this helpful? Leave us a review on Google ↗Spotted a mistake?

Which topics are you reviewing?

The topic list, Flashcards, Must memorize and Exam words will only show these. Change it any time with the Topics button above the topic list.

The integral
Techniques of integration
Applications
Sequences & series
7 of 20 topics selected