Calculus · Grade 12 and undergraduate

Linear Approximation and Differentials

Quick answer

Zoomed in far enough, a differentiable function looks like its tangent line. So near x = a, f(x) ≈ L(x) = f(a) + f′(a)(x − a), the linearization of f at a. It turns hard values into mental arithmetic: √4.1 ≈ 2 + ¼(0.1) = 2.025. The estimate is too high where the graph bends down (f″ < 0) and too low where it bends up (f″ > 0). In differential form, a small change dx in the input causes a change of about dy = f′(x) dx in the output.

What you'll learn

  • Write the linearization of a function at a point
  • Use it to estimate function values
  • Tell whether an estimate is an overestimate or an underestimate
  • Use differentials to estimate small changes and errors

Local linearity

Zoom in on the graph of a differentiable function at a point, and the curve straightens out until it is almost indistinguishable from its tangent line. Near that point, the tangent line is an excellent stand-in for the function.

The tangent line hugs the curve near the point The curve y = square root of x and its tangent line at (4, 2), y = x/4 + 1. Near x = 4 the two are nearly identical; farther away the line rises above the curve. 2468101234xy (4, 2)
  • y = √x
  • L(x) = 2 + ¼(x − 4)
The tangent line hugs the curve near the point

The linearization

The tangent line at x=ax = a is the linearization of ff at aa:

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

and for xx near aa, f(x)≈L(x)f(x) \approx L(x). Choose aa where ff and f′f' are known exactly, close to the value you want.

Why the tangent line is the best straight-line guess

The derivative’s definition says f(a+h)−f(a)h→f′(a)\tfrac{f(a + h) - f(a)}{h} \to f'(a). Put differently, f(a+h)=f(a)+f′(a) h+(error)f(a + h) = f(a) + f'(a)\,h + (\text{error}), where the error shrinks faster than hh itself: divided by hh, it still goes to 00.

