All Topics  
Taylor series

 

   Email Print
   Bookmark   Link






 

Taylor series



 
 
In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, the Taylor series is a representation of a function
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
 as an infinite sum
Series (mathematics)

In mathematics, given an infinite set sequence of numbers , a series is informally the result of adding all those terms together: . These can be written more compactly using the summation symbol ?....
 of terms calculated from the values of its derivative
Derivative

In calculus, a branch of mathematics, the derivative is a measure of how a function changes as its input changes. Loosely speaking, a derivative can be thought of as how much a quantity is changing at a given point....
s at a single point. It may be regarded as the limit
Limit (mathematics)

In mathematics, the concept of a "limit" is used to describe the behavior of a Function as its argument or input either "gets close" to some point, or as the argument becomes arbitrarily large; or the behavior of a sequence's elements as their index increases indefinitely....
 of the Taylor polynomials. Taylor series are named after English
English people

The English are a nation and ethnic group native to England who speak English language in England. The English identity as a people is of early medieval origin, when they were known in Old English as the Anglecynn....
 mathematician Brook Taylor
Brook Taylor

Brook Taylor Fellow of the Royal Society was an England mathematician who is best known for Taylor's theorem and the Taylor series....
. If the series is centered at zero, the series is also called a Maclaurin series, named after Scottish
Scottish people

The Scots people are a nation and an ethnic group indigenous to Scotland.Historically, as an ethnic group, they emerged from an amalgamation of Celts, Picts, Gaels and Brythons....
 mathematician Colin Maclaurin
Colin Maclaurin

Colin Maclaurin was a Scotland mathematician. Due to changes in orthography since that time , his surname is alternatively written MacLaurin....
.

Taylor series of a real
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
 or complex
Complex number

In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
 function ƒ(x) that is infinitely differentiable in a neighborhood
Neighbourhood (mathematics)

In topology and related areas of mathematics, a neighbourhood is one of the basic concepts in a topological space. Intuitively speaking, a neighbourhood of a point is a Set containing the point where you can move that point some amount without leaving the set....
 of a real
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
 or complex number
Complex number

In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
 a, is the power series
Power series

In mathematics, a power series is an infinite series of the formwhere an represents the coefficient of the nth term, c is a constant, and x varies around c ....


which in a more compact form can be written as

where n! is the factorial
Factorial

In mathematics, the factorial of a negative and non-negative numbers integer n, denoted by n!, is the Product of all positive integers less than or equal to n....
 of n and ƒ (n)(a) denotes the nth derivative
Derivative

In calculus, a branch of mathematics, the derivative is a measure of how a function changes as its input changes. Loosely speaking, a derivative can be thought of as how much a quantity is changing at a given point....
 of ƒ evaluated at the point a; the zeroth derivative of ƒ is defined to be ƒ itself and and 0! are both defined to be 1.

In the particular case where , the series is also called a Maclaurin series.

Maclaurin series for any polynomial
Polynomial

In mathematics, a polynomial is an expression constructed from variables and constants, using the operations of addition, subtraction, multiplication, and constant non-negative whole number exponents....
 is the polynomial itself.

The Maclaurin series for is the geometric series
Geometric series

In mathematics, a geometric series is a series with a constant ratio between successive term . For example, the seriesis geometric, because each term is equal to half of the previous term....


so the Taylor series for x−1 at is

By integrating the above Maclaurin series we find the Maclaurin series for , where log denotes the natural logarithm
Natural logarithm

The natural logarithm, formerly known as the hyperbolic logarithm, is the logarithm to the base e , where e is an irrational number constant approximately equal to 2.718281828....
:

and the corresponding Taylor series for log(x) at is

The Taylor series for the exponential function
Exponential function

The exponential function is a function in mathematics. The application of this function to a value x is written as exp. Equivalently, this can be written in the form ex, where e is the mathematical constant that is the base of the natural logarithm and that is also known as Euler's number....
  at is

The above expansion holds because the derivative of ex is also ex and e0 equals 1.






Discussion
Ask a question about 'Taylor series'
Start a new discussion about 'Taylor series'
Answer questions from other users
Full Discussion Forum



Recent Posts









Encyclopedia


Sintay
In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, the Taylor series is a representation of a function
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
 as an infinite sum
Series (mathematics)

