01 / 21

Taylor & Maclaurin
Series

Learn how to represent any smooth function as an infinite polynomial centered at a point, unlocking powerful tools for approximation and analysis.

AP Calculus BC

What Is a Series Representation?

Many functions like \(\sin x\), \(e^x\), and \(\ln(1+x)\) can be written as infinite sums of polynomial terms. Instead of working with a complicated function directly, we express it as a power series:

This is the foundation of Taylor series: building any smooth function from simple polynomial pieces.

Why Series Matter

Approximation
Compute values of \(\sin x\), \(e^x\), and \(\ln x\) to any desired accuracy using finitely many terms.
Integration
Integrate functions like \(e^{-x^2}\) that have no closed-form antiderivative by integrating their series term-by-term.
Limits
Evaluate tricky limits such as \(\lim_{x\to 0}\frac{\sin x - x}{x^3}\) by expanding functions around the point.

Approximating \(\sin x\) with Polynomials

-π/2 π/2 -π π 1 -1 x y \(\sin x\) \(P_1(x)\) \(P_3(x)\) \(P_5(x)\) 0

The Taylor Series Formula

1
\(f^{(n)}(c)\) is the \(n\)-th derivative of \(f\) evaluated at the center \(c\).
2
\(n!\) is \(n\) factorial: \(0!=1,\ 1!=1,\ 2!=2,\ 3!=6,\ \ldots\)
3
\((x-c)^n\) is the power term that determines how the series spreads from the center.

The Maclaurin Series: Center at Zero

A Maclaurin series is simply a Taylor series centered at \(c = 0\). The formula simplifies to:

Every Maclaurin series is a Taylor series, but not every Taylor series is Maclaurin. The distinction is only about the center.

Taylor vs. Maclaurin

Taylor Series Maclaurin Series
Center Any point \(c\) \(c = 0\)
General Term \(\frac{f^{(n)}(c)}{n!}(x-c)^n\) \(\frac{f^{(n)}(0)}{n!}\,x^n\)
When to Use Approximate near any point Approximate near \(x=0\)
Example \(\ln x\) about \(c=1\) \(e^x\) about \(c=0\)

Essential Maclaurin Series to Know

1
\(e^x\): \(\displaystyle\sum_{n=0}^{\infty}\frac{x^n}{n!} = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots\)   for all \(x\)
2
\(\sin x\): \(\displaystyle\sum_{n=0}^{\infty}\frac{(-1)^n x^{2n+1}}{(2n+1)!} = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \cdots\)   for all \(x\)
3
\(\cos x\): \(\displaystyle\sum_{n=0}^{\infty}\frac{(-1)^n x^{2n}}{(2n)!} = 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \cdots\)   for all \(x\)
4
\(\frac{1}{1-x}\): \(\displaystyle\sum_{n=0}^{\infty}x^n = 1 + x + x^2 + x^3 + \cdots\)   for \(|x| < 1\)

How to Find a Series

1
Identify the center \(c\). If none is given, use \(c=0\) (Maclaurin).
2
Compute derivatives. Find \(f(c)\), \(f'(c)\), \(f''(c)\), \(f'''(c)\), \(\ldots\) until you spot a pattern.
3
Write the general term. Express the \(n\)-th coefficient \(\frac{f^{(n)}(c)}{n!}\) in closed form.
4
Assemble the series. Write \(\displaystyle\sum_{n=0}^{\infty}a_n(x-c)^n\) with your general term.
5
Find the interval of convergence using the ratio test or known results.

Example 1: Maclaurin Series for \(e^x\)

Find the Maclaurin series for \(f(x)=e^x\).

1
Center: \(c=0\).
2
Derivatives: \(f^{(n)}(x)=e^x\) for all \(n\), so \(f^{(n)}(0)=e^0=1\).
3
General term: \(\frac{f^{(n)}(0)}{n!}\,x^n = \frac{1}{n!}\,x^n = \frac{x^n}{n!}\).
4
Series: \(\displaystyle e^x = \sum_{n=0}^{\infty}\frac{x^n}{n!}\). Converges for all \(x\in(-\infty,\infty)\).