No other line through (a,f(a))\big(a, f(a)\big) does that. A line with any other slope mm misses by about (f′(a)−m)h(f'(a) - m)h, an error proportional to hh. The tangent line is the unique line whose error vanishes faster than the step, which is exactly what makes it the best local approximation. For smooth functions the error is roughly 12f′′(a) h2\tfrac{1}{2}f''(a)\,h^2: halve the step and the error drops by a factor of four.

Too high or too low?

The tangent line lies above a graph that bends downward (concave down, f′′<0f'' < 0), and below a graph that bends upward (concave up, f′′>0f'' > 0).

For x\sqrt{x}, f′′(x)=−14x−3/2<0f''(x) = -\tfrac{1}{4}x^{-3/2} < 0, so the curve is concave down and 2.0252.025 is a slight overestimate — as the true value confirms.

Differentials

For y=f(x)y = f(x), write dxdx for a change in the input. The differential

dy=f′(x) dxdy = f'(x)\,dx

is the change along the tangent line, and it approximates the true change Δy=f(x+dx)−f(x)\Delta y = f(x + dx) - f(x). Differentials are the standard way to estimate how an error in a measurement spreads into an error in a computed result.

Worked examples

Common mistakes

Practice problems

  1. Find the linearization of f(x)=x3f(x) = x^3 at a=2a = 2.

    Answer

    L(x)=8+12(x−2)L(x) = 8 + 12(x - 2)

    Full solution

    f(2)=8f(2) = 8 and f′(x)=3x2f'(x) = 3x^2, so f′(2)=12f'(2) = 12.

  2. Use problem 1 to estimate 2.132.1^3. Is it too high or too low?

    Answer

    9.29.2, too low

    Full solution

    L(2.1)=8+12(0.1)=9.2L(2.1) = 8 + 12(0.1) = 9.2. f′′(x)=6x>0f''(x) = 6x > 0 near 22, so the graph is concave up and the tangent lies below: the true value, 9.2619.261, is higher.

  3. Estimate 9.2\sqrt{9.2}.

    Answer

    About 3.03333.0333

    Full solution

    At a=9a = 9: f(9)=3f(9) = 3, f′(9)=16f'(9) = \tfrac{1}{6}. L(9.2)=3+0.26≈3.0333L(9.2) = 3 + \tfrac{0.2}{6} \approx 3.0333.

  4. Estimate ln⁡(1.03)\ln(1.03).

    Answer

    About 0.030.03

    Full solution

    At a=1a = 1: ln⁡1=0\ln 1 = 0, and (ln⁡x)′=1x(\ln x)' = \tfrac{1}{x} equals 11 there. So L(x)=x−1L(x) = x - 1 and ln⁡(1.03)≈0.03\ln(1.03) \approx 0.03.

  5. Estimate 27.53\sqrt[3]{27.5}.

    Answer

    About 3.01853.0185

    Full solution

    At a=27a = 27: f(27)=3f(27) = 3 and f′(x)=13x−2/3f'(x) = \tfrac{1}{3}x^{-2/3}, so f′(27)=127f'(27) = \tfrac{1}{27}. L(27.5)=3+0.527≈3.0185L(27.5) = 3 + \tfrac{0.5}{27} \approx 3.0185.

  6. Find the differential dydy for y=x2sin⁡xy = x^2 \sin x.

    Answer

    dy=(2xsin⁡x+x2cos⁡x) dxdy = (2x\sin x + x^2\cos x)\,dx

    Full solution

    dy=y′ dxdy = y'\,dx, with y′y' from the product rule.

  7. A circle’s radius is measured as 55 cm with a possible error of 0.20.2 cm. Estimate the possible error in its area.

    Answer

    About 2π≈6.282\pi \approx 6.28 cm²

    Full solution

    dA=2πr dr=2π(5)(0.2)=2πdA = 2\pi r\,dr = 2\pi(5)(0.2) = 2\pi.

  8. Estimate cos⁡(0.1)\cos(0.1) with the linearization of cos⁡x\cos x at 00. Why is the result not very informative?

    Answer

    11; the tangent at 00 is horizontal, so the line misses the first change.

    Full solution

    cos⁡0=1\cos 0 = 1 and −sin⁡0=0-\sin 0 = 0, so L(x)=1L(x) = 1. The true value, 0.9950.995, differs by about 12(0.1)2\tfrac{1}{2}(0.1)^2, the second-order term the line leaves out.

  9. Is the linearization of ln⁡x\ln x at 11 an overestimate or underestimate of ln⁡1.2\ln 1.2?

    Answer

    An overestimate

    Full solution

    (ln⁡x)′′=−1x2<0(\ln x)'' = -\tfrac{1}{x^2} < 0, so the graph is concave down and the tangent lies above it. L(1.2)=0.2L(1.2) = 0.2, while ln⁡1.2≈0.182\ln 1.2 \approx 0.182.

  10. A student estimates 4.1\sqrt{4.1} as L(4.1)=2+12x(0.1)L(4.1) = 2 + \tfrac{1}{2\sqrt{x}}(0.1) and leaves the answer in terms of xx. What went wrong?

    Hint

    The slope of the tangent line is a number.

    Answer

    The slope must be evaluated at a=4a = 4: f′(4)=14f'(4) = \tfrac{1}{4}, giving 2.0252.025.

    Full solution

    L(x)=f(a)+f′(a)(x−a)L(x) = f(a) + f'(a)(x - a) uses the derivative at the point of tangency.

    With f′(4)=14f'(4) = \tfrac{1}{4}: L(4.1)=2+14(0.1)=2.025L(4.1) = 2 + \tfrac{1}{4}(0.1) = 2.025.

Frequently asked questions

What is a linear approximation?

Using the tangent line at a known point to estimate nearby values: f(x) ≈ f(a) + f′(a)(x − a).

Why does linear approximation work?

A differentiable function is locally linear: close to a point, its graph is almost indistinguishable from the tangent line there.

How do I know if the estimate is too high or too low?

If the graph is concave down near a (f″ < 0), the tangent lies above it, so the estimate is too high. If concave up, too low.

What is a differential?

For y = f(x), the differential dy = f′(x) dx is the change along the tangent line when x changes by dx. It approximates the true change Δy.

How accurate is a linear approximation?

Very accurate close to a and worse farther away. The error shrinks roughly like the square of the distance from a.

What to learn next