Local Linear Approximation
The local linear approximation (LLA) at replaces the function near with a line that matches the function's value and slope: This is the equation of the tangent line to the graph of at .
The LLA is the best first-order approximation to near : it has the same value () and the same slope (). For close to , .
Why is this useful? Because linear functions are easy to analyze and optimize. Near any point, a smooth function looks like a line, and we can use linear algebra to approximately solve the optimization problem. This idea extends to multiple dimensions: the gradient and Jacobian are the multivariate generalizations of .
Formal View
The LLA is also called the first-order Taylor approximation or the tangent line approximation.
Interactive Visualization
Local Linear Approximation
Why This Matters
Local linear approximation is the foundation of all first-order optimization methods and the basis of calculus in multiple dimensions.
- Newton's method: approximate near by its LLA, then solve for the zero of the approximation.
- Linearization of nonlinear systems: replace a nonlinear ODE with its linear approximation near an equilibrium.
- Error propagation: — how input uncertainty propagates to output uncertainty.
Quiz
The local linear approximation of at is:
The local linear approximation has the same value AND the same derivative as at .
Common Mistakes
- Confusing the LLA formula with just — the correct formula has both and .
- Using the LLA far from — the approximation is only good locally; the error grows as moves away from .