Lecture 32: Taylor Series and McLaurin series We saw last day that some functions are equal to a power series on part of their domain.

Similar documents
Section Taylor and Maclaurin Series

Taylor and Maclaurin Series

TAYLOR AND MACLAURIN SERIES

e x = 1 + x + x2 2! + x3 If the function f(x) can be written as a power series on an interval I, then the power series is of the form

Taylor and Maclaurin Series. Copyright Cengage Learning. All rights reserved.

AP Calculus Testbank (Chapter 9) (Mr. Surowski)

10.1 Sequences. Example: A sequence is a function f(n) whose domain is a subset of the integers. Notation: *Note: n = 0 vs. n = 1.

Taylor Series. Math114. March 1, Department of Mathematics, University of Kentucky. Math114 Lecture 18 1/ 13

Math 0230 Calculus 2 Lectures

n=1 ( 2 3 )n (a n ) converges by direct comparison to

Completion Date: Monday February 11, 2008

INFINITE SEQUENCES AND SERIES

Ma 530 Power Series II

8.7 Taylor s Inequality Math 2300 Section 005 Calculus II. f(x) = ln(1 + x) f(0) = 0

AP Calculus (BC) Chapter 9 Test No Calculator Section Name: Date: Period:

July 21 Math 2254 sec 001 Summer 2015

Math 115 HW #5 Solutions

2 2 + x =

1 Question related to polynomials

Analysis II: Basic knowledge of real analysis: Part V, Power Series, Differentiation, and Taylor Series

(b) Prove that the following function does not tend to a limit as x tends. is continuous at 1. [6] you use. (i) f(x) = x 4 4x+7, I = [1,2]

11.10a Taylor and Maclaurin Series

Chapter 11 - Sequences and Series

Review of Power Series

Math 113 (Calculus 2) Exam 4

Math 112 Rahman. Week Taylor Series Suppose the function f has the following power series:

Section 10.7 Taylor series

Math 651 Introduction to Numerical Analysis I Fall SOLUTIONS: Homework Set 1

f (x) = k=0 f (0) = k=0 k=0 a k k(0) k 1 = a 1 a 1 = f (0). a k k(k 1)x k 2, k=2 a k k(k 1)(0) k 2 = 2a 2 a 2 = f (0) 2 a k k(k 1)(k 2)x k 3, k=3

Worksheet 9. Topics: Taylor series; using Taylor polynomials for approximate computations. Polar coordinates.

Study # 1 11, 15, 19

MAT137 Calculus! Lecture 48

8.5 Taylor Polynomials and Taylor Series

Math 473: Practice Problems for Test 1, Fall 2011, SOLUTIONS

MAT137 Calculus! Lecture 9

Section 5.8. Taylor Series

MATH 163 HOMEWORK Week 13, due Monday April 26 TOPICS. c n (x a) n then c n = f(n) (a) n!

Infinite Series. Copyright Cengage Learning. All rights reserved.

1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 =

3.4 Introduction to power series

