fbpx
Wikipedia

Taylor's theorem

In calculus, Taylor's theorem gives an approximation of a -times differentiable function around a given point by a polynomial of degree , called the -th-order Taylor polynomial. For a smooth function, the Taylor polynomial is the truncation at the order of the Taylor series of the function. The first-order Taylor polynomial is the linear approximation of the function, and the second-order Taylor polynomial is often referred to as the quadratic approximation.[1] There are several versions of Taylor's theorem, some giving explicit estimates of the approximation error of the function by its Taylor polynomial.

The exponential function (red) and the corresponding Taylor polynomial of degree four (dashed green) around the origin.

Taylor's theorem is named after the mathematician Brook Taylor, who stated a version of it in 1715,[2] although an earlier version of the result was already mentioned in 1671 by James Gregory.[3]

Taylor's theorem is taught in introductory-level calculus courses and is one of the central elementary tools in mathematical analysis. It gives simple arithmetic formulas to accurately compute values of many transcendental functions such as the exponential function and trigonometric functions. It is the starting point of the study of analytic functions, and is fundamental in various areas of mathematics, as well as in numerical analysis and mathematical physics. Taylor's theorem also generalizes to multivariate and vector valued functions.

Motivation edit

 
Graph of   (blue) with its linear approximation   (red) at  .

If a real-valued function   is differentiable at the point  , then it has a linear approximation near this point. This means that there exists a function h1(x) such that

 

Here

 

is the linear approximation of   for x near the point a, whose graph   is the tangent line to the graph   at x = a. The error in the approximation is:

 

As x tends to a, this error goes to zero much faster than  , making   a useful approximation.

 
Graph of   (blue) with its quadratic approximation   (red) at  . Note the improvement in the approximation.

For a better approximation to  , we can fit a quadratic polynomial instead of a linear function:

 

Instead of just matching one derivative of   at  , this polynomial has the same first and second derivatives, as is evident upon differentiation.

Taylor's theorem ensures that the quadratic approximation is, in a sufficiently small neighborhood of  , more accurate than the linear approximation. Specifically,

 

Here the error in the approximation is

 

which, given the limiting behavior of  , goes to zero faster than   as x tends to a.

 
Approximation of   (blue) by its Taylor polynomials   of order   centered at   (red) and   (green). The approximations do not improve at all outside   and  , respectively.

Similarly, we might get still better approximations to f if we use polynomials of higher degree, since then we can match even more derivatives with f at the selected base point.

In general, the error in approximating a function by a polynomial of degree k will go to zero much faster than   as x tends to a. However, there are functions, even infinitely differentiable ones, for which increasing the degree of the approximating polynomial does not increase the accuracy of approximation: we say such a function fails to be analytic at x = a: it is not (locally) determined by its derivatives at this point.

Taylor's theorem is of asymptotic nature: it only tells us that the error   in an approximation by a  -th order Taylor polynomial Pk tends to zero faster than any nonzero  -th degree polynomial as  . It does not tell us how large the error is in any concrete neighborhood of the center of expansion, but for this purpose there are explicit formulas for the remainder term (given below) which are valid under some additional regularity assumptions on f. These enhanced versions of Taylor's theorem typically lead to uniform estimates for the approximation error in a small neighborhood of the center of expansion, but the estimates do not necessarily hold for neighborhoods which are too large, even if the function f is analytic. In that situation one may have to select several Taylor polynomials with different centers of expansion to have reliable Taylor-approximations of the original function (see animation on the right.)

There are several ways we might use the remainder term:

  1. Estimate the error for a polynomial Pk(x) of degree k estimating   on a given interval (ar, a + r). (Given the interval and degree, we find the error.)
  2. Find the smallest degree k for which the polynomial Pk(x) approximates   to within a given error tolerance on a given interval (ar, a + r) . (Given the interval and error tolerance, we find the degree.)
  3. Find the largest interval (ar, a + r) on which Pk(x) approximates   to within a given error tolerance. (Given the degree and error tolerance, we find the interval.)

Taylor's theorem in one real variable edit

Statement of the theorem edit

The precise statement of the most basic version of Taylor's theorem is as follows:

Taylor's theorem[4][5][6] — Let k ≥ 1 be an integer and let the function f : RR be k times differentiable at the point aR. Then there exists a function hk : RR such that

 
and
 
This is called the Peano form of the remainder.

The polynomial appearing in Taylor's theorem is the  -th order Taylor polynomial

 

of the function f at the point a. The Taylor polynomial is the unique "asymptotic best fit" polynomial in the sense that if there exists a function hk : RR and a  -th order polynomial p such that

 

then p = Pk. Taylor's theorem describes the asymptotic behavior of the remainder term

 

which is the approximation error when approximating f with its Taylor polynomial. Using the little-o notation, the statement in Taylor's theorem reads as

 

Explicit formulas for the remainder edit

Under stronger regularity assumptions on f there are several precise formulas for the remainder term Rk of the Taylor polynomial, the most common ones being the following.

Mean-value forms of the remainder — Let f : RR be k + 1 times differentiable on the open interval with f(k) continuous on the closed interval between   and  .[7] Then

 

for some real number   between   and  . This is the Lagrange form[8] of the remainder.

Similarly,

 

for some real number   between   and  . This is the Cauchy form[9] of the remainder.

Both can be thought of as specific cases of the following result: Consider  

 
for some real number   between   and  . This is the Schlömilch form of the remainder (sometimes called the Schlömilch-Roché). The choice   is the Lagrange form, whilst the choice   is the Cauchy form.

These refinements of Taylor's theorem are usually proved using the mean value theorem, whence the name. Additionally, notice that this is precisely the mean value theorem when  . Also other similar expressions can be found. For example, if G(t) is continuous on the closed interval and differentiable with a non-vanishing derivative on the open interval between   and  , then

 

for some number   between   and  . This version covers the Lagrange and Cauchy forms of the remainder as special cases, and is proved below using Cauchy's mean value theorem. The Lagrange form is obtained by taking   and the Cauchy form is obtained by taking  .

The statement for the integral form of the remainder is more advanced than the previous ones, and requires understanding of Lebesgue integration theory for the full generality. However, it holds also in the sense of Riemann integral provided the (k + 1)th derivative of f is continuous on the closed interval [a,x].

Integral form of the remainder[10] — Let   be absolutely continuous on the closed interval between   and  . Then

 

Due to absolute continuity of f(k) on the closed interval between   and  , its derivative f(k+1) exists as an L1-function, and the result can be proven by a formal calculation using fundamental theorem of calculus and integration by parts.

Estimates for the remainder edit

It is often useful in practice to be able to estimate the remainder term appearing in the Taylor approximation, rather than having an exact formula for it. Suppose that f is (k + 1)-times continuously differentiable in an interval I containing a. Suppose that there are real constants q and Q such that

 

throughout I. Then the remainder term satisfies the inequality[11]

 

if x > a, and a similar estimate if x < a. This is a simple consequence of the Lagrange form of the remainder. In particular, if

 

