Tutorials › Calculus II › Exact Taylor Polynomials for Polynomial Functions

Taylor Polynomials · Tutorial 814 of 998

Exact Taylor Polynomials for Polynomial Functions

See why polynomial Taylor models of matching degree are exact, and practice writing them around different centers.

Beginner 8 min read

What You'll Learn

  • State the degree-m Taylor polynomial at a real center
  • Explain why a degree-m polynomial has an exact centered form
  • Compute Taylor coefficients from derivative values
  • Write polynomial expressions centered at nonzero points
  • Check a centered Taylor form by expansion
  • Recognize when a Taylor polynomial is an approximation rather than an exact match

From Approximation to Exact Representation

A Taylor polynomial is often introduced as a local approximation to a function near a chosen center. For a polynomial, there is an important case in which the approximation is not merely accurate near the center: if the Taylor polynomial includes every degree up to the polynomial’s degree, it reproduces the original polynomial exactly.

The center can be any real number. Changing the center changes the powers and coefficients used to write the polynomial, but it does not change the function represented. The key is to include all terms required by the polynomial’s degree.

Definition and Notation

Let \(p\) be a polynomial and let \(a\) be a real number. The Taylor polynomial of degree \(m\) for \(p\) at \(a\) is formed from the values of \(p\) and its derivatives at \(a\).

Definition: The Taylor polynomial of degree \(m\) for \(p\) centered at \(a\) is \[ T_{m,p,a}(x)=\sum_{k=0}^{m}\frac{p^{(k)}(a)}{k!}(x-a)^k. \] Here \(p^{(0)}=p\), and \(0!=1\).

The center \(a\) determines the powers \((x-a)^k\). The coefficient of each power is the corresponding derivative value divided by the factorial \(k!\). For instance, the coefficient of \((x-a)^2\) is \(p''(a)/2!\), not simply \(p''(a)\).

If \(p\) has degree \(m\), then its \(m\)-th derivative is constant and every derivative of order greater than \(m\) is zero. The degree-\(m\) Taylor polynomial therefore includes all the potentially nonzero derivative terms.

Why the Centered Form Is Exact

To see why the formula reproduces the polynomial, write the polynomial using powers of \(x-a\). Such a representation is possible because \(x=a+(x-a)\): substituting this into the usual powers of \(x\) and expanding gives a polynomial in \(x-a\). Write that representation as

$$ p(x)=b_0+b_1(x-a)+b_2(x-a)^2+\cdots+b_m(x-a)^m. $$

When this expression is differentiated \(r\) times and evaluated at \(x=a\), the term involving \((x-a)^r\) contributes \(r!b_r\). Terms with a higher power still contain a positive power of \(x-a\) and become zero at \(a\); terms with a lower power have already differentiated to zero. Thus the derivative value identifies exactly the coefficient of the corresponding centered power.

1
Write the polynomial around the center.
Express it as \(p(x)=\sum_{j=0}^{m}b_j(x-a)^j\).
2
Evaluate the \(r\)-th derivative at the center.
All terms except the one with power \(r\) vanish, giving \(p^{(r)}(a)=r!b_r\).
3
Identify the coefficients.
It follows that \(b_r=p^{(r)}(a)/r!\) for each \(r\) from \(0\) through \(m\).

This reasoning gives a complete proof of exactness. Differentiating the centered expression \(r\) times yields

$$ p^{(r)}(x)=\sum_{j=r}^{m} b_j\frac{j!}{(j-r)!}(x-a)^{j-r}. $$

At \(x=a\), the term with \(j=r\) is \(b_r r!\). Every term with \(j>r\) has a positive power of \(x-a\), so its value is zero. Therefore \(p^{(r)}(a)=r!b_r\), and substituting \(b_r=p^{(r)}(a)/r!\) into the centered expression gives the Taylor formula.

Theorem: If \(p\) is a polynomial of degree \(m\), then for every real center \(a\), \[ p(x)=T_{m,p,a}(x)=\sum_{k=0}^{m}\frac{p^{(k)}(a)}{k!}(x-a)^k \] for every real \(x\).

The equality holds for all real \(x\), not only for \(x\) close to \(a\). The proof relies on the polynomial having no terms of degree greater than \(m\), and on including every derivative term through order \(m\).

Worked Examples

Worked Example: A Cubic Centered at 2

Find the degree-3 Taylor polynomial for \(p(x)=3x^3-2x^2+4x-1\) at \(a=2\).

First evaluate the polynomial:

$$ p(2)=3(2)^3-2(2)^2+4(2)-1=24-8+8-1=23. $$

Differentiate and evaluate each required derivative:

$$ \begin{aligned} p'(x)&=9x^2-4x+4, & p'(2)&=9(4)-8+4=32,\\ p''(x)&=18x-4, & p''(2)&=36-4=32,\\ p'''(x)&=18, & p'''(2)&=18. \end{aligned} $$

Insert these values into the Taylor formula. The quadratic coefficient is \(32/2!=16\), and the cubic coefficient is \(18/3!=3\):

$$ T_{3,p,2}(x)=23+32(x-2)+16(x-2)^2+3(x-2)^3. $$

Check by expanding. The constant terms combine to \(23-64+64-24=-1\); the coefficients of \(x\), \(x^2\), and \(x^3\) are \(32-64+36=4\), \(16-18=-2\), and \(3\), respectively. Hence

