In mathematics, a linear approximation is an approximation of a general function using a linear function (more precisely, an affine function). Linear approximations are widely used to solve (or approximate solutions to) equations. Linear approximation is achieved by using Taylor's theorem to approximate the value of a function at a point.
Given a twice continuously differentiable function
where
The linear approximation is obtained by dropping the remainder:
This is a good approximation for
If
Since the line tangent to the graph is given by the derivative, differentiation is useful for finding the linear approximation. If one were to take an infinitesimally small step size for
Linear approximations for vector functions of a vector variable are obtained in the same way, with the derivative at a point replaced by the Jacobian matrix. For example, given a differentiable function with real values, one can approximate for close to by the following formula: