In mathematical analysis, the Taylor series or Taylor expansion of a function is an infinite sum of terms that are expressed in terms of the function's derivatives at a single point. For most common functions, the function and the sum of its Taylor series are equal near this point. Taylor series are named after Brook Taylor, who introduced them in 1715. A Taylor series is also called a Maclaurin series when 0 is the point where the derivatives are considered, after Colin Maclaurin, who made extensive use of this special case of Taylor series in the 18th century. The partial sum formed by the first n + 1 terms of a Taylor series is a polynomial of degree n that is called the nth Taylor polynomial of the function. Taylor polynomials are approximations of a function, which become generally more accurate as n increases. Taylor's theorem gives quantitative estimates on the error introduced by the use of such approximations. If the Taylor series of a function is convergent, its sum is the limit of the infinite sequence of the Taylor polynomials. A function may differ from the sum of its Taylor series, even if its Taylor series is convergent. A function is analytic at a point x if it is equal to the sum of its Taylor series in some open interval (or open disk in the complex plane) containing x. This implies that the function is analytic at every point of the interval (or disk).
Definition The Taylor series of a real or complex-valued function f(x), that is infinitely differentiable at a real or complex number a, is the power series f(a)+f′(a)1!(x−a)+f″(a)2!(x−a)2+⋯=∑n=0∞f(n)(a)n!(x−a)n. Here, n! denotes the factorial of n. The function f(n)(a) denotes the nth derivative of f evaluated at the point a. The derivative of order zero of f is defined to be f itself and (x − a)0 and 0! are both defined to be 1. This series can be written by using sigma notation, as in the right side formula. The corresponding Taylor polynomial of degree n is Tn(x)=∑k=0nf(k)(a)k!(x−a)k. When a = 0, the series is also called a Maclaurin series and takes the form: f(0)+f′(0)1!x+f″(0)2!x2+⋯=∑n=0∞f(n)(0)n!xn.
Basic properties
Taylor series inherit the basic properties of power series. Taylor series can also be combined algebraically. Sums, differences, products, and scalar multiples of Taylor series are obtained by the corresponding operations on power series. In particular, the Taylor series of f(x)g(x) around a point x=a is the Cauchy product of the Taylor series of f(x) and g(x) about x=a. Compositions of functions having Taylor series likewise have Taylor series, obtained by substituting one convergent power series into another when the substitution is valid. A Taylor series may be differentiated and integrated term by term. Thus ddx∑n=0∞cn(x−a)n=∑n=1∞ncn(x−a)n−1, and ∫∑n=0∞cn(x−a)ndx=C+∑n=0∞cnn+1(x−a)n+1. The differentiated and integrated series have the same radius of convergence as the original power series, although the convergence behavior at the boundary may be different. These properties sometimes allow the Taylor series of functions, such as the arctangent, to be computed in terms of simpler series, such as the geometric series.
Calculation of Taylor series Several methods can be used to calculate Taylor series. One may apply the definition directly, although this often requires first identifying a general formula for the derivatives or coefficients. In many cases, Taylor series can also be obtained from known expansions by algebraic manipulations of power series, such as substitution, multiplication, division, addition, or subtraction, as well as termwise differentiation and integration of known Taylor series. In some cases, they may also be derived by repeated integration by parts. In practice, Taylor series are often computed with the aid of computer algebra systems. A number of standard Maclaurin series are frequently used as starting points for calculating other Taylor series. Some fundamental examples are listed below; a more comprehensive listing appears later in the article.
Examples
Term-by-term differentiation Inside the region of convergence, a Taylor series can be differentiated term-by-term. For example, differentiating the geometric series 11−x=1+x+x2+x3+⋯,|x|<1, one gets ddx11−x=1(1−x)2=0+1+2x+3x2+⋯,|x|<1. Thus 1(1−x)2=∑n=1∞nxn−1,|x|<1. This process can be iterated, giving 2(1−x)3=∑n=2∞n(n−1)xn−2,|x|<1. 6(1−x)4=∑n=3∞n(n−1)(n−2)xn−3,|x|<1. and so forth.
Term-by-term integration Inside the region of convergence, a Taylor series can be integrated term-by-term. For example, integrating the geometric series 11−t=1+t+t2+t3+⋯,|t|<1, one gets −log(1−x)=∫0xdt1−t=x+x22+x33+x44+⋯,|x|<1. This gives the Maclaurin series log(1−x)=−∑n=1∞xnn, valid for |x|<1.
Substitution Taylor series can be composed, for example if the Taylor series of f(t) is known, then the Taylor series of f(xn) is obtained by evaluating at t=xn term by term. For instance, the geometric series 1/(1−t)=1+t+t2+⋯ evaluated at t=−x2 gives 11+x2=1−x2+x4−x6+⋯=∑n=0∞(−1)nx2n. This last series can be integrated term-by-term to give arctanx=∫0xdt1+t2=∑n=0∞(−1)n2n+1x2n+1, for |x|<1.
Composition In order to compute the 7th-degree Maclaurin polynomial for the function f(x)=ln(cosx),x∈(−π2,π2), one may first rewrite the function as f(x)=ln(1+(cosx−1)), the composition of two functions x ↦ ln(1 + x) and x ↦ cos x − 1. The Taylor series for the natural logarithm is (using big O notation) ln(1+x)=x−x22+x33+O(x4) and for the cosine function cosx−1=−x22+x424−x6720+O(x8). The first several terms from the second series can be substituted into each term of the first series. Because the first term in the second series has degree 2, three terms of the first series suffice to give a polynomial of degree 7: f(x)=ln(1+(cosx−1))=(cosx−1)−12(cosx−1)2+13(cosx−1)3+O((cosx−1)4)=−x22−x412−x645+O(x8). Since the cosine is an even function, the coefficients for all the odd powers are zero.
… excerpt ends here. Continue reading the full article.





