<< Chapter < Page Chapter >> Page >
This module contains taylor's remainder theorem, some remarks about Taylor series, and a test for local maxima and minima.

Let f be in C n ( B r ( c ) ) for c a fixed complex number, r > 0 , and n a positive integer. Define the Taylor polynomial of degree n for f at c to be the polynomial T n T ( f , c ) n given by the formula:

( T ( f , c ) n ) ( z ) = j = 0 n a j ( z - c ) j ,

where a j = f ( j ) ( c ) / j ! .

REMARK If f is expandable in a Taylor series on B r ( c ) , then the Taylor polynomial for f of degree n is nothing but the n th partial sum of the Taylor series for f on B r ( c ) . However, any function that is n times differentiable at a point c has a Taylor polynomial of order n . Functions that are infinitely differentiable have Taylor polynomials of all orders, and we might suspect that these polynomials are some kind of good approximation to the function itself.

Prove that f is expandable in a Taylor series function around a point c (with radius of convergence r > 0 ) if and only if the sequence { T ( f , c ) n } of Taylor polynomials converges pointwise to f ; i.e.,

f ( z ) = lim ( T ( f , c ) n ) ( z )

for all z in B r ( c ) .

Let f C n ( B r ( c ) ) . Prove that f ' C n - 1 ( B r ( c ) ) . Prove also that ( T ( f , c ) n ) ' = T ( f ' , c ) n - 1 .

The next theorem is, in many ways, the fundamental theorem of numerical analysis. It clearly has to do withapproximating a general function by polynomials. It is a generalization of the Mean Value Theorem, and as in that casethis theorem holds only for real-valued functions of a real variable.

Taylor's remainder theorem

Let f be a real-valued function on an interval ( c - r , c + r ) , and assume that f C n ( ( c - r , c + r ) ) , and that f ( n ) is differentiable on ( c - r , c + r ) . Then, for each x in ( c - r , c + r ) there exists a y between c and x such that

f ( x ) - ( T ( f , c ) n ) ( x ) = f ( n + 1 ) ( y ) ( n + 1 ) ! ( x - c ) n + 1 . ( 4 . 7 )

REMARK If we write f ( x ) = T f , c n ) ( x ) + R n + 1 ( x ) , where R n + 1 ( x ) is the error or remainder term, then this theorem gives a formula, and hence an estimate, for that remainder term.This is the evident connection with Numerical Analysis.

We prove this theorem by induction on n . For n = 0 , this is precisely the Mean Value Theorem. Thus,

f ( x ) - T f , c 0 ( x ) = f ( x ) - f ( c ) = f ' ( y ) ( x - c .

Now, assuming the theorem is true for all functionsin C n - 1 ( ( c - r , c + r ) ) , let us show it is true for the given function f C n ( ( c - r , c + r ) ) . Set g ( x ) = f ( x ) - ( T ( f , c ) n ) ( x ) and let h ( x ) = ( x - c ) n + 1 . Observe that both g ( c ) = 0 and h ( c ) = 0 . Also, if x c , then h ( x ) 0 . So, by the Cauchy Mean Value Theorem, we have that

g ( x ) h ( x ) = g ( x ) - g ( c ) h ( x ) - h ( c ) = g ' ( w ) h ' ( w )

for some w between c and x . Now

g ' ( w ) = f ' ( w ) - ( t ( f , c ) n ) ' ( w ) = f ' ( w ) - ( T ( f ' , c ) n - 1 ) ( w )

(See the preceding exercise.), and h ' ( w ) = ( n + 1 ) ( w - c ) n . Therefore,

f ( x ) - ( T ( f , c ) n ) ( x ) ( x - c ) n + 1 = g ( x ) h ( x ) = g ' ( w ) h ' ( w ) = f ' ( w ) - ( T ( f ' , c ) n - 1 ) ( w ) ( n + 1 ) ( w - c ) n .

We apply the inductive hypotheses to the function f ' (which is in C n - 1 ( ( c - r , c + r ) ) ) and obtain

f ( x ) - ( T ( f , c ) n ) ( x ) ( x - c ) n + 1 = f ' ( w ) - ( T ( f ' , c ) n - 1 ) ( w ) ( n + 1 ) ( w - c ) n = f ' ( n ) ( y ) n ! ( w - c ) n ( n + 1 ) ( w - c ) n = f ' ( n ) ( y ) ( n + 1 ) ! = f ( n + 1 ) ( y ) ( n + 1 ) !

for some y between c and w . But this implies that

f ( x ) - ( T ( f , c ) n ) ( x ) = f ( n + 1 ) ( y ) ( x - c ) n + 1 ( n + 1 ) ! ,

for some y between c and x , which finishes the proof of the theorem.

Define f ( x ) = 0 for x 0 and f ( x ) = e - 1 / x for x > 0 . Verify that f C ( R ) , that f ( n ) ( 0 ) = 0 for all n , and yet f is not expandable in a Taylor series around 0 . Interpret Taylor's Remainder Theorem for this function. That is, describe the remainder R n + 1 ( x ) .

As a first application of Taylor's Remainder Theorem we give the following result, which should be familiar from calculus.It is the generalized version of what's ordinarily called the “second derivative test.”

Test for local maxima and minima

Let f be a real-valued function in C n ( c - r , c + r ) , suppose that the n + 1 st derivative f ( n + 1 ) of f exists everywhere on ( c - r , c + r ) and is continuous at c , and suppose that f ( k ) ( c ) = 0 for all 1 k n and that f ( n + 1 ) ( c ) 0 . Then:

  1. If n is even, f attains neither a local maximum nor a local minimum at c . In this case, c is called an inflection point.
  2. If n is odd and f ( n + 1 ) ( c ) < 0 , then f attains a local maximum at c .
  3. If n is odd and f ( n + 1 ) ( c ) > 0 , then f attains a local minimum at c .

Since f ( n + 1 ) is continuous at c , there exists a δ > 0 such that f ( n + 1 ) ( y ) has the same sign as f ( n + 1 ) ( c ) for all y ( c - δ , c + δ ) . We have by Taylor's Theorem that if x ( c - δ , c + δ ) then there exists a y between x and c such that

f ( x ) = ( T ( f , c ) n ) ( x ) + f ( n + 1 ) ( y ) ( n + 1 ) ! ( x - c ) n + 1 ,

from which it follows that

f ( x ) - f ( c ) = k = 1 n f ( k ) ( c ) k ! ( x - c ) k + f ( n + 1 ) ( y ) ( n + 1 ) ! ( x - c ) n + 1 = f ( n + 1 ) ( y ) ( n + 1 ) ! ( x - c ) n + 1 .

Suppose n is even. It follows then that if x < c , the sign of ( x - c ) n + 1 is negative, so that the sign of f ( x ) - f ( c ) is the opposite of the sign of f ( n + 1 ) ( c ) . On the other hand, if x > c , then ( x - c ) n + 1 > 0 , so that the sign of f ( x ) - f ( c ) is the same as the sign of f ( n + 1 ) ( c ) . So, f ( x ) > f ( c ) for all nearby x on one side of c , while f ( x ) < f ( c ) for all nearby x on the other side of c . Therefore, f attains neither a local maximum nor a local minimum at c . This proves part (1).

Now, if n is odd, the sign of f ( x ) - f ( c ) is the same as the sign of f ( n + 1 ) ( y ) , which is the same as the sign of f ( n + 1 ) ( c ) , for all x ( c - δ , c + δ ) . Hence, if f ( n + 1 ) ( c ) < 0 , then f ( x ) - f ( c ) < 0 for all x ( c - δ , c + δ ) , showing that f attains a local maximum at c . And, if f ( n + 1 ) ( c ) > 0 , then the sign of f ( x ) - f ( c ) is positive for all x ( c - δ , c + δ ) , showing that f attains a local minimum at c . This proves parts (2) and (3).

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Analysis of functions of a single variable. OpenStax CNX. Dec 11, 2010 Download for free at http://cnx.org/content/col11249/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Analysis of functions of a single variable' conversation and receive update notifications?

Ask