In mathematics, given an infinite set sequence of numbers , a series is informally the result of adding all those terms together: . These can be written more compactly using the summation symbol ?....
 of terms calculated from the values of its derivative
Derivative

In calculus, a branch of mathematics, the derivative is a measure of how a function changes as its input changes. Loosely speaking, a derivative can be thought of as how much a quantity is changing at a given point....
s at a single point. It may be regarded as the limit
Limit (mathematics)

In mathematics, the concept of a "limit" is used to describe the behavior of a Function as its argument or input either "gets close" to some point, or as the argument becomes arbitrarily large; or the behavior of a sequence's elements as their index increases indefinitely....
 of the Taylor polynomials. Taylor series are named after English
English people

The English are a nation and ethnic group native to England who speak English language in England. The English identity as a people is of early medieval origin, when they were known in Old English as the Anglecynn....
 mathematician Brook Taylor
Brook Taylor

Brook Taylor Fellow of the Royal Society was an England mathematician who is best known for Taylor's theorem and the Taylor series....
. If the series is centered at zero, the series is also called a Maclaurin series, named after Scottish
Scottish people

The Scots people are a nation and an ethnic group indigenous to Scotland.Historically, as an ethnic group, they emerged from an amalgamation of Celts, Picts, Gaels and Brythons....
 mathematician Colin Maclaurin
Colin Maclaurin

Colin Maclaurin was a Scotland mathematician. Due to changes in orthography since that time , his surname is alternatively written MacLaurin....
.

Definition

The Taylor series of a real
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
 or complex
Complex number

In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
 function ƒ(x) that is infinitely differentiable in a neighborhood
Neighbourhood (mathematics)

In topology and related areas of mathematics, a neighbourhood is one of the basic concepts in a topological space. Intuitively speaking, a neighbourhood of a point is a Set containing the point where you can move that point some amount without leaving the set....
 of a real
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
 or complex number
Complex number

In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
 a, is the power series
Power series

In mathematics, a power series is an infinite series of the formwhere an represents the coefficient of the nth term, c is a constant, and x varies around c ....


which in a more compact form can be written as

where n! is the factorial
Factorial

In mathematics, the factorial of a negative and non-negative numbers integer n, denoted by n!, is the Product of all positive integers less than or equal to n....
 of n and ƒ (n)(a) denotes the nth derivative
Derivative

In calculus, a branch of mathematics, the derivative is a measure of how a function changes as its input changes. Loosely speaking, a derivative can be thought of as how much a quantity is changing at a given point....
 of ƒ evaluated at the point a; the zeroth derivative of ƒ is defined to be ƒ itself and and 0! are both defined to be 1.

In the particular case where , the series is also called a Maclaurin series.

Examples

The Maclaurin series for any polynomial
Polynomial

In mathematics, a polynomial is an expression constructed from variables and constants, using the operations of addition, subtraction, multiplication, and constant non-negative whole number exponents....
 is the polynomial itself.

The Maclaurin series for is the geometric series
Geometric series

In mathematics, a geometric series is a series with a constant ratio between successive term . For example, the seriesis geometric, because each term is equal to half of the previous term....


so the Taylor series for x−1 at is

By integrating the above Maclaurin series we find the Maclaurin series for , where log denotes the natural logarithm
Natural logarithm

The natural logarithm, formerly known as the hyperbolic logarithm, is the logarithm to the base e , where e is an irrational number constant approximately equal to 2.718281828....
:

and the corresponding Taylor series for log(x) at is

The Taylor series for the exponential function
Exponential function

The exponential function is a function in mathematics. The application of this function to a value x is written as exp. Equivalently, this can be written in the form ex, where e is the mathematical constant that is the base of the natural logarithm and that is also known as Euler's number....
  at is

The above expansion holds because the derivative of ex is also ex and e0 equals 1. This leaves the terms in the numerator and n! in the denominator for each term in the infinite sum.

Convergence

Taylorsine
Taylor series need not in general be convergent
Convergent series

In mathematics, a series is the summation of the terms of a sequence of numbers.Given a sequence , the nth partial sum is the sum of the first n terms of the sequence, that is,...
. More precisely, the set of functions with a convergent Taylor series is a meager set in the Frechet space
Fréchet space