on an interval I = (ar,a + r) with some   , then

 

for all x∈(ar,a + r). The second inequality is called a uniform estimate, because it holds uniformly for all x on the interval (ar,a + r).

Example edit

 
Approximation of   (blue) by its Taylor polynomials   of order   centered at   (red).

Suppose that we wish to find the approximate value of the function   on the interval   while ensuring that the error in the approximation is no more than 10−5. In this example we pretend that we only know the following properties of the exponential function:

 

 

 

 

 

()

From these properties it follows that   for all  , and in particular,  . Hence the  -th order Taylor polynomial of   at   and its remainder term in the Lagrange form are given by

 

where   is some number between 0 and x. Since ex is increasing by (), we can simply use   for   to estimate the remainder on the subinterval  . To obtain an upper bound for the remainder on  , we use the property   for   to estimate

 

using the second order Taylor expansion. Then we solve for ex to deduce that

 

simply by maximizing the numerator and minimizing the denominator. Combining these estimates for ex we see that

 

so the required precision is certainly reached, when

 

(See factorial or compute by hand the values   and  .) As a conclusion, Taylor's theorem leads to the approximation

 

For instance, this approximation provides a decimal expression  , correct up to five decimal places.

Relationship to analyticity edit

Taylor expansions of real analytic functions edit

Let IR be an open interval. By definition, a function f : IR is real analytic if it is locally defined by a convergent power series. This means that for every a ∈ I there exists some r > 0 and a sequence of coefficients ck ∈ R such that (ar, a + r) ⊂ I and

 

In general, the radius of convergence of a power series can be computed from the Cauchy–Hadamard formula

 

This result is based on comparison with a geometric series, and the same method shows that if the power series based on a converges for some bR, it must converge uniformly on the closed interval  , where  . Here only the convergence of the power series is considered, and it might well be that (aR,a + R) extends beyond the domain I of f.

The Taylor polynomials of the real analytic function f at a are simply the finite truncations

 

of its locally defining power series, and the corresponding remainder terms are locally given by the analytic functions

 

Here the functions

 

are also analytic, since their defining power series have the same radius of convergence as the original series. Assuming that [ar, a + r]I and r < R, all these series converge uniformly on (ar, a + r). Naturally, in the case of analytic functions one can estimate the remainder term   by the tail of the sequence of the derivatives f′(a) at the center of the expansion, but using complex analysis also another possibility arises, which is described below.

Taylor's theorem and convergence of Taylor series edit

The Taylor series of f will converge in some interval in which all its derivatives are bounded and do not grow too fast as k goes to infinity. (However, even if the Taylor series converges, it might not converge to f, as explained below; f is then said to be non-analytic.)

One might think of the Taylor series

 

of an infinitely many times differentiable function f : RR as its "infinite order Taylor polynomial" at a. Now the estimates for the remainder imply that if, for any r, the derivatives of f are known to be bounded over (a − r, a + r), then for any order k and for any r > 0 there exists a constant Mk,r > 0 such that

 

 

 

 

 

(★★)

for every x ∈ (a − r,a + r). Sometimes the constants Mk,r can be chosen in such way that Mk,r is bounded above, for fixed r and all k. Then the Taylor series of f converges uniformly to some analytic function

 

(One also gets convergence even if Mk,r is not bounded above as long as it grows slowly enough.)

The limit function Tf is by definition always analytic, but it is not necessarily equal to the original function f, even if f is infinitely differentiable. In this case, we say f is a non-analytic smooth function, for example a flat function:

 

Using the chain rule repeatedly by mathematical induction, one shows that for any order k,

 

for some polynomial pk of degree 2(k − 1). The function   tends to zero faster than any polynomial as  , so f is infinitely many times differentiable and f(k)(0) = 0 for every positive integer k. The above results all hold in this case:

  • The Taylor series of f converges uniformly to the zero function Tf(x) = 0, which is analytic with all coefficients equal to zero.
  • The function f is unequal to this Taylor series, and hence non-analytic.
  • For any order k ∈ N and radius r > 0 there exists Mk,r > 0 satisfying the remainder bound (★★) above.

However, as k increases for fixed r, the value of Mk,r grows more quickly than rk, and the error does not go to zero.

Taylor's theorem in complex analysis edit

Taylor's theorem generalizes to functions f : CC which are complex differentiable in an open subset U ⊂ C of the complex plane. However, its usefulness is dwarfed by other general theorems in complex analysis. Namely, stronger versions of related results can be deduced for complex differentiable functions f : U → C using Cauchy's integral formula as follows.

Let r > 0 such that the closed disk B(zr) ∪ S(zr) is contained in U. Then Cauchy's integral formula with a positive parametrization γ(t) = z + reit of the circle S(z, r) with   gives

 

Here all the integrands are continuous on the circle S(zr), which justifies differentiation under the integral sign. In particular, if f is once complex differentiable on the open set U, then it is actually infinitely many times complex differentiable on U. One also obtains the Cauchy's estimates[12]

 

for any z ∈ U and r > 0 such that B(zr) ∪ S(cr) ⊂ U. These estimates imply that the complex Taylor series

 

of f converges uniformly on any open disk   with   into some function Tf. Furthermore, using the contour integral formulas for the derivatives f(k)(c),

 

so any complex differentiable function f in an open set U ⊂ C is in fact complex analytic. All that is said for real analytic functions here holds also for complex analytic functions with the open interval I replaced by an open subset U ∈ C and a-centered intervals (a − ra + r) replaced by c-centered disks B(cr). In particular, the Taylor expansion holds in the form

 

where the remainder term Rk is complex analytic. Methods of complex analysis provide some powerful results regarding Taylor expansions. For example, using Cauchy's integral formula for any positively oriented Jordan curve   which parametrizes the boundary   of a region  , one obtains expressions for the derivatives f(j)(c) as above, and modifying slightly the computation for Tf(z) = f(z), one arrives at the exact formula

 

The important feature here is that the quality of the approximation by a Taylor polynomial on the region   is dominated by the values of the function f itself on the boundary  . Similarly, applying Cauchy's estimates to the series expression for the remainder, one obtains the uniform estimates

 

Example edit

 
Complex plot of  . Modulus is shown by elevation and argument by coloring: cyan =  , blue =  , violet =  , red =  , yellow =  , green =  .

The function

 

is real analytic, that is, locally determined by its Taylor series. This function was plotted above to illustrate the fact that some elementary functions cannot be approximated by Taylor polynomials in neighborhoods of the center of expansion which are too large. This kind of behavior is easily understood in the framework of complex analysis. Namely, the function f extends into a meromorphic function

 

on the compactified complex plane. It has simple poles at   and  , and it is analytic elsewhere. Now its Taylor series centered at z0 converges on any disc B(z0, r) with r < |z − z0|, where the same Taylor series converges at z ∈ C. Therefore, Taylor series of f centered at 0 converges on B(0, 1) and it does not converge for any zC with |z| > 1 due to the poles at i and −i. For the same reason the Taylor series of f centered at 1 converges on   and does not converge for any z ∈ C with  .