$$ T_{3,p,2}(x)=3x^3-2x^2+4x-1=p(x). $$

Worked Example: A Quartic Centered at -1

Find the degree-4 Taylor polynomial for \(q(x)=x^4-2x^3+3x^2-4x+5\) at \(a=-1\).

Evaluate \(q\) and its derivatives at \(-1\):

$$ \begin{aligned} q(-1)&=1+2+3+4+5=15,\\ q'(x)&=4x^3-6x^2+6x-4, & q'(-1)&=-4-6-6-4=-20,\\ q''(x)&=12x^2-12x+6, & q''(-1)&=12+12+6=30,\\ q'''(x)&=24x-12, & q'''(-1)&=-24-12=-36,\\ q''''(x)&=24, & q''''(-1)&=24. \end{aligned} $$

Use the centered powers \(x-(-1)=x+1\). Dividing the derivative values by their factorials gives coefficients \(15\), \(-20\), \(30/2!=15\), \(-36/3!=-6\), and \(24/4!=1\):

$$ T_{4,q,-1}(x)=15-20(x+1)+15(x+1)^2-6(x+1)^3+(x+1)^4. $$

To check, expand in powers of \(x\). The coefficients of \(x^4,x^3,x^2,x\), and the constant term are, respectively, \(1\), \(4-6=-2\), \(6-18+15=3\), \(4-18+30-20=-4\), and \(1-6+15-20+15=5\). Thus

$$ T_{4,q,-1}(x)=x^4-2x^3+3x^2-4x+5=q(x). $$

Worked Example: A Quadratic Centered at -2

Find the degree-2 Taylor polynomial for \(r(x)=2x^2+3x-1\) at \(a=-2\).

Compute the function and derivative values:

$$ \begin{aligned} r(-2)&=2(4)+3(-2)-1=8-6-1=1,\\ r'(x)&=4x+3, & r'(-2)&=-8+3=-5,\\ r''(x)&=4, & r''(-2)&=4. \end{aligned} $$

The degree-2 Taylor polynomial is therefore

$$ T_{2,r,-2}(x)=1-5(x+2)+\frac{4}{2!}(x+2)^2 =1-5(x+2)+2(x+2)^2. $$

Expanding gives \(1-5x-10+2x^2+8x+8=2x^2+3x-1\), which is exactly \(r(x)\). The second-derivative term requires division by \(2!\), even though the resulting coefficient happens to be the integer \(2\).

Degree Matters

The degree of the Taylor polynomial determines how many derivative values are used. For a polynomial of degree \(m\), the degree-\(m\) Taylor polynomial contains every possible nonzero centered coefficient and is exact. If a polynomial has lower degree than the stated Taylor order, its derivatives above its degree are zero; including those zero terms does not change the expression.

By contrast, a Taylor polynomial whose degree is less than the polynomial’s degree usually omits terms from its centered representation. It may still match the function and some of its derivatives at the center, but it need not equal the function for other values of \(x\). The exactness result is not a claim that every low-degree Taylor polynomial is exact; it specifically uses an order at least as large as the polynomial’s degree.

A Common Factorial Mistake

A frequent error is to use derivative values directly as Taylor coefficients, without dividing by factorials. For \(f(x)=x^3\) centered at \(a=1\), the values are \(f(1)=1\), \(f'(1)=3\), \(f''(1)=6\), and \(f'''(1)=6\). Omitting the factorials would give the incorrect expression

$$ 1+3(x-1)+6(x-1)^2+6(x-1)^3. $$

At \(x=2\), this expression gives \(1+3+6+6=16\), while \(f(2)=8\). The correct coefficients divide the second- and third-derivative values by \(2!\) and \(3!\):

$$ T_{3,f,1}(x)=1+3(x-1)+\frac{6}{2!}(x-1)^2+\frac{6}{3!}(x-1)^3 =1+3(x-1)+3(x-1)^2+(x-1)^3. $$

At \(x=2\), this gives \(1+3+3+1=8\), as required. Expanding the corrected expression gives \((1+(x-1))^3=x^3\), confirming the exact identity.

Why Exact Centered Forms Are Useful

A centered form displays the polynomial relative to a chosen point. At \(x=a\), every positive power of \(x-a\) vanishes, so the constant term immediately gives \(p(a)\). The coefficient of \(x-a\) records the slope at the center, and higher coefficients record the corresponding higher derivatives divided by factorials.

For a polynomial of matching degree, this information is enough to reconstruct the entire function, not just its behavior near the center. The expression may be more convenient when calculations or interpretation focus on a particular value of \(x\), while the ordinary powers of \(x\) may be more convenient elsewhere. Both forms represent the same polynomial.

Check Your Understanding

Use the Taylor formula and the degree of each polynomial to answer these questions.

  1. What condition on the degree of \(p\) ensures that \(T_{m,p,a}\) equals \(p\) for every real \(x\)?
  2. For \(p(x)=x^2+1\) centered at \(a=1\), what derivative values are needed to form \(T_{2,p,1}\)?
  3. Why is the coefficient of \((x-a)^3\) equal to \(p'''(a)/3!\), rather than \(p'''(a)\)?
  4. Can the degree-4 Taylor polynomial of a cubic contain a nonzero fourth-degree term? Explain.
  5. For \(p(x)=2x^2\) centered at \(a=1\), compute \(T_{2,p,1}(x)\) and check it by expansion.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon