*sin(x) and Taylor approximations, polynomials of degree 1, 3, 5, 7, 9, 11 and 13.*

**Taylor series**of an infinitely often differentiable real (or complex) function

*f*defined on an open interval (

*a*-

*r*,

*a*+

*r*) is the power series

*n*! is the factorial of

*n*and

*f*

^{(n)}(

*a*) denotes the

*n*th derivative of

*f*at the point

*a*.

If this series converges for every *x* in the interval (*a*-*r*, *a*+*r*) and the sum is equal to *f*(*x*), then the function *f*(*x*) is called **analytic**. To check whether the series converges towards *f*(*x*), one normally uses estimates for the remainder term of Taylor's theorem. A function is analytic if and only if it can be represented as a power series; the coefficients in that power series are then necessarily the ones given in the above Taylor series formula.

If *a* = 0, the series is also called a **Maclaurin series**.

The importance of such a power series representation is threefold. First, differentiation and integration of power series can be performed term by term and is hence particularly easy. Second, an analytic function can be uniquely extended to a holomorphic function defined on an open disk in the complex plane, which makes the whole machinery of complex analysis available. Third, the (truncated) series can be used to compute function values approximately.

*The function e*

^{-1/x²}is not analytic, the Taylor series is 0, although the function is not.*f*(

*x*) whose Taylor series converge but are

*not*equal to

*f*(

*x*). For instance, for the function defined piecewise by saying that

*f*(

*x*) = exp(−1/

*x*²) if

*x*≠ 0 and

*f*(0) = 0, all the derivatives are zero at

*x*= 0, so the Taylor series of

*f*(

*x*) is zero, and its radius of convergence is infinite, even though the function most definitely is not zero. This particular pathology does not afflict complex-valued functions of a complex variable. Notice that exp(−1/

*z*²) does not approach 0 as

*z*approaches 0 along the imaginary axis.

Some functions cannot be written as Taylor series because they have a singularity; in these cases, one can often still achieve a series expansion if one allows also negative powers of the variable *x*; see Laurent series. For example, *f*(*x*) = exp(−1/*x*²) can be written as a Laurent series.

The Parker-Sockacki theorem is a recent advance in finding Taylor series which are solutions to differential equations. This theorem is an expansion on the Picard iteration.

### List of Taylor series

Exponential function and natural logarithm:

*B*

_{k}appearing in the expansions of tan(

*x*) and tanh(

*x*) are the Bernoulli numbers. The C(α,

*n*) in the binomial expansion are the binomial coefficients. The

*E*

_{k}in the expansion of sec(

*x*) are Euler numbers.

### Multiple dimensions

The Taylor series may be generalised to functions of more than one variable with