Math 181, Exam 2, Study Guide 2 Problem 1 Solution. 1 + dx. 1 + (cos x)2 dx. 1 + cos2 xdx. = π ( 1 + cos π 2

SECTION A. f(x) = ln(x). Sketch the graph of y = f(x), indicating the coordinates of any points where the graph crosses the axes.

Chapter 11. Taylor Series. Josef Leydold Mathematical Methods WS 2018/19 11 Taylor Series 1 / 27

Introduction Derivation General formula Example 1 List of series Convergence Applications Test SERIES 4 INU0114/514 (MATHS 1)

Section Example Determine the Maclaurin series of f (x) = e x and its the interval of convergence.

Part 3.3 Differentiation Taylor Polynomials

Representation of Functions as Power Series.

You can learn more about the services offered by the teaching center by visiting

Math Review for Exam Answer each of the following questions as either True or False. Circle the correct answer.

Section 9.7 and 9.10: Taylor Polynomials and Approximations/Taylor and Maclaurin Series

The polar coordinates

Introduction Derivation General formula List of series Convergence Applications Test SERIES 4 INU0114/514 (MATHS 1)

Limits at Infinity. Horizontal Asymptotes. Definition (Limits at Infinity) Horizontal Asymptotes

SOLVED PROBLEMS ON TAYLOR AND MACLAURIN SERIES

Polynomial Approximations and Power Series

Chapter 9: Infinite Series Part 2

Let s Get Series(ous)

Math 227 Sample Final Examination 1. Name (print) Name (sign) Bing ID number

Math 113 Winter 2005 Key

Constructing Taylor Series

TAYLOR SERIES [SST 8.8]

Chapter 8: Taylor s theorem and L Hospital s rule

Lecture 9: Taylor Series

As f and g are differentiable functions such that. f (x) = 20e 2x, g (x) = 4e 2x + 4xe 2x,

MATH 118, LECTURES 27 & 28: TAYLOR SERIES

Calculus I Exam 1 Review Fall 2016

Name. Instructor K. Pernell 1. Berkeley City College Due: HW 4 - Chapter 11 - Infinite Sequences and Series. Write the first four terms of {an}.

Math 1b Sequences and series summary

Calculus. Central role in much of modern science Physics, especially kinematics and electrodynamics Economics, engineering, medicine, chemistry, etc.

Final exam (practice) UCLA: Math 31B, Spring 2017

AP Calculus Chapter 9: Infinite Series

JUST THE MATHS UNIT NUMBER DIFFERENTIATION APPLICATIONS 5 (Maclaurin s and Taylor s series) A.J.Hobson

MAT137 Calculus! Lecture 45

Computing Taylor series

Aim: How do we prepare for AP Problems on limits, continuity and differentiability? f (x)

, applyingl Hospital s Rule again x 0 2 cos(x) xsinx

Representation of Functions as Power Series

Friday 09/15/2017 Midterm I 50 minutes

Section 11.1: Sequences

Families of Functions, Taylor Polynomials, l Hopital s

Series Solutions. 8.1 Taylor Polynomials

MATH 1231 MATHEMATICS 1B CALCULUS. Section 5: - Power Series and Taylor Series.

5.9 Representations of Functions as a Power Series

MATH 1372, SECTION 33, MIDTERM 3 REVIEW ANSWERS

Taylor and Maclaurin Series. Approximating functions using Polynomials.

MTAEA Differentiation

(e) 2 (f) 2. (c) + (d). Limits at Infinity. 2.5) 9-14,25-34,41-43,46-47,56-57, (c) (d) 2

Final exam (practice) UCLA: Math 31B, Spring 2017

Integration by Substitution

Review Sheet on Convergence of Series MATH 141H

MATH 1231 MATHEMATICS 1B Calculus Section 4.4: Taylor & Power series.

Section 4.8 Anti Derivative and Indefinite Integrals 2 Lectures. Dr. Abdulla Eid. College of Science. MATHS 101: Calculus I

1. Use the properties of exponents to simplify the following expression, writing your answer with only positive exponents.

THE KING S SCHOOL. Mathematics Extension Higher School Certificate Trial Examination

Math 180, Exam 2, Practice Fall 2009 Problem 1 Solution. f(x) = arcsin(2x + 1) = sin 1 (3x + 1), lnx

CALCULUS JIA-MING (FRANK) LIOU

Math Numerical Analysis

Introduction and Review of Power Series

Mathematical Economics: Lecture 2

MATH115. Infinite Series. Paolo Lorenzo Bautista. July 17, De La Salle University. PLBautista (DLSU) MATH115 July 17, / 43

Transcription:

Lecture 32: Taylor Series and McLaurin series We saw last day that some functions are equal to a power series on part of their domain. For example f(x) = 1 1 x = 1 + x + x2 + x 3 + = ln(1 + x) = x x2 2 + x3 2 x4 xn+1 + + ( 1)n 4 n + 1 + = tan 1 (x) = ( 1) n x2n+1 2n + 1 = x x3 3 + x5 5 x7 7 x n, for 1 < x < 1, ( 1) n xn+1 n + 1 for 1 < x < 1, on the interval ( 1, 1). In this section, we will develop a method to find power series expansions/representations for a wider range of functions and devise a method to identify the values of x for which the function equals the power series expansion. (This is not always the entire interval of convergence of the power series.) Definition We say that f(x) has a power series expansion at a if for some R > 0 f(x) = c n (x a) n for all x such that x a < R Note f(x) has a power series expansion at 0 if for some R > 0. f(x) = c n x n for all x such that x < R Example We see that f(x) = 1 1 x, g(x) = ln(1+x) and h(x) = tan 1 x all have powers series expansions at 0. Sometimes a function has a power series expansion at a point a and sometimes it does not. We saw some of the benefits of the existence of such an expansion in the last lecture. Before finding power series expansions of some well known functions we will examine the questions Q1. If a function f(x) has a power series expansion at a, can we tell what that power series expansion is? Q2. For which values of x do the values of f(x) and the sum of the power series expansion coincide? Taylor Series Definition If f(x) is a function with infinitely many derivatives at a, the Taylor Series of the function f(x) at/about a is the power series T (x) = f (n) (a) (x a) n = f(a) + f (a) 1! (x a) + f (2) (a) 1 (x a) 2 + f (3) (a) (x a) 3 +

