Taylors Theorem: Formula, Remainder & Examples

#Calculus
TL;DR
Taylors Theorem says any smooth function equals its degree-nn Taylor polynomial plus a leftover remainder term: f(x)=∑k=0nf(k)(a)k factorial(x−a)k+Rn(x)f(x) = \sum_{k=0}^{n}\frac{f^{(k)}(a)}{k\text{ factorial}}(x-a)^k + R_n(x). The Lagrange form of that remainder, Rn(x)=f(n+1)(c)(n+1) factorial(x−a)n+1R_n(x) = \frac{f^{(n+1)}(c)}{(n+1)\text{ factorial}}(x-a)^{n+1} for some cc between aa and xx, puts a hard number on the approximation error. It is the reason a Taylor series is trustworthy and the reason those series converge at all.
BT
Bhanzu TeamLast updated on October 1, 202611 min read

What Is Taylors Theorem?

Taylors Theorem is the result that lets you replace a complicated function near a point with a polynomial, and then measure exactly how wrong that replacement is. If ff is differentiable enough near a point aa, the theorem writes

f(x)=∑k=0nf(k)(a)k factorial(x−a)k⏟Taylor polynomial Pn(x)+Rn(x).f(x) = \underbrace{\sum_{k=0}^{n}\frac{f^{(k)}(a)}{k\text{ factorial}}(x-a)^k}_{\text{Taylor polynomial } P_n(x)} + R_n(x).

The precise hypothesis: if ff is (n+1)(n+1) times differentiable on the open interval between aa and xx, and f(n)f^{(n)} is continuous on the closed interval between aa and xx, then the leftover Rn(x)R_n(x) takes the Lagrange form

Rn(x)=f(n+1)(c)(n+1) factorial(x−a)n+1,for some c between a and x.R_n(x) = \frac{f^{(n+1)}(c)}{(n+1)\text{ factorial}}(x-a)^{n+1}, \qquad \text{for some } c \text{ between } a \text{ and } x.

Two pieces do all the work. The first is the Taylor polynomial Pn(x)P_n(x), the best polynomial of degree nn that matches ff and its first nn derivatives at aa. The second is the remainder Rn(x)R_n(x), the exact gap between that polynomial and the true function. The whole value of the theorem is that it does not just approximate; it hands you a formula for the error.

When the centre is a=0a = 0, the expansion is called a Maclaurin series, and every example in this article uses that centre.

What Does The Remainder Term In Taylors Theorem Mean?

The remainder Rn(x)R_n(x) is the honest part of the theorem. The Taylor polynomial is an approximation, and Rn(x)R_n(x) is precisely what you throw away when you stop at degree nn.

Look at the Lagrange form again next to the polynomial's terms:

Rn(x)=f(n+1)(c)(n+1) factorial(x−a)n+1.R_n(x) = \frac{f^{(n+1)}(c)}{(n+1)\text{ factorial}}(x-a)^{n+1}.

It is the very next term of the polynomial, with one change: instead of the derivative at the centre aa, you evaluate it at some mystery point cc sitting between aa and xx. You almost never know cc exactly, and you do not need to. You only need a bound on how large f(n+1)f^{(n+1)} can be across the interval. Once you cap that derivative, the factorial (n+1) factorial(n+1)\text{ factorial} in the denominator and the power (x−a)n+1(x-a)^{n+1} do the rest, shrinking the error fast as nn grows or as xx moves closer to aa.

That single idea, an unknown-but-bounded cc, is what turns a rough guess into a guaranteed estimate.

How Does Taylors Theorem Connect To Taylor Series?

A Taylor series is what you get when the polynomial never stops: let n→∞n \to \infty. The series equals the function at a point exactly when the leftover vanishes there:

f(x)=∑k=0∞f(k)(a)k factorial(x−a)k⟺lim⁡n→∞Rn(x)=0.f(x) = \sum_{k=0}^{\infty}\frac{f^{(k)}(a)}{k\text{ factorial}}(x-a)^k \quad \Longleftrightarrow \quad \lim_{n \to \infty} R_n(x) = 0.

This is the deep payoff. On its own, an infinite Taylor series is just a candidate with no guarantee it adds up to the function it came from, and Taylors Theorem supplies the check. If you can show the remainder is squeezed to zero, the series genuinely converges to ff, and the wider machinery of a power series takes over. A function can even have a perfectly good Taylor series that converges to the wrong thing, so the remainder is not a formality; it is the difference between a valid expansion and a false one.

How Do You Use Taylors Theorem? A Worked Example

