Navigation

Taylor Polynomials

9.4 Still better approximations

6 problems · hints, answers and solutions shown beside each one

Stage 1 · Conceptual

Q1Stage 1

The 3rd degree Taylor polynomial for a function f(x)f(x) about x=1x=1 is

T3(x)=x35x2+9xT_3(x)=x^3-5x^2+9x

What is f(1)f''(1)?

Hint

T3(x)T_3''(x) and f(x)f''(x) agree when x=1x=1.

Answer

f(1)=4f''(1)=-4

Full solution

Since T3(x)T_3(x) is the third-degree Taylor polynomial for f(x)f(x) about x=1x=1:

  • T3(1)=f(1)T_3(1)=f(1)

  • T3(1)=f(1)T_3'(1)=f'(1)

  • T3(1)=f(1)T_3''(1)=f''(1)

  • T3(1)=f(1)T_3'''(1)=f'''(1)

In particular, f(1)=T3(1)f''(1)=T_3''(1).

T3(x)=3x210x+9T3(x)=6x10T3(1)=610=4\begin{align*} T_3'(x)&=3x^2-10x+9\\ T_3''(x)&=6x-10\\ T_3''(1)&=6-10=-4 \end{align*}

So, f(1)=4f''(1)=-4.

Q2Stage 1

The nnth degree Taylor polynomial for f(x)f(x) about x=5x=5 is

Tn(x)=k=0n2k+13k9(x5)kT_n(x)=\sum_{k=0}^{n} \frac{2k+1}{3k-9}(x-5)^k

What is f(10)(5)f^{(10)}(5)?

Hint

The nnth degree Taylor polynomial for f(x)f(x) about x=5x=5 is

Tn(x)=k=0nf(k)(5)k!(x5)kT_n(x)=\sum_{k=0}^{n} \frac{f^{(k)}(5)}{k!}(x-5)^k

Match up the terms.

Answer

f(10)(5)=10!f^{(10)}(5)=10!

Full solution

In Question 1, we differentiated the Taylor polynomial to find its derivative. We don't really want to differentiate this ten times, though, so let's look for another way. Unlike Question 1, our Taylor polynomial is given to us in a form very similar to its definition. The nnth degree Taylor polynomial for f(x)f(x) about x=5x=5 is

Tn(x)=k=0nf(k)(5)k!(x5)k\begin{align*}T_n(x)&=\sum_{k=0}^{n} \frac{f^{(k)}(5)}{k!}(x-5)^k\end{align*}

So,

k=0nf(k)(5)k!(x5)k=k=0n2k+13k9(x5)k\begin{align*}\sum_{k=0}^{n} \frac{f^{(k)}(5)}{k!}(x-5)^k&=\sum_{k=0}^{n}\frac{2k+1}{3k-9}(x-5)^k\end{align*}

For any kk from 0 to nn,

f(k)(5)k!=2k+13k9\begin{align*}\frac{f^{(k)}(5)}{k!}&=\frac{2k+1}{3k-9}\end{align*}

In particular, when k=10k=10,

f(10)(5)10!=20+1309=1f(10)(5)=10!\begin{align*}\frac{f^{(10)}(5)}{10!}&=\frac{20+1}{30-9}=1\\ f^{(10)}(5)&=10!\end{align*}

Stage 3 · Application

Q3Stage 3

The 4th-degree Maclaurin polynomial for f(x)f(x) is

T4(x)=x4x3+x2x+1T_4(x)=x^4-x^3+x^2-x+1

What is the third-degree Maclaurin polynomial for f(x)f(x)?

Hint

The fourth-degree Maclaurin polynomial for f(x)f(x) is

T4(x)=f(0)+f(0)x+12f(0)x2+13!f(0)x3+14!f(4)(0)x4\begin{align*}T_4(x)&=f(0)+f'(0)x+\frac{1}{2}f''(0)x^2+\frac{1}{3!}f'''(0)x^3+\frac{1}{4!}f^{(4)}(0)x^4\end{align*}

while the third-degree Maclaurin polynomial for f(x)f(x) is

