4.3.18 · D2Calculus III — Sequences & Series

Visual walkthrough — Taylor's remainder theorem — error estimation

2,092 words10 min readBack to topic

Step 1 — What is an approximation, and what is the "error"?

WHAT. We have a curvy function . Near a chosen point we replace it by a simpler curve, a polynomial — a curve built only from of (no square roots, no , nothing exotic). The two curves touch at and drift apart as you walk away.

WHY. Polynomials are the only functions a calculator can genuinely compute. So we trade the true curve for a polynomial and ask the honest question: how far apart are they?

PICTURE. Below, the burnt-orange curve is the true ; the teal curve is the polynomial . They kiss at . The plum vertical gap at a target point is the thing we want to bound.


Step 2 — What makes the gap open up? Bending.

WHAT. Two curves that touch at separate only if one bends away from the other. The amount of bending is measured by derivatives — a derivative is just "how fast a quantity is changing".

WHY this tool. We could ask "how far apart are the curves?" directly, but we don't know 's value (that's the whole reason we approximated). What we can often control is how curvy is — bounding a derivative like " never exceeds ". So we route the whole argument through derivatives, because bending is the thing we can pin down.

PICTURE. A gently bending curve (small next derivative) stays close to its polynomial; a violently bending curve peels away fast. Same polynomial degree, wildly different gaps.


Step 3 — Turn the gap into a function we can slide

WHAT. Freeze the target point . Now let the centre of the polynomial move; call the moving centre . Define

WHY. This is a trick to make the unknown gap appear as the value of a function at one end of an interval, so we can hit it with a Mean-Value tool later. Read as: "the leftover error if I had centred my sketch at instead of ."

PICTURE. Slide the centre from up to . When reaches , the sketch centred at is perfect there — the gap slams shut.


Step 4 — Differentiate : a magic telescope

WHAT. Ask how fast changes as the centre slides. Every term in the sum has two moving pieces ( changes, and changes), so the product rule gives two pieces per term. Consecutive terms cancel in a chain — a telescope — and only the very last survives:

WHY. This is the payoff of the Taylor structure: the messy sum has a clean derivative. All the "book-keeping" derivatives cancel, leaving only the next derivative — the very bending we identified in Step 2.

PICTURE. Imagine a row of dominoes where each term's "" cancels the next term's "". Only the far-right piece is left standing.


Step 5 — A partner function, and the Mean Value comparison

WHAT. Introduce a simple companion Now compare the rates of and using the Cauchy Mean Value Theorem: on the interval between and there is some hidden point where

WHY this tool and not the ordinary Mean Value Theorem. The plain MVT says a single curve has some point whose slope equals its average slope. Here we have two quantities racing side by side and we want to relate their net changes to their instantaneous rates at the same instant . That "same instant for both" is exactly what Cauchy's version delivers — it is the two-runner generalisation of MVT.

PICTURE. Two runners and over the same track . Somewhere at time their speed ratio equals their total-distance ratio. That shared instant is where our unknown lives.


Step 6 — Substitute and watch the cancellation

WHAT. Feed the four anchor values in. The left side is . The right side is

WHY. The two minus signs cancel; the whole factor cancels top and bottom; and . All the unknown-position clutter evaporates.

PICTURE. The plum blocks vanish from numerator and denominator, leaving a bare stack.


Step 7 — From exact to usable: replace by a ceiling

WHAT. We can't locate , but we can say "wherever it is, never exceeds some number on the interval." Replacing by its worst-case size can only inflate the estimate, never shrink it:

WHY. A guaranteed bound must survive the worst possible . Using the maximum makes the inequality airtight for every hidden at once. (Picking a single guessed — a classic mistake — could undershoot and give a false guarantee.)

PICTURE. The true wiggles under a flat teal ceiling . Whatever is, its bar cannot poke above the ceiling.


Step 8 — Edge & degenerate cases (never leave the reader stranded)

WHAT / WHY / PICTURE, three scenarios the bound must survive:

  • (degenerate, zero walk). Then , so the bound is : the sketch and the truth coincide exactly at the centre. No error, as it must be.
  • (far walk). The power grows, not shrinks. Here the factorial in the denominator must out-race the growing power; for a fixed it eventually does (factorials beat any fixed power), which is the seed of the Radius of Convergence idea .
  • Alternating series (extra help). If the tail alternates in sign (like , ), consecutive errors partially cancel, so the true gap is often far below the Lagrange ceiling — that slack is exactly what the Alternating Series Estimation Theorem captures.

The one-picture summary

Everything on this page compresses to one image: the true curve, the polynomial, the gap , the bending ceiling , the walk , and the factorial crusher — combining into the boxed bound. In Big-O and asymptotic error language this is .

Recall Feynman: tell it to a 12-year-old

You sketch a curvy hill with a few pencil strokes; that sketch is the polynomial. The gap between your sketch and the real hill is the "error". To pin the gap down we play a game: slide the centre of the sketch from your starting spot toward the target — when it reaches the target the gap snaps to zero. Watching how fast that gap changes, almost everything cancels like a row of dominoes, leaving only one thing: how sharply the hill bends. A clever "two-runners" comparison (Cauchy MVT) turns that into an exact formula, but it hides the bending at a mystery spot we can't find. So we cheat honestly: we say "the bending is never bigger than anywhere here" and use that worst case. Multiply the bending ceiling by how far you walked (raised to one-more power) and divide by a big factorial that grows insanely fast — and out pops a guaranteed "your sketch is off by at most this much."


Recall

Which function do we slide to make the gap appear at an endpoint?
, with and .
After differentiating , why does only one term survive?
The product-rule terms of consecutive telescope (cancel), leaving .
Why Cauchy MVT rather than the ordinary MVT?
We compare two racing quantities and and need their rates at the same instant ; Cauchy's version handles two functions at once.
What cancels in the final substitution?
The two minus signs and the whole factor, leaving .
Why replace by ?
is unknown; using the maximum makes the bound airtight for every possible .
What happens to the bound when ?
, so the bound is — sketch and truth coincide at the centre.

Connections

  • Parent · Hinglish — the stated result this page draws.
  • Taylor & Maclaurin Series — the polynomial being bounded.
  • Mean Value Theorem / Cauchy Mean Value Theorem — the engine of Steps 5–6.
  • Radius of Convergence — the far-walk case and .
  • Alternating Series Estimation Theorem — tighter bound when the tail alternates.
  • Big-O and asymptotic error.