In functional analysis and related areas of mathematics, Fr?chet spaces or Frechet spaces, named after Maurice Fr?chet, are special topological vector spaces....
 of smooth functions. In spite of this, for many functions that arise in practice, the Taylor series does converge.

The limit of a convergent Taylor series of a function f need not in general be equal to the function value f(x), but in practice often it is. For example, the function

is infinitely differentiable at , and has all derivatives zero there. Consequently, every term the Maclaurin series of f(x) is zero. However, f(x) is not equal to the zero function, and so it is not equal to its Taylor series.

If f(x) is equal to its Taylor series in a neighborhood
Neighbourhood (mathematics)

In topology and related areas of mathematics, a neighbourhood is one of the basic concepts in a topological space. Intuitively speaking, a neighbourhood of a point is a Set containing the point where you can move that point some amount without leaving the set....
 of a, it is said to be analytic
Analytic function

In mathematics, an analytic function is a function that is locally given by a convergent power series. Analytic functions can be thought of as a bridge between polynomials and general functions....
 in this neighborhood. If f(x) is equal to its Taylor series everywhere it is called entire
Entire function

In complex analysis, an entire function, also called an integral function, is a complex-valued Function that is holomorphic function everywhere on the whole complex plane....
. The exponential function
Exponential function

The exponential function is a function in mathematics. The application of this function to a value x is written as exp. Equivalently, this can be written in the form ex, where e is the mathematical constant that is the base of the natural logarithm and that is also known as Euler's number....
 ex and the trigonometric function
Trigonometric function

In mathematics, the trigonometric functions are function s of an angle. They are important in the trigonometry of Triangle and modeling Periodic function, among many other applications....
s sine and cosine are examples of entire functions. Examples of functions that are not entire include the logarithm
Logarithm

In mathematics, the logarithm of a number to a given base is the Power or exponent to which the base must be raised in order to produce the number....
, the trigonometric function
Trigonometric function

In mathematics, the trigonometric functions are function s of an angle. They are important in the trigonometry of Triangle and modeling Periodic function, among many other applications....
 tangent, and its inverse arctan. For these functions the Taylor series do not converge
Convergent series

In mathematics, a series is the summation of the terms of a sequence of numbers.Given a sequence , the nth partial sum is the sum of the first n terms of the sequence, that is,...
 if x is far from a.

Taylor series can be used to calculate the value of an entire function in every point, if the value of the function, and of all of its derivatives, are known at a single point. Uses of the Taylor series for entire functions include:
  1. The partial sums (the Taylor polynomials) of the series can be used as approximations of the entire function. These approximations are good if sufficiently many terms are included.
  2. The series representation simplifies many mathematical proof
    Mathematical proof

    In mathematics, a proof is a convincing demonstration that some mathematical statement is necessarily true. Proofs are obtained from deductive reasoning, rather than from inductive reasoning or empirical arguments....
    s.


Pictured on the right is an accurate approximation of sin(x) around the point a = 0. The pink curve is a polynomial of degree seven:

The error in this approximation is no more than |x|9/9!. In particular, for , the error is less than 0.000003.

In contrast, also shown is a picture of the natural logarithm function and some of its Taylor polynomials around a = 0. These approximations converge to the function only in the region −1 < x = 1; outside of this region the higher-degree Taylor polynomials are worse approximations for the function. This is similar to Runge's phenomenon
Runge's phenomenon

In the mathematics field of numerical analysis, Runge's phenomenon is a problem that occurs when using polynomial interpolation with polynomials of high degree....
.

Taylor's theorem
Taylor's theorem

In calculus, Taylor's theorem gives a sequence of approximations of a differentiable function around a given point by polynomials whose coefficients depend only on the derivatives of the function at that point....
 gives a variety of general bounds on the size of the error in Rn(x) incurred in approximating a function by its nth-degree Taylor polynomial.

History

The Greek philosopher Zeno
Zeno of Elea

Zeno of Velia was a pre-Socratic Greek philosopher of southern Italy and a member of the Eleatic School founded by Parmenides. Aristotle called him the inventor of the dialectic....
 considered the problem of summing an infinite series to achieve a finite result, but rejected it as an impossibility: the result was Zeno's paradox. Later, Aristotle
Aristotle

Aristotle was a Greeks philosopher, a student of Plato and teacher of Alexander the Great. He wrote on many subjects, including physics, metaphysics, Poetics , theater, music, logic, rhetoric, politics, government, ethics, biology and zoology....
 proposed a philosophical resolution of the paradox, but the mathematical content was apparently unresolved until taken up by Democritus
Democritus

Democritus was an Ancient Greek philosopher born in Abdera in the north of Greece. He was the most prolific, and ultimately the most influential, of the pre-Socratic philosophers; his atomic theory may be regarded as the culmination of early Greek thought....
 and then Archimedes
Archimedes

Archimedes of Syracuse was a Greek mathematics, physicist, engineer, inventor, and astronomer. Although few details of his life are known, he is regarded as one of the leading scientists in classical antiquity....
. It was through Archimedes's method of exhaustion
Method of exhaustion

The method of exhaustion is a method of finding the area of a shape by inscribing inside it a sequence of polygons whose areas Convergence to the area of the containing shape....
 that an infinite number of progressive subdivisions could be performed to achieve a finite result. Liu Hui
Liu Hui

Liu Hui was a China mathematician who lived in the Wei Kingdom. In 263 he edited and published a book with solutions to mathematical problems presented in the famous Chinese book of mathematics known as The Nine Chapters on the Mathematical Art....
 independently employed a similar method a few centuries later.

In the 14th century, the earliest examples of the use of Taylor series and closely-related methods were given by Madhava of Sangamagrama
Madhava of Sangamagrama

Madhava of Sangamagrama was a prominent Indian mathematics-Indian astronomy from the town of Irinjalakkuda, near Cochin, Kerala, India, which was at the time known as Sangamagrama ....
. Though no record of his work survives, writings of later Indian mathematicians
Indian mathematics

Indian mathematics—which here is the mathematics that emerged in South Asia from ancient times until the end of the 18th century—had its beginnings in the Bronze Age Indus Valley civilization and the Iron Age Vedic culture ....
 suggest that he found a number of special cases of the Taylor series, including those for the trigonometric function
Trigonometric function

In mathematics, the trigonometric functions are function s of an angle. They are important in the trigonometry of Triangle and modeling Periodic function, among many other applications....
s of sine, cosine, tangent, and arctangent. The Kerala school of astronomy and mathematics further expanded his works with various series expansions and rational approximations until the 16th century.

In the 17th century, James Gregory
James Gregory (astronomer and mathematician)

James Gregory , was a Scotland mathematician and astronomer. It has been said that "Of the British mathematicians of the seventeenth century, Gregory was only excelled by Isaac Newton."...
 also worked in this area and published several Maclaurin series. It was not until 1715 however that a general method for constructing these series for all functions for which they exist was finally provided by Brook Taylor
Brook Taylor

Brook Taylor Fellow of the Royal Society was an England mathematician who is best known for Taylor's theorem and the Taylor series....
, after whom the series are now named.

The Maclaurin series was named after Colin Maclaurin
Colin Maclaurin

Colin Maclaurin was a Scotland mathematician. Due to changes in orthography since that time , his surname is alternatively written MacLaurin....
, a professor in Edinburgh, who published the special case of the Taylor result in the 18th century.

Properties

Expinvsq
If this series converges for every x in the interval (ar, a + r) and the sum is equal to f(x), then the function f(x) is said to be analytic
Analytic function

In mathematics, an analytic function is a function that is locally given by a convergent power series. Analytic functions can be thought of as a bridge between polynomials and general functions....
 in the interval
(ar, a + r). If this is true for any r then the function is said to be an entire function
Entire function

In complex analysis, an entire function, also called an integral function, is a complex-valued Function that is holomorphic function everywhere on the whole complex plane....
. To check whether the series converges towards f(x), one normally uses estimates for the remainder term of Taylor's theorem
Taylor's theorem

In calculus, Taylor's theorem gives a sequence of approximations of a differentiable function around a given point by polynomials whose coefficients depend only on the derivatives of the function at that point....
. A function is analytic if and only if
If and only if

If and only if, in logic and fields that rely on it such as mathematics and philosophy, is a biconditional logical connective between statements....
 it can be represented as a power series
Power series

In mathematics, a power series is an infinite series of the formwhere an represents the coefficient of the nth term, c is a constant, and x varies around c ....
; the coefficients in that power series are then necessarily the ones given in the above Taylor series formula.

