f ( x ) = k = 0 ∑ n k ! f ( k ) ( a ) ( x − a ) k + ( n + 1 )! f ( n + 1 ) ( ξ ) ( x − a ) n + 1
On this page
Before you start
This page is easier if you are comfortable with:
What Taylor’s theorem with Lagrange remainder means
A Taylor polynomial approximates a function near a . The remainder tells you the size of the error. Bounding ∣ f ( n + 1 ) ∣ on the interval bounds the error.
For e x at x = 0.1 with the terms up to x 2 , the error is at most 3 ! e 0.1 ( 0.1 ) 3 ≈ 1.8 × 1 0 − 4 .
It is the quantitative version of the Taylor series and the extension of the mean value theorem . It gives the error term for the Maclaurin series and the Taylor series, and rests on the mean value theorem. For a related method, compare Derivative from first principles .
This page is part of Differentiation in Calculus . Topics that work alongside it: Taylor series about x = a , Mean value theorem , Maclaurin series , L'Hôpital's rule , Curvature of a plane curve , Implicit function derivative and Concavity and points of inflection .
What is it used for? Taylor’s theorem gives a polynomial approximation to a function together with a formula for the size of the error, the Lagrange remainder.
Bounding the error when approximating values such as √1.1. Deciding how many terms are needed for a given accuracy. Proving that Taylor series converge to their functions.
How to use taylor’s theorem with lagrange remainder
Write the Taylor polynomial of degree n . Write the remainder with f ( n + 1 ) ( ξ ) . Bound the derivative on the interval. Evaluate the bound.
Graph sin x and the polynomial x − x³/6 -3 -2 -1 0 1 2 3 -1.5 -1 -0.5 0 0.5 1 1.5 sin x and the polynomial x − x³/6 x y sin x x − x³/6 Graph with x from -3.2 to 3.2 and y from -1.6 to 1.6. Shows the curve sin x; the curve x − x³/6. The gap between the curves is the remainder. Near x = 0 it is tiny, and it grows as |x| increases.
Worked examples
These examples are worked by hand, step by step, so you can compare your own working.
Example 1: an error bound Bound the error when e 0.1 is approximated by 1 + 0.1 + 2 0. 1 2 .
Worked example
Answer
∣ R 2 ∣ ≤ 1.84 × 10 − 4 |R_{2}|\le1.84\times10^{-4} ∣ R 2 ∣ ≤ 1.84 × 1 0 − 4 The next derivative
Every derivative of e x is e x , at most e 0.1 on [ 0 , 0.1 ] .
Lagrange remainder
∣ R 2 ∣ ≤ 3 ! e 0.1 ( 0.1 ) 3 ≈ 1.84 × 1 0 − 4
Example 2: compare with the actual error Check the bound against the actual error.
Worked example
Answer
Within the bound \text{Within the bound} Within the bound Exact and approximate
The exact value is e 0.1 = 1.10517 … and the approximation is 1.105.
Actual error
About 1.7 × 1 0 − 4 , within the bound.
Example 3: error for sin 0.5 Bound the error when sin 0.5 is approximated by 0.5 − 6 0. 5 3 .
Worked example
Answer
∣ error ∣ ≤ 0.00026 |\text{error}| \le 0.00026 ∣ error ∣ ≤ 0.00026 The next term has degree 5
∣ R ∣ ≤ 5 ! M ( 0.5 ) 5 with M = 1
Evaluate
120 0.03125 ≈ 0.00026
Special cases
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
eˣ, n = 2, x = 0.5 bound e^0.5 × 0.125/6
0.0343.
Actual error e^0.5 − 1.625
0.0237.
sin x, n = 3, x = 0.5 0.5⁴/24
0.0026.
Quadratic approximation 1 + 0.5 + 0.125
1.625.
Word problems
f(x) = Σ_{k≤n} f⁽ᵏ⁾(a)(x − a)ᵏ/k! + Rₙ, with Rₙ = f⁽ⁿ⁺¹⁾(ξ)(x − a)ⁿ⁺¹/(n + 1)! for some ξ between a and x. Bound |f⁽ⁿ⁺¹⁾| to bound the error.
Approximation eˣ about 0 to n = 2 at x = 0.5.
1 + 0.5 + 0.125 Check: ✓ 1.625
Error bound Bound R₂ ≤ e^0.5 × 0.5³/3!.
1.6487 × 0.0208 Check: ✓ 0.0343
Actual error Higher e^0.5 − 1.625.
1.6487 − 1.625 Check: below the bound ✓ 0.0237
Sine Higher sin x with n = 3 at x = 0.5: bound 0.5⁴/4!.
0.0625/24 Check: ✓ 0.0026
Common mistakes
ξ unknown means no bound useless ✗
bound |f⁽ⁿ⁺¹⁾| on the interval ✓
Maximum.
Wrong factorial n! ✗
(n + 1)! ✓
Next term.
Using x instead of x − a xⁿ⁺¹ ✗
(x − a)ⁿ⁺¹ ✓
Centre.
Error = remainder bound exactly equal ✗
error ≤ bound ✓
Inequality.
Exam tips
Rₙ = f⁽ⁿ⁺¹⁾(ξ)(x − a)ⁿ⁺¹/(n + 1)!.
Bound |f⁽ⁿ⁺¹⁾|.
(n + 1)!.
Error ≤ bound.
Choose n for target accuracy.
Practice questions
Try each one on paper, then open the answer. Use the solver above to see the full working.
1. Bound for eˣ, n = 3, x = 0.2: e^0.2 × 0.2⁴/24 Foundation 0.000081
2. Bound for sin x, n = 1, x = 0.1: 0.1²/2 Foundation 0.005
3. Bound for cos x, n = 2, x = 0.3: 0.3³/6 Foundation 0.0045
4. Taylor poly eˣ n = 2 at x = 0.3 Higher 1.345
5. Actual error e^0.3 − 1.345 to 5 d.p. Higher 0.00486
6. Bound for ln(1+x), n = 2, x = 0.1: 0.1³/3 Higher 0.00033
Practice generator Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Foundation Higher Mixed New question
Solve: …
The practice generator needs JavaScript.
Key terms
Taylor’s theorem Polynomial plus remainder. Lagrange remainder Rₙ. ξ Unknown point between a and x. Error bound Upper limit. Degree (n) Order of polynomial. Approximation Taylor polynomial.
Frequently asked questions
What is the Lagrange remainder? Rₙ = f⁽ⁿ⁺¹⁾(ξ)(x − a)ⁿ⁺¹/(n + 1)!.
How do I bound the error? Bound |f⁽ⁿ⁺¹⁾| on the interval.
What is ξ? An unknown point between a and x.
Is the actual error equal to the bound? No; it is at most the bound.
Which page covers Taylor series? Taylor series.
Which page covers implicit differentiation? implicit function derivative.