<!-- PLEASE CITE TEXTBOOKS rather than Encyclopedia of Mathematics pages; this topic is already a well-established part of mathematics. ~Duckmather -->
alt=Approximation of cosine by a Taylor series|thumb|An animation showing the [[Trigonometric functions|cosine function being approximated by successive truncations of its Maclaurin series.]]
In mathematics, a series expansion is a technique that expresses a function as an infinite sum, or series, of simpler functions. It is a method for calculating a function that cannot be expressed by just elementary operators (addition, subtraction, multiplication and division).
The resulting so-called series often can be limited to a finite number of terms, thus yielding an approximation of the function. The fewer terms of the sequence are used, the simpler this approximation will be. Often, the resulting inaccuracy (i.e., the partial sum of the omitted terms) can be described by an equation involving Big O notation (see also asymptotic expansion). The series expansion on an open interval will also be an approximation for non-analytic functions.
Types of series expansions
There are several kinds of series expansions, listed below.
Taylor series
A Taylor series is a power series based on a function's derivatives at a single point. More specifically, if a function <math>f: U\to\R</math> is infinitely differentiable around a point <math>x_0</math>, then the Taylor series of f around this point is given by
: <math>\sum_{n=0}^\infty \frac{f^{(n)}(x_0)}{n!}(x - x_0)^n</math>
under the convention <math>0^0 := 1</math>. The Maclaurin series of a function f is a special case of its Taylor series about <math>x_0 = 0</math>. In particular, a Laurent series can be used to examine the behavior of a complex function near a singularity by considering the series expansion on an annulus centered at the singularity.
Dirichlet series
alt=spiral representing partial sums of the Dirichlet series defining the Riemann zeta function|thumb|Convergence and divergence of partial sums of the Dirichlet series defining the [[Riemann zeta function. Here, the yellow line represents the first fifty successive partial sums <math display="inline">\sum_{n = 1}^k n^{-s},</math> the magenta dotted line represents <math>\tfrac{n^{-s+1{-s+1} + \zeta(s),</math> and the green dot represents <math>\zeta(s)</math> as s is varied from -0.5 to 1.5.]]
A general Dirichlet series is a series of the form <math display="inline">\sum_{n = 1}^{\infty} a_ne^{-\lambda_n s}.</math> One important special case of this is the ordinary Dirichlet series <math display="inline">\sum_{n = 1}^{\infty}\frac{a_n}{n^s}.</math> Used in number theory.
Fourier series
A Fourier series is an expansion of periodic functions as a sum of many sine and cosine functions. More specifically, the Fourier series of a function <math>f(x)</math> of period <math>2L</math> is given by the expression<math display="block">a_0 + \sum_{n = 1}^{\infty} \left[a_n\cos\left(\frac{n\pi x}{L}\right) + b_n\sin\left(\frac{n\pi x}{L}\right)\right]</math>where the coefficients are given by the formulae<math display="block">\begin{align}
a_n &:= \frac{1}{L}\int_{-L}^L f(x)\cos\left(\frac{n\pi x}{L}\right)dx, \\[5pt]
b_n &:= \frac{1}{L}\int_{-L}^L f(x)\sin\left(\frac{n\pi x}{L}\right)dx.
\end{align}</math>
Other series
- In acoustics, e.g., the fundamental tone and the overtones together form an example of a Fourier series.
- Newtonian series
- Legendre polynomials: Used in physics to describe an arbitrary electrical field as a superposition of a dipole field, a quadrupole field, an octupole field, etc.
- Zernike polynomials: Used in optics to calculate aberrations of optical systems. Each term in the series describes a particular type of aberration.
thumb|The relative error in a truncated Stirling series vs. , for 0 to 5 terms. The kinks in the curves represent points where the truncated series coincides with <math>\Gamma(n + 1).</math>
- The Stirling series<math display=block>\operatorname{Ln}\Gamma(z)\sim\left(z-\tfrac{1}{2}\right)\ln z-z+\tfrac{1}{2}\ln(2\pi)+\sum_{k=1}^\infty \frac{B_{2k{2k(2k-1)z^{2k-1</math>is an approximation of the log-gamma function.
Examples
The following is the Taylor series of the exponential function <math>e^x</math>:<math display="block">e^x=\sum^\infty_{n=0}\frac{x^n}{n!}= 1 + x + \frac{x^2}{2} + \frac{x^3}{6}+\cdots</math>
The Dirichlet series of the Riemann zeta function is<math display="block">\zeta(s) := \sum_{n = 1}^\infty \frac{1}{n^s} = \frac{1}{1^s} + \frac{1}{2^s} + \cdots</math>
