Methods from Multivariable approximation
All methods from Multivariable approximation.
Approximate a function linearly
For a differentiable and a base point , approximate nearby values by
To use the approximation, evaluate and its first partial derivatives at , then substitute the displacement .
The expression is the equation of the tangent plane with the output written as a function of the input. Differentiability means that the omitted error, divided by , tends to zero as . Thus one linear model works for changes in every direction, not just along the coordinate axes.
Construct a multivariable Taylor polynomial
To construct the Taylor polynomial through degree about :
- choose the centre and the required total degree;
- calculate the partial derivatives through that order;
- evaluate them at ;
- retain the terms through total degree in the formula above.
The result agrees with at and matches the relevant partial derivatives there. It is a local approximation, not generally an identity on the whole domain.