<< Chapter < Page Chapter >> Page >
lim n p n ( x ) = f ( x ) .

Since the remainder R n ( x ) = f ( x ) p n ( x ) , the Taylor series converges to f if and only if

lim n R n ( x ) = 0 .

We now state this theorem formally.

Convergence of taylor series

Suppose that f has derivatives of all orders on an interval I containing a . Then the Taylor series

n = 0 f ( n ) ( a ) n ! ( x a ) n

converges to f ( x ) for all x in I if and only if

lim n R n ( x ) = 0

for all x in I .

With this theorem, we can prove that a Taylor series for f at a converges to f if we can prove that the remainder R n ( x ) 0 . To prove that R n ( x ) 0 , we typically use the bound

| R n ( x ) | M ( n + 1 ) ! | x a | n + 1

from Taylor’s theorem with remainder.

In the next example, we find the Maclaurin series for e x and sin x and show that these series converge to the corresponding functions for all real numbers by proving that the remainders R n ( x ) 0 for all real numbers x .

Finding maclaurin series

For each of the following functions, find the Maclaurin series and its interval of convergence. Use [link] to prove that the Maclaurin series for f converges to f on that interval.

  1. e x
  2. sin x
  1. Using the n th Maclaurin polynomial for e x found in [link] a., we find that the Maclaurin series for e x is given by
    n = 0 x n n ! .

    To determine the interval of convergence, we use the ratio test. Since
    | a n + 1 | | a n | = | x | n + 1 ( n + 1 ) ! · n ! | x | n = | x | n + 1 ,

    we have
    lim n | a n + 1 | | a n | = lim n | x | n + 1 = 0

    for all x . Therefore, the series converges absolutely for all x , and thus, the interval of convergence is ( , ) . To show that the series converges to e x for all x , we use the fact that f ( n ) ( x ) = e x for all n 0 and e x is an increasing function on ( , ) . Therefore, for any real number b , the maximum value of e x for all | x | b is e b . Thus,
    | R n ( x ) | e b ( n + 1 ) ! | x | n + 1 .

    Since we just showed that
    n = 0 | x | n n !

    converges for all x , by the divergence test, we know that
    lim n | x | n + 1 ( n + 1 ) ! = 0

    for any real number x . By combining this fact with the squeeze theorem, the result is lim n R n ( x ) = 0 .
  2. Using the n th Maclaurin polynomial for sin x found in [link] b., we find that the Maclaurin series for sin x is given by
    n = 0 ( −1 ) n x 2 n + 1 ( 2 n + 1 ) ! .

    In order to apply the ratio test, consider
    | a n + 1 | | a n | = | x | 2 n + 3 ( 2 n + 3 ) ! · ( 2 n + 1 ) ! | x | 2 n + 1 = | x | 2 ( 2 n + 3 ) ( 2 n + 2 ) .

    Since
    lim n | x | 2 ( 2 n + 3 ) ( 2 n + 2 ) = 0

    for all x , we obtain the interval of convergence as ( , ) . To show that the Maclaurin series converges to sin x , look at R n ( x ) . For each x there exists a real number c between 0 and x such that
    R n ( x ) = f ( n + 1 ) ( c ) ( n + 1 ) ! x n + 1 .

    Since | f ( n + 1 ) ( c ) | 1 for all integers n and all real numbers c , we have
    | R n ( x ) | | x | n + 1 ( n + 1 ) !

    for all real numbers x . Using the same idea as in part a., the result is lim n R n ( x ) = 0 for all x , and therefore, the Maclaurin series for sin x converges to sin x for all real x .
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Find the Maclaurin series for f ( x ) = cos x . Use the ratio test to show that the interval of convergence is ( , ) . Show that the Maclaurin series converges to cos x for all real numbers x .

n = 0 ( −1 ) n x 2 n ( 2 n ) !

By the ratio test, the interval of convergence is ( , ) . Since | R n ( x ) | | x | n + 1 ( n + 1 ) ! , the series converges to cos x for all real x .

Got questions? Get instant answers now!

Proving that e Is irrational

In this project, we use the Maclaurin polynomials for e x to prove that e is irrational. The proof relies on supposing that e is rational and arriving at a contradiction. Therefore, in the following steps, we suppose e = r / s for some integers r and s where s 0 .

  1. Write the Maclaurin polynomials p 0 ( x ) , p 1 ( x ) , p 2 ( x ) , p 3 ( x ) , p 4 ( x ) for e x . Evaluate p 0 ( 1 ) , p 1 ( 1 ) , p 2 ( 1 ) , p 3 ( 1 ) , p 4 ( 1 ) to estimate e .
  2. Let R n ( x ) denote the remainder when using p n ( x ) to estimate e x . Therefore, R n ( x ) = e x p n ( x ) , and R n ( 1 ) = e p n ( 1 ) . Assuming that e = r s for integers r and s , evaluate R 0 ( 1 ) , R 1 ( 1 ) , R 2 ( 1 ) , R 3 ( 1 ) , R 4 ( 1 ) .
  3. Using the results from part 2, show that for each remainder R 0 ( 1 ) , R 1 ( 1 ) , R 2 ( 1 ) , R 3 ( 1 ) , R 4 ( 1 ) , we can find an integer k such that k R n ( 1 ) is an integer for n = 0 , 1 , 2 , 3 , 4 .
  4. Write down the formula for the n th Maclaurin polynomial p n ( x ) for e x and the corresponding remainder R n ( x ) . Show that s n ! R n ( 1 ) is an integer.
  5. Use Taylor’s theorem to write down an explicit formula for R n ( 1 ) . Conclude that R n ( 1 ) 0 , and therefore, s n ! R n ( 1 ) 0 .
  6. Use Taylor’s theorem to find an estimate on R n ( 1 ) . Use this estimate combined with the result from part 5 to show that | s n ! R n ( 1 ) | < s e n + 1 . Conclude that if n is large enough, then | s n ! R n ( 1 ) | < 1 . Therefore, s n ! R n ( 1 ) is an integer with magnitude less than 1. Thus, s n ! R n ( 1 ) = 0 . But from part 5, we know that s n ! R n ( 1 ) 0 . We have arrived at a contradiction, and consequently, the original supposition that e is rational must be false.
Practice Key Terms 5

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Calculus volume 2. OpenStax CNX. Feb 05, 2016 Download for free at http://cnx.org/content/col11965/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Calculus volume 2' conversation and receive update notifications?

Ask