The importance of such a power series representation is at least fourfold. First, differentiation and integration of power series can be performed term by term and is hence particularly easy. Second, an analytic function
Analytic function

In mathematics, an analytic function is a function that is locally given by a convergent power series. Analytic functions can be thought of as a bridge between polynomials and general functions....
 can be uniquely extended to a holomorphic function
Holomorphic function

Holomorphic functions are the central object of study of complex analysis; they are function defined on an open set of the complex number C with values in C that are complex-differentiable at every point....
 defined on an open disk in the complex plane
Complex number

In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
, which makes the whole machinery of complex analysis
Complex analysis

Complex analysis, traditionally known as the theory of functions of a complex variable, is the branch of mathematics investigating Function of complex numbers....
 available. Third, the (truncated) series can be used to compute function values approximately (often by recasting the polynomial into the Chebyshev form and evaluating it with the Clenshaw algorithm
Clenshaw algorithm

In the mathematics subfield of numerical analysis the Clenshaw algorithm is a Recursion method to evaluate polynomials in Chebyshev form....
).

Fourth, algebraic operations can often be done much more readily on the power series representation; for instance the simplest proof of Euler's formula
Euler's formula

Euler's formula, named after Leonhard Euler, is a mathematics formula in complex analysis that shows a deep relationship between the trigonometric functions and the complex exponential function....
 uses the Taylor series expansions for sine, cosine, and exponential functions. This result is of fundamental importance in such fields as harmonic analysis
Harmonic analysis

Harmonic analysis is the branch of mathematics that studies the representation of functions or signals as the superposition of basic waves. It investigates and generalizes the notions of Fourier series and Fourier transforms....
.

Another reason why the Taylor series is the natural power series for studying a function f is given by the probabilistic interpretation of Taylor series
Probabilistic interpretation of Taylor series

Suppose that a function is at least times differentiable in a neighborhood of a point . How can this be used to approximate its value in a point a+h in this neighborhood? The following approach is, a priori, independent of Taylor's Theorem:...
. Given the value of f and its derivatives at a point a, the Taylor series is in some sense the most likely function that fits the given data.

Note that there are examples of infinitely differentiable functions f(x) whose Taylor series converge, but are not equal to f(x). For instance, the function defined pointwise by f(x) = e−1/x˛ if x ? 0 and f(0) = 0 is an example of a non-analytic smooth function
Non-analytic smooth function

In mathematics, smooth functions and analytic functions are two very important types of function . One can easily prove that any analytic function of a real number argument is smooth....
. All its derivatives at x = 0 are zero, so the Taylor series of f(x) at 0 is zero everywhere, even though the function is nonzero for every x ? 0. This particular pathology does not afflict Taylor series in complex analysis
Complex analysis

Complex analysis, traditionally known as the theory of functions of a complex variable, is the branch of mathematics investigating Function of complex numbers....
. There, the area of convergence of a Taylor series is always a disk in the complex plane
Complex plane

In mathematics, the complex plane is a geometric representation of the complex numbersestablished by the real axis and the orthogonal imaginary axis....
 (possibly with radius 0), and where the Taylor series converges, it converges to the function value. Notice that e-1/z˛ does not approach 0 as z approaches 0 along the imaginary axis, hence this function is not continuous as a function on the complex plane.

Since every sequence of real or complex numbers can appear as coefficients in the Taylor series of an infinitely differentiable function defined on the real line, the radius of convergence of a Taylor series can be zero. There are even infinitely differentiable functions defined on the real line whose Taylor series have a radius of convergence 0 everywhere.

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
Laurent series

In mathematics, the Laurent series of a complex function f is a representation of that function as a power series which includes terms of negative degree....
. For example, f(x) = e−1/x˛ can be written as a Laurent series.

List of Taylor series of some common functions

See also List of mathematical series
List of mathematical series

This list of mathematical series contains formulae for finite and infinite sums. It can be used in conjunction with other tools for evaluating sums....
Several important Maclaurin series expansions follow. All these expansions are valid for complex arguments .

Exponential function
Exponential function

The exponential function is a function in mathematics. The application of this function to a value x is written as exp. Equivalently, this can be written in the form ex, where e is the mathematical constant that is the base of the natural logarithm and that is also known as Euler's number....
:

