AP CALCULUS BC • INFINITE SEQUENCES AND SERIES

Finding Taylor or Maclaurin Series for a Function

Represent any smooth function as an infinite polynomial built from its derivatives at a single point.

Historical Context & Motivation

Long before computers could evaluate transcendental functions like sin x or eˣ at the press of a button, mathematicians needed efficient ways to approximate these quantities with nothing more than addition, subtraction, and multiplication. The central insight — that a sufficiently smooth function can be reconstructed from its derivatives at a single point — emerged gradually over more than a century of work across Europe and Asia. This idea not only unlocked practical computation but also revealed a deep connection between local behavior (derivatives) and global behavior (the function's values everywhere within a radius of convergence).

1671
James Gregory's Expansion of arctan x
Scottish mathematician James Gregory discovered the series arctan x = x − x³/3 + x⁵/5 − ⋯, one of the earliest known power-series representations, predating the formal framework by decades.
1715
Brook Taylor Publishes Methodus Incrementorum Directa et Inversa
Brook Taylor presented the general formula for expanding a function about an arbitrary point x = a, establishing the theoretical foundation of what we now call the Taylor series.
1742
Colin Maclaurin's Treatise of Fluxions
Colin Maclaurin popularized the special case where a = 0, providing extensive applications of what is now called the Maclaurin series. Although the idea was not entirely new, Maclaurin's systematic treatment made it a standard tool.
1821
Cauchy Formalizes Convergence
Augustin-Louis Cauchy developed rigorous definitions of convergence and remainder terms, resolving questions about when a Taylor series actually equals its generating function — a subtlety Taylor and Maclaurin had not fully addressed.

The core question this lesson addresses is both elegant and practical: given a function f and a center point a, how do we construct a power series that agrees with f in every derivative at that point, and under what conditions does the resulting series converge to f? Mastering this technique gives you the ability to turn complicated functions into polynomial approximations of any desired precision — a skill tested extensively on the AP Calculus BC exam.

Core Principles & Definitions

A Taylor series centered at x = a is a power series whose coefficients are determined entirely by the derivatives of f evaluated at a. When the center is a = 0, the series is called a Maclaurin series. The construction rests on a single demand: the series must match every derivative of f at the center. This requirement uniquely fixes each coefficient, producing the formula f⁽ⁿ⁾(a)/n! for the coefficient of (x − a)ⁿ. Understanding why this formula works, and when the resulting series actually converges to f, is the foundation of this entire topic.

1

Taylor Series (General Form)

The infinite series Σ f⁽ⁿ⁾(a)/n! · (x − a)ⁿ from n = 0 to ∞, centered at x = a. Each term encodes the nth derivative of f at a, scaled by the factorial to ensure the derivatives of the series match those of f.
2

Maclaurin Series (a = 0)

A Taylor series centered at 0: Σ f⁽ⁿ⁾(0)/n! · xⁿ. The standard series for eˣ, sin x, cos x, and 1/(1 − x) are all Maclaurin series. This special case appears most frequently on the AP exam.
3

Radius of Convergence

The distance R from the center a within which the series converges to f(x). Found using the Ratio Test or Root Test. The series converges for |x − a| < R and diverges for |x − a| > R; endpoints require separate analysis.
4

Taylor Polynomial (Partial Sum)

The nth-degree Taylor polynomial Pₙ(x) is the finite sum of the first n + 1 terms. It serves as the best polynomial approximation of degree n near x = a. The Lagrange remainder Rₙ(x) bounds the approximation error.
5

Known Series & Manipulation

Rather than computing derivatives from scratch every time, many Taylor/Maclaurin series are built by substituting, differentiating, or integrating known series such as those for eˣ, sin x, cos x, ln(1 + x), and the geometric series.
KEY TAKEAWAY
Think of a Taylor series as a "DNA decoder" for a function. Just as a strand of DNA encodes a complete organism in a sequence of base pairs, the sequence of derivatives f(a), f′(a), f″(a), f‴(a), … encodes the complete local behavior of f. The Taylor series formula is the rule that reconstructs the full function from this derivative "genome." Each additional term you include is like reading one more gene — the reconstruction becomes more faithful over a wider domain.

Visualizing Taylor Approximations

The power of a Taylor series becomes strikingly clear when you see successive Taylor polynomials wrap themselves more tightly around the target function as the degree increases. The diagram below shows f(x) = sin x along with its Maclaurin polynomials of degrees 1, 3, 5, and 7. Near the center x = 0, even the first-degree polynomial (the tangent line) provides a reasonable fit, but higher-degree polynomials extend the region of good approximation dramatically.

Successive Maclaurin polynomials P₁, P₃, P₅, and P₇ for sin x. Near x = 0, all polynomials cluster around the true curve. As the degree increases, the region of close fit expands further from the center.

Notice how P₁ (the tangent line) only captures the slope at the origin. The cubic P₃ begins to capture the curvature and inflection of sin x, providing a good fit roughly on (−π, π). By degree 7, the polynomial P₇ is nearly indistinguishable from sin x on (−2π, 2π). This pattern illustrates a fundamental theme: each additional term you include in the Taylor series improves the approximation not just in accuracy but in the width of the interval over which the approximation is useful. Because the Maclaurin series for sin x converges for all real x (its radius of convergence is ∞), you could, in principle, achieve any desired accuracy anywhere by taking enough terms.

Mathematical Framework

The derivation of the Taylor series formula begins with a simple but powerful idea: if a function f is representable as a power series about x = a, what must the coefficients be? Suppose f(x) = c₀ + c₁(x − a) + c₂(x − a)² + c₃(x − a)³ + ⋯ for all x in some interval containing a. Substituting x = a gives f(a) = c₀. Differentiating and substituting x = a gives f′(a) = c₁. Differentiating again gives f″(a) = 2c₂, so c₂ = f″(a)/2. In general, the nth derivative evaluated at a produces n! · cₙ, yielding cₙ = f⁽ⁿ⁾(a)/n!.

TAYLOR SERIES
f(x) = Σ (n=0 to ∞) f⁽ⁿ⁾(a) / n! · (x − a)ⁿ
f⁽ⁿ⁾(a) = nth derivative of f evaluated at x = a; n! = n factorial; a = center of the series.
MACLAURIN SERIES (a = 0)
f(x) = Σ (n=0 to ∞) f⁽ⁿ⁾(0) / n! · xⁿ = f(0) + f′(0)x + f″(0)/2! · x² + f‴(0)/3! · x³ + ⋯
This is the special case of the Taylor series with a = 0. Most standard series encountered on the AP exam are Maclaurin series.
LAGRANGE REMAINDER (ERROR BOUND)
Rₙ(x) = f⁽ⁿ⁺¹⁾(c) / (n+1)! · (x − a)ⁿ⁺¹ for some c between a and x
Rₙ(x) represents the error when f is approximated by the nth-degree Taylor polynomial. The bound |Rₙ(x)| ≤ M/(n+1)! · |x − a|ⁿ⁺¹, where M is an upper bound for |f⁽ⁿ⁺¹⁾(t)| on the interval, is widely tested on the AP exam.
RATIO TEST FOR RADIUS OF CONVERGENCE
R = lim (n→∞) |aₙ / aₙ₊₁| where aₙ is the coefficient of (x − a)ⁿ
Equivalently, the series converges when lim |aₙ₊₁/aₙ| · |x − a| < 1. The radius R may be 0 (convergence only at a), a positive real number, or ∞ (convergence everywhere).
📝 AP Exam Tip
The College Board provides a formula sheet listing the Taylor series general form and the Maclaurin series for eˣ, sin x, cos x, and 1/(1 − x). You are expected to derive other series (like ln(1 + x) or arctan x) from these by substitution, differentiation, or integration.

Essential Maclaurin Series & Manipulation Techniques

The most efficient route to a Taylor or Maclaurin series is often not to compute derivatives directly but instead to start from a known series and apply algebraic or calculus-based operations. The table below lists the five series you should have memorized for the AP exam, along with their intervals of convergence.

The five standard Maclaurin series for the AP Calculus BC exam.
FunctionMaclaurin SeriesInterval of Convergence
Σ xⁿ/n! = 1 + x + x²/2! + x³/3! + ⋯(−∞, ∞)
sin xΣ (−1)ⁿ x²ⁿ⁺¹/(2n+1)! = x − x³/3! + x⁵/5! − ⋯(−∞, ∞)
cos xΣ (−1)ⁿ x²ⁿ/(2n)! = 1 − x²/2! + x⁴/4! − ⋯(−∞, ∞)
1/(1 − x)Σ xⁿ = 1 + x + x² + x³ + ⋯(−1, 1)
ln(1 + x)Σ (−1)ⁿ⁺¹ xⁿ/n = x − x²/2 + x³/3 − ⋯(−1, 1]
Five manipulation techniques for generating new Taylor/Maclaurin series from known ones: substitution, term-by-term differentiation, term-by-term integration, multiplication of series, and algebraic combination.

The key insight is that substitution allows you to replace x in a known series with any expression, producing a valid series for the composite function. For instance, replacing x with −x² in the Maclaurin series for eˣ immediately gives the series for e⁻ˣ². Term-by-term differentiation is valid inside the radius of convergence, and the resulting series has the same radius. Term-by-term integration is likewise valid and preserves the radius of convergence, though endpoint behavior may change. These three techniques, combined with simple algebraic multiplication, account for the vast majority of series problems on the AP exam.

Worked Example: Finding the Maclaurin Series for f(x) = x²eˣ

Rather than computing derivatives of x²eˣ directly, we use the known Maclaurin series for eˣ and multiply by x². This illustrates the algebraic manipulation technique and is far more efficient than the derivative approach.

Find the Maclaurin series for f(x) = x²eˣ and determine its radius of convergence.
1
Step 1 — Write the Known Series for eˣWe begin with the standard Maclaurin series: eˣ = Σ (n=0 to ∞) xⁿ/n! = 1 + x + x²/2! + x³/3! + x⁴/4! + ⋯, which converges for all real x (R = ∞).
2
Step 2 — Multiply Every Term by x²Multiplying each term of the series by x² shifts the power of x in every term by 2: x²eˣ = x² · Σ (n=0 to ∞) xⁿ/n! = Σ (n=0 to ∞) xⁿ⁺²/n!. Writing out the first few terms: x² + x³ + x⁴/2! + x⁵/3! + x⁶/4! + ⋯.
3
Step 3 — Re-index (Optional but Clean)Let m = n + 2, so n = m − 2 and when n = 0, m = 2. The series becomes: x²eˣ = Σ (m=2 to ∞) xᵐ/(m−2)!. This form is useful when combining with other series or when the problem asks for a single-summation representation.
x²eˣ = Σ (n=0 to ∞) xⁿ⁺²/n! = Σ (m=2 to ∞) xᵐ/(m−2)!
4
Step 4 — Determine the Radius of ConvergenceMultiplying a convergent power series by a polynomial does not change its radius of convergence. Since the Maclaurin series for eˣ converges for all x, the series for x²eˣ also converges for all x.
Radius of convergence: R = ∞
5
Step 5 — Verify with a Quick CheckAt x = 0: the series gives 0² · e⁰ = 0, and every term of the series has at least x², so the sum at x = 0 is indeed 0. ✓ The first derivative of x²eˣ is 2xeˣ + x²eˣ = eˣ(2x + x²), which at x = 0 gives 0. The first nonzero term in our series is x², consistent with f(0) = 0 and f′(0) = 0.

Strategies, Strengths & Common Pitfalls

Finding a Taylor or Maclaurin series on the AP exam requires choosing the right method. Computing derivatives directly is always valid but frequently tedious; manipulation of known series is faster and less error-prone. The table below compares the two main approaches and highlights common pitfalls students encounter.

Comparison of methods for finding Taylor/Maclaurin series.
MethodStrengthsLimitations / Pitfalls
Direct Derivative ComputationWorks for any function with sufficient derivatives. Guarantees the correct coefficients from the definition.Derivatives can grow extremely complex (e.g., tan x). Easy to make algebraic errors on higher-order derivatives. Time-consuming on exams.
Substitution into Known SeriesFast and elegant. Minimal computation. Works beautifully for compositions like e⁻ˣ², sin(x²), cos(3x).Must adjust the interval of convergence after substitution. Students often forget to update the radius (e.g., replacing x with 2x in the geometric series halves R to 1/2).
Term-by-Term DifferentiationGenerates the series for f′(x) from f(x)'s series instantly. Preserves the radius of convergence.Endpoint convergence may change. Not valid outside the open interval of convergence.
Term-by-Term IntegrationPerfect for finding series of antiderivatives like ln(1 + x) from 1/(1 + x), or arctan x from 1/(1 + x²). Don't forget the constant C.Students frequently forget to add the constant of integration. Endpoint behavior can change (may gain convergence at endpoints).
🎯 STRATEGY TAKEAWAY
Before computing any derivatives, ask: "Can I write this function in terms of eˣ, sin x, cos x, 1/(1 − x), or ln(1 + x)?" If the answer is yes, manipulation will almost always be faster. Think of the five memorized series as your toolkit — just as an engineer reaches for standard components before designing from scratch, you should reach for known series before computing derivatives.

Connection to Broader Theory & Advanced Topics

Taylor and Maclaurin series sit at the intersection of several major themes in calculus and analysis. On the AP Calculus BC exam, this topic connects directly to approximation, convergence testing, and error estimation. Beyond the exam, these series form the backbone of techniques used in differential equations, numerical analysis, physics, and engineering. Understanding how Taylor series relate to these broader areas deepens your conceptual grasp and prepares you for the kinds of synthesis questions that appear on challenging free-response problems.

How Taylor/Maclaurin series connect to other AP Calculus BC and advanced topics.
AP Calculus BC TopicConnection to Taylor/Maclaurin Series
Convergence Tests (Ratio, Root, Alternating Series)The Ratio Test determines the radius of convergence. The Alternating Series Estimation Theorem provides error bounds for alternating Taylor series.
Lagrange Error BoundDirectly quantifies how well a Taylor polynomial Pₙ(x) approximates f(x). FRQs frequently ask you to bound the error for a given n and x-value.
Power Series & Interval of ConvergenceEvery Taylor series is a power series. Finding its interval of convergence uses the same tools as for general power series, but the coefficients come from derivatives.
L'Hôpital's Rule & LimitsTaylor series provide an alternative to L'Hôpital's Rule for evaluating indeterminate limits. Replace functions with their series, simplify, and read off the limit.
Differential Equations (Beyond BC)Series solutions of differential equations assume y(x) is a power series, then determine coefficients from the equation. This extends the Taylor series idea to equations where f cannot be found in closed form.

Looking beyond AP Calculus, complex analysis extends Taylor series into the complex plane, where Euler's famous identity e + 1 = 0 emerges naturally from the Maclaurin series for eˣ, sin x, and cos x. Laurent series generalize Taylor series to include negative powers of (x − a), enabling analysis of functions with poles. In applied mathematics, asymptotic expansions use Taylor-type series that may not converge but still provide excellent approximations in limiting regimes — a powerful idea in physics and engineering.

Practice Problems

1
If f is a function with derivatives of all orders, and the Maclaurin series for f is Σ (n=0 to ∞) cₙxⁿ, which of the following must be true?
2
What is the Maclaurin series for f(x) = cos(2x)?
3
The function g is defined by g(x) = ∫₀ˣ (sin t)/t dt for x ≠ 0 and g(0) = 0. Using the Maclaurin series for sin t, what is the coefficient of x⁵ in the Maclaurin series for g(x)?
PROBLEM 4APPLIED
Let f(x) = ln(1 + x). (a) Write the first four nonzero terms and the general term of the Maclaurin series for f(x). State the interval of convergence. (2 points) (b) Use the series from part (a) to write the first four nonzero terms of the Maclaurin series for g(x) = x · ln(1 + x²). (1 point) (c) Use the series from part (b) to find the exact value of g⁽⁵⁾(0), the fifth derivative of g at x = 0. (1 point) (d) Explain why the Maclaurin series for g(x) can be used to approximate g(1/2) with an error less than 1/100. (1 point)
PROBLEM 5CRITICAL THINKING
Let h(x) = Σ (n=0 to ∞) (n+1)xⁿ. (a) Identify a known function whose Maclaurin series equals h(x), and justify your answer. (2 points) (b) Determine the radius and interval of convergence of the series. (1 point)

Key Concepts Review

A Taylor series centered at x = a represents a function as Σ f⁽ⁿ⁾(a)/n! · (x − a)ⁿ, where each coefficient is uniquely determined by the nth derivative at the center. A Maclaurin series is the special case with a = 0. The five essential Maclaurin series — for eˣ, sin x, cos x, 1/(1 − x), and ln(1 + x) — serve as building blocks from which nearly any other series can be constructed through substitution, differentiation, integration, or algebraic manipulation.

The radius of convergence R, typically found via the Ratio Test, determines the interval on which the series converges to f. The Lagrange error bound and the Alternating Series Estimation Theorem quantify the error when a finite Taylor polynomial replaces the full series. On the AP exam, always prefer manipulating known series over computing derivatives from scratch, verify your series at x = a as a quick check, and remember that extracting a specific derivative value from a series uses the relationship f⁽ⁿ⁾(a) = n! × (coefficient of (x − a)ⁿ).

Varsity Tutors • AP Calculus BC • Finding Taylor or Maclaurin Series for a Function