lesson

Unit 6 - Power Series and Taylor Models · AP

Remainders and Error Bounds

Turn a Taylor approximation into a defensible numerical claim by estimating the remainder under stated derivative bounds.

An approximation needs an accuracy claim

A Taylor polynomial is exact at its center and matches several derivatives there, but a finite polynomial leaves out infinitely many later terms. The difference between the function and its degree-NN Taylor polynomial is the remainder:

RN(x)=f(x)−TN(x).R_N(x)=f(x)-T_N(x).

Writing an approximation without saying anything about this remainder is incomplete when accuracy matters. A decimal result may look plausible, yet a model should state how close it is expected to be and why. Error bounds turn local derivative information into a guarantee rather than a hopeful estimate.

Taylor’s inequality says that if ∣f(N+1)(z)∣≤M|f^{(N+1)}(z)|\le M for every zz between the center aa and target xx, then

∣RN(x)∣≤M(N+1)!∣x−a∣N+1.|R_N(x)|\le\frac{M}{(N+1)!}|x-a|^{N+1}.

Every factor has a role. The derivative bound MM measures how large the first omitted type of behavior can be. The power of ∣x−a∣|x-a| records distance from the center. The factorial in the denominator can make the bound shrink quickly as degree increases. The statement is a bound, not generally the exact error.

L5-V01 — Approximation and vertical error. Plot a function and its Taylor polynomial near a center, then draw a vertical bracket at a target input labeled ∣RN(x)∣|R_N(x)|∣RN​(x)∣The remainder is the vertical difference between the function and its Taylor polynomial at the target input.
L5-V01 — Approximation and vertical error. Plot a function and its Taylor polynomial near a center, then draw a vertical bracket at a target input labeled ∣RN(x)∣|R_N(x)|∣RN​(x)∣

Bound a familiar exponential approximation

Approximate e0.2e^{0.2} with the quadratic Maclaurin polynomial

T2(x)=1+x+x22.T_2(x)=1+x+\frac{x^2}{2}.

For f(x)=exf(x)=e^x, every derivative is exe^x. On the interval from 00 to 0.20.2, the third derivative is at most e0.2e^{0.2}. A simple bound such as M=2M=2 is valid because e0.2<2e^{0.2}<2. Taylor’s inequality gives

∣R2(0.2)∣≤23!(0.2)3=0.0166≈0.00267.|R_2(0.2)| \le\frac{2}{3!}(0.2)^3 =\frac{0.016}{6} \approx0.00267.

The polynomial evaluates to 1.221.22, so the true value lies within about 0.002670.00267 of 1.221.22. The bound is deliberately a little loose because M=2M=2 was easy to verify. A tighter bound could use M=e0.2M=e^{0.2}, but a valid simple guarantee is often more useful than an exact-looking expression that has not been justified.

The interval between aa and xx is essential. Choosing MM only from the derivative value at the center can fail if the derivative grows on the path to the target. For exe^x and a positive target, the maximum occurs at the target; for a negative target, it occurs at zero. Sketching the interval prevents an unexamined maximum claim.

It is also important to preserve the absolute value in the error statement. A Taylor polynomial may lie above or below the true function depending on the function, degree, and target input. The inequality bounds the magnitude of the difference and does not by itself name its sign. If the sign matters, it must be established from additional information such as the first omitted term in an alternating series or a known derivative sign. Accuracy and direction are related but separate conclusions.

L5-V02 — Bounding the next derivative. Draw an interval from 000 to 0.20.20.2 on the horizontal axis with an increasing exe^xex curve and a labeled upper bound M=2M=2M=2A Taylor error bound uses a maximum for the next derivative over the entire interval from the center to the target.
L5-V02 — Bounding the next derivative. Draw an interval from 000 to 0.20.20.2 on the horizontal axis with an increasing exe^xex curve and a labeled upper bound M=2M=2M=2

Alternating-series error is a different tool

When a Taylor series has alternating terms whose magnitudes decrease to zero at the target, the alternating-series estimate can be simpler. The error after a truncation is at most the magnitude of the first omitted term. For the sine series at x=0.3x=0.3,

sin⁡x=x−x33!+x55!−⋯ ,\sin x=x-\frac{x^3}{3!}+\frac{x^5}{5!}-\cdots,

using x−x3/3!x-x^3/3! gives an error no larger than 0.35/5!0.3^5/5!. This test relies on the alternating, decreasing structure at the chosen input; it is not a replacement for Taylor’s inequality in every problem. State which theorem supports the bound rather than calling every omitted term “the error.”

The two estimates often have different strengths. Taylor’s inequality works from a derivative maximum and can apply when signs do not alternate. The alternating estimate can be sharp and easy when its hypotheses hold. Choosing a method is part of mathematical judgment: use the information the representation actually provides instead of forcing a favorite formula.

Do not confuse an upper bound with a decimal rounding rule. If an error bound is less than 0.00050.0005, then rounding a positive approximation to three decimal places can be justified under the usual nearest-rounding convention. If the bound is only less than 0.0050.005, it does not automatically justify three decimal places. Translate the requested tolerance into an inequality before selecting the degree. This makes the number of retained terms a consequence of the desired reliability, not an aesthetic choice.

L5-V03 — First omitted alternating term. Show alternating partial sums for sine at a fixed input, with the next omitted term drawn as a shrinking corrective jumpFor a valid alternating Taylor series, the magnitude of the first omitted term bounds the approximation error.
L5-V03 — First omitted alternating term. Show alternating partial sums for sine at a fixed input, with the next omitted term drawn as a shrinking corrective jump

Select a degree from a tolerance

An error tolerance can determine the polynomial degree. To approximate e0.2e^{0.2} within 0.00010.0001, find an NN for which

2(0.2)N+1(N+1)!<0.0001.\frac{2(0.2)^{N+1}}{(N+1)!}<0.0001.

Try successive degrees or compare the bound’s factors systematically. The point is not to find the smallest possible NN unless asked. Any degree that proves the required inequality is sufficient. Report the polynomial used and the bound obtained; a bare decimal with many digits does not explain why those digits should be trusted.

For retrieval, use Taylor’s inequality to bound the error in approximating cos⁡(0.4)\cos(0.4) with its degree-two Maclaurin polynomial. Choose a valid upper bound for the third derivative on the relevant interval, even if it is not tight. Then compare with the alternating-series estimate and explain which is sharper here. The next lesson combines series operations, approximation, and error judgment in modeling choices rather than treating them as isolated techniques.

Knowledge Map

Where this lesson fits

Prerequisites

Unit 6 - Power Series and Taylor ModelsMaclaurin Series for Key Functions

Next lessons

Unit 6 - Power Series and Taylor ModelsApproximation and Modeling Synthesis