T3(x)=f(0)+f(0)x+12f(0)x2+13!f(0)x3\begin{align*}T_3(x)&=f(0)+f'(0)x+\frac{1}{2}f''(0)x^2+\frac{1}{3!}f'''(0)x^3\end{align*}
Answer

T3(x)=x3+x2x+1T_3(x)=-x^3+x^2-x+1

Full solution

The fourth-degree Maclaurin polynomial for f(x)f(x) is

T4(x)=f(0)+f(0)x+12f(0)x2+13!f(0)x3+14!f(4)(0)x4\begin{align*}T_4(x)&=f(0)+f'(0)x+\frac{1}{2}f''(0)x^2+\frac{1}{3!}f'''(0)x^3+\frac{1}{4!}f^{(4)}(0)x^4\end{align*}

while the third-degree Maclaurin polynomial for f(x)f(x) is

T3(x)=f(0)+f(0)x+12f(0)x2+13!f(0)x3\begin{align*}T_3(x)&=f(0)+f'(0)x+\frac{1}{2}f''(0)x^2+\frac{1}{3!}f'''(0)x^3\end{align*}

So, we simply “chop off" the part of T4(x)T_4(x) that includes x4x^4:

T3(x)=x3+x2x+1\begin{align*}T_3(x)&=-x^3+x^2-x+1\end{align*}
Q4Stage 3

The 4th degree Taylor polynomial for f(x)f(x) about x=1x=1 is

T4(x)=x4+x39T_4(x)=x^4+x^3-9

What is the third degree Taylor polynomial for f(x)f(x) about x=1x=1?

Hint

The third-degree Taylor polynomial for f(x)f(x) about x=1x=1 is

T3(x)=f(1)+f(1)(x1)+12f(1)(x1)2+13!f(1)(x1)3T_3(x)=f(1)+f'(1)(x-1)+\frac{1}{2}f''(1)(x-1)^2+\frac{1}{3!}f'''(1)(x-1)^3

How can you recover f(1)f(1), f(1)f'(1), f(1)f''(1), and f(1)f'''(1) from T4(x)T_4(x)?

Answer

T3(x)=7+7(x1)+9(x1)2+5(x1)3T_3(x)=-7+7(x-1)+9(x-1)^2+5(x-1)^3, or equivalently, T3(x)=5x36x2+4x10T_3(x)=5x^3-6x^2+4x-10

Full solution

We saw this kind of problem in Question 3. The fourth-degree Taylor polynomial for f(x)f(x) about x=1x=1 is

T4(x)=f(1)+f(1)(x1)+12f(1)(x1)2+13!f(1)(x1)3+14!f(4)(1)(x1)4\begin{align*}T_4(x)&=f(1)+f'(1)(x-1)+\frac{1}{2}f''(1)(x-1)^2+\frac{1}{3!}f'''(1)(x-1)^3+\frac{1}{4!}f^{(4)}(1)(x-1)^4\end{align*}

while the third-degree Taylor polynomial for f(x)f(x) about x=1x=1 is

T3(x)=f(1)+f(1)(x1)+12f(1)(x1)2+13!f(1)(x1)3\begin{align*}T_3(x)&=f(1)+f'(1)(x-1)+\frac{1}{2}f''(1)(x-1)^2+\frac{1}{3!}f'''(1)(x-1)^3\end{align*}

In Question 3 we “chopped off" the term of degree 4 to get T3(x)T_3(x). However, our polynomial is not in this form. It's not clear, right away, what the term f(4)(x1)4f^{(4)}(x-1)^4 is in our given T4(x)T_4(x). So, we will use a different method from Question 3.

One option is to do some fancy algebra to get T4(x)T_4(x) into the standard form of a Taylor polynomial. Another option (which we will use) is to recover f(1)f(1), f(1)f'(1), f(1)f''(1), and f(1)f'''(1) from T4(x)T_4(x).

