Skip to content
Glacius
CalculusConcept reference

Local linearization

Local linearization estimates a nearby function value from a known value and derivative.

On this page 7 sections
  1. Overview
  2. Use a tangent as a local model
  3. Estimate and compare
  4. Direction, size, and limits
  5. Key takeaway
  6. Sources & further reading
  7. Concept connections

01Use a tangent as a local model#

Local linearization estimates a nearby function value from a known value and derivative. The derivative converts a small input change into an estimated output change.

At base input aa, let the displacement be hh. The tangent gives

f(a+h)f(a)+f(a)h\begin{gathered}f(a+h)\approx f(a)\\+f'(a)h\end{gathered}

The derivative multiplies the displacement hh, not the final input a+ha+h.

02Estimate and compare#

For f(x)=x2f(x)=x^2, use a=2a=2, f(2)=4f(2)=4, and f(2)=4f'(2)=4. To estimate f(2.1)f(2.1), the input change is 0.10.1. The estimated output change is 4(0.1)=0.44(0.1)=0.4, giving 4.44.4.

The exact value is 2.12=4.412.1^2=4.41. Expanding (2+h)2(2+h)^2 gives 4+4h+h24+4h+h^2. The linearization keeps the constant and linear terms; here the omitted term is h2=0.01h^2=0.01.

Check your reasoning

At a=2, f(a)=5 and f′(a)=3. Estimate f(2.1).

  1. A5.3
  2. B5.03
  3. C6.3
Show answer and explanation
5.3

The displacement is 0.1; add 3 times 0.1 to 5.

03Direction, size, and limits#

A negative displacement uses the same rule. At a=2a=2, a displacement of 0.1-0.1 gives an estimate of 40.4=3.64-0.4=3.6, compared with the exact value 3.613.61.

For a differentiable function, the approximation error becomes small relative to the input displacement as the displacement approaches zero. This does not promise accuracy for a large step. At input 33, the same linear model estimates 88 while the square is 99.

Check your reasoning

At a=3, a draft estimates f(3.1) as f(3)+f′(3)×3.1. What multiplier belongs there?

  1. A3
  2. B0.1
  3. C1/3.1
Show answer and explanation
0.1

The derivative multiplies displacement from the base point.

The approximation is exact for an affine function because there is no curvature term. In optimization, local linear models help predict what a small parameter change will do; checking a finite step still matters.

Key takeaway

Approximate a nearby function value using a local linearization.

  • Approximate a nearby function value using a local linearization.

Sources & further reading

  1. [1]

Reference this concept

Link to this page, a section, or an individual figure.

Glacius. “Local linearization.” Math behind ML. /learn/c-linearize