Natural logarithm
Natural logarithm

The natural logarithm, formerly known as the hyperbolic logarithm, is the logarithm to the base e , where e is an irrational number constant approximately equal to 2.718281828....
:

Finite geometric series
Geometric series

In mathematics, a geometric series is a series with a constant ratio between successive term . For example, the seriesis geometric, because each term is equal to half of the previous term....
:

Infinite geometric series:

Variants of the infinite geometric series:

Square root
Square root

In mathematics, a square root of a number x is a number r such that r2 = x, or, in other words, a number r whose square is x....
:

Binomial series
Binomial series

In mathematics, the binomial series generalizes the purely algebraic formula of the binomial theoremto complex values of a. It is also a special case of a Newton_series#Newton_series....
 (includes the square root for a = 1/2 and the infinite geometric series for a = −1):

with generalized binomial coefficient
Binomial coefficient

In mathematics, the binomial coefficient is the coefficient of the x k term in the polynomial expansion of the binomial exponentiation  n....
s



Trigonometric function
Trigonometric function

In mathematics, the trigonometric functions are function s of an angle. They are important in the trigonometry of Triangle and modeling Periodic function, among many other applications....
s:

where the Bs are Bernoulli numbers.

Hyperbolic function
Hyperbolic function

In mathematics, the hyperbolic functions are analogs of the ordinary trigonometric function, or circular, functions. The basic hyperbolic functions are the hyperbolic sine "sinh", and the hyperbolic cosine "cosh", from which are derived the hyperbolic tangent "tanh", etc., in analogy to the derived trigonometric functi...
s:


Lambert's W function:

The numbers Bk appearing in the summation expansions of tan(x) and tanh(x) are the Bernoulli numbers. The Ek in the expansion of sec(x) are Euler numbers.

Calculation of Taylor series

Several methods exist for the calculation of Taylor series of a large number of functions. One can attempt to use the Taylor series as-is and generalize the form of the coefficients, or one can use manipulations such as substitution, multiplication or division, addition or subtraction of standard Taylor series to construct the Taylor series of a function, by virtue of Taylor series being power series. In some cases, one can also derive the Taylor series by repeatedly applying integration by parts
Integration by parts

In calculus, and more generally in mathematical analysis, integration by parts is a rule that transforms the integral of products of functions into other, hopefully simpler, integrals....
. Particularly convenient is the use of computer algebra system
Computer algebra system

A computer algebra system is a Application software that facilitates symbolic mathematics. The core functionality of a CAS is manipulation of mathematical expressions in symbolic form....
s to calculate Taylor series.

First example

Compute the 7th degree Maclaurin polynomial for the function .

First, rewrite the function as . We have for the natural logarithm (by using the big O notation
Big O notation

In mathematics, big O notation describes the asymptotic analysis of a function when the argument tends towards a particular value or infinity, usually in terms of simpler functions....
) and for the cosine function The latter series expansion has a zero constant term
Constant term

In mathematics, the constant term of a polynomial is the term of degree 0. For example, in the polynomialover the variable X, the constant term is 3....
, which enables us to substitute the second series into the first one and to easily omit terms of higher order than the 7th degree by using the big O notation:

Since the cosine is an even function, the coefficients for all the odd powers x, x3, x5, x7, .. have to be zero.

Second example

Suppose we want the Taylor series at 0 of the function
.
We have for the exponential function
and, as in the first example,
Assume the power series is
Then multiplication with the denominator and substitution of the series of the cosine yields
Collecting the terms up to fourth order yields
Comparing coefficients with the above series of the exponential function yields the desired Taylor series


Taylor series as definitions

Classically, algebraic function
Algebraic function

In mathematics, an algebraic function is informally a Function which satisfies a polynomial equation whose coefficients are themselves polynomials....
s are defined by an algebraic equation, and transcendental function
Transcendental function

A transcendental function is a function that does not satisfy a polynomial equation whose coefficients are themselves polynomials, in contrast to an algebraic function, which does satisfy such an equation....
s (including those discussed above) are defined by some property that holds for them, such as a differential equation
Differential equation

A differential equation is a mathematics equation for an unknown function of one or several variable that relates the values of the function itself and its derivatives of various orders....
. For example the exponential function
Exponential function

