Skip to main content

10.14 Finding Taylor or Maclaurin Series for a Function

add to ChatGPT
Verified for the 2027 examUpdated September 2026Fiveable Content Team
Fiveable

♾️AP Calculus AB/BC Unit 10 Review

QR code for AP Calculus AB/BC practice questions

10.14 Finding Taylor or Maclaurin Series for a Function

TLDR

A Taylor series writes a function as an infinite power series built from its derivatives at a center point: ∑n=0∞f(n)(a)n!(x−a)n\sum_{n=0}^\infty \frac{f^{(n)}(a)}{n!}(x-a)^n. A Maclaurin series is just a Taylor series centered at x=0x=0. The fastest way to find these on the AP Calculus BC exam is to memorize a few common Maclaurin series and then substitute, multiply, differentiate, or integrate to match the function you are given.

How Do You Find a Taylor or Maclaurin Series?

To find a Taylor or Maclaurin series, start from the derivative formula ∑n=0∞f(n)(a)n!(x−a)n\sum_{n=0}^{\infty}\frac{f^{(n)}(a)}{n!}(x-a)^n or transform a known series. A Maclaurin series is the special case where the center is a=0a=0.

For AP Calculus BC, known series are usually faster than repeated differentiation. Use the geometric series for 11−x\frac{1}{1-x} and memorize the Maclaurin series for exe^x, sin⁡x\sin x, and cos⁡x\cos x, then substitute, multiply, differentiate, or integrate to match the function.

Finding a Taylor or Maclaurin series is a BC-only skill, so it only appears if you take AP Calculus BC. It builds on two earlier ideas: approximating functions with Taylor polynomials and representing functions as power series.

The Taylor Formula and Maclaurin Series to Memorize

  • The Taylor series of ff centered at x=ax=a is ∑n=0∞f(n)(a)n!(x−a)n\sum_{n=0}^\infty \frac{f^{(n)}(a)}{n!}(x-a)^n, where f(0)(a)=f(a)f^{(0)}(a)=f(a).
  • A Maclaurin series is a Taylor series with center a=0a=0.
  • A Taylor polynomial is a partial sum (finite piece) of the full Taylor series.
  • Memorize the Maclaurin series for 11−x\frac{1}{1-x}, exe^x, sin⁡x\sin x, and cos⁡x\cos x; most other series come from these by substitution or algebra.
  • The series for 11−x\frac{1}{1-x} is a geometric series, and the series for sin⁡x\sin x, cos⁡x\cos x, and exe^x are the building blocks for many other functions.
  • Pattern recognition in derivatives is the key skill when you have to build a series from scratch.

What's a Taylor Series?

A Taylor series represents a function as an infinite sum of terms calculated from the function's derivatives at a single point. It lets you approximate functions and estimate their values near that point.

Taylor Series: For a function f(x)f(x), its Taylor series centered at x=ax = a is:

∑n=0∞f(n)(a)n!⋅(x−a)n=f(a)+f′(a)(x−a)+f′′(a)2!(x−a)2+f′′′(a)3!(x−a)3+...+f(n)(a)n!(x−a)n\sum_{n=0}^\infty \frac{f^{(n)}(a)}{n!}\cdot(x-a)^n=f(a)+f'(a)(x-a)+\frac{f''(a)}{2!}(x-a)^2+\frac{f'''(a)}{3!}(x-a)^3+...+\frac{f^{(n)}(a)}{n!}(x-a)^n

Here f(n)(a)f^{(n)}(a) is the nthn^{\text{th}} derivative of the function evaluated at aa, and f(0)(a)=f(a)f^{(0)}(a)=f(a).

When the center is x=0x = 0, this special case is called a Maclaurin series. Taylor series centered at 00 come up so often that they get their own name.

A Taylor polynomial for f(x)f(x) is a partial sum of the Taylor series for f(x)f(x). In other words, a Taylor polynomial is a finite polynomial with a limited number of terms, while a Taylor series is an infinite summation of terms. To build a Taylor polynomial of degree nn for f(x)f(x) at x=cx = c, evaluate ff and its first nn derivatives at x=cx = c.

To form the full Taylor series, it helps to find a pattern that describes the nnth derivative of ff at x=cx = c. Pattern recognition is the most useful skill here.

Important Maclaurin Series to Remember

Focus on Maclaurin series (center x=0x = 0). If a problem gives you a different center and you already know the Maclaurin form, you can replace xx with (x−c)(x - c) in each term and simplify.

f(x)SeriesRepresentationExpandedForm11−x∑n=0∞xn1+x+x2+x3+...11+x∑n=0∞(−x)n1−x+x2−x3+...11+x2∑n=0∞(−x)2n1−x2+x4−x6+...11−x2∑n=0∞x2n1+x2+x4+x6+...ex∑n=0∞xnn!1+x+x22+x33!+...sin(x)∑n=0∞(−1)nx2n+1(2n+1)!x−x33!+x55!+...cos(x)∑n=0∞(−1)nx2n(2n)!1−x22+x44!+...ln(1+x)∑n=1∞(−1)n+1xnnx−x22+x33+...(1+x)a∑n=0∞(an)xn1+ax+a(a−1)2x2+a(a−1)(a−2)3!x3+...\begin{array}{ |c|c|c| } \hline f(x)& Series \enspace Representation & Expanded \enspace Form \\\\ \frac{1}{1-x} & \sum_{n=0}^\infty{x^n} & 1+x+x^2+x^3+... \\\\ \frac{1}{1+x} & \sum_{n=0}^\infty{(-x)^n} & 1-x+x^2-x^3+... \\\\ \frac{1}{1+{x}^2} & \sum_{n=0}^\infty{(-x)^{2n}} & 1-x^2+x^4-x^6+... \\\\ \frac{1}{1-{x}^2} & \sum_{n=0}^\infty{x^{2n}} & 1+x^2+x^4+x^6+... \\\\ e^x & \sum_{n=0}^\infty\frac{x^n}{n!} & 1+x+\frac{x^2}{2}+\frac{x^3}{3!}+... \\\\ sin(x) & \sum_{n=0}^\infty{(-1)^n\frac{x^{2n+1}}{(2n+1)!}} & x-\frac{x^3}{3!}+\frac{x^5}{5!}+... \\\\ cos(x) & \sum_{n=0}^\infty{(-1)^n\frac{x^{2n}}{(2n)!}} & 1-\frac{x^2}{2}+\frac{x^4}{4!}+... \\\\ ln(1+x) & \sum_{n=1}^\infty{(-1)^{n+1}\frac{x^{n}}{n}} & x-\frac{x^2}{2}+\frac{x^3}{3}+... \\\\ (1+x)^a & \sum_{n=0}^\infty{a \choose n}x^n & 1+ax+\frac{a(a-1)}{2}x^2+\frac{a(a-1)(a-2)}{3!}x^3+... \\\\ \hline \end{array}

Two things to notice:

  1. The first four are variations of the geometric series, with the multiplying factor being various powers of xx. The series (1+x)a(1+x)^a is the binomial series for any value of aa.
  2. The Maclaurin series for sin⁡(x)\sin(x), cos⁡(x)\cos(x), and exe^x are the foundation for building the Maclaurin series of many other functions.

Looking at point (2), the patterns connect: sin⁡(x)\sin(x) is an odd function, so its series has only odd powers, while cos⁡(x)\cos(x) is even, so its series has only even powers. The series for exe^x uses all powers. If you are short on time, sin⁡(x)\sin(x), cos⁡(x)\cos(x), and exe^x are the must-know series.

Building Series by Substitution and Shifting the Center

Problem Solving: Start by checking whether the function matches a known Maclaurin series. If it does, substitution is usually faster than computing derivatives one by one.

Question 1. Find the Taylor series for f(x)=cos⁡(3x)f(x) = \cos(3x) centered at x=0x = 0.

Centered at x=0x = 0 means this is a Maclaurin series. Pull the series for cos⁡(x)\cos(x):

∑n=0∞(−1)nx2n(2n)!\sum_{n=0}^\infty{(-1)^n\frac{x^{2n}}{(2n)!}}

Replace xx with 3x3x and simplify:

∑n=0∞(−1)n(3x)2n(2n)!=∑n=0∞(−1)n32nx2n(2n)!=∑n=0∞(−1)n9nx2n(2n)!\sum_{n=0}^\infty{(-1)^n\frac{(3x)^{2n}}{(2n)!}}=\sum_{n=0}^\infty{(-1)^n\frac{3^{2n}x^{2n}}{(2n)!}}=\sum_{n=0}^\infty{(-1)^n\frac{9^{n}x^{2n}}{(2n)!}}

That is the full answer. The more comfortable you are recalling common Maclaurin series, the faster these go.

Question 2a. Find the Taylor series centered at x=5x = 5 for f(x)=e2xf(x)=e^{2x}.

Compute a few derivatives and look for a pattern:

f(x)=e2xf(x) = e^{2x} f′(x)=2e2xf'(x) = 2e^{2x} f′′(x)=4e2x=(2)2e2xf''(x) = 4e^{2x} = (2)^2e^{2x} f(3)(x)=8e2x=(2)3e2xf^{(3)}(x) = 8e^{2x} = (2)^3e^{2x} f(4)(x)=16e2x=(2)4e2xf^{(4)}(x) = 16e^{2x} = (2)^4e^{2x}

The nnth derivative brings out a factor of 2n2^n. Using the structure of the exe^x series:

