Skip to main content

Local Linear Approximation

How accurately does the tangent at x = 1 predict x² at x = 1.1? This chapter turns a derivative into a prediction and checks how the remaining error scales.

  • Local linear approximation: Approximating nearby function values by the tangent line at a chosen point.

Keep the prediction and the exact output separate​

The tangent model for f(x)=x2f(x)=x^2 at a=1a=1 is L(1+h)=1+2hL(1+h)=1+2h. At h=0.1h=0.1, the prediction is 1.21.2 and the exact output is 1.211.21. The error is 0.010.01.

Expansion gives the complete relationship:

f(1+h)=1+2h+h2.f(1+h)=1+2h+h^2.

Halving hh quarters this example's absolute error. Dividing the remainder by ∣h∣|h| gives ∣h∣|h|, which tends to zero.

Tangent prediction and exact quadratic output with absolute and normalized errors
The normalized remainder, not a visually straight graph alone, tests differentiability.

Define the quality of the approximation​

Differentiability at aa means there is a scalar AA such that

f(a+h)=f(a)+Ah+r(h),r(h)=o(∣h∣).f(a+h)=f(a)+Ah+r(h),\qquad r(h)=o(|h|).

The notation little o means ∣r(h)∣/∣h∣→0|r(h)|/|h|\to0 for nonzero hh. In one variable A=f′(a)A=f'(a). The derivative is the linear map h↦Ahh\mapsto Ah; the tangent approximation includes the constant term f(a)f(a) and is generally affine, not linear through the origin.

The derivative is unique. If AhAh and BhBh both meet this remainder condition, dividing their difference by hh and taking the limit gives A=BA=B.

Know what the definition does not promise​

Little-o error need not be quadratic. At zero, f(x)=∣x∣3/2f(x)=|x|^{3/2} has derivative zero and error ∣h∣3/2|h|^{3/2}. It is smaller than ∣h∣|h| in the required relative sense, but not bounded by a fixed multiple of h2h^2 near zero.

A quadratic remainder bound needs extra smoothness, developed with Taylor approximation. For x\sqrt x near 44, the tangent estimate 2+(x−4)/42+(x-4)/4 predicts 4.04≈2.01\sqrt{4.04}\approx2.01. Its accuracy is local; it does not justify using the same line far from 44.

Basic practice​

Prepare​

Reuse the quotient and tangent from the previous chapter. Keep exact fractions for decimal inputs.

Record assumed inputs, predictions, and exact calculations separately. If you use software, label rounded outputs; no physical measurement is implied.

Predict​

How do the absolute and normalized remainders change when h is halved?

Execute​

  1. For h = 0.2, 0.1, 0.05 calculate the exact output, linear prediction, and remainder.
  2. Divide each absolute remainder by |h|.
  3. Compare the error scaling with |h|^(3/2) at zero.

Observe and record​

Case or quantityPredictionExact result or argumentError or software check
h = 0.2
h = 0.1
h = 0.05

Check after working: The quadratic remainders are 0.04, 0.01, 0.0025 and normalized remainders are 0.2, 0.1, 0.05. A differentiable function need not share the quadratic rate.

Optional extension​

Prove uniqueness of the derivative using the difference between two proposed linear models.

Keep and continue​

Keep the remainder table. Next, compute derivatives of more complicated compositions.

Previous: The Derivative

Next: Differentiation and the Chain Rule