AP Calculus BC only · Unit 10 · Topic 10.14

    10.14 Finding Taylor or Maclaurin Series for a Function

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    Letting a Taylor polynomial run forever gives the Taylor series ∑n=0∞f(n)(a)n!(x−a)n\sum_{n=0}^\infty \frac{f^{(n)}(a)}{n!}(x - a)^n. Four Maclaurin series should be known by heart: exe^x, sin⁡x\sin x, cos⁡x\cos x and 11−x\frac{1}{1 - x}, along with their intervals of convergence. Writing the general term in sigma notation is a regular exam task.

    What you need to know

    • Write the Taylor series of a function from its derivatives.
    • Recall the Maclaurin series for eˣ, sin x, cos x and 1/(1 − x).
    • Write the general term of a series.
    • Find a series from a formula for f⁽ⁿ⁾(a).

    From polynomial to series

    f(x)=∑n=0∞f(n)(a)n!(x−a)nf(x) = \sum_{n=0}^\infty \frac{f^{(n)}(a)}{n!}(x - a)^n

    For the functions in the AP course, the Taylor series equals the function wherever the series converges. With a=0a = 0 it is called a Maclaurin series. The partial sums of a Taylor series are exactly the Taylor polynomials of topic 10.11. A Taylor series is therefore a power series (topic 10.13), with a radius and an interval of convergence found by the ratio test. For exe^x, sin⁡x\sin x and cos⁡x\cos x the ratio test gives R=∞R = \infty, so these series represent their functions for every real xx; for 11−x\frac{1}{1 - x} the radius is 1, and the series is useless outside ∣x∣<1|x| < 1 even though the function is defined there.

    Four series to know

    Standard Maclaurin series
    FunctionSeriesConverges for
    exe^x1+x+x22!+x33!+⋯=∑xnn!1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots = \sum \frac{x^n}{n!}all x
    sin⁡x\sin xx−x33!+x55!−⋯=∑(−1)nx2n+1(2n+1)!x - \frac{x^3}{3!} + \frac{x^5}{5!} - \cdots = \sum \frac{(-1)^n x^{2n+1}}{(2n + 1)!}all x
    cos⁡x\cos x1−x22!+x44!−⋯=∑(−1)nx2n(2n)!1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \cdots = \sum \frac{(-1)^n x^{2n}}{(2n)!}all x
    11−x\frac{1}{1 - x}1+x+x2+⋯=∑xn1 + x + x^2 + \cdots = \sum x^n∣x∣<1|x| < 1

    Notice the patterns: sin⁡x\sin x has only odd powers and is an odd function; cos⁡x\cos x has only even powers and is even. Differentiating the sine series term by term gives the cosine series, just as ddxsin⁡x=cos⁡x\frac{d}{dx}\sin x = \cos x.

    Building series

    From derivatives. For e2xe^{2x}, the nnth derivative is 2ne2x2^n e^{2x}, equal to 2n2^n at 0, so the series is ∑2nxnn!=1+2x+2x2+43x3+⋯\sum \frac{2^n x^n}{n!} = 1 + 2x + 2x^2 + \frac{4}{3}x^3 + \cdots. This is also what substituting 2x2x into the exe^x series gives (topic 10.15).

    About another centre. For ln⁡x\ln x about x=1x = 1: f′(x)=1xf'(x) = \frac{1}{x}, f′′(x)=−1x2f''(x) = -\frac{1}{x^2}, f′′′(x)=2x3f'''(x) = \frac{2}{x^3}, so at 1 the derivatives are 1,−1,21, -1, 2, and the series begins (x−1)−(x−1)22+(x−1)33−⋯(x - 1) - \frac{(x - 1)^2}{2} + \frac{(x - 1)^3}{3} - \cdots.

    From a formula. If f(n)(2)=(n+1)!3nf^{(n)}(2) = \frac{(n + 1)!}{3^n}, then the coefficient of (x−2)n(x - 2)^n is f(n)(2)n!=n+13n\frac{f^{(n)}(2)}{n!} = \frac{n + 1}{3^n}, and the series is ∑n=0∞(n+1)(x−2)n3n\sum_{n=0}^\infty \frac{(n + 1)(x - 2)^n}{3^n}. Questions in this style are common, and the factorial usually cancels.

    On the exam

    A typical question asks for the first four nonzero terms and the general term of a series, then uses it: to approximate a value, to find a limit, or to identify a derivative. Read 'first four nonzero terms' carefully: for sin⁡x\sin x that means up to x7x^7, not up to x3x^3.

    Derivative values can be read straight from a known series. In xe−x=x−x2+x32−⋯xe^{-x} = x - x^2 + \frac{x^3}{2} - \cdots, the coefficient of x3x^3 is 12\frac{1}{2}, so the third derivative at 0 is 3!×12=33! \times \frac{1}{2} = 3, with no differentiating at all.

    Key terms

    Taylor series
    ∑f(n)(a)n!(x−a)n\sum \frac{f^{(n)}(a)}{n!}(x - a)^n.
    Maclaurin series
    A Taylor series centred at 0.
    General term
    The formula for the nth term, written with sigma notation.
    Nonzero terms
    Terms whose coefficient is not zero; sin x has only odd-power nonzero terms.

    Common mistakes

    • Mixing up the sin and cos series.

      sin x has odd powers starting with x; cos x has even powers starting with 1.

    • Counting zero terms as 'nonzero terms'.

      List only the terms with nonzero coefficients.

    • Forgetting factorials in the general term.

      Each term is divided by the factorial of its power.

    How this topic is tested

    • Learn the four standard series with their intervals.
    • Write the first few terms before the general term.
    • Read derivative values from coefficients times n!.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · MP 4 · Communication and Notation

      What is the general term of the Maclaurin series for exe^x?

    2. Question 2 · MP 1 · Implementing Mathematical Processes

      What are the first three nonzero terms of the Maclaurin series for cos⁡x\cos x?

    3. Question 3 · MP 1 · Implementing Mathematical Processes

      What is the coefficient of x5x^5 in the Maclaurin series for sin⁡x\sin x?

    4. Question 4 · MP 1 · Implementing Mathematical Processes

      What is the x2x^2 term of the Maclaurin series for e2xe^{2x}?

    5. Question 5 · MP 2 · Connecting Representations

      If f(n)(2)=(n+1)!3nf^{(n)}(2) = \frac{(n + 1)!}{3^n}, what is the coefficient of (x−2)n(x - 2)^n in the Taylor series about 2?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Free response (no calculator) · 4 points

    Let f(x)=e−xf(x) = e^{-x} and g(x)=xe−xg(x) = xe^{-x}.

    1. (a) Write the first four terms of the Maclaurin series for ff.
    2. (b) Write the general term of the Maclaurin series for ff.
    3. (c) Write the first three nonzero terms of the Maclaurin series for gg.
    4. (d) Find g′′′(0)g'''(0).

    Connected topics

    Frequently asked questions

    Do I need to memorise ln(1 + x) and arctan x?

    They can be built from the geometric series in topic 10.15, so knowing the method is enough.

    Does a Taylor series always equal its function?

    For the functions on the AP exam, yes, within the interval of convergence.

    What does 'first four nonzero terms' mean for sin x?

    x, −x³/3!, x⁵/5! and −x⁷/7!.

    How this shows up on the exam42 multiple-choice and 6 free-response questions, with and without a calculator. See how the BC exam is laid out.

    Free Unit 10 cheat sheet

    Every topic in Unit 10: Infinite Sequences and Series on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Calculus BC practice material is ready. No spam, and we'll delete it if you ask.

    Full-length AP Calculus BC practice examsUnit 10 is one of 10 units on the exam. Two timed exams in the 2027 format (42 MCQ + 6 FRQ, with calculator and no-calculator parts), worked explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    All topics in Unit 10: Infinite Sequences and Series

    1. 10.1 Defining Convergent and Divergent Infinite Series
    2. 10.2 Working with Geometric Series
    3. 10.3 The nth Term Test for Divergence
    4. 10.4 Integral Test for Convergence
    5. 10.5 Harmonic Series and p-Series
    6. 10.6 Comparison Tests for Convergence
    7. 10.7 Alternating Series Test for Convergence
    8. 10.8 Ratio Test for Convergence
    9. 10.9 Determining Absolute or Conditional Convergence
    10. 10.10 Alternating Series Error Bound
    11. 10.11 Finding Taylor Polynomial Approximations of Functions
    12. 10.12 Lagrange Error Bound
    13. 10.13 Radius and Interval of Convergence of Power Series
    14. 10.14 Finding Taylor or Maclaurin Series for a Function
    15. 10.15 Representing Functions as Power Series

    Other units in AP Calculus BC

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.