Take f(x)=exf(x) = e^x about a=0a = 0 and stop at degree n=3n = 3. Every derivative of exe^x is exe^x, and e0=1e^0 = 1, so all four coefficients equal 11. The Taylor polynomial is

P3(x)=1+x+x22+x36.P_3(x) = 1 + x + \frac{x^2}{2} + \frac{x^3}{6}.

Step 1: Estimate e0.5e^{0.5}. Substitute x=0.5x = 0.5:

P3(0.5)=1+0.5+0.252+0.1256=1+0.5+0.125+0.0208=1.6458.P_3(0.5) = 1 + 0.5 + \frac{0.25}{2} + \frac{0.125}{6} = 1 + 0.5 + 0.125 + 0.0208 = 1.6458.

Step 2: Compare with the true value. To four decimal places e0.5=1.6487e^{0.5} = 1.6487, so the actual error is

∣e0.5−P3(0.5)∣=∣1.6487−1.6458∣=0.0029.\lvert e^{0.5} - P_3(0.5)\rvert = \lvert 1.6487 - 1.6458\rvert = 0.0029.

Step 3: Bound the error with the remainder, before trusting it. The Lagrange remainder for n=3n = 3 is

R3(0.5)=f(4)(c)4 factorial(0.5)4=ec24(0.5)4,0<c<0.5.R_3(0.5) = \frac{f^{(4)}(c)}{4\text{ factorial}}(0.5)^4 = \frac{e^{c}}{24}(0.5)^4, \qquad 0 < c < 0.5.

Since exe^x increases and c<0.5c < 0.5, we have ec<e0.5<2e^{c} < e^{0.5} < 2. Using that cap, and (0.5)4=0.0625(0.5)^4 = 0.0625,

R3(0.5)<224(0.0625)=0.0052.R_3(0.5) < \frac{2}{24}(0.0625) = 0.0052.

The guaranteed bound is 0.00520.0052, and the real error 0.00290.0029 sits comfortably underneath it. The estimate is not just close; it is provably close, which is the whole point of the theorem.

Final answer: e0.5≈1.6458e^{0.5} \approx 1.6458, with error 0.00290.0029, safely inside the remainder bound R3(0.5)<0.0052R_3(0.5) < 0.0052.

What Are The Standard Taylor Polynomials Used With Taylors Theorem?

Most first-year work reuses a handful of expansions about a=0a = 0. Each is the polynomial part of the theorem; the remainder rides along on top of the last term shown.

Table: Common Maclaurin polynomials (centre a=0a = 0) and their general term.

Function

First terms of Pn(x)P_n(x)

General term

exe^x

1+x+x22+x36+x4241 + x + \dfrac{x^2}{2} + \dfrac{x^3}{6} + \dfrac{x^4}{24}

xkk factorial\dfrac{x^k}{k\text{ factorial}}

sin⁡x\sin x

x−x36+x5120x - \dfrac{x^3}{6} + \dfrac{x^5}{120}

(−1)kx2k+1(2k+1) factorial\dfrac{(-1)^k x^{2k+1}}{(2k+1)\text{ factorial}}

cos⁡x\cos x

1−x22+x4241 - \dfrac{x^2}{2} + \dfrac{x^4}{24}

(−1)kx2k(2k) factorial\dfrac{(-1)^k x^{2k}}{(2k)\text{ factorial}}

(1+x)m(1+x)^m

1+mx+m(m−1)2x2+⋯1 + mx + \dfrac{m(m-1)}{2}x^2 + \cdots

see the binomial series

For sin⁡x\sin x and cos⁡x\cos x the higher derivatives are always ±sin⁡x\pm\sin x or ±cos⁡x\pm\cos x, so ∣f(n+1)(c)∣≤1\lvert f^{(n+1)}(c)\rvert \le 1 everywhere. The remainder is then bounded by ∣x∣n+1(n+1) factorial\dfrac{\lvert x\rvert^{n+1}}{(n+1)\text{ factorial}}, which drives to zero for every xx, so those two series converge on the whole number line.

Why Does Taylors Theorem Work?

