Home · Everyday · Algebra · Lagrange Error Bound Calculator

Lagrange Error Bound Calculator

Bounds the worst-case error of a Taylor polynomial using the Lagrange remainder with a maximum derivative value M on the interval.

Your figures

Example result — edit the figures to make it yours

0.00033333

Lagrange error bound |Rₙ(x)| ≤

Computed from the inputs on this page with the formula below — change any figure and every result updates.

|x − a|^(n+1)0.00160000

What this calculator does

Bounds the worst-case error of a Taylor polynomial using the Lagrange remainder with a maximum derivative value M on the interval. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

|Rₙ(x)| ≤ M · |x − a|ⁿ⁺¹ / (n + 1)!

If a degree-n Taylor polynomial is centred at a and M bounds the absolute value of the (n+1)-th derivative everywhere between a and x, then the Lagrange remainder guarantees |Rₙ(x)| ≤ M|x − a|ⁿ⁺¹/(n + 1)!. The bound needs three ingredients: a valid M, the distance |x − a|, and the next factorial.

The bound is a guarantee, not an estimate — the true error is usually much smaller, and a loose M inflates it. M must hold on the whole interval between a and x, not just at the endpoints; for functions like eˣ or sin x, M is typically the derivative's value at whichever endpoint makes it largest.

Worked example

With the example inputs this page opens with (m — max |f⁽ⁿ⁺¹⁾| on the interval 5, evaluation point x 1.2, expansion centre a 1, polynomial degree n 3), the result is 0.00033333 — lagrange error bound |rₙ(x)| ≤. Computed from the inputs on this page with the formula below — change any figure and every result updates.

Quick reference

Quick reference — varying Polynomial degree n
Polynomial degree nLagrange error bound |Rₙ(x)| ≤|x − a|^(n+1)
010.2
10.10.04
20.0066670.008
30.0003330.0016
40.0000130.00032
500.000064
600.000013

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How do I find M in practice?

Differentiate once more than the polynomial degree, then take the largest absolute value of that derivative on the interval between the centre and your point — often at one of the endpoints.

How does the Lagrange Error Bound Calculator work?

Bounds the worst-case error of a Taylor polynomial using the Lagrange remainder with a maximum derivative value M on the interval. Derivative bound M · Point x · Centre a · Degree n → Error bound. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Lagrange Error Bound Calculator need?

Derivative bound M · Point x · Centre a · Degree n → Error bound. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Lagrange Error Bound Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.