Calculus 2 / BC Calculus

Taylor and Maclaurin Series

Power series representations of functions — from the foundational formula and radius of convergence to key Maclaurin series, error bounds, and applications in approximation and limits.

Power Series: The Foundation

A power series is an infinite polynomial centered at a point a. When it represents a known function, we call it the Taylor (or Maclaurin) series for that function.

General power series centered at a:

Σ cₙ(x − a)ⁿ = c₀ + c₁(x−a) + c₂(x−a)² + c₃(x−a)³ + …

Convergence

A power series converges for some x-values and diverges for others. The set of all x where it converges is the interval of convergence.

Radius of Convergence

The radius R defines how far from the center the series converges. The series converges for |x − a| < R and diverges for |x − a| > R.

Function Representation

Inside the interval of convergence, the power series equals a smooth function f(x). The series can be differentiated and integrated term by term.

Radius and Interval of Convergence

Finding R via the Ratio Test

R = lim(n→∞) |cₙ / cₙ₊₁|    (equivalently, 1/L where L = lim |cₙ₊₁/cₙ|)

If L = 0, then R = ∞ (converges for all x). If L = ∞, then R = 0 (only converges at x = a).

1

Apply the Ratio Test

Form |aₙ₊₁/aₙ| where aₙ = cₙ(x−a)ⁿ. The (x−a) factor carries through, giving the limit L·|x−a|. Set L·|x−a| < 1 and solve to find |x−a| < 1/L = R.

2

Write the open interval

The series converges on (a−R, a+R). This is the open interval of convergence — endpoints not yet included.

3

Test each endpoint separately

Substitute x = a−R and x = a+R into the original series. Apply the Alternating Series Test, p-series test, or other tests to check convergence.

4

State the full interval