The theorem feels almost too strong the first time: how can a polynomial ever pin down its own error? The reason is that the theorem is built from tools you already trust.

  • It matches derivatives at the centre. The polynomial PnP_n is chosen so that Pn(a)=f(a)P_n(a) = f(a), Pn′(a)=f′(a)P_n'(a) = f'(a), and so on up to the nn-th derivative. Agreeing on that many derivatives forces the two graphs to hug each other near aa; the mismatch can only show up in the next derivative, which is exactly where the remainder lives.

  • The remainder is a leftover slope. The Lagrange form comes from the same mean-value idea that underlies the Mean Value Theorem: somewhere in the interval there is a point cc whose (n+1)(n+1)-th derivative captures the whole gap. You do not get to know where cc is, only that it exists.

  • Geometry backs the algebra. Near the centre the curve and the polynomial share position, slope, and bend, so they look like the same graph; far from the centre the shared information runs out and the gap widens. The factor (x−a)n+1(x-a)^{n+1} in the remainder is the algebra of that widening.

Read together, these say the polynomial is the best local imitation of ff, and the remainder is the precise cost of imitating instead of computing.

Is Taylors Theorem Just The Mean Value Theorem?

For the smallest case, yes. Set n=0n = 0. The Taylor polynomial keeps only the constant term f(a)f(a), and the remainder becomes

f(x)=f(a)+f′(c)1 factorial(x−a)1=f(a)+f′(c)(x−a).f(x) = f(a) + \frac{f'(c)}{1\text{ factorial}}(x-a)^1 = f(a) + f'(c)(x-a).

Rearranged, that is f′(c)=f(x)−f(a)x−af'(c) = \dfrac{f(x) - f(a)}{x - a}, which is exactly the Mean Value Theorem: somewhere between aa and xx the instantaneous slope equals the average slope. So Taylors Theorem is the Mean Value Theorem generalised to higher derivatives. The MVT controls the error of a constant approximation; the full theorem controls the error of a degree-nn polynomial one. Recognising this connection also explains where the mystery point cc comes from: it is the same existence guarantee, extended.

Who Discovered Taylors Theorem?

The formula carries one name, but the pieces arrived across two centuries and several countries.

Two figures anchor the story:

  • Brook Taylor (1685–1731, England) published the polynomial expansion in 1715, building on earlier work by Gregory and Newton.

  • Joseph-Louis Lagrange (1736–1813, born in Italy, worked in Prussia and France) gave the remainder its usable closed form, turning an approximation into a bounded one.

Where Is Taylors Theorem Used In The Real World?

Bounding the error of a simple stand-in is a daily need across science and engineering, and this theorem is the tool that does it.

  • Calculators and computers: functions like exe^x, sin⁡x\sin x, and ln⁡x\ln x have no finite formula, so hardware evaluates a Taylor polynomial and uses the remainder to decide how many terms guarantee the displayed digits.

  • Physics approximations: the small-angle rule sin⁡θ≈θ\sin\theta \approx \theta and the pendulum, optics, and relativity approximations are all first- or second-degree Taylor polynomials, and the remainder says when the shortcut is safe.

  • Numerical methods: the error of numerical integration, root-finding, and differential-equation solvers is analysed by expanding the step and reading off the remainder's power of the step size.

  • Engineering and control: linearising a nonlinear system around an operating point is a degree-1 Taylor expansion, and the remainder measures how far you can drift before the linear model breaks.

  • Finance and statistics: option-pricing sensitivities and risk models expand a payoff or a likelihood to second order, using the remainder to gauge the approximation.

One theorem lets every field trade an intractable function for a polynomial and still keep a receipt for the error.

What Are The Most Common Mistakes With Taylors Theorem?

These three errors account for most lost marks, and each matches a question real students ask on r/calculus, r/learnmath, and course remainder handouts.

Treating the Taylor polynomial as exact and dropping the remainder.

Where it slips in:

A student writes e0.5=1+0.5+0.252+0.1256e^{0.5} = 1 + 0.5 + \frac{0.25}{2} + \frac{0.125}{6} with an equals sign and reports it as the true value.

Don't do this:

Do not replace f(x)f(x) with Pn(x)P_n(x) using "==". The polynomial is an approximation, and a function need not equal a finite piece of its own series.

The correct way:

Keep the remainder: f(x)=Pn(x)+Rn(x)f(x) = P_n(x) + R_n(x). Write "≈\approx" for the estimate and quote the bound on Rn(x)R_n(x) alongside it.

Using the wrong factorial or power in the remainder.

Where it slips in:

A student writes the degree-nn remainder with n factorialn\text{ factorial} and (x−a)n(x-a)^{n}, copying the last polynomial term instead of the next one.

Don't do this:

Do not reuse the degree-nn term's factorial and power. The remainder is the next term.

The correct way:

Use Rn(x)=f(n+1)(c)(n+1) factorial(x−a)n+1R_n(x) = \dfrac{f^{(n+1)}(c)}{(n+1)\text{ factorial}}(x-a)^{n+1}: the derivative order, the factorial, and the power all step up to n+1n+1.

Trying to solve for cc.

Where it slips in:

A student sets up the remainder and then tries to find the exact value of cc to compute the error precisely.

Don't do this:

Do not treat cc as a solvable unknown. The theorem only promises that some such cc exists in the interval.

The correct way:

Bound ∣f(n+1)∣\lvert f^{(n+1)}\rvert over the whole interval by its largest value, and use that cap. That gives a guaranteed upper bound on the error without ever locating cc.

Practice Problems On Taylors Theorem

Work each one, then check against the answer. Answers are verified.

  1. Write the degree-2 Taylor polynomial of f(x)=exf(x) = e^x about a=0a = 0.
    (Answer: 1+x+x221 + x + \dfrac{x^2}{2}.)

  2. Write the degree-3 Taylor polynomial of cos⁡x\cos x about a=0a = 0.
    (Answer: 1−x221 - \dfrac{x^2}{2}, since the x3x^3 coefficient is 00.)

  3. Use the degree-1 Taylor polynomial of f(x)=xf(x) = \sqrt{x} about a=4a = 4 to estimate 4.2\sqrt{4.2}.
    (Answer: P1(x)=2+14(x−4)P_1(x) = 2 + \tfrac{1}{4}(x-4), so 4.2≈2.05\sqrt{4.2} \approx 2.05; true value 2.04942.0494.)

  4. State the Lagrange remainder R2(x)R_2(x) for a degree-2 expansion about aa.
    (Answer: R2(x)=f(3)(c)6(x−a)3R_2(x) = \dfrac{f^{(3)}(c)}{6}(x-a)^3 for some cc between aa and xx.)

  5. For f(x)=exf(x) = e^x about a=0a = 0 at degree 33, bound the error at x=1x = 1 using ec<3e^{c} < 3.
    (Answer: R3(1)<324=0.125R_3(1) < \dfrac{3}{24} = 0.125; the true error is about 0.05160.0516.)

  6. Using the n=0n = 0 case for f(x)=x2f(x) = x^2 on the interval from a=0a = 0 to x=2x = 2, find the point cc the theorem guarantees.
    (Answer: f′(c)=4−02=2f'(c) = \dfrac{4 - 0}{2} = 2, and f′(c)=2cf'(c) = 2c, so c=1c = 1.)

Where Should You Go Next After Taylors Theorem?

The theorem sits at the join between polynomials and infinite series, and several natural doors open from here.

  1. Taylor series. Let the degree run to infinity and study when the remainder vanishes, so the series equals the function.

  2. Taylor polynomials. Drill the polynomial half on its own, from choosing the centre to matching derivatives.

  3. The Mean Value Theorem. Revisit the n=0n = 0 case and the existence argument that produces the point cc.

If your child is meeting Taylors Theorem for the first time, a live Bhanzu trainer teaches it from the approximation-plus-error picture up, so the remainder feels like the point rather than an afterthought, in the Bhanzu math program.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is Taylors Theorem in simple terms?
It says a smooth function equals its Taylor polynomial plus a remainder. The polynomial approximates the function near a chosen centre, and the remainder is the exact error you can bound but usually cannot compute directly.
What is the remainder term in Taylors Theorem?
It is the gap between the true function and the degree-nn polynomial. The Lagrange form is Rn(x)=f(n+1)(c)(n+1) factorial(x−a)n+1R_n(x) = \dfrac{f^{(n+1)}(c)}{(n+1)\text{ factorial}}(x-a)^{n+1} for some cc between the centre and xx, and bounding it bounds the error.
What is the difference between a Taylor polynomial and a Taylor series?
A Taylor polynomial stops at a finite degree nn and always carries a remainder. A Taylor series continues forever, and it equals the function only when that remainder shrinks to zero as the degree grows.
Why is there an unknown point cc in the formula?
Because the remainder comes from the same existence guarantee as the Mean Value Theorem. The theorem promises some cc in the interval makes the formula exact, but you only ever need a bound on the derivative, not the value of cc itself.
Is the Mean Value Theorem a special case of Taylors Theorem?
Yes. Setting the degree to n=0n = 0 reduces the expansion to f(x)=f(a)+f′(c)(x−a)f(x) = f(a) + f'(c)(x-a), which rearranges to the Mean Value Theorem. The full theorem generalises it to higher-degree polynomial approximations.
How many terms of a Taylor polynomial do I need?
Enough that the remainder bound falls below your target error. Compute RnR_n with the largest possible derivative on the interval, then raise the degree until that bound is small enough for the accuracy you want.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →