Loading…

Linear Approximation Error Estimator

Math Calculus • Applications of Derivatives

View all topics
9. Linear Approximation Error Estimator
Estimate \(f(x)\approx f(a)+f'(a)(x-a)\) and bound the error using \(\lvert R(x)\rvert\le \dfrac{M}{2}(x-a)^2\), where \(M\ge \max\limits_{t\in I}\lvert f''(t)\rvert\).
Inputs
Supported: + − * / ^, variable x, constants pi, e, sin cos tan, ln log, sqrt abs exp. Implicit multiplication: 2x, (x+1)(x-1), 3sin(x).

You can use pi or e.
Drag slider to update \(x\) quickly.
Slider spans \(x\in[a-\Delta, a+\Delta]\).

If you need a guaranteed bound, provide a safe \(M\) yourself.
Used only if “manual \(M\)” is selected.
If Auto is on, the boxes update to \([\,\min(a,x),\,\max(a,x)\,]\).
Higher = slower, but less chance to miss peaks.
Ready
Graph
Drag to pan • wheel/pinch to zoom • shows \(f(x)\), linearization \(L(x)\), and (optional) error band on \(I\).
Auto-fit recommended.
Graph uses \(x\in[c-w,c+w]\).
x: 0, y: 0, zoom(px/unit): 80 Tip: For huge scales, zoom out or use Auto fit.
Result
Enter \(f(x)\), choose \(a\) and \(x\), then click Estimate.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What is the linear approximation (linearization) of a function at x=a?

The linear approximation is the tangent-line model L(x)=f(a)+f'(a)(x-a). It is most accurate when x is close to a.

How is the linear approximation error bound computed?

If M is an upper bound for max |f''(t)| on an interval I containing a and x, then the remainder satisfies |R(x)| <= (M/2)(x-a)^2. The calculator uses your chosen M mode and interval to compute this bound.

What does M represent and why does it matter?

M bounds the maximum magnitude of the second derivative on the interval, so it controls how large the error bound can be. A larger M produces a looser (more conservative) bound.

Why might the calculator offer both estimated M and manual M?

Sampling can miss sharp peaks of |f''(t)| and may underestimate the true maximum, so it is not guaranteed. Manual M lets you provide a safe upper bound when you need a guaranteed error bound.

How do I choose the interval I for the error bound?

A common choice is the interval between a and x, because the Taylor remainder bound uses a region containing both points. Using a wider interval can increase max |f''| and make the bound larger.