Use [ for convergent endpoints and ( for divergent endpoints. Example: (−1, 1] means the left endpoint diverges and the right endpoint converges.

The Taylor Series Formula

Taylor series of f(x) centered at a:

f(x) = Σ f⁽ⁿ⁾(a) / n! · (x − a)ⁿ

= f(a) + f'(a)(x−a) + f''(a)/2!(x−a)² + f'''(a)/3!(x−a)³ + …

Maclaurin Series (a = 0)

f(x) = Σ f⁽ⁿ⁾(0) / n! · xⁿ

Centered at the origin. Gives the simplest expressions for eˣ, sin x, cos x, and most common functions. Use when approximating near x = 0.

Taylor Series at a ≠ 0

f(x) = Σ f⁽ⁿ⁾(a) / n! · (x − a)ⁿ

Centered at x = a. Use when approximating near a specific point other than 0 — e.g., at a = 1 for ln x, or at a = π/3 for trigonometric approximations.

The Five Essential Maclaurin Series

Memorize these. Every other series can be derived from them by substitution, differentiation, or integration.

Exponential: eˣ

eˣ = 1 + x + x²/2! + x³/3! + x⁴/4! + … = Σ xⁿ/n!

R = ∞ (converges for all x)

All derivatives of eˣ are eˣ, so every coefficient is e⁰/n! = 1/n!. Convergent everywhere.

Sine: sin x

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

R = ∞ (converges for all x)

Only odd powers. Signs alternate. The pattern arises because even derivatives of sin x at 0 are 0.

Cosine: cos x

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

R = ∞ (converges for all x)

Only even powers. Signs alternate. Note that d/dx [sin x] = cos x matches — term-by-term differentiation confirms the series.

Geometric: 1/(1−x)

1/(1−x) = 1 + x + x² + x³ + x⁴ + … = Σ xⁿ

R = 1 (converges for |x| < 1; diverges at both endpoints)

The geometric series. Substitute x → −x to get 1/(1+x), or x → x² to get 1/(1−x²), and so on.

Natural Log: ln(1+x)

ln(1+x) = x − x²/2 + x³/3 − x⁴/4 + … = Σ (−1)ⁿ⁺¹ xⁿ/n

R = 1 (converges for −1 < x ≤ 1)

Derived by integrating 1/(1+x) = Σ (−1)ⁿxⁿ. Converges at x = 1 (alternating harmonic) but diverges at x = −1 (harmonic series).

Finding Taylor Series via Derivatives

When you cannot derive a series from a known formula, compute it directly from the definition using successive derivatives.

1

Compute f(a), f'(a), f''(a), f'''(a), …

Find as many derivatives as needed and evaluate each at x = a. Look for a pattern so you can write the general term.

2

Divide each by n!

The coefficient of (x−a)ⁿ is cₙ = f⁽ⁿ⁾(a) / n!. This is what the Taylor formula says.

3

Write the series and identify the general term

Use sigma notation if you can find the pattern: f(x) = Σ cₙ(x−a)ⁿ. Write out the first four or five terms if the pattern is not obvious.

4

Find the radius of convergence

Apply the Ratio Test to the general term. State the radius R and test the endpoints to find the full interval of convergence.

Example: f(x) = sin x at a = 0

f(x) = sin x    → f(0) = 0

f'(x) = cos x   → f'(0) = 1

f''(x) = −sin x → f''(0) = 0

f'''(x) = −cos x → f'''(0) = −1

f⁽⁴⁾(x) = sin x  → f⁽⁴⁾(0) = 0 (pattern repeats)

sin x = 0 + x + 0 − x³/6 + 0 + x⁵/120 − …

sin x = x − x³/3! + x⁵/5! − x⁷/7! + …

Manipulating Known Series

Derive new series from the five essential ones without computing any derivatives.

Technique 1: Substitution

Replace the variable with any expression. The radius of convergence scales accordingly.

Start: eˣ = Σ xⁿ/n!

Result: e^(−x²) = Σ (−1)ⁿ x^(2n)/n!

Method: substitute x → −x²

Start: sin x = Σ (−1)ⁿ x^(2n+1)/(2n+1)!

Result: sin(3x) = Σ (−1)ⁿ (3x)^(2n+1)/(2n+1)! = Σ (−1)ⁿ 3^(2n+1) x^(2n+1)/(2n+1)!

Method: substitute x → 3x

Start: 1/(1−x) = Σ xⁿ

Result: 1/(1+x²) = Σ (−1)ⁿ x^(2n)

Method: substitute x → −x²; converges for |x| < 1

Technique 2: Term-by-Term Differentiation

Differentiate both sides. Valid inside the open interval of convergence. The radius R stays the same; re-check endpoints.

Start: 1/(1−x) = Σ xⁿ

Differentiate: d/dx [1/(1−x)] = 1/(1−x)²

Result: 1/(1−x)² = Σ n·xⁿ⁻¹ = 1 + 2x + 3x² + 4x³ + …

Start: sin x = Σ (−1)ⁿ x^(2n+1)/(2n+1)!

Differentiate: d/dx [sin x] = cos x

Result: cos x = Σ (−1)ⁿ x^(2n)/(2n)! (confirms the cos x series)

Technique 3: Term-by-Term Integration

Integrate both sides from 0 to x (or from a to x). Useful for deriving series for ln, arctan, and other antiderivatives.

Start: 1/(1+x) = Σ (−1)ⁿ xⁿ

Integrate: ∫ 1/(1+t) dt = ln(1+x)

Result: ln(1+x) = Σ (−1)ⁿ xⁿ⁺¹/(n+1) = x − x²/2 + x³/3 − …

Start: 1/(1+x²) = Σ (−1)ⁿ x^(2n)

Integrate: ∫ 1/(1+t²) dt = arctan(x)

Result: arctan x = Σ (−1)ⁿ x^(2n+1)/(2n+1) = x − x³/3 + x⁵/5 − …

Taylor's Remainder Theorem (Error Bounds)

When you truncate a Taylor series at degree n (using only the first n+1 terms), the error is bounded by the Lagrange remainder formula.

Lagrange Remainder Formula

|Rₙ(x)| ≤ M / (n+1)! · |x − a|ⁿ⁺¹

where M is any bound satisfying |f⁽ⁿ⁺¹⁾(t)| ≤ M for all t between a and x.

Alternating Series Bound (Simpler)

For alternating series satisfying the Alternating Series Test, the error is at most the absolute value of the first omitted term. No derivatives needed.

Using the Bound

To achieve accuracy within ε: set M/(n+1)! · |x−a|ⁿ⁺¹ < ε and solve for n. Larger n → smaller error. Increase n until the bound is below your tolerance.

Example: Bound the error in approximating sin(0.1) using the first two nonzero terms

sin x ≈ x − x³/6   (two nonzero terms, degree 3)

First omitted term: x⁵/120

At x = 0.1: |error| ≤ (0.1)⁵/120 = 0.00001/120 ≈ 8.3 × 10⁻⁸

Approximation is accurate to 7 decimal places.

Applications

Approximating Function Values

Calculators and computer systems use Taylor polynomials internally to evaluate eˣ, sin x, ln x, and every transcendental function. For hand computation, truncate the series to the precision you need.

e⁰·² ≈ 1 + 0.2 + 0.04/2 + 0.008/6 = 1 + 0.2 + 0.02 + 0.00133 ≈ 1.2213

True value: e⁰·² ≈ 1.22140… (error < 0.0001)

Evaluating Limits via Series

Replace functions with their Taylor series and cancel. Often faster than repeated applications of L'Hôpital's rule.

lim(x→0) (1 − cos x) / x²

cos x = 1 − x²/2! + x⁴/4! − … → 1 − cos x = x²/2 − x⁴/24 + …

(1 − cos x)/x² = 1/2 − x²/24 + … → 1/2

lim(x→0) (eˣ − 1 − x) / x²

eˣ = 1 + x + x²/2! + x³/3! + … → eˣ − 1 − x = x²/2 + x³/6 + …

(eˣ − 1 − x)/x² = 1/2 + x/6 + … → 1/2

lim(x→0) (sin x − x) / x³

sin x = x − x³/6 + x⁵/120 − … → sin x − x = −x³/6 + …

(sin x − x)/x³ = −1/6 + … → −1/6

Integrating Functions Without Antiderivatives

Some functions have no elementary antiderivative. Taylor series allow integration to any desired accuracy.

∫₀¹ e^(−x²) dx   (no elementary antiderivative)

e^(−x²) = Σ (−1)ⁿ x^(2n)/n! = 1 − x² + x⁴/2! − x⁶/3! + …

∫₀¹ e^(−x²) dx = [x − x³/3 + x⁵/10 − x⁷/42 + …]₀¹

≈ 1 − 1/3 + 1/10 − 1/42 + 1/216 − …

≈ 0.7468 (alternating series, easy to bound the error)

Worked Examples

Example 1 — Find the Maclaurin series for f(x) = x·eˣ

Start with: eˣ = Σ xⁿ/n! = 1 + x + x²/2! + x³/3! + …

Multiply both sides by x:

x·eˣ = x + x² + x³/2! + x⁴/3! + … = Σ xⁿ⁺¹/n!

or equivalently: Σ xⁿ/(n−1)! starting from n = 1

R = ∞ (same as eˣ). No derivatives computed.

Example 2 — Find the interval of convergence for Σ (−1)ⁿ xⁿ / (n · 3ⁿ)

Let aₙ = (−1)ⁿ xⁿ / (n · 3ⁿ)

Ratio Test: |aₙ₊₁/aₙ| = |x|/(3) · n/(n+1) → |x|/3

Converges when |x|/3 < 1 → |x| < 3 → R = 3

Open interval: (−3, 3). Test endpoints:

x = 3: Σ (−1)ⁿ/n → alternating harmonic series. CONVERGES.

x = −3: Σ 1/n → harmonic series. DIVERGES.

Interval of convergence: (−3, 3]

Example 3 — Maclaurin series for arctan x via integration

Known: 1/(1+t²) = Σ (−1)ⁿ t^(2n)   for |t| < 1

Integrate from 0 to x:

arctan x = ∫₀ˣ 1/(1+t²) dt = Σ (−1)ⁿ x^(2n+1)/(2n+1)

= x − x³/3 + x⁵/5 − x⁷/7 + …

R = 1. At x = 1: Σ (−1)ⁿ/(2n+1) = π/4 (Leibniz formula!)

Example 4 — How many terms of cos x are needed to approximate cos(0.5) within 10⁻⁶?

cos x = 1 − x²/2! + x⁴/4! − x⁶/6! + …   (alternating series)

By the alternating series bound, error ≤ first omitted term.

At x = 0.5, successive terms:

(0.5)²/2! = 0.125/2 = 0.0625

(0.5)⁴/4! = 0.0625/24 ≈ 0.0026

(0.5)⁶/6! = 0.015625/720 ≈ 2.2 × 10⁻⁵

(0.5)⁸/8! = 0.003906/40320 ≈ 9.7 × 10⁻⁸ < 10⁻⁶ ✓

Use 4 terms (through x⁶/6!). The x⁸/8! term is below tolerance.

Example 5 — Taylor series for ln x centered at a = 1

f(x) = ln x, a = 1

f(1) = 0

f'(x) = 1/x     → f'(1) = 1

f''(x) = −1/x²  → f''(1) = −1

f'''(x) = 2/x³   → f'''(1) = 2

f⁽⁴⁾(x) = −6/x⁴ → f⁽⁴⁾(1) = −6

Pattern: f⁽ⁿ⁾(1) = (−1)ⁿ⁺¹(n−1)! for n ≥ 1

ln x = Σ (−1)ⁿ⁺¹ (x−1)ⁿ/n = (x−1) − (x−1)²/2 + (x−1)³/3 − …

R = 1. Converges on (0, 2] (same pattern as ln(1+x) shifted).

Quick Reference: Key Series at a Glance

FunctionSeries (Σ notation)First termsR
Σ xⁿ/n!1 + x + x²/2! + x³/3! + …
sin xΣ (−1)ⁿ x^(2n+1)/(2n+1)!x − x³/6 + x⁵/120 − …
cos xΣ (−1)ⁿ x^(2n)/(2n)!1 − x²/2 + x⁴/24 − …
1/(1−x)Σ xⁿ1 + x + x² + x³ + …1
ln(1+x)Σ (−1)ⁿ⁺¹xⁿ/nx − x²/2 + x³/3 − …1
arctan xΣ (−1)ⁿ x^(2n+1)/(2n+1)x − x³/3 + x⁵/5 − …1
(1+x)ᵏΣ C(k,n) xⁿ1 + kx + k(k−1)/2! x² + …1

Frequently Asked Questions

What is a Taylor series and why is it useful?

A Taylor series represents a smooth function f(x) as an infinite polynomial centered at a point a: f(x) = f(a) + f'(a)(x−a) + f''(a)/2!(x−a)² + f'''(a)/3!(x−a)³ + … = Σ f⁽ⁿ⁾(a)/n! · (x−a)ⁿ. Taylor series are useful because polynomials are easy to differentiate, integrate, and evaluate numerically. They allow us to approximate transcendental functions like sin x, eˣ, and ln x to any desired precision, and they simplify calculating limits by replacing complex expressions with their polynomial equivalents.

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

A Maclaurin series is simply a Taylor series centered at a = 0. The general Taylor series centered at a is: Σ f⁽ⁿ⁾(a)/n! · (x−a)ⁿ. When a = 0, this becomes: Σ f⁽ⁿ⁾(0)/n! · xⁿ, which is the Maclaurin series. The Maclaurin series is used when working near x = 0 and gives simpler expressions. Taylor series centered at other values of a are used when you need accuracy near x = a instead of near the origin.

What is the radius of convergence and how do you find it?

The radius of convergence R is the number such that a power series Σ cₙ(x−a)ⁿ converges absolutely for |x−a| < R and diverges for |x−a| > R. Find R using the Ratio Test: compute L = lim |cₙ₊₁/cₙ| as n→∞, then R = 1/L. If L = 0, then R = ∞ (converges everywhere). If L = ∞, then R = 0. The interval of convergence is (a−R, a+R); you must check the endpoints separately by substituting them into the series and testing convergence. Example: for Σ xⁿ/n!, R = ∞ since |cₙ₊₁/cₙ| = 1/(n+1) → 0.

What are the most important Maclaurin series to memorize?

The five essential Maclaurin series are: (1) eˣ = 1 + x + x²/2! + x³/3! + … = Σ xⁿ/n!, R = ∞. (2) sin x = x − x³/3! + x⁵/5! − x⁷/7! + … = Σ (−1)ⁿx^(2n+1)/(2n+1)!, R = ∞. (3) cos x = 1 − x²/2! + x⁴/4! − x⁶/6! + … = Σ (−1)ⁿx^(2n)/(2n)!, R = ∞. (4) 1/(1−x) = 1 + x + x² + x³ + … = Σ xⁿ, R = 1. (5) ln(1+x) = x − x²/2 + x³/3 − x⁴/4 + … = Σ (−1)ⁿ⁺¹xⁿ/n, R = 1. These five series can be manipulated by substitution, differentiation, and integration to derive hundreds of other series.

How do you find the Taylor series of a function using derivatives?

To find the Taylor series of f(x) centered at a: Step 1 — compute f(a), f'(a), f''(a), f'''(a), and so on. Step 2 — write the general term: cₙ = f⁽ⁿ⁾(a) / n!. Step 3 — assemble the series: f(x) = Σ f⁽ⁿ⁾(a)/n! · (x−a)ⁿ. Example: for f(x) = eˣ at a = 0, all derivatives equal eˣ, so f⁽ⁿ⁾(0) = 1 for all n. Thus eˣ = Σ xⁿ/n! = 1 + x + x²/2! + x³/3! + … . Recognize patterns: for sin x, odd-degree terms alternate in sign; for cos x, even-degree terms alternate.

How do you manipulate known series instead of computing derivatives from scratch?

Three powerful techniques avoid repeated differentiation: (1) Substitution — replace x with another expression. For example, since eˣ = Σ xⁿ/n!, substituting x → −x² gives e^(−x²) = Σ (−1)ⁿx^(2n)/n!. (2) Differentiation — differentiate both sides of a known series term by term. Since d/dx [1/(1−x)] = 1/(1−x)², differentiating Σ xⁿ gives Σ n·xⁿ⁻¹ = 1/(1−x)². (3) Integration — integrate both sides term by term. Since 1/(1+x) = Σ (−1)ⁿxⁿ, integrating gives ln(1+x) = Σ (−1)ⁿxⁿ⁺¹/(n+1). These techniques preserve the radius of convergence (integration/differentiation may require re-checking endpoints).

What is Taylor's Remainder Theorem and how do you use it?

Taylor's Remainder Theorem (Lagrange form) states that if you use the first n+1 terms of the Taylor series, the error Rₙ(x) satisfies |Rₙ(x)| ≤ M/(n+1)! · |x−a|ⁿ⁺¹, where M is a bound on |f⁽ⁿ⁺¹⁾| on the interval between a and x. To use it: Step 1 — identify the degree n of your approximation. Step 2 — find M by bounding |f⁽ⁿ⁺¹⁾| on the relevant interval. Step 3 — compute M/(n+1)! · |x−a|ⁿ⁺¹. If this is less than your desired error tolerance, your approximation is sufficiently accurate. For alternating series, the simpler alternating series estimation theorem often applies: the error is at most the absolute value of the first omitted term.

How do you use Taylor series to evaluate limits?

Taylor series simplify limits that produce indeterminate forms. Replace functions with their series expansions and cancel leading terms. Example: lim(x→0) (sin x − x)/x³. Replace sin x = x − x³/6 + x⁵/120 − … , so sin x − x = −x³/6 + higher-order terms. Then (sin x − x)/x³ = (−x³/6 + …)/x³ = −1/6 + higher-order terms → −1/6. This is faster than applying L'Hôpital's rule three times. General strategy: expand to just enough terms to see which ones survive the cancellation, then take the limit directly.

What is the interval of convergence and how do you determine it completely?

The interval of convergence is all x-values for which a power series converges. To find it completely: Step 1 — use the Ratio Test to find the radius of convergence R. The series converges absolutely on (a−R, a+R). Step 2 — test the endpoints x = a−R and x = a+R separately. Substitute each into the series and apply a convergence test (usually the Alternating Series Test or p-series comparison). Step 3 — write the final interval using [ for a convergent endpoint and ( for a divergent endpoint. Example: ln(1+x) = Σ (−1)ⁿ⁺¹xⁿ/n has R = 1. At x = 1: alternating harmonic series — converges. At x = −1: harmonic series — diverges. Interval of convergence: (−1, 1].

Related Topics

Practice Taylor and Maclaurin Series

Interactive problems with step-by-step solutions and private tutoring — free to try.

Start Practicing Free