zuai-logo

Finding Taylor Polynomial Approximations of Functions

Hannah Hill

Hannah Hill

6 min read

Listen to this study note

Study Guide Overview

This study guide covers Taylor Polynomial Approximations for AP Calculus BC. It explains the Taylor Approximations Theorem, including the formula and its components. The guide focuses on applying the theorem to find Maclaurin series (Taylor series centered at x=0) and Taylor series centered at other values. It provides practice problems and solutions for finding Taylor and Maclaurin polynomials of various functions.

10.11 Finding Taylor Polynomial Approximations of Functions

Welcome to AP Calc 10.11! In this lesson, you’ll learn how to approximate a function over at a point.


📈 Taylor Approximations Theorem

This theorem states that for a function f(x)f(x), it’s Taylor series approximation at x=ax=a is…

n=0f(n)(a)n!(xa)n\sum_{n=0}^\infty \frac{f^{(n)}(a)}{n!}\cdot(x-a)^n

This can be rewritten as…

f(a)+f(a)(xa)+f(a)2!(xa)2+f(a)3!(xa)3+...+f(n)(a)n!(xa)nf(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

where f(n)(a)f^{(n)}(a) is the nthn^{\text{th}} deriviative of the function and f(0)(a)=f(x)f^{(0)}(a)=f(x). The nthn^{\text{th}}-order Taylor polynomial is the nthn^{\text{th}} partial sum of the infinite series.

Taylor series centered at x=0x=0 are common and are called Maclaurin series.

🧱 Breaking Down the Theorem

Taylor series look very daunting when you first approach them. Let’s define each portion and build a table that will help you tackle problems of this type!

nn!fn(x)fn(a)(xa)nfn(a)n!(xa)n01f(x)f(a)(xa)0f(a)1(xa)011f(x)f(a)(xa)1f(a)1(xa)122f(x)f(a)(xa)2f(a)2(xa)236f(x)f(a)(xa)3f(a)6(xa)3..................nn!fn(x)fn(a)(xa)nfn(a)n!(xa)n\begin{array}{ |c|c|c|c|c|c| } \hline n & n! & f^n(x) & f^n(a)&(x-a)^n & \frac{f^n(a)}{n!}\cdot(x-a)^n \\ 0 & 1 & f(x) & f(a)&(x-a)^0 & \frac{f(a)}{1}\cdot(x-a)^0 \\ 1 & 1 & f'(x) & f'(a)&(x-a)^1 & \frac{f'(a)}{1}\cdot(x-a)^1 \\ 2 & 2 & f''(x) & f''(a)&(x-a)^2 & \frac{f''(a)}{2}\cdot(x-a)^2 \\ 3 & 6 & f'''(x) & f'''(a)&(x-a)^3 & \frac{f'''(a)}{6}\cdot(x-a)^3 \\ ... & ... & ... & ... & ... & ... \\ n & n! & f^n(x) & f^n(a)&(x-a)^n & \frac{f^n(a)}{n!}\cdot(x-a)^n \\ \hline \end{array}

Now, let’s try a practice problem using this table to walk through it step by step.

✏️ Applying the Theorem

Find the third-degree Maclaurin polynomial for e5xe^{5x}.

Solution: First, let’s build our table. Remember that a Maclaurin series is just a Taylor series where a=0a=0!

nn!fn(x)fn(a)(xa)nfn(a)n!(xa)n01e5x111115e5x5x5x2225e5x25x225x2/236125e5x125x3125x3/6\begin{array}{ |c|c|c|c|c|c| } \hline n & n! & f^n(x) & f^n(a)&(x-a)^n & \frac{f^n(a)}{n!}\cdot(x-a)^n \\ 0 & 1 & e^{5x} & 1&1 & 1 \\ 1 & 1 & 5e^{5x} & 5&x & 5x \\ 2 & 2 & 25e^{5x} & 25&x^2 & 25x^2/2 \\ 3 & 6 & 125e^{5x} & 125&x^3 & 125x^3/6 \\ \hline \end{array}

Now, we just put the terms in our final column together as a full formula. The third-degree Maclaurin polynomial for e5xe^{5x} is:

1+5x+252x2+1256x31+5x+\frac{25}{2}x^2+\frac{125}{6}x^3


📝 Practice

Now it’s your turn to apply what you’ve learned!

❓Problems

  1. Find the fifth-degree Maclaurin polynomial for f(x)=cos(x)f(x)=\text{cos}(x).
  2. Find the third-degree Taylor polynomial for f(x)=ln(x)f(x)=\text{ln}(x) about x=1x=1.
  3. Find the fourth-degree Taylor polynomial about x=2x=2 for f(x)=xf(x)=\sqrt{x}.

💡 Solution for Question 1

Start by building your table and filling in the values:

\begin{array}{ |c|c|c|c|c|c| } \hline n & n! & f^n(x) & f^n(a)&(x-a)^n & \frac{f^n(a)}{n!}\cdot(x-a)^n \\

0 & 1 & \text{cos}(x) & 1&1 & 1 \\

1 & 1 & -\text{sin}(x) & 0&x & 0 \\

2 & 2 & -\text{cos}(x) & -1&x^2 & -x^2/2 \\

3 & 6 & \text{sin}(x) & 0&x^3 & 0 \\

4 & 24 & \text{cos}(x) & 1&x^4 & x^4/24 \\

5 & 120 & -\text{sin}(x) & 0&x^5 & 0 \\

\hline \end{array}

Putting it all together, we get that the fifth-degree Maclaurin polynomial for f(x)=cos(x)f(x)=\text{cos}(x) is

1x22+x241-\frac{x^2}{2}+\frac{x^2}{4}

💡 Solution for Question 2

Keep on building your tables! This time, our (xa)n(x-a)^n column will be a bit more complicated.

\begin{array}{ |c|c|c|c|c|c| } \hline n & n! & f^n(x) & f^n(a)&(x-a)^n & \frac{f^n(a)}{n!}\cdot(x-a)^n \\

0 & 1 & \text{ln}(x) & 0&1 & 0 \\

1 & 1 & 1/x & 1&(x-1) & (x-1) \\

2 & 2 & -1/x^2 & -1&(x-1)^2 & -\frac{1}{2}(x-1)^2 \\

3 & 6 & 2/x^3 & 2/3&(x-1)^3 & \frac{1}{9}(x-1)^3 \\

\hline \end{array}

We then find the polynomial to be equal to:

(x1)12(x1)2+19(x1)3(x-1)-\frac{1}{2}(x-1)^2+\frac{1}{9}(x-1)^3

💡 Solution for Question 3

One more table!

\begin{array}{ |c|c|c|c|c|c| } \hline n & n! & f^n(x) & f^n(a)&(x-a)^n & \frac{f^n(a)}{n!}\cdot(x-a)^n \\

0 & 1 & \sqrt{x} & \sqrt{2}&1 & \sqrt{2} \\

1 & 1 & \frac{1}{2\sqrt{x}} & \frac{1}{2\sqrt{2}}&(x-2) & \frac{1}{2\sqrt{2}}\cdot(x-2)\\

2 & 2 & -\frac{1}{4\sqrt{x^3}} & -\frac{1}{4\sqrt{8}}&(x-2)^2 & -\frac{1}{8\sqrt{8}}\cdot(x-2)^2 \\

3 & 6 & \frac{3}{8\sqrt{x^5}} & \frac{3}{8\sqrt{32}}&(x-2)^3 & \frac{3}{48\sqrt{32}}\cdot (x-2)^3 \\

4 & 24 & -\frac{15}{16\sqrt{x^7}} & -\frac{15}{16\sqrt{128}}&(x-2)^4 & -\frac{15}{384\sqrt{128}}\cdot(x-2)^4 \\

\hline \end{array}

If we put this all together, we get:

2+122(x2)188(x2)2+34832(x2)315384128(x2)4\sqrt{2}+\frac{1}{2\sqrt{2}}\cdot(x-2)-\frac{1}{8\sqrt{8}}\cdot(x-2)^2+\frac{3}{48\sqrt{32}}\cdot (x-2)^3 -\frac{15}{384\sqrt{128}}\cdot(x-2)^4

We can simplify a few of these terms a bit more using exponent rules to get:

2+x222(x2)2162+(x2)36425(x2)410242\sqrt{2}+\frac{x-2}{2\sqrt{2}}-\frac{(x-2)^2}{16\sqrt{2}}+\frac{(x-2)^3}{64\sqrt{2}} -\frac{5(x-2)^4}{1024\sqrt{2}}

This is the fourth-degree Taylor polynomial centered at x=2x=2 for 2\sqrt{2}.


💫 Closing

Great work! Taylor polynomials may seem daunting at first, but when in doubt, break it down with a table and you’ll be sure to master them!

Question 1 of 10

What is the general formula for the Taylor series approximation of a function f(x)f(x) at x=ax=a?

n=0f(n)(a)(xa)n\sum_{n=0}^\infty f^{(n)}(a) \cdot (x-a)^n

n=0f(n)(a)n!(x)n\sum_{n=0}^\infty \frac{f^{(n)}(a)}{n!} \cdot (x)^n

n=0f(n)(a)n!(xa)n\sum_{n=0}^\infty \frac{f^{(n)}(a)}{n!} \cdot (x-a)^n

n=1f(n)(a)n!(xa)n\sum_{n=1}^\infty \frac{f^{(n)}(a)}{n!} \cdot (x-a)^n