Tutorials › AP Calculus › Maclaurin Polynomials for Exponential Functions

Power Series and Taylor Polynomials · Tutorial 862 of 999

Maclaurin Polynomials for Exponential Functions

Use the derivatives of exponential functions to build Maclaurin polynomials and evaluate their approximations accurately.

Advanced 8 min read

What You'll Learn

  • Define the degree-n Maclaurin polynomial using derivatives evaluated at zero
  • Derive the coefficients for e^x and e^(kx) from their derivative patterns
  • Write the polynomial for a chosen degree and parameter k
  • Evaluate exponential Maclaurin polynomials at specified inputs
  • Keep intermediate values exact and check the resulting arithmetic
  • Recognize common errors involving factorials, powers, and signs

Why Exponential Maclaurin Polynomials Are Useful

Exponential functions can be evaluated with a calculator, but their derivatives also give a systematic way to build polynomial approximations. A polynomial is often easier to manipulate by hand, and it can approximate an exponential function near zero using only a finite number of terms.

For the natural exponential function, every derivative is the same function. That simple pattern makes its Maclaurin polynomials especially direct to construct. The same idea works for \(e^{kx}\), where the constant \(k\) changes the derivative values and therefore changes each coefficient.

Key idea: The degree-\(n\) Maclaurin polynomial for a function uses its derivatives through order \(n\), evaluated at \(x=0\). For exponential functions, those derivative values follow a pattern that gives a compact formula.

From Derivatives to Maclaurin Coefficients

For a function \(f\) with derivatives through order \(n\) at zero, its degree-\(n\) Maclaurin polynomial is

$$ P_n(x)=\sum_{j=0}^{n}\frac{f^{(j)}(0)}{j!}x^j. $$

Here \(f^{(0)}\) means \(f\) itself, \(j!\) is the factorial of \(j\), and \(0!=1\). The polynomial has the same value and the same derivatives as \(f\) at zero through order \(n\). If a coefficient happens to be zero, the polynomial may have degree less than \(n\).

The coefficient rule follows directly by differentiating a polynomial. Write a polynomial in powers of \(x\) as \(P(x)=a_0+a_1x+a_2x^2+\cdots+a_nx^n\). Its \(j\)th derivative, evaluated at zero, is \(P^{(j)}(0)=j!a_j\): terms with power greater than \(j\) still contain a positive power of \(x\), and terms with power less than \(j\) have differentiated to zero. Thus matching the \(j\)th derivative of \(f\) at zero requires \(j!a_j=f^{(j)}(0)\), or \(a_j=f^{(j)}(0)/j!\). This explains both why the factorial appears and why the derivative values determine the coefficients.

The Derivative Pattern for \(e^x\)

The derivative of \(e^x\) is \(e^x\). Differentiating repeatedly therefore leaves the function unchanged: for every nonnegative integer \(j\), \(f^{(j)}(x)=e^x\) when \(f(x)=e^x\). At zero, \(e^0=1\), so every derivative value used in the polynomial is 1.

$$ P_n(x) =\sum_{j=0}^{n}\frac{1}{j!}x^j =1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+\cdots+\frac{x^n}{n!}. $$

The final term shown is the term with power \(n\). A degree-\(n\) polynomial includes every power from zero through \(n\), not just the highest-power term. For example, the degree-four polynomial includes the constant, linear, quadratic, cubic, and quartic terms.

Worked Example: Construct and Evaluate a Degree-Four Polynomial for \(e^x\)

Construct the degree-four Maclaurin polynomial for \(e^x\), then use it to approximate \(e^{0.4}\).

For every \(j\), the \(j\)th derivative of \(e^x\) is \(e^x\), and its value at zero is \(1\). Substitute those values into the Maclaurin formula:

$$ P_4(x) =1+\frac{1}{1!}x+\frac{1}{2!}x^2+\frac{1}{3!}x^3+\frac{1}{4!}x^4 =1+x+\frac{x^2}{2}+\frac{x^3}{6}+\frac{x^4}{24}. $$

Now substitute \(x=0.4=\frac{2}{5}\). Keep the terms exact while calculating:

