Taylor and Maclaurin expansions
Every smooth function, however curved, looks almost like a straight line if you zoom in close enough at a point — that is what the derivative already tells you. Taylor's theorem pushes this idea further: near a point , a well-behaved function is not just approximately linear but approximately a polynomial built entirely from its own derivatives at , and the theorem hands you an exact formula for the leftover error. Maclaurin's theorem is nothing new on top of this — it is simply Taylor's theorem centred at , the case used to write down the famous series for , , and . This single idea — replace a hard function by an easy polynomial, with a controlled error — underlies limit evaluation, numerical approximation, and error analysis throughout the rest of this calculus unit.
A function's value near a point can be reconstructed, to any order and with a precisely bounded error, from nothing but its derivatives at : that is Taylor's theorem, and setting gives Maclaurin's theorem.
The core idea
Taylor's theorem. If has continuous derivatives on an interval containing and , then equals the degree- Taylor polynomial at plus a remainder:
where: is the -th derivative evaluated at , is the displacement from the expansion point, and is the remainder after terms — the exact gap between the polynomial and the true value of .
Two forms of the remainder. Both are proved using a Cauchy-mean-value-theorem-style auxiliary function, and both say the same qualitative thing — the remainder involves the -th derivative evaluated at some unknown point strictly between and :
where: is some point strictly between and , not one you can pin down exactly — its role is only to bound the size of . Setting collapses either form to , which is exactly the Lagrange mean value theorem (LMVT): Taylor's theorem is nothing but a higher-order generalization of the MVT you already proved.
Maclaurin's theorem is the special case :
It is not a separate theorem with different hypotheses — it is simply Taylor's theorem read at the origin, which is why , , and are always expanded "about ."
The four expansions worth memorizing (each valid for all real unless noted):
The goal is to turn the general Taylor formula into the concrete numerical series for , by computing every derivative of at explicitly and substituting, so that the abstract theorem becomes the memorizable formula used throughout this unit.
Step 1. Differentiate repeatedly. Since , every derivative is again : , , and in general for every . This is the one function whose derivative pattern never changes, which is exactly why its Maclaurin series has such a clean form.
Step 2. Evaluate at . Since , every derivative at the origin equals : for all .
Step 3. Substitute into Maclaurin's theorem. Plugging into gives , with the Lagrange remainder for some between and .
Step 4. Confirm the remainder shrinks. For any fixed , the factorial in the denominator grows far faster than grows in the numerator as increases, so and the polynomial approximation improves at every extra term — the reason using "a few terms" of the series is a legitimate approximation strategy rather than a guess.
Worked example
Expand about up to the term in , with the Lagrange remainder, then use it to estimate .
Step 1. Differentiate. gives , , , and .
Step 2. Evaluate at . , , , .
Step 3. Substitute into Taylor's theorem to third order:
Step 4. Plug in . The polynomial part gives , extremely close to the true value , with the tiny gap accounted for entirely by . The third-order Taylor estimate is .
Competitive stretch
The same series-substitution trick evaluates limits that would otherwise need repeated L'Hôpital differentiation. For , substitute , so , and dividing by gives . As every term beyond vanishes, so the limit is — read straight off the series with no differentiation at all.
Common traps
- Treating the truncated polynomial as exactly equal to : Taylor's theorem is an equality only when is kept in; the polynomial alone is an approximation, and dropping silently is a scoring error.
- Confusing Maclaurin's theorem with a separate result: it is Taylor's theorem at , nothing more, so its hypotheses are identical.
- Sign errors while differentiating , , or trig functions repeatedly — one flipped sign cascades through every later coefficient.
- Using an infinite series outside its interval of validity, e.g. plugging into the series (valid only for ); even the finite polynomial with remainder can become inaccurate once strays far from .
Ask the tutor: if you want the full Cauchy-MVT-style proof of the Lagrange remainder, or practice choosing how many terms to keep for a target accuracy, ask the AI tutor to walk through it step by step.
Why do we need a remainder term at all if we already have derivatives at every order?
Because a Taylor polynomial only uses finitely many derivatives, and the true function generally differs from that polynomial by a nonzero amount at any point other than itself. The remainder captures exactly that gap, expressed using an unknown intermediate point . Without it, " polynomial" would be false for almost every ; with it, the equation is an exact identity, and also tells you how good the approximation is.
Do I need to memorize both the Lagrange and Cauchy remainder formulas?
Yes for this unit — you should be able to write down either on demand and recognize that both reduce to LMVT when . In practice the Lagrange form is used far more often because it is easier to bound (it involves only powers of ), while the Cauchy form appears mainly when proving certain series converge or in a handful of textbook derivations. Know both formulas, but expect to actually apply the Lagrange one.
How many terms of a Maclaurin series should I keep when evaluating a limit?
Keep just enough terms that, after simplification, at least one term survives as and the rest visibly vanish — usually one or two terms beyond whatever cancels in the numerator. In the worked example, the and cancel exactly, so keeping the and terms of is enough: dividing by leaves a constant plus vanishing terms. If you are unsure, keep one extra term beyond what you think you need — it costs little and confirms nothing important was dropped.