PlanetMath (more info)
 Math for the people, by the people. Sponsor PlanetMath
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: High Entry average rating: Very high
Taylor series (Definition)


Contents

Real Taylor series

Let $f\colon I \to \real$ be a function defined on an open interval $I$ , possessing derivatives of all orders at $a \in I$ . Then the power series $$ T(x) = \sum_{k=0}^{\infty} \frac{f^{(k)}(a)}{k!}(x-a)^k $$ is called the Taylor series for $f$ centered at $a$ .

Often the case $a = 0$ is considered, and we have the simpler $$ T(x) = \sum_{k=0}^{\infty} \frac{f^{(k)}(0)}{k!}x^k\,, $$ called the Maclaurin series for $f$ by some authors.

If we perform formal term-by-term differentiation of $T(x)$ , we find that $T^{(k)}(a) = f^{(k)}(a)$ , so it is plausible that $T$ is an extrapolation or an approximation to $f$ based on the derivatives of $f$ at a single point $a$ .

In general, $T$ may not extrapolate or approximate $f$ in the strictest sense: a Taylor series does not necessarily converge, and even if it does, it may not necessarily converge to the original function $f$ . It is also not necessarily true that a Taylor series about $a$ equals the Taylor series of $f$ about some other point $b$ , when considered as functions.

Those functions whose Taylor series do converge to the function are termed analytic functions.

If we start with a convergent power series $ f(x) = c_0 + c_1 (x-a) + c_2 (x-a)^2 + \dotsb$ to define a function $f$ , then the Taylor series of $f$ about $a$ will turn out to be the same as our original power series.

Taylor polynomials

The $n$ th degree Taylor polynomial for $f$ centered at $a$ is the polynomial $$ P_{n,a}(x) = \sum_{k=0}^{n} \frac{f^{(k)}(a)}{k!}(x-a)^k \,. $$ In general, $P_{n,a}$ has degree $\leq n$ ; it may be $< n$ if some of the terms $f^{(k)}(a)$ vanish. Nevertheless, $P_{n,a}$ is characterized by the following properties: it is the unique polynomial of degree $\leq n$ whose derivatives up to the $n$ th order at $a$ agree with those of $f$ ; it is also the unique polynomial $p$ of degree $\leq n$ such that $$ f(x) - p(x) = o(\abs{x-a}^n)\,, \quad \textrm{as $x \to a$}. $$ (Landau notation is being used here.) These characterizations are sometimes helpful in actually computing Taylor polynomials.

The Taylor polynomial $P_{n,a}$ is applicable even if $f$ is only differentiable $n$ times at $a$ , or when its Taylor series does not converge to $f$ .

The error from the approximation of $f$ by $P_{n,a}$ , or remainder term, $R_{n,a}(x) = f(x) - P_{n,a}(x)$ , can be quantified precisely using Taylor's theorem. In particular, Taylor's Theorem is often used to show $$ \lim_{n\rightarrow \infty} R_{n,a}(x) = 0 \,, $$ which is equivalent to $T(x) = f(x)$ , i.e. the Taylor series converges to the original function.

A term that is often heard is that of a ``Taylor expansion''; depending on the circumstance, this may mean either the Taylor series or the $n$ th degree Taylor polynomial. Both are useful to linearize or otherwise reduce the analytical complexity of a function. They are also useful for numerical approximation of functions, when the magnitude of the later terms fall off rapidly.

Examples

Using the above definition of a Taylor series about $0$ , we have the following important series representations:
$\displaystyle e^x$ $\displaystyle = 1 + \frac{x}{1!} + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots$    
$\displaystyle \sin x$ $\displaystyle = \frac{x}{1!} - \frac{x^3}{3!} + \frac{x^5}{5!} - \frac{x^7}{7!} + \cdots$    
$\displaystyle \cos x$ $\displaystyle = 1-\frac{x^2}{2!} + \frac{x^4}{4!} - \frac{x^6}{6!} + \cdots$    

That the series on the right converge to the functions on the left can be proven by Taylor's Theorem.

Complex Taylor series

If $f\colon U \to \complex$ is a holomorphic function from an open subset $U$ of the complex plane, and $a \in U$ , we may also consider its Taylor series about $a$ (defined with the same formulae as before, but with complex numbers).

In contrast with the complex case, it turns out that all holomorphic functions are infinitely differentiable and have Taylor series that converge to them. (The radius of convergence of the Taylor series at $a$ being the radius of the largest open disk about $a$ on which the domain of $f$ can be extended.)

This of course makes the theory of analytic functions very nice, and many questions about real power series and real analytic functions are more easily answered by looking at the complex case. For example, we can immediately tell that the Taylor series about the origin for the tangent function

$\displaystyle \frac{\sin z}{\cos z} = \tan z = z+\frac{1}{3} z^3+\frac{2}{15}z^5+ \frac{17}{315}z^7+ \frac{62}{2835} z^9+ \dotsb $
has a radius of convergence of $\pi/2$ , because $\tan$ is holomorphic everywhere except at its poles at $z = \pi/2 +k\pi, k \in \mathbb{Z}$ , and $\pi/2$ is the distance that the closest of these poles get to the origin.

Taylor series and polynomials in Banach spaces

Taylor series and polynomials can be generalized to Banach spaces: for details, see Taylor's formula in Banach spaces.

Taylor series and polynomials for functions of several variables