Example 2: Maclaurin Series for \(\cos x\)

Find the Maclaurin series for \(f(x)=\cos x\).

1
Derivatives at 0: \(f(0)=1\), \(f'(0)=0\), \(f''(0)=-1\), \(f'''(0)=0\), \(f^{(4)}(0)=1\), \(\ldots\)
2
Pattern: Odd derivatives vanish at 0. Even derivatives alternate: \(1, -1, 1, -1, \ldots\)
3
General term: \(\frac{(-1)^n}{(2n)!}\,x^{2n}\), only even powers appear.

Example 3: Taylor Series for \(\ln x\) about \(c=1\)

Find the Taylor series for \(f(x)=\ln x\) centered at \(c=1\).

1
Derivatives: \(f'(x)=\frac{1}{x}\), \(f''(x)=-\frac{1}{x^2}\), \(f'''(x)=\frac{2}{x^3}\), \(f^{(n)}(x)=\frac{(-1)^{n-1}(n-1)!}{x^n}\)
2
At \(c=1\): \(f(1)=0\), \(f^{(n)}(1)=(-1)^{n-1}(n-1)!\) for \(n \geq 1\).
3
Coefficient: \(\frac{f^{(n)}(1)}{n!}=\frac{(-1)^{n-1}(n-1)!}{n!}=\frac{(-1)^{n-1}}{n}\).

Visualizing \(e^x\) Approximations

-1 1 2 1 2 5 x y \(e^x\) \(P_0(x)\) \(P_1(x)\) \(P_2(x)\) 0

Building New Series from Known Ones

You don't always need to compute derivatives from scratch. Use substitution, multiplication, and differentiation/integration of known series.

Substitution
Replace \(x\) with \(-x^2\) in the \(e^x\) series to get \(e^{-x^2}\).
Differentiation
Differentiate the \(\frac{1}{1-x}\) series to get \(\frac{1}{(1-x)^2}\).
Integration
Integrate \(\frac{1}{1+t}\) term-by-term to get \(\ln(1+x)\).

Common Mistakes to Avoid

✕ Wrong Factorial
Writing \(\frac{f^{(n)}(c)}{n}\) instead of \(\frac{f^{(n)}(c)}{n!}\). The denominator is \(n!\), not \(n\).
✕ Forgetting the Center
Writing \(x^n\) when the series is centered at \(c\neq 0\). It must be \((x-c)^n\).
✕ Wrong Starting Index
Starting at \(n=0\) when the first term is zero (like \(\ln x\) about 1) or starting at \(n=1\) when \(n=0\) contributes.
✕ Sign Errors
Dropping the \((-1)^n\) in alternating series for \(\sin x\), \(\cos x\), and \(\ln(1+x)\).
✕ Ignoring Convergence
Forgetting to state the interval of convergence. The series may only be valid for \(|x-c| < R\).

Quick Reference Table

Function Series Convergence
\(e^x\) \(\displaystyle\sum_{n=0}^{\infty}\frac{x^n}{n!}\) All \(x\)
\(\sin x\) \(\displaystyle\sum_{n=0}^{\infty}\frac{(-1)^n x^{2n+1}}{(2n+1)!}\) All \(x\)
\(\cos x\) \(\displaystyle\sum_{n=0}^{\infty}\frac{(-1)^n x^{2n}}{(2n)!}\) All \(x\)
\(\frac{1}{1-x}\) \(\displaystyle\sum_{n=0}^{\infty}x^n\) \(|x|<1\)
\(\ln(1+x)\) \(\displaystyle\sum_{n=1}^{\infty}\frac{(-1)^{n-1}}{n}x^n\) \(-1 < x \leq 1\)

Question 1 of 5

What is the Maclaurin series for \(e^x\)?

Question 2 of 5

What is the coefficient of \(x^3\) in the Maclaurin series for \(\sin x\)?

Question 3 of 5

A Maclaurin series is a Taylor series centered at which value?

Question 4 of 5

What is the general term of the Taylor series formula?

Question 5 of 5

Using the known Maclaurin series for \(e^x\), find the series for \(e^{-x^2}\).