The Taylor series is a way to represent an analytic function near a point by an infinite power series (assuming the series converges to the function in that neighborhood). Truncating this series gives polynomial approximations of the function. Formally speaking, the Taylor series of a function is an infinite sum of the evaluations of the function’s derivatives at a single point. Given function , its Taylor series centered at is expressed as follows:
For a given function, one can truncate the Taylor series to a finite number of terms (up to degree instead of an infinite number of terms). Such a -degree polynomial is also called the -th Taylor polynomial approximating . Generally, the larger the degree (i.e. the more terms we include), the more accurate the approximation of becomes. The accuracy of the approximation is higher for those coordinates nearby , and lower for those coordinates away from . To increase the accuracy for farther coordinates, we need to increase .