Mathematics · Ch 8 — Differentials and Partial Derivatives
Linear Approximation
8.2.1
Linear Approximation
Definition 8.1 (Linear Approximation). Let f:(a,b)→R be differentiable and x0∈(a,b). The linear approximationL of f at x0 is
L(x)=f(x0)+f′(x0)(x−x0),∀x∈(a,b).(4)
L is precisely the tangent line to y=f(x) at the point (x0,f(x0)): it passes through that point (since L(x0)=f(x0)) with slope f′(x0). Because f is differentiable at x0, equation (1) above says f(x0+Δx)−f(x0)≈f′(x0)Δx, i.e.
f(x0+Δx)≈f(x0)+f′(x0)Δx=L(x0+Δx),
which is exactly why L is a good stand-in for f near x0. Writing the error of the approximation as
Error=f(x)−L(x)=f(x)−f(x0)−f′(x0)(x−x0),
continuity of f at x0 forces this error →0 as x→x0 — and in fact (from differentiability) the error goes to 0faster than x−x0 does, which is the precise sense in which L "hugs" f near x0.
A sanity check. If f is itself linear, f(x)=mx+c, then L(x)=mx0+c+m(x−x0)=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 f at x0 and use it to estimate f(x0+Δx): compute f(x0) and f′(x0) exactly, substitute into (4) to get L(x), then evaluate L at the required point. For example, for f(x)=x+1 at x0=3: f(3)=2, f′(x)=2x+11 so f′(3)=41; hence L(x)=2+41(x−3)=4x+45, and f(3.2)≈L(3.2)=43.2+45=0.8+1.25=2.05 (the calculator value is 4.2≈2.04939 — a very close match for a change of only 0.2 in x). …