Differential Calculus
Higher-Degree Approximations and Taylor Polynomials
The linearisation is the best straight line at : it gets the value and the slope right and everything else wrong. A Taylor polynomial simply keeps going — match the second derivative too, then the third, then the -th — and the approximation improves dramatically near . This topic supplies the formula, the standard Maclaurin polynomials worth knowing cold, and the piece that turns an approximation into mathematics rather than optimism: the Lagrange remainder, which converts "close" into a guaranteed numerical error bound.
Why go beyond linear
Fix and write . Linearisation has error of size roughly ; the degree- Taylor polynomial has error of size roughly . So halving the distance to the centre divides the error of by about , not by . Concretely, for at , approximating :
| error | ||
|---|---|---|
Each extra degree buys close to another decimal digit of accuracy here. That is the whole motivation.
Definition
Definition. Suppose is times differentiable at . The -th degree Taylor polynomial of centred at is
i.e. with . When it is called the Maclaurin polynomial.
Three immediate remarks. (i) is the constant and is exactly the linearisation. (ii) has degree at most — it can be lower, since may be . (iii) The variable in the powers is , never , unless .
The matching-derivatives characterisation
Theorem. If is times differentiable at , then is the unique polynomial of degree at most satisfying
Why. Write . Differentiating times kills every term of lower degree and, at , kills every term of higher degree, leaving . Setting forces , and the coefficients are therefore determined.
Run this backwards to read derivatives off coefficients: if you know , then .
Theorem (order of contact). With the same hypothesis,
and is the only polynomial of degree at most with this property. This is what licenses the shortcuts below: if any legitimate algebra produces a polynomial of degree whose difference from vanishes faster than , then is — no need to differentiate times.
Standard Maclaurin polynomials
| Maclaurin polynomial (centre ) | general term | notes | |
|---|---|---|---|
| , | every derivative is at | ||
| , | odd powers only; | ||
| , | even powers only; | ||
| , | needs ; no constant term | ||
| , | error is exactly for | ||
| , (here is the exponent, the term index) | needs if is not a whole number; terminates if is a non-negative integer |
Note has no Maclaurin polynomial: it is not defined at . Use , or centre at .
Building new ones from old. Substituting , where is a polynomial with (if is not already one, replace it by its own Maclaurin polynomial first), into a known Maclaurin polynomial, or multiplying two known ones together — and in both cases discarding every power above — produces of the composite/product, by the uniqueness theorem above. Keep enough terms of the outer polynomial that nothing of degree can be lost. Example: from with ,
Reading off the coefficient of : , so — obtained without ever differentiating four times.
Worked Example 1 — approximate and bound
Estimate with and give a rigorous error bound.
For , every derivative is , so and . Then
Bound: , which is increasing, so on we have . Take :
So , i.e. . (True value ; true error — the bound holds and is realistic.)
Taylor's Theorem — the Lagrange remainder
Define the remainder .
Theorem (Taylor, Lagrange form). Let . Suppose is continuous on the closed interval with endpoints and , and exists at every point of the corresponding open interval. Then there exists a number strictly between and with
The case is exactly the Mean Value Theorem: . The number depends on both and and is essentially never computable — which is fine, because we only ever bound .
Corollary (Taylor's Inequality). If in addition for all in an interval containing , then for every in ,
Procedure: (1) fix and the interval ; (2) compute ; (3) find — over the whole interval, not just at ; (4) insert the largest occurring in for a bound valid throughout .
Sign information is free too. Since lies between and , the sign of is often decidable. E.g. for there is a with and ; here , so . (At no such exists — Taylor's Theorem needs — but both sides equal there, so for all .)
Worked Example 2 — bounding the error over an interval
How accurate is on ?
Naive route, : , so , and
Better route: for , (the coefficient is ), so the same polynomial is also the degree- Taylor polynomial and we may use . Now and :
Nearly six times sharper, for free. (Check at the worst point: , , true error — just under the bound.)
Common mistakes
| Wrong | Right |
|---|---|
| Divide by : the coefficients are and . | |
| Centring at but writing powers of . | Every power must be . Do not expand and re-collect in powers of unless asked. |
| Leaving in the coefficients: "". | Derivatives are evaluated at the centre: for . Coefficients are numbers. |
| Given , concluding . | . Multiply the coefficient by . |
| Taking at the centre only. | must dominate on the entire interval. For , , on : gives the bound , but the true error at is — the "bound" is false. Correct . |
| "The error equals the next term ." | The next term is a heuristic. Lagrange has with unknown between and ; only that gives a proof. |
| Expecting of to have an term. | is odd: . Exploit this to get a better remainder bound. |
| Writing a Maclaurin polynomial for or . | Neither is differentiable at ( is not even defined there). Use , , or a different centre. |
| Assuming more terms always means a better answer at a fixed . | For at : but . Accuracy is guaranteed only where the remainder tends to . |
| Using or "to be safe". | is strictly between them and unknown; bound over the closed interval instead. |
Key terms
- Taylor polynomial
- Maclaurin polynomial
- centre (base point) a
- linearisation as T_1
- quadratic approximation
- Taylor coefficient f^{(k)}(a)/k!
- matching-derivatives characterisation
- uniqueness of the Taylor polynomial
- order of contact
- standard Maclaurin polynomials
- binomial polynomial (1+x)^k
- remainder R_n(x)
- Taylor's Theorem
- Lagrange form of the remainder
- Taylor's Inequality
- error bound on an interval
- bounding |f^{(n+1)}| by M
- degree needed for a given accuracy
- substitution shortcut
- reading derivatives off coefficients
Practice Problems
Working directly from the definition (not by quoting a table), find the degree- Maclaurin polynomial of , and use it to estimate .
Show hint
List and evaluate each one at the centre before you assemble anything.
Show answer
Step 1: derivatives at the centre .
Step 2: assemble. With ,
Step 3: evaluate at .
.
Independent check. is even, so the coefficient is and ; using in Taylor's Inequality with ,
The true value is , off by — exactly at the size predicted.
The degree- Taylor polynomial of a function centred at is
Find , , and , and use to estimate .
Show hint
Compare the given expression coefficient by coefficient with the general form , and remember what each is built from.
Show answer
Step 1: the coefficient formula. By definition , so reading it backwards,
Step 2: match coefficients. From the given polynomial, , , , . Hence
Note especially , not : the coefficient is .
Step 3: estimate . Here :
, , , , and .
Check. Differentiating directly: gives ; gives ; . Since matches 's derivatives through order at , these are .
Find the degree- Taylor polynomial of centred at , use it to approximate , and compute the exact error.
Show hint
Write and use the power rule repeatedly; watch the alternating signs and the factorials that appear.
Show answer
Step 1: derivatives at .
Step 2: assemble.
(Sanity check: this is the geometric pattern with , which is what you expect from .)
Step 3: approximate. At , :
Step 4: exact error. The true value is , so
, with exact error (the approximation is too small).
Second, independent route to the same error. Algebraically, ; with this is — agreeing exactly.
Let with centre . Compute the errors and at and at (to three significant figures), and explain the two ratios you observe. Use and .
Show hint
Taylor's Inequality says the error of is at most a constant times . Ask what happens to when is halved.
Show answer
Step 1: the polynomials. and .
Step 2: at .
Step 3: at .
Step 4: the ratios.
Step 5: explanation. By Taylor's Theorem, for some between and . Since as , the error behaves like a constant times . Halving therefore multiplies the error by :
- : factor , so the ratio of errors is . Observed . ✔
- : factor , so the ratio is . Observed . ✔
Conclusion: linearisation is second-order accurate () while is third-order (); each extra degree gains one more power of , which is precisely why one goes beyond linear. The ratios exceed and slightly because is a little larger at the bigger .
Find the degree- Maclaurin polynomial of without differentiating six times, and hence find and .
Show hint
Start from the Maclaurin polynomial of and substitute — but first check that the substitution sends to , and work out how many terms of you need.
Show answer
Step 1: known polynomial. For centred at ,
Step 2: substitute . This is legal for building a Maclaurin polynomial because when . Each power becomes , so three terms past the constant reach degree — exactly what is needed:
Step 3: why . has degree , and as ; putting turns this into as . By the uniqueness (order-of-contact) theorem, is the degree- Maclaurin polynomial:
Step 4: extract the derivatives. Since , we have :
, , .
Check of the long way. ; ; ; . At this is . ✔
Also note , so — as it must be, since is even.
Find the degree- Maclaurin polynomial of in two ways: (a) by multiplying known Maclaurin polynomials and discarding terms of degree above , and (b) by differentiating three times.
Show hint
For (a) you only need each factor accurate to degree ; for (b) the second derivative of simplifies dramatically — do the algebra before evaluating.
Show answer
(a) By multiplication.
(the next term is , already beyond degree ). Multiply and keep only degrees through :
so .
(b) By differentiating.
Hence
Both methods give .
Numerical check. At : , while . So , consistent with a degree- error term : here , so and the predicted next term is . ✔
Find the degree- Maclaurin polynomial of , use it to approximate , and use Taylor's Inequality to bound the error.
Show hint
Use the binomial pattern with (or differentiate three times); for the bound you will need the fourth derivative and where it is largest on .
Show answer
Step 1: derivatives. With ,
and .
Step 2: assemble.
(Same as the binomial pattern with : .)
Step 3: approximate , i.e. take :
Step 4: bound the error. On ,
because is decreasing. Take :
, with error at most ; so (endpoints rounded outward).
Check. , so the true error is — inside the bound. Squaring the estimate: , just above , confirming the approximation is slightly too large (as the negative predicts).
Use the degree- Maclaurin polynomial of to estimate , and use Taylor's Inequality to bound the error.
Show hint
Find the pattern in the derivatives of — they are all of the form (constant) — and remember you need the fifth derivative for the bound.
Show answer
Step 1: derivatives at .
(The pattern is , valid for .)
Step 2: assemble .
Step 3: evaluate at (since ):
Step 4: bound. On , , the maximum occurring at . With and :
with error at most ; hence (endpoints rounded outward).
Check. , so the true error is — just inside the bound, and positive as expected (the omitted term is positive).
Show that the approximation has error at most for every in . Then explain why the naive choice gives a much weaker bound.
Show hint
is an odd function — think about what its degree- Maclaurin polynomial is before choosing which to feed into Taylor's Inequality.
Show answer
Step 1: identify the polynomial's true degree label. For the Maclaurin coefficients of even powers all vanish (), so
The same polynomial is therefore also the degree- Taylor polynomial, and we are entitled to use in Taylor's Inequality.
Step 2: bound the fifth derivative. Differentiating five times returns , so for all real
(The hypotheses of Taylor's Theorem hold everywhere: is infinitely differentiable on .)
Step 3: apply Taylor's Inequality with , , .
Since , the claim holds for every with .
Step 4: why is worse. With we would need , and on the best bound is . Then
about five times weaker. Going from to multiplies the bound by the extra factor , which easily outweighs the increase in from to . Whenever has a parity (even or odd), check for this free upgrade.
Check that the bound is honest and sharp. At the worst point : , while . The true error is — under , and only below it.
How large must be so that the Maclaurin polynomial of approximates to within for every in ?
Show hint
Write down Taylor's Inequality for this and interval first, with the worst-case values of both and inserted; then hunt for the smallest making the resulting number small enough.
Show answer
Step 1: set up Taylor's Inequality. All derivatives of are , so on
since is increasing. Also on . Therefore, for every ,
Step 2: force this under . We need
Step 3: search the factorials.
but , so the smallest admissible value is .
suffices: for all .
Step 4: confirm the answer does not depend on the sloppy . Using the sharp instead of requires , and again fails while succeeds. Same conclusion, .
Check that really is not enough (at least for our bound). The worst point is , where , and , so the actual error is . So genuinely fails, and is truly the smallest degree that works. (At the actual worst error is .)
Use the degree- Taylor polynomial of centred at to approximate , and bound the error with Taylor's Inequality.
Show hint
Choose the centre because is a perfect cube; then be careful with the negative fractional exponents, and note that is decreasing in magnitude on .
Show answer
Step 1: derivatives.
Step 2: assemble .
Step 3: evaluate at , so :
Step 4: bound the error. On , is decreasing, so its maximum is at :
With and :
, with error at most ; hence (endpoints rounded outward).
Check. The true value is , so the actual error is — inside the bound, and the estimate is too small, as the positive (hence positive ) predicts. Cubing the estimate: , close to . ✔
A student bounds the error of as an approximation to on by writing ", so ." Explain precisely what is wrong, give the correct bound, and verify your criticism numerically at .
Show hint
Ask where on the interval is actually largest — is the worst case, or is one endpoint worse?
Show answer
Step 1: locate the error in the argument. The inequality holds only when , i.e. only for . But Taylor's Inequality demands a bound valid at every between the centre and the point , and the interval contains negative , where and the quotient is larger than . The student has bounded only on the right half of the interval.
Step 2: the correct . On the function is decreasing (the denominator increases), so its maximum is at the left endpoint :
Step 3: the correct bound. With , and ,
Correct bound: on .
Step 4: numerical verification that the student's bound is actually false. At ,
while . Hence
Compare: , so the student's claimed bound is violated by the actual error — it is not merely loose, it is wrong. The correct bound does hold, with room to spare.
Moral: must dominate across the whole interval between the centre and every point considered — check the endpoints, not just the centre. (For contrast, at the error is only ; the left half of the interval is genuinely the bad side, which is exactly what the student's shortcut hid.)