Recall that T4(x)T_4(x) and f(x)f(x) have the same values at x=1x=1 (although maybe not anywhere else!), and they also have the same first, second, third, and fourth derivatives at x=1x=1 (but again, maybe not anywhere else, and maybe their fifth derivatives don't agree). This tells us the following:

T4(x)=x4+x39f(1)=T4(1)=7T4(x)=4x3+3x2f(1)=T4(1)=7T4(x)=12x2+6xf(1)=T4(1)=18T4(x)=24x+6f(1)=T4(1)=30\begin{align*}T_4(x)&=x^4+x^3-9&&\Rightarrow& f(1)=T_4(1)&=-7\\ T_4'(x)&=4x^3+3x^2&&\Rightarrow& f'(1)=T_4'(1)&=7\\ T_4''(x)&=12x^2+6x&&\Rightarrow& f''(1)=T_4''(1)&=18\\ T_4'''(x)&=24x+6&&\Rightarrow& f'''(1)=T_4'''(1)&=30\end{align*}

Now, we can write the third-degree Taylor polynomial for f(x)f(x) about x=1x=1:

T3(x)=7+7(x1)+12(18)(x1)2+13!(30)(x1)3=7+7(x1)+9(x1)2+5(x1)3\begin{align*} T_3(x)&=-7+7(x-1)+\frac{1}{2}(18)(x-1)^2+\frac{1}{3!}(30)(x-1)^3\\ &=-7+7(x-1)+9(x-1)^2+5(x-1)^3 \end{align*}

Remark: expanding the expression above, we get the equivalent polynomial
T3(x)=5x36x2+4x10T_3(x)=5x^3-6x^2+4x-10. From this, it is clear that we can't just “chop off" the term with x4x^4 to change T4(x)T_4(x) into T3(x)T_3(x) when the Taylor polynomial is not centred about x=0x=0.

Q5Stage 3

For any even number nn, suppose the nnth degree Taylor polynomial for f(x)f(x) about x=5x=5 is

k=0n/22k+13k9(x5)2k\sum_{k=0}^{n/2} \frac{2k+1}{3k-9}(x-5)^{2k}

What is f(10)(5)f^{(10)}(5)?

Hint

Compare the given polynomial to the more standard form of the nnth degree Taylor polynomial,

k=0n1k!f(k)(5)(x5)k\sum_{k=0}^{n} \frac{1}{k!}f^{(k)}(5)(x-5)^{k}

and notice that the term you want (containing f(10)(5)f^{(10)}(5)) corresponds to k=10k=10 in the standard form, but is not the term corresponding to k=10k=10 in the polynomial given in the question.

Answer

f(10)(5)=1110!6f^{(10)}(5)=\dfrac{11\cdot 10!}{6}

Full solution

The nnth degree Taylor polynomial for f(x)f(x) about x=5x=5 is

Tn(x)=k=0n1k!f(k)(5)(x5)k\begin{align*}T_n(x)&=\color{red}\sum_{k=0}^{n} \frac{1}{k!}f^{(k)}(5)(x-5)^{k}\end{align*}

We expand this somewhat:

Tn(x)=f(5)+f(x5)++110!f(10)(5)(x5)10++1n!f(n)(5)(x1)n\begin{align*}T_n(x)&=\color{red}f(5)+f'(x-5) + \cdots + \boxed{\frac{1}{10!}f^{(10)}(5)(x-5)^{10}}+\cdots + \frac{1}{n!}f^{(n)}(5)(x-1)^n\end{align*}

So, the coefficient of (x5)10(x-5)^{10} is 110!f(10)(5)\dfrac{1}{10!}f^{(10)}(5). Expanding the given form of the Taylor polynomial:

Tn(x)=k=0n/22k+13k9(x5)2k=19k=0+36(x5)2k=1++116(x5)10k=5++n+1(3/2)n9(x5)nk=n/2\begin{align*}T_n(x)&=\color{blue}\sum_{k=0}^{n/2} \frac{2k+1}{3k-9}(x-5)^{2k}\\ &=\color{blue} \underbrace{\frac{1}{-9}}_{k=0}+ \underbrace{\frac{3}{-6}(x-5)^2}_{k=1}+\cdots+ \underbrace{\boxed{\frac{11}{6}(x-5)^{10}}}_{k=5}+\cdots+ \underbrace{\frac{n+1}{(3/2)n-9}(x-5)^n}_{k=n/2}\end{align*}

Equating the coefficients of (x5)10(x-5)^{10} in the two expressions:

110!f(10)(5)=116f(10)(5)=1110!6\begin{align*}\color{red}\frac{1}{10!}f^{(10)}(5)&=\color{blue}\frac{11}{6}\\ f^{(10)}(5)&=\frac{11\cdot 10!}{6}\end{align*}
Q6Stage 3

The third-degree Taylor polynomial for f(x)=x3[2logx113]f(x)=x^3\left[2\log x - \dfrac{11}{3}\right] about x=ax=a is

T3(x)=23e3+3ex6ex2+x3T_3(x)=-\frac{2}{3}\sqrt{e^3}+3ex-6\sqrt{e}x^2+x^3

What is aa?

Hint

T3(a)=f(a)T_3'''(a)=f'''(a)

Answer

a=ea=\sqrt{e}

Full solution

Since T3(x)T_3(x) is the third-degree Taylor polynomial for f(x)f(x) about x=ax=a, we know the following things to be true:

  • f(a)=T3(a)f(a)=T_3(a)

  • f(a)=T3(a)f'(a)=T'_3(a)

  • f(a)=T3(a)f''(a)=T''_3(a)

  • f(a)=T3(a)f'''(a)=T'''_3(a)

But, some of these don't look super useful. For instance, if we try to use the first bullet, we get this equation:

a3[2loga113]=23e3+3ea6ea2+a3a^3\left[2\log a - \frac{11}{3}\right]=-\frac{2}{3}\sqrt{e^3}+3ea-6\sqrt{e}a^2+a^3

Solving this would be terrible. Instead, let's think about how the equations look when we move further down the list. Since T3(x)T_3(x) is a cubic equation, T3(x)T_3'''(x) is a constant (and so T3(a)T_3'''(a) does not depend on aa). That sounds like it's probably the simplest option. Let's start differentiating. We'll need to know both f(a)f'''(a) and T3(a)T_3'''(a).

f(x)=x3[2logx113]f(x)=x3[2x]+3x2[2logx113]=6x2logx9x2f(x)=6x21x+12xlogx18x=12xlogx12xf(x)=12x1x+12logx12=12logxf(a)=12loga\begin{align*}f(x)&=x^3\left[2\log x - \frac{11}{3}\right]\\ f'(x)&=x^3\left[\frac{2}{x}\right]+3x^2\left[2\log x - \frac{11}{3}\right]=6x^2\log x -9x^2\\ f''(x)&=6x^2\cdot\frac{1}{x}+12x\log x - 18x=12x\log x - 12 x\\ f'''(x)&=12x\cdot\frac{1}{x}+12\log x - 12 = 12\log x\\ \color{blue}f'''(a)&\color{blue}=12\log a\end{align*}

Now, let's move to the Taylor polynomial. Remember that ee is a constant.

T3(x)=23e3+3ex6ex2+x3T3(x)=3e12ex+3x2T3(x)=12e+6xT3(x)=6T3(a)=6\begin{align*}T_3(x)&=-\frac{2}{3}\sqrt{e^3}+3ex-6\sqrt{e}x^2+x^3\\ T_3'(x)&=3e-12\sqrt{e}x+3x^2\\ T_3''(x)&=-12\sqrt{e}+6x\\ T_3'''(x)&=6\\ \color{red}T_3'''(a)&\color{red}=6\end{align*}

The final bullet point gives us the equation:

f(a)=T3(a)12loga=6loga=12a=e12\begin{align*}\color{blue}f'''(a)&=\color{red}T_3'''(a)\\ \color{blue}12\log a &= \color{red}6\\ \log a &= \frac{1}{2}\\ a&=e^{\tfrac{1}{2}}\end{align*}

So, a=ea=\sqrt{e}.

From the UBC Math 100 open textbook project, © Joel Feldman, Andrew Rechnitzer, Elyse Yeager and others. Licensed CC BY-NC-SA 4.0; this HTML adaptation is released under the same licence. Full attribution.