The exponential function is a function in mathematics. The application of this function to a value x is written as exp. Equivalently, this can be written in the form ex, where e is the mathematical constant that is the base of the natural logarithm and that is also known as Euler's number....
 is the function which is everywhere equal to its own derivative, and assumes the value 1 at the origin. However, one may equally well define an analytic function
Analytic function

In mathematics, an analytic function is a function that is locally given by a convergent power series. Analytic functions can be thought of as a bridge between polynomials and general functions....
 by its Taylor series.

Taylor series are used to define functions in diverse areas of mathematics. In particular, this is true in areas where the classical definitions of functions break down. For example, using Taylor series, one may define analytical functions of matrices and operators, such as the matrix exponential
Matrix exponential

In mathematics, the matrix exponential is a matrix function on square matrix analogous to the ordinary exponential function. Abstractly, the matrix exponential gives the connection between a matrix Lie algebra and the corresponding Lie group....
 or matrix logarithm.

In other areas, such as formal analysis, it is more convenient to work directly with the power series
Power series

In mathematics, a power series is an infinite series of the formwhere an represents the coefficient of the nth term, c is a constant, and x varies around c ....
 themselves. Thus one may define a solution of a differential equation as a power series which, one hopes to prove, is the Taylor series of the desired solution.

Taylor series in several variables

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


For example, for a function that depends on two variables, x and y, the Taylor series to second order about the point (a, b) is:


where the subscripts denote the respective partial derivative
Partial derivative

In mathematics, a partial derivative of a function of several variables is its derivative with respect to one of those variables with the others held constant ....
s.

A second-order Taylor series expansion of a scalar-valued function of more than one variable can be compactly written as

where is the gradient
Gradient

In vector calculus, the gradient of a scalar field is a vector field which points in the direction of the greatest rate of increase of the scalar field, and whose magnitude is the greatest rate of change....
 and is the Hessian matrix
Hessian matrix

In mathematics, the Hessian matrix is the square matrix of second-order partial derivatives of a function ; that is, it describes the local curvature of a function of many variables....
. Applying the multi-index notation
Multi-index notation

The mathematical notation of multi-indices simplifies formulae used in multivariable calculus, partial differential equations and the theory of distribution s, by generalising the concept of an integer index to a vector of indices....
 the Taylor series for several variables becomes

in full analogy to the single variable case.

See also

  • Taylor's theorem
    Taylor's theorem

    In calculus, Taylor's theorem gives a sequence of approximations of a differentiable function around a given point by polynomials whose coefficients depend only on the derivatives of the function at that point....
  • Linear approximation
    Linear approximation

    In mathematics, a linear approximation is an approximation of a general function using a linear function ....
  • Power series
    Power series

    In mathematics, a power series is an infinite series of the formwhere an represents the coefficient of the nth term, c is a constant, and x varies around c ....
  • Laurent series
    Laurent series

    In mathematics, the Laurent series of a complex function f is a representation of that function as a power series which includes terms of negative degree....
  • Holomorphic functions are analytic
    Holomorphic functions are analytic

    In complex analysis, a field of mathematics, a complex number-valued function f of a complex variable z*is holomorphic function at a point a iff it is differentiable at every point within some open disk centered at a, and...
     — a proof that a holomorphic function can be expressed as a Taylor power series
  • Newton's divided difference interpolation
    Newton polynomial

    In the mathematical field of numerical analysis, a Newton polynomial, named after its inventor Isaac Newton, is the polynomial interpolation polynomial for a given set of data points in the Newton form....
  • Difference engine
    Difference engine

    The Difference Engine was an automatic, mechanical calculator designed to tabulate polynomial. Both logarithmic and trigonometric functions can be Taylor series by polynomials, so a difference engine can compute many useful sets of numbers....
  • Mean value theorem
    Mean value theorem

    In calculus, the mean value theorem states, roughly, that given a section of a Smooth function curve, there is at least one point on that section at which the derivative of the curve is equal to the "average" derivative of the section....
  • Probabilistic interpretation of Taylor series
    Probabilistic interpretation of Taylor series

    Suppose that a function is at least times differentiable in a neighborhood of a point . How can this be used to approximate its value in a point a+h in this neighborhood? The following approach is, a priori, independent of Taylor's Theorem:...


External links

  • ""
  • - where you can choose the point of the approximation and the number of derivatives
  • at