Generalizations of Taylor's theorem edit

Higher-order differentiability edit

A function f: RnR is differentiable at aRn if and only if there exists a linear functional L : RnR and a function h : RnR such that

 

If this is the case, then   is the (uniquely defined) differential of f at the point a. Furthermore, then the partial derivatives of f exist at a and the differential of f at a is given by

 

Introduce the multi-index notation

 

for αNn and xRn. If all the  -th order partial derivatives of f : RnR are continuous at aRn, then by Clairaut's theorem, one can change the order of mixed derivatives at a, so the notation

 

for the higher order partial derivatives is justified in this situation. The same is true if all the (k − 1)-th order partial derivatives of f exist in some neighborhood of a and are differentiable at a.[13] Then we say that f is k times differentiable at the point a.

Taylor's theorem for multivariate functions edit

Using notations of the preceding section, one has the following theorem.

Multivariate version of Taylor's theorem[14] — Let f : RnR be a k-times continuously differentiable function at the point aRn. Then there exist functions hα : RnR, where   such that

 

If the function f : RnR is k + 1 times continuously differentiable in a closed ball   for some  , then one can derive an exact formula for the remainder in terms of (k+1)-th order partial derivatives of f in this neighborhood.[15] Namely,

 

In this case, due to the continuity of (k+1)-th order partial derivatives in the compact set B, one immediately obtains the uniform estimates

 

Example in two dimensions edit

For example, the third-order Taylor polynomial of a smooth function   is, denoting  ,

 

Proofs edit

Proof for Taylor's theorem in one real variable edit

Let[16]

 

where, as in the statement of Taylor's theorem,

 

It is sufficient to show that

 

The proof here is based on repeated application of L'Hôpital's rule. Note that, for each  ,  . Hence each of the first   derivatives of the numerator in   vanishes at  , and the same is true of the denominator. Also, since the condition that the function   be   times differentiable at a point requires differentiability up to order   in a neighborhood of said point (this is true, because differentiability requires a function to be defined in a whole neighborhood of a point), the numerator and its   derivatives are differentiable in a neighborhood of  . Clearly, the denominator also satisfies said condition, and additionally, doesn't vanish unless  , therefore all conditions necessary for L'Hôpital's rule are fulfilled, and its use is justified. So

 

where the second-to-last equality follows by the definition of the derivative at  .

Alternate proof for Taylor's theorem in one real variable edit

Let   be any real-valued continuous function to be approximated by the Taylor polynomial.

Step 1: Let   and   be functions. Set   and   to be

 
 

Step 2: Properties of   and  :

 

Similarly,

 
 

Step 3: Use Cauchy Mean Value Theorem

Let   and   be continuous functions on  . Since   so we can work with the interval  . Let   and   be differentiable on  . Assume   for all  . Then there exists   such that

 

Note:   in   and   so

 

for some  .

This can also be performed for  :

 

for some  . This can be continued to  .

This gives a partition in  :

 

with

 

Set  :

 

Step 4: Substitute back

 

By the Power Rule, repeated derivatives of  ,  , so:

 

This leads to:

 

By rearranging, we get:

 

or because   eventually:

 

Derivation for the mean value forms of the remainder edit

Let G be any real-valued function, continuous on the closed interval between   and   and differentiable with a non-vanishing derivative on the open interval between

taylor, theorem, calculus, gives, approximation, textstyle, times, differentiable, function, around, given, point, polynomial, degree, textstyle, called, textstyle, order, taylor, polynomial, smooth, function, taylor, polynomial, truncation, order, textstyle, . In calculus Taylor s theorem gives an approximation of a k textstyle k times differentiable function around a given point by a polynomial of degree k textstyle k called the k textstyle k th order Taylor polynomial For a smooth function the Taylor polynomial is the truncation at the order k textstyle k of the Taylor series of the function The first order Taylor polynomial is the linear approximation of the function and the second order Taylor polynomial is often referred to as the quadratic approximation 1 There are several versions of Taylor s theorem some giving explicit estimates of the approximation error of the function by its Taylor polynomial The exponential function y e x textstyle y e x red and the corresponding Taylor polynomial of degree four dashed green around the origin Taylor s theorem is named after the mathematician Brook Taylor who stated a version of it in 1715 2 although an earlier version of the result was already mentioned in 1671 by James Gregory 3 Taylor s theorem is taught in introductory level calculus courses and is one of the central elementary tools in mathematical analysis It gives simple arithmetic formulas to accurately compute values of many transcendental functions such as the exponential function and trigonometric functions It is the starting point of the study of analytic functions and is fundamental in various areas of mathematics as well as in numerical analysis and mathematical physics Taylor s theorem also generalizes to multivariate and vector valued functions Contents 1 Motivation 2 Taylor s theorem in one real variable 2 1 Statement of the theorem 2 2 Explicit formulas for the remainder 2 3 Estimates for the remainder 2 4 Example 3 Relationship to analyticity 3 1 Taylor expansions of real analytic functions 3 2 Taylor s theorem and convergence of Taylor series 3 3 Taylor s theorem in complex analysis 3 4 Example 4 Generalizations of Taylor s theorem 4 1 Higher order differentiability 4 2 Taylor s theorem for multivariate functions 4 3 Example in two dimensions 5 Proofs 5 1 Proof for Taylor s theorem in one real variable 5 2 Alternate proof for Taylor s theorem in one real variable 5 3 Derivation for the mean value forms of the remainder 5 4 Derivation for the integral form of the remainder 5 5 Derivation for the remainder of multivariate Taylor polynomials 6 See also 7 Footnotes 8 References 9 External linksMotivation edit nbsp Graph of f x e x textstyle f x e x nbsp blue with its linear approximation P 1 x 1 x textstyle P 1 x 1 x nbsp red at a 0 textstyle a 0 nbsp If a real valued function f x textstyle f x nbsp is differentiable at the point x a textstyle x a nbsp then it has a linear approximation near this point This means that there exists a function h1 x such thatf x f a f a x a h 1 x x a lim x a h 1 x 0 displaystyle f x f a f a x a h 1 x x a quad lim x to a h 1 x 0 nbsp HereP 1 x f a f a x a displaystyle P 1 x f a f a x a nbsp is the linear approximation of f x textstyle f x nbsp for x near the point a whose graph y P 1 x textstyle y P 1 x nbsp is the tangent line to the graph y f x textstyle y f x nbsp at x a The error in the approximation is R 1 x f x P 1 x h 1 x x a displaystyle R 1 x f x P 1 x h 1 x x a nbsp As x tends to a this error goes to zero much faster than f a x a displaystyle f a x a nbsp making f x P 1 x displaystyle f x approx P 1 x nbsp a useful approximation nbsp Graph of f x e x textstyle f x e x nbsp blue with its quadratic approximation P 2 x 1 x x 2 2 displaystyle P 2 x 1 x dfrac x 2 2 nbsp red at a 0 textstyle a 0 nbsp Note the improvement in the approximation For a better approximation to f x textstyle f x nbsp we can fit a quadratic polynomial instead of a linear function P 2 x f a f a x a f a 2 x a 2 displaystyle P 2 x f a f a x a frac f a 2 x a 2 nbsp Instead of just matching one derivative of f x textstyle f x nbsp at x a textstyle x a nbsp this polynomial has the same first and second derivatives as is evident upon differentiation Taylor s theorem ensures that the quadratic approximation is in a sufficiently small neighborhood of x a textstyle x a nbsp more accurate than the linear approximation Specifically f x P 2 x h 2 x x a 2 lim x a h 2 x 0 displaystyle f x P 2 x h 2 x x a 2 quad lim x to a h 2 x 0 nbsp Here the error in the approximation isR 2 x f x P 2 x h 2 x x a 2 displaystyle R 2 x f x P 2 x h 2 x x a 2 nbsp which given the limiting behavior of h 2 displaystyle h 2 nbsp goes to zero faster than x a 2 displaystyle x a 2 nbsp as x tends to a nbsp Approximation of f x 1 1 x 2 textstyle f x dfrac 1 1 x 2 nbsp blue by its Taylor polynomials P k textstyle P k nbsp of order k 1 16 textstyle k 1 ldots 16 nbsp centered at x 0 textstyle x 0 nbsp red and x 1 textstyle x 1 nbsp green The approximations do not improve at all outside 1 1 displaystyle 1 1 nbsp and 1 2 1 2 textstyle 1 sqrt 2 1 sqrt 2 nbsp respectively Similarly we might get still better approximations to f if we use polynomials of higher degree since then we can match even more derivatives with f at the selected base point In general the error in approximating a function by a polynomial of degree k will go to zero much faster than x a k displaystyle x a k nbsp as x tends to a However there are functions even infinitely differentiable ones for which increasing the degree of the approximating polynomial does not increase the accuracy of approximation we say such a function fails to be analytic at x a it is not locally determined by its derivatives at this point Taylor s theorem is of asymptotic nature it only tells us that the error R k textstyle R k nbsp in an approximation by a k textstyle k nbsp th order Taylor polynomial Pk tends to zero faster than any nonzero k textstyle k nbsp th degree polynomial as x a textstyle x to a nbsp It does not tell us how large the error is in any concrete neighborhood of the center of expansion but for this purpose there are explicit formulas for the remainder term given below which are valid under some additional regularity assumptions on f These enhanced versions of Taylor s theorem typically lead to uniform estimates for the approximation error in a small neighborhood of the center of expansion but the estimates do not necessarily hold for neighborhoods which are too large even if the function f is analytic In that situation one may have to select several Taylor polynomials with different centers of expansion to have reliable Taylor approximations of the original function see animation on the right There are several ways we might use the remainder term Estimate the error for a polynomial Pk x of degree k estimating f x textstyle f x nbsp on a given interval a r a r Given the interval and degree we find the error Find the smallest degree k for which the polynomial Pk x approximates f x textstyle f x nbsp to within a given error tolerance on a given interval a r a r Given the interval and error tolerance we find the degree Find the largest interval a r a r on which Pk x approximates f x textstyle f x nbsp to within a given error tolerance Given the degree and error tolerance we find the interval Taylor s theorem in one real variable editStatement of the theorem edit The precise statement of the most basic version of Taylor s theorem is as follows Taylor s theorem 4 5 6 Let k 1 be an integer and let the function f R R be k times differentiable at the point a R Then there exists a function hk R R such thatf x f a f a x a f a 2 x a 2 f k a k x a k h k x x a k displaystyle f x f a f a x a frac f a 2 x a 2 cdots frac f k a k x a k h k x x a k nbsp and lim x a h k x 0 displaystyle lim x to a h k x 0 nbsp This is called the Peano form of the remainder The polynomial appearing in Taylor s theorem is the k textstyle boldsymbol k nbsp th order Taylor polynomialP k x f a f a x a f a 2 x a 2 f k a k x a k displaystyle P k x f a f a x a frac f a 2 x a 2 cdots frac f k a k x a k nbsp of the function f at the point a The Taylor polynomial is the unique asymptotic best fit polynomial in the sense that if there exists a function hk R R and a k textstyle k nbsp th order polynomial p such thatf x p x h k x x a k lim x a h k x 0 displaystyle f x p x h k x x a k quad lim x to a h k x 0 nbsp then p Pk Taylor s theorem describes the asymptotic behavior of the remainder termR k x f x P k x displaystyle R k x f x P k x nbsp which is the approximation error when approximating f with its Taylor polynomial Using the little o notation the statement in Taylor s theorem reads asR k x o x a k x a displaystyle R k x o x a k quad x to a nbsp Explicit formulas for the remainder edit Under stronger regularity assumptions on f there are several precise formulas for the remainder term Rk of the Taylor polynomial the most common ones being the following Mean value forms of the remainder Let f R R be k 1 times differentiable on the open interval with f k continuous on the closed interval between a textstyle a nbsp and x textstyle x nbsp 7 ThenR k x f k 1 3 L k 1 x a k 1 displaystyle R k x frac f k 1 xi L k 1 x a k 1 nbsp for some real number 3 L textstyle xi L nbsp between a textstyle a nbsp and x textstyle x nbsp This is the Lagrange form 8 of the remainder Similarly R k x f k 1 3 C k x 3 C k x a displaystyle R k x frac f k 1 xi C k x xi C k x a nbsp for some real number 3 C textstyle xi C nbsp between a textstyle a nbsp and x textstyle x nbsp This is the Cauchy form 9 of the remainder Both can be thought of as specific cases of the following result Consider p gt 0 displaystyle p gt 0 nbsp R k x f k 1 3 S k x 3 S k 1 p x a p p displaystyle R k x frac f k 1 xi S k x xi S k 1 p frac x a p p nbsp for some real number 3 S textstyle xi S nbsp between a textstyle a nbsp and x textstyle x nbsp This is the Schlomilch form of the remainder sometimes called the Schlomilch Roche The choice p k 1 textstyle p k 1 nbsp is the Lagrange form whilst the choice p 1 textstyle p 1 nbsp is the Cauchy form These refinements of Taylor s theorem are usually proved using the mean value theorem whence the name Additionally notice that this is precisely the mean value theorem when k 0 textstyle k 0 nbsp Also other similar expressions can be found For example if G t is continuous on the closed interval and differentiable with a non vanishing derivative on the open interval between a textstyle a nbsp and x textstyle x nbsp thenR k x f k 1 3 k x 3 k G x G a G 3 displaystyle R k x frac f k 1 xi k x xi k frac G x G a G xi nbsp for some number 3 textstyle xi nbsp between a textstyle a nbsp and x textstyle x nbsp This version covers the Lagrange and Cauchy forms of the remainder as special cases and is proved below using Cauchy s mean value theorem The Lagrange form is obtained by taking G t x t k 1 displaystyle G t x t k 1 nbsp and the Cauchy form is obtained by taking G t t a displaystyle G t t a nbsp The statement for the integral form of the remainder is more advanced than the previous ones and requires understanding of Lebesgue integration theory for the full generality However it holds also in the sense of Riemann integral provided the k 1 th derivative of f is continuous on the closed interval a x Integral form of the remainder 10 Let f k textstyle f k nbsp be absolutely continuous on the closed interval between a textstyle a nbsp and x textstyle x nbsp ThenR k x a x f k 1 t k x t k d t displaystyle R k x int a x frac f k 1 t k x t k dt nbsp Due to absolute continuity of f k on the closed interval between a textstyle a nbsp and x textstyle x nbsp its derivative f k 1 exists as an L1 function and the result can be proven by a formal calculation using fundamental theorem of calculus and integration by parts Estimates for the remainder edit It is often useful in practice to be able to estimate the remainder term appearing in the Taylor approximation rather than having an exact formula for it Suppose that f is k 1 times continuously differentiable in an interval I containing a Suppose that there are real constants q and Q such thatq f k 1 x Q displaystyle q leq f k 1 x leq Q nbsp throughout I Then the remainder term satisfies the inequality 11 q x a k 1 k 1 R k x Q x a k 1 k 1 displaystyle q frac x a k 1 k 1 leq R k x leq Q frac x a k 1 k 1 nbsp if x gt a and a similar estimate if x lt a This is a simple consequence of the Lagrange form of the remainder In particular if f k 1 x M displaystyle f k 1 x leq M nbsp on an interval I a r a r with some r gt 0 displaystyle r gt 0 nbsp then R k x M x a k 1 k 1 M r k 1 k 1 displaystyle R k x leq M frac x a k 1 k 1 leq M frac r k 1 k 1 nbsp for all x a r a r The second inequality is called a uniform estimate because it holds uniformly for all x on the interval a r a r Example edit nbsp Approximation of e x textstyle e x nbsp blue by its Taylor polynomials P k displaystyle P k nbsp of order k 1 7 textstyle k 1 ldots 7 nbsp centered at x 0 textstyle x 0 nbsp red Suppose that we wish to find the approximate value of the function f x e x textstyle f x e x nbsp on the interval 1 1 textstyle 1 1 nbsp while ensuring that the error in the approximation is no more than 10 5 In this example we pretend that we only know the following properties of the exponential function e 0 1 d d x e x e x e x gt 0 x R displaystyle e 0 1 qquad frac d dx e x e x qquad e x gt 0 qquad x in mathbb R nbsp From these properties it follows that f k x e x textstyle f k x e x nbsp for all k textstyle k nbsp and in particular f k 0 1 textstyle f k 0 1 nbsp Hence the k textstyle k nbsp th order Taylor polynomial of f textstyle f nbsp at 0 textstyle 0 nbsp and its remainder term in the Lagrange form are given byP k x 1 x x 2 2 x k k R k x e 3 k 1 x k 1 displaystyle P k x 1 x frac x 2 2 cdots frac x k k qquad R k x frac e xi k 1 x k 1 nbsp where 3 textstyle xi nbsp is some number between 0 and x Since ex is increasing by we can simply use e x 1 textstyle e x leq 1 nbsp for x 1 0 textstyle x in 1 0 nbsp to estimate the remainder on the subinterval 1 0 displaystyle 1 0 nbsp To obtain an upper bound for the remainder on 0 1 displaystyle 0 1 nbsp we use the property e 3 lt e x textstyle e xi lt e x nbsp for 0 lt 3 lt x textstyle 0 lt xi lt x nbsp to estimatee x 1 x e 3 2 x 2 lt 1 x e x 2 x 2 0 lt x 1 displaystyle e x 1 x frac e xi 2 x 2 lt 1 x frac e x 2 x 2 qquad 0 lt x leq 1 nbsp using the second order Taylor expansion Then we solve for ex to deduce thate x 1 x 1 x 2 2 2 1 x 2 x 2 4 0 x 1 displaystyle e x leq frac 1 x 1 frac x 2 2 2 frac 1 x 2 x 2 leq 4 qquad 0 leq x leq 1 nbsp simply by maximizing the numerator and minimizing the denominator Combining these estimates for ex we see that R k x 4 x k 1 k 1 4 k 1 1 x 1 displaystyle R k x leq frac 4 x k 1 k 1 leq frac 4 k 1 qquad 1 leq x leq 1 nbsp so the required precision is certainly reached when4 k 1 lt 10 5 4 10 5 lt k 1 k 9 displaystyle frac 4 k 1 lt 10 5 quad Longleftrightarrow quad 4 cdot 10 5 lt k 1 quad Longleftrightarrow quad k geq 9 nbsp See factorial or compute by hand the values 9 362880 textstyle 9 362880 nbsp and 10 3628800 textstyle 10 3628800 nbsp As a conclusion Taylor s theorem leads to the approximatione x 1 x x 2 2 x 9 9 R 9 x R 9 x lt 10 5 1 x 1 displaystyle e x 1 x frac x 2 2 cdots frac x 9 9 R 9 x qquad R 9 x lt 10 5 qquad 1 leq x leq 1 nbsp For instance this approximation provides a decimal expression e 2 71828 displaystyle e approx 2 71828 nbsp correct up to five decimal places Relationship to analyticity editTaylor expansions of real analytic functions edit Let I R be an open interval By definition a function f I R is real analytic if it is locally defined by a convergent power series This means that for every a I there exists some r gt 0 and a sequence of coefficients ck R such that a r a r I andf x k 0 c k x a k c 0 c 1 x a c 2 x a 2 x a lt r displaystyle f x sum k 0 infty c k x a k c 0 c 1 x a c 2 x a 2 cdots qquad x a lt r nbsp In general the radius of convergence of a power series can be computed from the Cauchy Hadamard formula1 R lim sup k c k 1 k displaystyle frac 1 R limsup k to infty c k frac 1 k nbsp This result is based on comparison with a geometric series and the same method shows that if the power series based on a converges for some b R it must converge uniformly on the closed interval a r b a r b textstyle a r b a r b nbsp where r b b a textstyle r b left vert b a right vert nbsp Here only the convergence of the power series is considered and it might well be that a R a R extends beyond the domain I of f The Taylor polynomials of the real analytic function f at a are simply the finite truncationsP k x j 0 k c j x a j c j f j a j displaystyle P k x sum j 0 k c j x a j qquad c j frac f j a j nbsp of its locally defining power series and the corresponding remainder terms are locally given by the analytic functionsR k x j k 1 c j x a j x a k h k x x a lt r displaystyle R k x sum j k 1 infty c j x a j x a k h k x qquad x a lt r nbsp Here the functionsh k a r a r R h k x x a j 0 c k 1 j x a j displaystyle begin aligned amp h k a r a r to mathbb R 1ex amp h k x x a sum j 0 infty c k 1 j left x a right j end aligned nbsp are also analytic since their defining power series have the same radius of convergence as the original series Assuming that a r a r I and r lt R all these series converge uniformly on a r a r Naturally in the case of analytic functions one can estimate the remainder term R k x textstyle R k x nbsp by the tail of the sequence of the derivatives f a at the center of the expansion but using complex analysis also another possibility arises which is described below Taylor s theorem and convergence of Taylor series edit The Taylor series of f will converge in some interval in which all its derivatives are bounded and do not grow too fast as k goes to infinity However even if the Taylor series converges it might not converge to f as explained below f is then said to be non analytic One might think of the Taylor seriesf x k 0 c k x a k c 0 c 1 x a c 2 x a 2 displaystyle f x approx sum k 0 infty c k x a k c 0 c 1 x a c 2 x a 2 cdots nbsp of an infinitely many times differentiable function f R R as its infinite order Taylor polynomial at a Now the estimates for the remainder imply that if for any r the derivatives of f are known to be bounded over a r a r then for any order k and for any r gt 0 there exists a constant Mk r gt 0 such that R k x M k r x a k 1 k 1 displaystyle R k x leq M k r frac x a k 1 k 1 nbsp for every x a r a r Sometimes the constants Mk r can be chosen in such way that Mk r is bounded above for fixed r and all k Then the Taylor series of f converges uniformly to some analytic functionT f a r a r R T f x k 0 f k a k x a k displaystyle begin aligned amp T f a r a r to mathbb R amp T f x sum k 0 infty frac f k a k left x a right k end aligned nbsp One also gets convergence even if Mk r is not bounded above as long as it grows slowly enough The limit function Tf is by definition always analytic but it is not necessarily equal to the original function f even if f is infinitely differentiable In this case we say f is a non analytic smooth function for example a flat function f R R f x e 1 x 2 x gt 0 0 x 0 displaystyle begin aligned amp f mathbb R to mathbb R amp f x begin cases e frac 1 x 2 amp x gt 0 0 amp x leq 0 end cases end aligned nbsp Using the chain rule repeatedly by mathematical induction one shows that for any order k f k x p k x x 3 k e 1 x 2 x gt 0 0 x 0 displaystyle f k x begin cases frac p k x x 3k cdot e frac 1 x 2 amp x gt 0 0 amp x leq 0 end cases nbsp for some polynomial pk of degree 2 k 1 The function e 1 x 2 displaystyle e frac 1 x 2 nbsp tends to zero faster than any polynomial as x 0 textstyle x to 0 nbsp so f is infinitely many times differentiable and f k 0 0 for every positive integer k The above results all hold in this case The Taylor series of f converges uniformly to the zero function Tf x 0 which is analytic with all coefficients equal to zero The function f is unequal to this Taylor series and hence non analytic For any order k N and radius r gt 0 there exists Mk r gt 0 satisfying the remainder bound above However as k increases for fixed r the value of Mk r grows more quickly than rk and the error does not go to zero Taylor s theorem in complex analysis edit Taylor s theorem generalizes to functions f C C which are complex differentiable in an open subset U C of the complex plane However its usefulness is dwarfed by other general theorems in complex analysis Namely stronger versions of related results can be deduced for complex differentiable functions f U C using Cauchy s integral formula as follows Let r gt 0 such that the closed disk B z r S z r is contained in U Then Cauchy s integral formula with a positive parametrization g t z reit of the circle S z r with t 0 2 p displaystyle t in 0 2 pi nbsp givesf z 1 2 p i g f w w z d w f z 1 2 p i g f w w z 2 d w f k z k 2 p i g f w w z k 1 d w displaystyle f z frac 1 2 pi i int gamma frac f w w z dw quad f z frac 1 2 pi i int gamma frac f w w z 2 dw quad ldots quad f k z frac k 2 pi i int gamma frac f w w z k 1 dw nbsp Here all the integrands are continuous on the circle S z r which justifies differentiation under the integral sign In particular if f is once complex differentiable on the open set U then it is actually infinitely many times complex differentiable on U One also obtains the Cauchy s estimates 12 f k z k 2 p g M r w z k 1 d w k M r r k M r max w c r f w displaystyle f k z leq frac k 2 pi int gamma frac M r w z k 1 dw frac k M r r k quad M r max w c r f w nbsp for any z U and r gt 0 such that B z r S c r U These estimates imply that the complex Taylor seriesT f z k 0 f k c k z c k displaystyle T f z sum k 0 infty frac f k c k z c k nbsp of f converges uniformly on any open disk B c r U textstyle B c r subset U nbsp with S c r U textstyle S c r subset U nbsp into some function Tf Furthermore using the contour integral formulas for the derivatives f k c T f z k 0 z c k 2 p i g f w w c k 1 d w 1 2 p i g f w w c k 0 z c w c k d w 1 2 p i g f w w c 1 1 z c w c d w 1 2 p i g f w w z d w f z displaystyle begin aligned T f z amp sum k 0 infty frac z c k 2 pi i int gamma frac f w w c k 1 dw amp frac 1 2 pi i int gamma frac f w w c sum k 0 infty left frac z c w c right k dw amp frac 1 2 pi i int gamma frac f w w c left frac 1 1 frac z c w c right dw amp frac 1 2 pi i int gamma frac f w w z dw f z end aligned nbsp so any complex differentiable function f in an open set U C is in fact complex analytic All that is said for real analytic functions here holds also for complex analytic functions with the open interval I replaced by an open subset U C and a centered intervals a r a r replaced by c centered disks B c r In particular the Taylor expansion holds in the formf z P k z R k z P k z j 0 k f j c j z c j displaystyle f z P k z R k z quad P k z sum j 0 k frac f j c j z c j nbsp where the remainder term Rk is complex analytic Methods of complex analysis provide some powerful results regarding Taylor expansions For example using Cauchy s integral formula for any positively oriented Jordan curve g textstyle gamma nbsp which parametrizes the boundary W U textstyle partial W subset U nbsp of a region W U textstyle W subset U nbsp one obtains expressions for the derivatives f j c as above and modifying slightly the computation for Tf z f z one arrives at the exact formulaR k z j k 1 z c j 2 p i g f w w c j 1 d w z c k 1 2 p i g f w d w w c k 1 w z z W displaystyle R k z sum j k 1 infty frac z c j 2 pi i int gamma frac f w w c j 1 dw frac z c k 1 2 pi i int gamma frac f w dw w c k 1 w z qquad z in W nbsp The important feature here is that the quality of the approximation by a Taylor polynomial on the region W U textstyle W subset U nbsp is dominated by the values of the function f itself on the boundary W U textstyle partial W subset U nbsp Similarly applying Cauchy s estimates to the series expression for the remainder one obtains the uniform estimates R k z j k 1 M r z c j r j M r r k 1 z c k 1 1 z c r M r b k 1 1 b z c r b lt 1 displaystyle R k z leq sum j k 1 infty frac M r z c j r j frac M r r k 1 frac z c k 1 1 frac z c r leq frac M r beta k 1 1 beta qquad frac z c r leq beta lt 1 nbsp Example edit nbsp Complex plot of f z 1 1 z 2 textstyle f z frac 1 1 z 2 nbsp Modulus is shown by elevation and argument by coloring cyan 0 textstyle 0 nbsp blue p 3 textstyle frac pi 3 nbsp violet 2 p 3 textstyle frac 2 pi 3 nbsp red p displaystyle pi nbsp yellow 4 p 3 textstyle frac 4 pi 3 nbsp green 5 p 3 textstyle frac 5 pi 3 nbsp The functionf R R f x 1 1 x 2 displaystyle begin aligned amp f mathbb R to mathbb R amp f x frac 1 1 x 2 end aligned nbsp is real analytic that is locally determined by its Taylor series This function was plotted above to illustrate the fact that some elementary functions cannot be approximated by Taylor polynomials in neighborhoods of the center of expansion which are too large This kind of behavior is easily understood in the framework of complex analysis Namely the function f extends into a meromorphic functionf C C f z 1 1 z 2 displaystyle begin aligned amp f mathbb C cup infty to mathbb C cup infty amp f z frac 1 1 z 2 end aligned nbsp on the compactified complex plane It has simple poles at z i textstyle z i nbsp and z i textstyle z i nbsp and it is analytic elsewhere Now its Taylor series centered at z0 converges on any disc B z0 r with r lt z z0 where the same Taylor series converges at z C Therefore Taylor series of f centered at 0 converges on B 0 1 and it does not converge for any z C with z gt 1 due to the poles at i and i For the same reason the Taylor series of f centered at 1 converges on B 1 2 textstyle B 1 sqrt 2 nbsp and does not converge for any z C with z 1 gt 2 textstyle left vert z 1 right vert gt sqrt 2 nbsp Generalizations of Taylor s theorem editHigher order differentiability edit A function f Rn R is differentiable at a Rn if and only if there exists a linear functional L Rn R and a function h Rn R such thatf x f a L x a h x x a lim x a h x 0 displaystyle f boldsymbol x f boldsymbol a L boldsymbol x boldsymbol a h boldsymbol x lVert boldsymbol x boldsymbol a rVert qquad lim boldsymbol x to boldsymbol a h boldsymbol x 0 nbsp If this is the case then L d f a textstyle L df boldsymbol a nbsp is the uniquely defined differential of f at the point a Furthermore then the partial derivatives of f exist at a and the differential of f at a is given byd f a v f x 1 a v 1 f x n a v n displaystyle df boldsymbol a boldsymbol v frac partial f partial x 1 boldsymbol a v 1 cdots frac partial f partial x n boldsymbol a v n nbsp Introduce the multi index notation a a 1 a n a a 1 a n x a x 1 a 1 x n a n displaystyle alpha alpha 1 cdots alpha n quad alpha alpha 1 cdots alpha n quad boldsymbol x alpha x 1 alpha 1 cdots x n alpha n nbsp for a Nn and x Rn If all the k textstyle k nbsp th order partial derivatives of f Rn R are continuous at a Rn then by Clairaut s theorem one can change the order of mixed derivatives at a so the notationD a f a f x 1 a 1 x n a n a k displaystyle D alpha f frac partial alpha f partial x 1 alpha 1 cdots partial x n alpha n qquad alpha leq k nbsp for the higher order partial derivatives is justified in this situation The same is true if all the k 1 th order partial derivatives of f exist in some neighborhood of a and are differentiable at a 13 Then we say that f is k times differentiable at the point a Taylor s theorem for multivariate functions edit Using notations of the preceding section one has the following theorem Multivariate version of Taylor s theorem 14 Let f Rn R be a k times continuously differentiable function at the point a Rn Then there exist functions ha Rn R where a k displaystyle alpha k nbsp such thatf x a k D a f a a x a a a k h a x x a a and lim x a h a x 0 displaystyle begin aligned amp f boldsymbol x sum alpha leq k frac D alpha f boldsymbol a alpha boldsymbol x boldsymbol a alpha sum alpha k h alpha boldsymbol x boldsymbol x boldsymbol a alpha amp mbox and quad lim boldsymbol x to boldsymbol a h alpha boldsymbol x 0 end aligned nbsp If the function f Rn R is k 1 times continuously differentiable in a closed ball B y R n a y r displaystyle B mathbf y in mathbb R n left mathbf a mathbf y right leq r nbsp for some r gt 0 displaystyle r gt 0 nbsp then one can derive an exact formula for the remainder in terms of k 1 th order partial derivatives of f in this neighborhood 15 Namely f x a k D a f a a x a a b k 1 R b x x a b R b x b b 0 1 1 t b 1 D b f a t x a d t displaystyle begin aligned amp f boldsymbol x sum alpha leq k frac D alpha f boldsymbol a alpha boldsymbol x boldsymbol a alpha sum beta k 1 R beta boldsymbol x boldsymbol x boldsymbol a beta amp R beta boldsymbol x frac beta beta int 0 1 1 t beta 1 D beta f big boldsymbol a t boldsymbol x boldsymbol a big dt end aligned nbsp In this case due to the continuity of k 1 th order partial derivatives in the compact set B one immediately obtains the uniform estimates R b x 1 b max a b max y B D a f y x B displaystyle left R beta boldsymbol x right leq frac 1 beta max alpha beta max boldsymbol y in B D alpha f boldsymbol y qquad boldsymbol x in B nbsp Example in two dimensions edit For example the third order Taylor polynomial of a smooth function f R 2 R displaystyle f mathbb R 2 to mathbb R nbsp is denoting x a v displaystyle boldsymbol x boldsymbol a boldsymbol v nbsp P 3 x f a f x 1 a v 1 f x 2 a v 2 2 f x 1 2 a v 1 2 2 2 f x 1 x 2 a v 1 v 2 2 f x 2 2 a v 2 2 2 3 f x 1 3 a v 1 3 3 3 f x 1 2 x 2 a v 1 2 v 2 2 3 f x 1 x 2 2 a v 1 v 2 2 2 3 f x 2 3 a v 2 3 3 displaystyle begin aligned P 3 boldsymbol x f boldsymbol a amp frac partial f partial x 1 boldsymbol a v 1 frac partial f partial x 2 boldsymbol a v 2 frac partial 2 f partial x 1 2 boldsymbol a frac v 1 2 2 frac partial 2 f partial x 1 partial x 2 boldsymbol a v 1 v 2 frac partial 2 f partial x 2 2 boldsymbol a frac v 2 2 2 amp frac partial 3 f partial x 1 3 boldsymbol a frac v 1 3 3 frac partial 3 f partial x 1 2 partial x 2 boldsymbol a frac v 1 2 v 2 2 frac partial 3 f partial x 1 partial x 2 2 boldsymbol a frac v 1 v 2 2 2 frac partial 3 f partial x 2 3 boldsymbol a frac v 2 3 3 end aligned nbsp Proofs editProof for Taylor s theorem in one real variable edit Let 16 h k x f x P x x a k x a 0 x a displaystyle h k x begin cases frac f x P x x a k amp x not a 0 amp x a end cases nbsp where as in the statement of Taylor s theorem P x f a f a x a f a 2 x a 2 f k a k x a k displaystyle P x f a f a x a frac f a 2 x a 2 cdots frac f k a k x a k nbsp It is sufficient to show thatlim x a h k x 0 displaystyle lim x to a h k x 0 nbsp The proof here is based on repeated application of L Hopital s rule Note that for each j 0 1 k 1 textstyle j 0 1 k 1 nbsp f j a P j a displaystyle f j a P j a nbsp Hence each of the first k 1 textstyle k 1 nbsp derivatives of the numerator in h k x displaystyle h k x nbsp vanishes at x a displaystyle x a nbsp and the same is true of the denominator Also since the condition that the function f textstyle f nbsp be k textstyle k nbsp times differentiable at a point requires differentiability up to order k 1 textstyle k 1 nbsp in a neighborhood of said point this is true because differentiability requires a function to be defined in a whole neighborhood of a point the numerator and its k 2 textstyle k 2 nbsp derivatives are differentiable in a neighborhood of a textstyle a nbsp Clearly the denominator also satisfies said condition and additionally doesn t vanish unless x a textstyle x a nbsp therefore all conditions necessary for L Hopital s rule are fulfilled and its use is justified Solim x a f x P x x a k lim x a d d x f x P x d d x x a k lim x a d k 1 d x k 1 f x P x d k 1 d x k 1 x a k 1 k lim x a f k 1 x P k 1 x x a 1 k f k a P k a 0 displaystyle begin aligned lim x to a frac f x P x x a k amp lim x to a frac frac d dx f x P x frac d dx x a k 1ex amp cdots 1ex amp lim x to a frac frac d k 1 dx k 1 f x P x frac d k 1 dx k 1 x a k 1ex amp frac 1 k lim x to a frac f k 1 x P k 1 x x a 1ex amp frac 1 k f k a P k a 0 end aligned nbsp where the second to last equality follows by the definition of the derivative at x a textstyle x a nbsp Alternate proof for Taylor s theorem in one real variable edit Let f x displaystyle f x nbsp be any real valued continuous function to be approximated by the Taylor polynomial Step 1 Let F textstyle F nbsp and G textstyle G nbsp be functions Set F textstyle F nbsp and G textstyle G nbsp to beF x f x k 0 n 1 f k a k x a k displaystyle begin aligned F x f x sum k 0 n 1 frac f k a k x a k end aligned nbsp G x x a n displaystyle begin aligned G x x a n end aligned nbsp Step 2 Properties of F textstyle F nbsp and G textstyle G nbsp F a f a f a f a a a f n 1 a a a n 1 n 1 0 G a a a n 0 displaystyle begin aligned F a amp f a f a f a a a frac f n 1 a a a n 1 n 1 0 G a amp a a n 0 end aligned nbsp Similarly F a f a f a 2 f a a a 1 f n 2 a n 1 a a n 2 n 1 0 displaystyle begin aligned F a f a f a frac 2f a a a 1 frac f n 2 a n 1 a a n 2 n 1 0 end aligned nbsp G a n a a n 1 0 G n 1 a F n 1 a 0 displaystyle begin aligned G a amp n a a n 1 0 amp qquad vdots G n 1 a amp F n 1 a 0 end aligned nbsp Step 3 Use Cauchy Mean Value TheoremLet f 1 displaystyle f 1 nbsp and g 1 displaystyle g 1 nbsp be continuous functions on a b displaystyle a b nbsp Since a lt x lt b displaystyle a lt x lt b nbsp so we can work with the interval a x displaystyle a x nbsp Let f 1 displaystyle f 1 nbsp and g 1 displaystyle g 1 nbsp be differentiable on a x displaystyle a x nbsp Assume g 1 x 0 displaystyle g 1 x neq 0 nbsp for all x a b displaystyle x in a b nbsp Then there exists c 1 a x displaystyle c 1 in a x nbsp such thatf 1 x f 1 a g 1 x g 1 a f 1 c 1 g 1 c 1 displaystyle begin aligned frac f 1 x f 1 a g 1 x g 1 a frac f 1 c 1 g 1 c 1 end aligned nbsp Note G x 0 displaystyle G x neq 0 nbsp in a b displaystyle a b nbsp and F a G a 0 displaystyle F a G a 0 nbsp soF x G x F x F a G x G a F c 1 G c 1 displaystyle begin aligned frac F x G x frac F x F a G x G a frac F c 1 G c 1 end aligned nbsp for some c 1 a x displaystyle c 1 in a x nbsp This can also be performed for a c 1 displaystyle a c 1 nbsp F c 1 G c 1 F c 1 F a G c 1 G a F c 2 G c 2 displaystyle begin aligned frac F c 1 G c 1 frac F c 1 F a G c 1 G a frac F c 2 G c 2 end aligned nbsp for some c 2 a c 1 displaystyle c 2 in a c 1 nbsp This can be continued to c n displaystyle c n nbsp This gives a partition in a b displaystyle a b nbsp a lt c n lt c n 1 lt lt c 1 lt x displaystyle a lt c n lt c n 1 lt dots lt c 1 lt x nbsp withF x G x F c 1 G c 1 F n c n G n c n displaystyle frac F x G x frac F c 1 G c 1 dots frac F n c n G n c n nbsp Set c c n displaystyle c c n nbsp F x G x F n c G n c displaystyle frac F x G x frac F n c G n c nbsp Step 4 Substitute backF x G x f x k 0 n 1 f k a k x a k x a n F n c G n c displaystyle begin aligned frac F x G x frac f x sum k 0 n 1 frac f k a k x a k x a n frac F n c G n c end aligned nbsp By the Power Rule repeated derivatives of x a n displaystyle x a n nbsp G n c n n 1 1 displaystyle G n c n n 1 1 nbsp so F n c G n c f n c n n 1 1 f n c n displaystyle frac F n c G n c frac f n c n n 1 cdots 1 frac f n c n nbsp This leads to f x k 0 n 1 f k a k x a k f n c n x a n displaystyle begin aligned f x sum k 0 n 1 frac f k a k x a k frac f n c n x a n end aligned nbsp By rearranging we get f x k 0 n 1 f k a k x a k f n c n x a n displaystyle begin aligned f x sum k 0 n 1 frac f k a k x a k frac f n c n x a n end aligned nbsp or because c n a displaystyle c n a nbsp eventually f x k 0 n f k a k x a k displaystyle f x sum k 0 n frac f k a k x a k nbsp Derivation for the mean value forms of the remainder edit Let G be any real valued function continuous on the closed interval between a textstyle a nbsp and x textstyle x nbsp and differentiable with a non vanishing derivative on the open interval between a textstyle a img, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.