In calculus, Taylor's theorem gives an approximation of a k {\textstyle k} -times differentiable function around a given point by a polynomial of degree k {\textstyle k} , called the k {\textstyle k} -th-order Taylor polynomial. For a smooth function, the Taylor polynomial is the truncation at the order k {\textstyle k} of the Taylor series of the function. The first-order Taylor polynomial is the linear approximation of the function, and the second-order Taylor polynomial is often referred to as the quadratic approximation. There are several versions of Taylor's theorem, some giving explicit estimates of the approximation error of the function by its Taylor polynomial. Taylor's theorem is named after Brook Taylor, who stated a version of it in 1715, although an earlier version of the result was already mentioned in 1671 by James Gregory. Taylor's theorem is taught in introductory-level calculus courses and is one of the central elementary tools in mathematical analysis. It gives simple arithmetic formulas to accurately compute values of many transcendental functions such as the exponential function and trigonometric functions. It is the starting point of the study of analytic functions, and is fundamental in various areas of mathematics, as well as in numerical analysis and mathematical physics. Taylor's theorem also generalizes to multivariate and vector valued functions. It provided the mathematical basis for some landmark early computing machines: Charles Babbage's difference engine calculated sines, cosines, logarithms, and other transcendental functions by numerically integrating the first 7 terms of their Taylor series.
Motivation
If a real-valued function f ( x ) {\textstyle f(x)} is differentiable at the point x = a {\textstyle x=a} , then it has a linear approximation near this point. This means that there exists a function h1(x) such that
f ( x ) = f ( a ) + f ′ ( a ) ( x − a ) + h 1 ( x ) ( x − a ) , lim x → a h 1 ( x ) = 0. {\displaystyle f(x)=f(a)+f'(a)(x-a)+h_{1}(x)(x-a),\quad \lim _{x\to a}h_{1}(x)=0.}
Here
P 1 ( x ) = f ( a ) + f ′ ( a ) ( x − a ) {\displaystyle P_{1}(x)=f(a)+f'(a)(x-a)}
is the linear approximation of f ( x ) {\textstyle f(x)} for x near the point a, whose graph y = P 1 ( x ) {\textstyle y=P_{1}(x)} is the tangent line to the graph y = f ( x ) {\textstyle y=f(x)} at x = a. The error in the approximation is:
R 1 ( x ) = f ( x ) − P 1 ( x ) = h 1 ( x ) ( x − a ) . {\displaystyle R_{1}(x)=f(x)-P_{1}(x)=h_{1}(x)(x-a).}
As x tends to a, this error goes to zero much faster than ( x − a ) {\displaystyle (x-a)} , making f ( x ) ≈ P 1 ( x ) {\displaystyle f(x)\approx P_{1}(x)} a useful approximation.
For a better approximation to f ( x ) {\textstyle f(x)} , we can fit a quadratic polynomial instead of a linear function:
P 2 ( x ) = f ( a ) + f ′ ( a ) ( x − a ) + f ″ ( a ) 2 ( x − a ) 2 . {\displaystyle P_{2}(x)=f(a)+f'(a)(x-a)+{\frac {f''(a)}{2}}(x-a)^{2}.}
Instead of just matching one derivative of f ( x ) {\textstyle f(x)} at x = a {\textstyle x=a} , this polynomial has the same first and second derivatives, as is evident upon differentiation. Taylor's theorem ensures that the quadratic approximation is, in a sufficiently small neighborhood of x = a {\textstyle x=a} , more accurate than the linear approximation. Specifically,
… excerpt ends here. Continue reading the full article.






