Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Use Linear Approximation

Near a point aa, a differentiable function is almost its tangent line. Replace f(x)f(x) by L(x)=f(a)+f′(a)(x−a)L(x) = f(a) + f'(a)(x - a) to estimate values, and use the differential dy=f′(a) dxdy = f'(a)\,dx to estimate small changes and errors.

Recognize the task

"Estimate 4.1\sqrt{4.1} without a calculator", "approximate sin⁡0.1\sin 0.1", "use differentials to estimate the change in volume if the radius changes by 0.020.02", "estimate the error in ...". Test: a hard value sits next to an easy one, or a small change dxdx is given and the resulting change in ff is asked.
The idea is developed under Linear Approximation in the differentials lesson; the differential dydy itself is defined in The Differential dy.

Two ways to do it

Tangent line L(x)for estimating a value
L(x)=f(a)+f′(a)(x−a)L(x) = f(a) + f'(a)(x - a)
The linear approximation formula: read the height of the tangent line instead of the curve.
Differentials dyfor changes and errors
dy=f′(a) dx≈Δydy = f'(a)\,dx \approx \Delta y
The same line written as a change: the differential dydy estimates the true change Δy\Delta y for a small dxdx. Relative error: dyy\frac{dy}{y}.

Steps

StepOn 4.1\sqrt{4.1}
1Choose the function and a nearby easy point a. Pick aa where f(a)f(a) and f′(a)f'(a) are exact and as close to xx as possible.f(x)=x,a=4,x=4.1f(x) = \sqrt{x},\quad a = 4,\quad x = 4.1
2Compute f(a) and f'(a). Here the power rule on x1/2x^{1/2}.Power rule ↗f(4)=2,f′(x)=12x,f′(4)=14f(4) = 2,\quad f'(x) = \frac{1}{2\sqrt{x}},\quad f'(4) = \frac{1}{4}
3Write the tangent line L(x). The linear approximation L(x)=f(a)+f′(a)(x−a)L(x) = f(a) + f'(a)(x - a).L(x)=2+14(x−4)L(x) = 2 + \tfrac{1}{4}(x - 4)
4Evaluate L at the hard x. Only arithmetic is left.L(4.1)=2+14(0.1)=2.025L(4.1) = 2 + \tfrac{1}{4}(0.1) = 2.025
5Judge the error. Where ff is concave down the tangent lies above the curve, so the estimate is too large; concave up, too small. The error grows with ∣x−a∣|x - a| and with ∣f′′∣|f''|.f′′<0f'' < 0, so 2.0252.025 is slightly high; the true value is 2.0248…2.0248\ldots

Worked examples

Example 1 · a square root

value
4.1≈?\sqrt{4.1} \approx ?
nearest perfect square: a=4a = 4
L(x)=2+14(x−4)L(x) = 2 + \tfrac{1}{4}(x - 4)
f(4)=2f(4) = 2, f′(4)=14f'(4) = \frac{1}{4}
4.1≈2.025\sqrt{4.1} \approx 2.025
true value 2.02482.0248

Example 2 · sine of a small angle

value at a = 0
sin⁡0.1≈?\sin 0.1 \approx ?
a=0a = 0, radians
f(0)=0,f′(0)=cos⁡0=1f(0) = 0,\quad f'(0) = \cos 0 = 1
tangent at the origin
L(x)=x  ⇒  sin⁡0.1≈0.1L(x) = x \;\Rightarrow\; \sin 0.1 \approx 0.1
true value 0.09980.0998

Example 3 · error in a volume from an error in the radius

differentials
sphere, r=10r = 10 cm measured to ±0.1\pm 0.1 cm; error in VV?
small change dr=0.1dr = 0.1
V=43πr3  ⇒  dV=4πr2 drV = \tfrac{4}{3}\pi r^3 \;\Rightarrow\; dV = 4\pi r^2\,dr
differential
dV=4π(100)(0.1)=40π≈126dV = 4\pi(100)(0.1) = 40\pi \approx 126 cm3^3
substitute
dVV=3 drr=3%\frac{dV}{V} = 3\,\frac{dr}{r} = 3\%
relative error: three times that of rr

See it happen

Local view · f(x) = ⅓x³ − x

f′(x) = x² − 1 · max at x = −1 · min at x = 1
Drag c on the x-axis, or pick a scenario.
c =-0.50
f(c) =0.46
f′(c) =-0.75
slope of tangent =-0.75
f(x)tangentdrop
Zoom in at the point of tangency and the curve and its tangent become indistinguishable. Linear approximation is reading the tangent line's height instead of the curve's. The further you move from aa the larger the gap, and the gap grows with the curvature ∣f′′∣|f''|.

Common mistakes

Choosing a far point

✗ 4.1\sqrt{4.1} from a=9a = 9
✓ the nearest value with an exact root, a=4a = 4

Forgetting f(a)

✗ L(x)=f′(a)(x−a)L(x) = f'(a)(x - a)
✓ L(x)=f(a)+f′(a)(x−a)L(x) = f(a) + f'(a)(x - a)

Degrees in a trig approximation

✗ sin⁡5∘≈5\sin 5^\circ \approx 5
✓ convert first: 5∘=0.08735^\circ = 0.0873 rad, so sin⁡5∘≈0.0873\sin 5^\circ \approx 0.0873

Taking dy for the exact change

✗ dydy is the exact change in yy
✓ dydy is the tangent-line estimate of Δy\Delta y; they agree only for small dxdx