The simplest Banach spaces are the spaces $\real^n$ , and in this case Taylor series and Taylor polynomials for functions $f \colon \real^n \to \real$ (``functions of $n$ variables'') look like this:
$\displaystyle T(x)$ $\displaystyle = \sum_{i_1=0}^\infty \cdots \sum_{i_n=0}^\infty \frac{f^{(i_1,i_... ...otsb+i_n} f}{\partial x_1^{i_1} \cdots \partial x_n^{i_n}}\right\vert _{x=0}\,,$    
$\displaystyle P_{N,0}(x)$ $\displaystyle = \sum_{i_1 + \dotsb + i_n \leq N} \frac{f^{(i_1, i_2, \ldots, i_... ...t.\frac{\partial^{\lvert I\rvert } f}{\partial x^I}\right\vert _{x=0} \, x^I\,.$    

(For simplicity, we have put the centre at $a= 0$ . The last expression employs a commonly-used multi-index notation.)

For example, the second-degree Taylor polynomial for $f(x,y) = \cos(x+y)$ centered about $(0,0)$ is $$ P_{2,0}(x,y) = 1 - \frac{1}{2} x^2 - xy - \frac{1}{2}y^2\,. $$ Note that $P_{2,0}(x,y)$ can also be obtained by taking the one-variable Taylor series $ \cos t = 1 - t^2 / 2 + \dotsb $ and substituting $t = x+y$ , and keeping only the terms of degree $\leq 2$ . This procedure works because of the uniqueness characterization of Taylor polynomials.

Taylor expansion of formal polynomials

If $f$ is a polynomial function, of degree $n$ , then its Taylor series and its Taylor polynomial of degree $\geq n$ actually equal $f$ . For this reason, we can consider Taylor series and polynomials applied to formal polynomials, without any notion of convergence. (The usual derivative is replaced by formal differentiation.) In this setting, a ``Taylor expansion'' of a formal polynomial $p(x)$ about $a$ amounts to nothing more than rewriting $p(x)$ in the form $ c_0 + c_1 (x-a) + \dotsb + c_n (x-a)^n$ .

Similar considerations apply to formal power series, or to formal polynomials of several variables.

Bibliography

1
Lars V. Ahlfors. Complex Analysis, third edition. McGraw-Hill, 1979.
2
Michael Spivak. Calculus, third edition. Publish or Perish, 1994.




"Taylor series" is owned by stevecheng. [ full author list (3) | owner history (3) ]
(view preamble | get metadata)

View style:

See Also: power series, analytic, Taylor's theorem, converse to Taylor's theorem, calculus of variations, Euler relation

Also defines:  Taylor polynomial, Taylor expansion, Maclaurin series

Attachments:
example of Taylor polynomials for $\sin x$ (Example) by alozano
example of Taylor polynomials for the exponential function (Example) by alozano
examples on how to find Taylor series from other known series (Example) by alozano
getting Taylor series from differential equation (Example) by Wkbj79
derivation of Taylor series (Derivation) by apmc
Taylor's formula in Banach spaces (Result) by stevecheng
example of computing limits using Taylor expansion (Example) by stevecheng
Taylor expansion of $\sqrt{1+x}$ (Example) by stevecheng
Taylor formula remainder: various expressions (Result) by gufotta
Taylor series of arcus tangent (Derivation) by pahio
approximate non-linear transformation of affine combination (Example) by stevecheng
Taylor series via division (Topic) by pahio
Log in to rate this entry.
(view current ratings)

Cross-references: variables, formal power series, similar, polynomial function, multi-index notation, expression, centre, Taylor's formula in Banach spaces, Banach spaces, distance, poles, origin, real, analytic functions, theory, domain, open disk, radius, radius of convergence, complex, complex numbers, complex plane, open subset, holomorphic function, right, representations, series, mean, equivalent, Taylor's theorem, differentiable, characterizations, Landau notation, properties, vanish, terms, polynomial, degree, convergent, even, converge, point, approximation, differentiation, power series, orders, derivatives, open interval, function
There are 79 references to this entry.

This is version 20 of Taylor series, born on 2001-11-08, modified 2006-12-27.
Object id is 709, canonical name is TaylorSeries.
Accessed 74854 times total.

Classification:
AMS MSC41A58 (Approximations and expansions :: Series expansions )
 26A24 (Real functions :: Functions of one variable :: Differentiation : general theory, generalized derivatives, mean-value theorems)
 30B10 (Functions of a complex variable :: Series expansions :: Power series )

Pending Errata and Addenda
None.
[ View all 9 ]
Discussion
Style: Expand: Order:
forum policy
converge to what? by Gunnar on 2006-12-27 15:57:10
it says: "even if it converges, it may not necessarily converge to the original function"

I think there should be an example for this remarkable claim.
[ reply | up ]
Potential confusion when talking about bounds on $R_n$ by berti on 2005-08-16 10:50:22
For the bounds on $R_n$, the author refers to http://planetmath.org/encyclopedia/TaylorsTheorem.html where we have some informations on $R_n$.

But on the two pages, the same symbol ($R_n$) describe something different:
 - for the "Taylor Series", $R_n$ refers to the rest of the approximation by a polynom of order n (n+1 terms in the approximation) ;
 - for the "Taylor's Theorem", $R_n$ refers to the rest of the approximation by a serie of n terms (thus a polynom of order n-1).

This is quite confusing when only reading thoses two pages and not the definition http://planetmath.org/encyclopedia/RemainderTerm.html
[ reply | up ]
Taylor series by perucho on 2004-05-17 13:25:39

Some authors(see, by example, Courant & John, Intoduction to Calculus and Analysis, Vol. I, Chap.5, Sec.5.4, footnote^1, Wiley,1965) do not grant recognition to Mc Laurin's paper because it is a particular case (a=0) of Taylor's paper. The former was published in 1742, the latter in 1715. So, I think that is preferable take Taylor's series as
f(x)=\sum_{k=0}^{\infty}f^{(k)}(a)/k!(x-a)^k, f^{(0)}(a)=f(a).
 
[ reply | up ]

Interact
post | correct | update request | add derivation | add example | add (any)