If a = 0 this series is called the McLaurin Series of the function f: f (n) (0) x n = f(0) + f (0) 1! x + f (2) (0) x 2 + f (3) (0) x 3 + Derivatives of Taylor series of f match the derivatives of f at a The Taylor series of f at a is given by T (x) = f (n) (a) (x a) n = f(a) + f (a) 1! (x a) + f (2) (a) (x a) 2 + f (3) (a) (x a) 3 +, If T (x) is defined in an open interval around a, then it is differentiable at a, since it is a power series. Furthermore, every derivative of T (x) at a equals the corresponding derivative of f(x) at a. So Example series. T (x) = 0 + f (a) + 2f (2) (a) T (x) = 0 + 0 + f (2) (a) T (3) (x) = 0 + 0 + 0 + f (3) (a) (x a) + 3f (3) (a) (x a) 2 +... + 3 2 f (3) (a) (x a) +... +... etc... T (a) = f(a) + 0 + 0 + = f(a) T (a) = f (a) + 0 + 0 + = f (a) T (a) = f (2) (a) T (3) (a) = f (3) (a) + 0 + 0 + = f (2) (a) + 0 + = f (3) (a) Find the McLaurin Series of the function f(x) = e x. Find the radius of convergence of this Important Limit Last day, we showed that the series x n converges for any value of x. Therefore, we can conclude that x n lim = 0 for all values of x. n 2

Example this series. Find the McLaurin Series of the function f(x) = sin x. Find the radius of convergence of Example Find the Taylor series expansion of the function f(x) = e x at a = 1. Find the radius of convergence of this series. Answer to Q1 Theorem If f has a power series expansion at a, that is if f(x) = c n (x a) n for all x such that x a < R for some R > 0, then that power series is the Taylor series of f at a. We must have c n = f (n) (a) f (n) (a) and f(x) = (x a) n for all x such that x a < R. If a = 0 the series in question is the McLaurin series of f. Example This result is saying that if f(x) = e x has a power series expansion at 0, then that power series expansion must be the McLaurin series of e x which is 1 + x + x2 + x3 + However the result is not saying that e x sums to this series. For that we need Taylor s theorem below. Example The result also says that if f(x) = e x has a power series expansion at 1, then that power series expansion must be e(x 1)2 e(x 1)3 e(x 1) n e + e(x 1) + + + = 3

Q2: When does f(x) = f (n) (a) (x a) n? Finding the values of x for which the Taylor series of a function f(x) about x = a converges to f(x). For any value of x, the Taylor series of the function f(x) about x = a converges to f(x) when the partial sums of the series (T n (x) below) converge to f(x). We let where T n (x) = f(a) + f (a) 1! (x a) + f (2) (a) R n (x) = f(x) T n (x), (x a) 2 + f (3) (a) (x a) 3 + + f (n) (a) (x a) n. T n (x) given above is called the nth Taylor polynomial of f at a and R n (x) is called the remainder of the Taylor series. Theorem Let f(x), T n (x) and R n (x) be as above. If lim R n(x) = 0 for x a < R, n then f is equal to the sum of its Taylor series on the interval x a < R. To help us determine lim n R n (x), we have the following inequality: Taylor s Inequality satisfies the inequality If f (n+1) (x) M for x a d then the remainder R n (x) of the Taylor Series R n (x) M (n + 1)! x a n+1 for x a d. Example: Taylor s Inequality applied to sin x. If f(x) = sin x, then for any n, f (n+1) (x) is either ± sin x or ± cos x. In either case f (n+1) (x) 1 for all values of x. Therefore, with M = 1 and a = 0 and d any number, Taylor s inequality tells us that R n (x) 1 (n+1)! x n+1 for x d. Example: Taylor s Inequality applied to e x. If h(x) = e x, then for any value of n, h (n+1) (x) = e x. Now if d is any number, I know that h (n+1) (x) = e x < e d for all x with x < d. Hence applying Taylor s inequality to the McLaurin series for e x (with a = 0) we get that R n (x) ed (n+1)! x n+1 for x d. Example for all x. Prove that sin x is equal to the sum of its McLaurin series for all x, that is, show that sin x = ( 1) n x 2n+1 (2n + 1)! = x x3 + x5 5! x7 7! + 4