∑n=0∞xnn!⇒∑n=0∞f(n)(5)n!(x−5)n\sum_{n=0}^\infty\frac{x^n}{n!} \Rightarrow \sum_{n=0}^\infty\frac{f^{(n)}(5)}{n!}(x-5)^n

The center is x=5x = 5, so write (x−5)n(x-5)^n instead of xnx^n and evaluate the e2xe^{2x} factor at x=5x = 5. Leave the nn exponents alone:

∑n=0∞f(n)(5)n!(x−5)n=∑n=0∞2ne10(x−5)nn!\sum_{n=0}^\infty\frac{f^{(n)}(5)}{n!}(x-5)^n=\sum_{n=0}^\infty\frac{2^ne^{10}(x-5)^n}{n!}

Question 2b. List the first four terms of that series.

Plug in n=0,1,2,3n = 0, 1, 2, 3:

nTerm0(2)0e10(x−5)00!=e101(2)1e10(x−5)11!=2e10(x−5)2(2)2e10(x−5)22!=4e10(x−5)22=2e10(x−5)23(2)3e10(x−5)33!=8e10(x−5)33∗2∗1=4e10(x−5)33\begin{array}{ |c|c| } \hline n & Term \\\\ 0 & \frac{(2)^0e^{10}(x-5)^0}{0!}=e^{10} \\\\ 1 & \frac{(2)^1e^{10}(x-5)^1}{1!} =2e^{10}(x-5)\\\\ 2 & \frac{(2)^2e^{10}(x-5)^2}{2!} =\frac{4e^{10}(x-5)^2}{2}=2e^{10}(x-5)^2\\\\ 3 & \frac{(2)^3e^{10}(x-5)^3}{3!}=\frac{8e^{10}(x-5)^3}{3*2*1}=\frac{4e^{10}(x-5)^3}{3} \\\\ \hline \end{array}

Common Trap: When you shift a known Maclaurin series to a new center, change only the (x−c)(x-c) base and any constant factors that depend on cc. Do not change the nn in the exponents or factorials.

Common Misconceptions

  • Misconception: A Taylor polynomial and a Taylor series are the same.
    Actually: A Taylor polynomial and a Taylor series are not the same. The polynomial is a finite partial sum; the series is the full infinite sum.
  • Misconception: A Maclaurin series is a separate type of series.
    Actually: A Maclaurin series is not a separate type of series. It is just a Taylor series with center a=0a = 0.
  • Misconception: When substituting something like 3x3x into a known series, you do not need to replace xx inside exponents.
    Actually: When you substitute something like 3x3x into a known series, replace xx everywhere it appears, including inside exponents, then simplify (for example (3x)2n=9nx2n(3x)^{2n} = 9^n x^{2n}).
  • Misconception: Changing the center to x=cx = c means adding cc to the index nn.
    Actually: Changing the center to x=cx = c means replacing xx with (x−c)(x-c) in the power terms, not adding cc to the index nn.
  • Misconception: Knowing the series for sin⁡x\sin x, cos⁡x\cos x, and exe^x means you do not need pattern recognition.
    Actually: Knowing the series for sin⁡x\sin x, cos⁡x\cos x, and exe^x does not replace pattern recognition. When a function does not match a known form, you still need to differentiate and find the pattern in f(n)(a)n!\frac{f^{(n)}(a)}{n!}.

Practice Questions for 10.14

1 of 10

A function ff has a Maclaurin series given by ∑n=0∞(−1)n2n(2n)!x2n\sum_{n=0}^{\infty} \frac{(-1)^n 2^n}{(2n)!} x^{2n}. Which of the following procedures correctly identifies the value of the sixth derivative of ff evaluated at x=0x=0, denoted as f(6)(0)f^{(6)}(0)?

A.

Set n=6n = 6 to find the coefficient of x12x^{12}, then divide this coefficient by $12!$.

B.

Set 2n=62n = 6 to find the coefficient of x6x^6, then divide this coefficient by $6!$.

C.

Set n=6n = 6 to find the coefficient of x12x^{12}, then multiply this coefficient by $12!$.

D.

Set 2n=62n = 6 to find the coefficient of x6x^6, then multiply this coefficient by $6!$.

Vocabulary

The following words are mentioned explicitly in the AP® course framework for this topic.

Term

Definition

geometric series

A series where each term is a constant multiple of the previous term, expressed in the form ∑_{n=0}^{∞} a r^{n}.

Maclaurin series

A special case of a Taylor series where the function is expanded around the point x = 0.

Taylor polynomial

A finite polynomial that approximates a function, formed by taking a partial sum of the Taylor series for that function.

Taylor series

A power series representation of a function that converges to that function over an open interval with positive radius of convergence.

See Fiveable more often in Google

Mark Fiveable as a preferred source and Google is more likely to show you our guides in Top Stories, with a "preferred" badge in AI Mode and AI Overviews.

Prefer us on Google