Skip to content

Mathematics · Ch 8 — Differentials and Partial Derivatives

Linear Approximation

8.2.1

Linear Approximation

Definition 8.1 (Linear Approximation). Let f:(a,b)→Rf:(a,b)\to\mathbb R be differentiable and x0∈(a,b)x_0\in(a,b). The linear approximation LL of ff at x0x_0 is

L(x)=f(x0)+f′(x0)(x−x0),∀ x∈(a,b).(4)L(x) = f(x_0) + f'(x_0)(x-x_0), \qquad \forall\, x\in(a,b). \qquad(4)

LL is precisely the tangent line to y=f(x)y=f(x) at the point (x0,f(x0))(x_0,f(x_0)): it passes through that point (since L(x0)=f(x0)L(x_0)=f(x_0)) with slope f′(x0)f'(x_0). Because ff is differentiable at x0x_0, equation (1) above says f(x0+Δx)−f(x0)≈f′(x0)Δxf(x_0+\Delta x)-f(x_0)\approx f'(x_0)\Delta x, i.e.

f(x0+Δx)≈f(x0)+f′(x0)Δx=L(x0+Δx),f(x_0+\Delta x) \approx f(x_0)+f'(x_0)\Delta x = L(x_0+\Delta x),

which is exactly why LL is a good stand-in for ff near x0x_0. Writing the error of the approximation as

Error=f(x)−L(x)=f(x)−f(x0)−f′(x0)(x−x0),\text{Error} = f(x)-L(x) = f(x)-f(x_0)-f'(x_0)(x-x_0),

continuity of ff at x0x_0 forces this error →0\to0 as x→x0x\to x_0 — and in fact (from differentiability) the error goes to 00 faster than x−x0x-x_0 does, which is the precise sense in which LL "hugs" ff near x0x_0.

A sanity check. If ff is itself linear, f(x)=mx+cf(x)=mx+c, then L(x)=mx0+c+m(x−x0)=mx+c=f(x)L(x)=mx_0+c+m(x-x_0)=mx+c=f(x) — the linear approximation of a linear function is the function itself, exactly as it should be.

Worked pattern. To find the linear approximation of ff at x0x_0 and use it to estimate f(x0+Δx)f(x_0+\Delta x): compute f(x0)f(x_0) and f′(x0)f'(x_0) exactly, substitute into (4) to get L(x)L(x), then evaluate LL at the required point. For example, for f(x)=x+1f(x)=\sqrt{x+1} at x0=3x_0=3: f(3)=2f(3)=2, f′(x)=12x+1f'(x)=\dfrac{1}{2\sqrt{x+1}} so f′(3)=14f'(3)=\dfrac14; hence L(x)=2+14(x−3)=x4+54L(x)=2+\tfrac14(x-3)=\tfrac{x}{4}+\tfrac54, and f(3.2)≈L(3.2)=3.24+54=0.8+1.25=2.05f(3.2)\approx L(3.2)=\tfrac{3.2}{4}+\tfrac54=0.8+1.25=2.05 (the calculator value is 4.2≈2.04939\sqrt{4.2}\approx2.04939 — a very close match for a change of only 0.20.2 in xx). …