$$ \begin{aligned} P_4(0.4) &=1+\frac{2}{5}+\frac{(2/5)^2}{2} +\frac{(2/5)^3}{6}+\frac{(2/5)^4}{24}\\ &=1+\frac{2}{5}+\frac{2}{25}+\frac{4}{375}+\frac{2}{1875}\\ &=\frac{1875}{1875}+\frac{750}{1875}+\frac{150}{1875} +\frac{20}{1875}+\frac{2}{1875}\\ &=\frac{2797}{1875} \approx 1.491733. \end{aligned} $$

Thus \(P_4(0.4)\) approximates \(e^{0.4}\) by \(1.491733\), rounded to six decimal places. As a check on the substitution, the term values are \(1\), \(0.4\), \(0.08\), \(0.010666\ldots\), and \(0.001066\ldots\); their sum is approximately \(1.491733\), consistent with the exact fraction.

The Derivative Pattern for \(e^{kx}\)

Let \(f(x)=e^{kx}\), where \(k\) is a constant real number. The chain rule gives \(f'(x)=ke^{kx}\). Each further differentiation contributes another factor of \(k\), so the \(j\)th derivative is \(f^{(j)}(x)=k^j e^{kx}\). This pattern can also be justified by induction: if the \(j\)th derivative is \(k^j e^{kx}\), differentiating it gives \(k^j(ke^{kx})=k^{j+1}e^{kx}\).

At \(x=0\), \(e^{k\cdot 0}=1\), so \(f^{(j)}(0)=k^j\). Inserting these values into the coefficient formula gives the degree-\(n\) polynomial:

Formula: For a real constant \(k\) and a nonnegative integer \(n\), the degree-\(n\) Maclaurin polynomial for \(e^{kx}\) is
$$ P_n(x)=\sum_{j=0}^{n}\frac{k^j x^j}{j!} =1+kx+\frac{k^2x^2}{2!}+\frac{k^3x^3}{3!}+\cdots+\frac{k^n x^n}{n!}. $$
When \(k=0\), this expression is the constant polynomial \(1\), even if \(n\) is positive.

Notice that the parameter occurs as \(k^j\) in the term with \(x^j\). Equivalently, the expression can be viewed as the degree-\(n\) polynomial for \(e^u\), evaluated with \(u=kx\). The variable is still \(x\), and every term must include the corresponding power of both \(k\) and \(x\).

Worked Example: Evaluate a Degree-Three Polynomial for \(e^{2x}\)

Find the degree-three Maclaurin polynomial for \(e^{2x}\), then use it to approximate \(e^{-1/2}\) by evaluating at \(x=-\frac14\).

Here \(k=2\), so the formula gives

$$ P_3(x)=1+2x+\frac{2^2x^2}{2!}+\frac{2^3x^3}{3!} =1+2x+2x^2+\frac{4}{3}x^3. $$

Since \(2(-\frac14)=-\frac12\), the requested input to the exponential is \(e^{-1/2}\). Evaluate the polynomial at \(x=-\frac14\):

$$ \begin{aligned} P_3\left(-\frac14\right) &=1+2\left(-\frac14\right) +2\left(-\frac14\right)^2 +\frac43\left(-\frac14\right)^3\\ &=1-\frac12+\frac18-\frac{1}{48}\\ &=\frac{48}{48}-\frac{24}{48}+\frac{6}{48}-\frac{1}{48}\\ &=\frac{29}{48} \approx 0.604167. \end{aligned} $$

Therefore the polynomial approximation is \(e^{-1/2}\approx 0.604167\), rounded to six decimal places. To check the arithmetic, the four terms are \(1\), \(-\frac12\), \(\frac18\), and \(-\frac{1}{48}\); putting them over denominator 48 gives \(\frac{48-24+6-1}{48}=\frac{29}{48}\), as found.

Evaluating Efficiently and Checking the Result

For an input \(x=a\), the polynomial for \(e^{kx}\) can be evaluated by substituting \(a\) into each term, or by first setting \(u=ka\) and calculating \(\sum_{j=0}^n u^j/j!\). The second approach can reduce repeated work, especially when \(k\) and \(a\) are both given. Either way, the same value results because \(k^j a^j=(ka)^j\).

Worked Example: Approximate \(e^{0.3}\) with a Degree-Five Polynomial

Use the degree-five Maclaurin polynomial for \(e^{3x}\) to approximate \(e^{0.3}\).

To make the exponent equal to \(0.3\), use \(k=3\) and \(x=0.1\), since \(3(0.1)=0.3\). The polynomial is

$$ P_5(x) =1+3x+\frac{9x^2}{2}+\frac{27x^3}{6} +\frac{81x^4}{24}+\frac{243x^5}{120}. $$

Substitute \(x=0.1\) and calculate each term:

$$ \begin{aligned} P_5(0.1) &=1+0.3+\frac{0.09}{2}+\frac{0.027}{6} +\frac{0.0081}{24}+\frac{0.00243}{120}\\ &=1+0.3+0.045+0.0045+0.0003375+0.00002025\\ &=1.34985775. \end{aligned} $$

So the degree-five polynomial gives \(e^{0.3}\approx 1.34985775\), or \(1.349858\) rounded to six decimal places. As a second check, using \(u=3(0.1)=0.3\) gives the same terms \(1\), \(u\), \(u^2/2!\), \(u^3/3!\), \(u^4/4!\), and \(u^5/5!\). This confirms that the powers and factorial denominators have been applied consistently.

Common Errors to Avoid

A frequent mistake is to omit a factorial or to use the wrong power of \(k\). For example, the degree-three polynomial for \(e^{2x}\) is not \(1+2x+4x^2+8x^3\). That incorrect expression uses \(k^j\) but forgets to divide the \(j\)th term by \(j!\).

The correction is to apply the coefficient formula term by term:

$$ \frac{2^0x^0}{0!}=1,\qquad \frac{2^1x}{1!}=2x,\qquad \frac{2^2x^2}{2!}=2x^2,\qquad \frac{2^3x^3}{3!}=\frac43x^3. $$

Another common error is to lose a negative sign when substituting a negative input. In \(P_3(-\frac14)\), the cubic power is negative because \((-\frac14)^3=-\frac1{64}\), while the quadratic power is positive because \((-\frac14)^2=\frac1{16}\). Evaluate the powers before combining terms.

Practical check: For the term of power \(j\), verify that its numerator is \(k^j x^j\) and its denominator is \(j!\). When evaluating, check the sign of each power before summing.

What the Polynomial Does—and Does Not—Say

A Maclaurin polynomial is a finite expression constructed from derivative values at zero. Its first \(n\) derivatives match those of the function at zero, which is why it provides a natural local polynomial approximation. Evaluating the polynomial at a specified input produces an approximation to the exponential value; it does not make the polynomial and the exponential identical at that input in general.

The formula tells you which polynomial to construct and how to evaluate it. Questions about how close the result is, or how many terms guarantee a desired accuracy, require separate error analysis. For the calculations here, keep exact fractions or unrounded decimal terms until the final result, and state the rounding precision when giving a decimal approximation.

Summary

For \(e^x\), every derivative evaluated at zero equals 1, so the degree-\(n\) polynomial has terms \(x^j/j!\). For \(e^{kx}\), the \(j\)th derivative at zero equals \(k^j\), so the terms become \(k^j x^j/j!\). To evaluate either polynomial, include every term from \(j=0\) through \(j=n\), substitute the requested input carefully, and check powers, signs, and factorials.

Check Your Understanding

Use the derivative pattern and the coefficient formula to answer each question. Keep intermediate calculations exact where practical.

  1. Write the degree-three Maclaurin polynomial for \(e^x\).
  2. Write the degree-four Maclaurin polynomial for \(e^{3x}\).
  3. Use the degree-three polynomial for \(e^{2x}\) to approximate \(e^{0.4}\).
  4. For \(e^{-x}\), what is the coefficient of \(x^4\) in its degree-four Maclaurin polynomial?
  5. Identify the missing factorial in the incorrect degree-two expression \(1+4x+16x^2\) for \(e^{4x}\), and write the correct expression.

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: 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