Example Prove that e x is equal to the sum of its McLaurin series for all x, that is, show that e x = x n = 1 + x + x2 + x3 + x4 4! + for all x. Example Find the sum of the series 2 n. Example Find a power series representation for cos x Example use power series to find the limit cos(x 5 ) 1 lim x 0 x 10 (This is a long computation if you use L Hopital s rule). 5

Extra Applications As in the previous section, we can use known power series representations of functions to derive power series representations of related functions by substitution, differentiation or integration. Below, we show a table of the most commonly used series. Example Find a power series representation for e x2. We know that Therefore e y = 1 + y + y2 + y3 + y4 4! + + yn +... e x2 = 1 + ( x 2 ) + ( x2 ) 2 + ( x2 ) 3 + ( x2 ) 4 4! + + ( x2 ) n = 1 x 2 + x4 x6 + + ( 1)n x 2n +... Example Use our results about alternating series to estimate 1 0 e x2 dx with an error less than.001. From above, we have that e x2 = 1 x 2 + x4 x6 + + ( 1)n x 2n +... Integrating term by term, we get e x2 dx = C + x x3 3 + x5 5 x7 7 + + ( 1)n x 2n+1 (2n + 1). Therefore 1 0 e x2 dx = 1 1 3 + 1 5 1 7 + + ( 1) n (2n + 1). If we use the n th partial sum to approximate the integral, then since the series is alternating and converges by the A.S.T., we have an error a n+1 = 1 (2n+3) (n+1)!. 6 +...

1 Therefore, if we choose n so that <.001 = 1, we know that the error of our approximation (2n+3) (n+1)! 1000 is <.001. 1 We have < 1 if 1000 < (2n + 3) (n + 1)!. By trial and error, we get that this is true if (2n+3) (n+1)! 1000 n = 4. Therefore we have that is Therefore 1 0 1 0 e x2 dx [1 1 3 + 1 5 1 7 + 1 ] <.001 9 4! e x2 dx [1 1 3 + 1 5 1 7 + 1 ] <.001 9 4! 1 0 e x2 dx 0.747487 <.0001. Example What is the McLaurin series for the function f(x) = x + 1? f(x) = (x+1) 1/2, f (x) = 1 2 (x+1) 1/2, f (x) = 1 2 ( 1 2 )(1+x) 3/2, f (3) (x) = 1 2 ( 1 2 )( 3 2 )(1+x) 5/2 f(0) = 1, f (0) = 1 2, f (0) = 1 2 ( 1 2 ), f (3) (1) = 1 2 ( 1 2 )( 3 2 ) We get f (n) (0) = 1 2 ( 1 2 )( 3 2 )... (1 (n + 1)). 2 f (n) (0) = 1 ( 1 2 2 3 )( )... ( 1 (n + 1)) 2 2 (1 + x) 1/2 = ( 1 ) 2 x n. n = ( 1 2 n ). For any real number k, let ( ) k = n k(k 1)(k 2) (k n + 1). Theorem : Binomial series If k is any real number and x < 1, then (1 + x) k = ( ) k x n = 1 + kx + n k(k 1) x 2 + Note This is just the binomial theorem if k is a positive integer. k(k 1)(k 2) x 3 + 7

An Example where f(x) = McL series only at x = 0, but the McL series converges for all x Example The function e 1/x2 x 0 f(x) = 0 x = 0 turns out to have infinitely many derivatives at a = 0 and hence has a McLaurin series 0 + 0x + 0x 2 + = 0 for all values of x. So we see that the McLaurin series converges here for all values of x, but its sum does not equal the value of f(x) for any x other than 0, because e 1/x2 > 0 for all x 0. In the graph below, the series is shown in red and f(x) in blue. 1.5 1.0 0.5 4 2 2 4 0.5 1.0 8