A tangent line matches a function’s value and slope at one point, and it’s a decent approximation nearby. A Taylor polynomial goes further: it also matches the second derivative, the third, and so on. The more derivatives it matches, the longer it hugs the curve. Taylor polynomials are how you turn hard functions like ex, sinx and lnx into simple polynomials you can evaluate by hand, and they lead straight to Taylor series.
Pn is built so that Pn(a)=f(a), Pn′(a)=f′(a), and so on up to the nth derivative. Differentiating (x−a)k a total of k times gives k!, so dividing by k! cancels it, leaving exactly f(k)(a).
To approximate f(b) for b near a, evaluate Pn(b). Higher degree and b closer to a both usually give a better approximation. The figure shows this for sinx about x=0 (radians, as always in calculus):
Maclaurin polynomials for sinx of degree 1, 3 and 5. Each extra matched derivative keeps the polynomial close to the curve over a wider interval.
Forgetting the factorials. The coefficient of (x−a)k is k!f(k)(a), not f(k)(a). In Example 3, the (x−2)2 coefficient is 24=2, not 4.
Writing powers of x instead of powers of (x − a). For a polynomial about x=4, every term uses (x−4)k. Writing xk gives a polynomial about 0, which is a different (and wrong) answer. When you evaluate, plug in x−a, like 0.2 in Example 2, not x itself.
Confusing a derivative value with a coefficient. If a question gives the polynomial and asks for f′′′(a), multiply the coefficient by 3!=6. If it gives f′′′(a) and asks for the coefficient, divide by 6.
Mixing up degree and number of terms. The degree is the highest power. For sinx, the third-degree and fourth-degree Maclaurin polynomials are the same, x−6x3, because the x4 coefficient is 0.
Sign errors in the derivatives. Derivatives like those of x1 or cosx alternate in sign. Write each derivative on its own line, as in Example 2, before evaluating.
(For f′′′, use the product rule on 2sec2x⋅tanx: the derivative of sec2x is 2sec2xtanx.)
P3(x)=x+3!2x3=x+3x3tan0.1≈0.1+30.001≈0.100333
(Check: tan0.1≈0.100335.)
9. (Challenge) Let y=f(x) be the solution of the differential equation dxdy=x+y with f(0)=1. Find the third-degree Maclaurin polynomial for f, and use it to approximate f(0.1).
Solution
You don’t need to solve the differential equation. Find each derivative at x=0 from the equation itself:
Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.
All angles are in radians. Give approximations to at least four decimal places unless a question says otherwise.
(b) Write the third-degree Maclaurin polynomial for f.
(c) Use it to approximate e0.3. (Which value of x do you need?) Compare with your calculator’s value.
H2. (Foundations) A mug of hot chocolate is cooling on a kitchen table in Regina. Its temperature is H(t) degrees Celsius, t minutes after it was poured. Suppose (hypothetically) that H(5)=70, H′(5)=−3 and H′′(5)=0.4.
(a) Write the first-degree Taylor polynomial for H about t=5. What is another name for this polynomial?
(b) Write the second-degree Taylor polynomial for H about t=5.
(c) Estimate H(6) with each polynomial. Explain, using the sign of H′′(5), why the second estimate is the larger one.
H7. (Challenge) Jordan is asked for the third-degree Maclaurin polynomial for f(x)=e−3x. Jordan correctly finds f(0)=1, f′(0)=−3, f′′(0)=9 and f′′′(0)=−27, then writes
P3(x)=1−3x+9x2−27x3
(a) What mistake did Jordan make? Write the correct P3(x).
(b) Show that Jordan’s polynomial fails the defining check: compute the second derivative of Jordan’s polynomial at x=0 and compare it with f′′(0).
(c) Evaluate both polynomials at x=0.1 and compare each with e−0.3 from your calculator.
H8. (Challenge) The fourth-degree Taylor polynomial for a function f about x=3 is
P4(x)=2−(x−3)+4(x−3)2−35(x−3)3+81(x−3)4
(a) Find f′′′(3) and f(4)(3).
(b) Does f have a critical point at x=3? Is the graph of f concave up or concave down there? Justify.
(c) Find the third-degree Taylor polynomial for f′ about x=3. Explain why differentiating P4 gives the right answer by checking one coefficient against the formula.
H9. (Challenge) A function f has a graph that passes through (1,2) with a horizontal tangent line there, and f′′(1)=−6. Which polynomial is the second-degree Taylor polynomial for f about x=1? For each choice you reject, name the specific mistake it contains.
A) 2−6(x−1)2
B) 2−3x2
C) 2−3(x−1)2
D) 2+3(x−1)2
E) 2+(x−1)−3(x−1)2
H10. (Challenge) You want to approximate cos1 without a calculator.
(a) Use the fourth-degree Maclaurin polynomial for cosx from H3 to approximate cos1.
(b) Find the second-degree Taylor polynomial for cosx about x=3π, and use it to approximate cos1.
(c) Compare both approximations with your calculator’s value. The second polynomial has a lower degree, yet one of them is far more accurate. Which one, and why?