Calculus 1120, Class 42 Dan Barbasch April 30, 2012 Dan Barbasch () Calculus 1120, Class 42 April 30, 2012 1 / 1
Taylor and MacLaurin Series n =0 a n ( x − a ) n with positive radius of Fact: For a power series � ∞ convergence R > 0 , f ( n ) ( a ) = n ! a n . We now go the other direction: Definition: The Taylor series at a of y = f ( x ) is ∞ f ( n ) ( a ) � ( x − a ) n . n ! n =0 For a = 0 it is called MacLaurin series. Warning: This series may or may not converge, and it is not clear that it converges to the value of the function. We know how to determine the radius and interval of convergence; we have to do it for each series separately. Dan Barbasch () Calculus 1120, Class 42 April 30, 2012 2 / 1
Taylor and MacLaurin Series To see whether the series converges to the function: n f ( i ) ( a ) � ( x − a ) i . Taylor polynomial: P n ( x ) = n ! i =0 You must show that f ( x ) − P n ( x ) → 0 as n → ∞ . We will learn some theorems that let us conclude this. For example: P 0 ( x ) = f ( a ) P 1 ( x ) = f ( a ) + f ′ ( a )( x − a ) P 2 ( x ) = f ( a ) + f ′ ( a )( x − a ) + f (2) ( a ) ( x − a ) 2 . 2 The function is being approximated by polynomials of various orders. P n ( x ) is the n − th partial sum of the Taylor series. Dan Barbasch () Calculus 1120, Class 42 April 30, 2012 2 / 1
Taylor’s formula Theorem: f ( x ) = P n ( x ) + R n ( x ). where R n ( x ) = f ( n +1) ( ξ ) ( n + 1)! ( x − a ) n +1 for a value ξ between a and x . One way to show that the series converges to the function is to show R n ( x ) → 0 as n → ∞ . Dan Barbasch () Calculus 1120, Class 42 April 30, 2012 3 / 1
y = (1 + x ) m at a = 0, the binomial series a = 0 (1 + x ) m y 1 y (1) m (1 + x ) m − 1 m y (2) m ( m − 1)(1 + x ) m − 2 m ( m − 1) . . . . . . . . . y ( n ) m . . . ( m − n + 1)(1 + x ) m − n m . . . ( m − n + 1) y ( n +1) m . . . ( m − n )(1 + x ) m − n − 1 m . . . ( m − n )(1 + ξ ) m − n − 1 The series is ∞ m ( m − 1) . . . ( m − n + 1) (1 + x ) m ≈ � x n n ! n =0 For m > 0 an integer, the series stops, and becomes the binomial formula. = m ( m − 1) ... ( m − k +1) � m � We write . k k ! The radius of convergence is R = 1 . Dan Barbasch () Calculus 1120, Class 42 April 30, 2012 4 / 1
y = (1 + x ) m at a = 0, the binomial series Why does the series converge to (1 + x ) m for | x | < 1? Answer: The function y = (1 + x ) m satisfies y (0) = 1 and y ′ = m (1 + x ) m − 1 = m (1+ x ) ⇔ (1 + x ) y ′ = my . This is a separable y differential equation, and it has a unique solution with the given initial condition. You can use term by term differentiation to verify that the series satisfies (1 + x ) y ′ = my . PoP QuiZ: 1 Estimate √ 1 + x over the interval − 0 . 5 < x < 0 . 5 using the Taylor polynomial P 2 . Find a bound for the error. √ 2 Estimate 2 with accuracy three decimals using the binomial series. 3 Check that the series for y = (1 + x ) m satisfies the equation listed, exercise 64. 4 We know from the notes that � x 0 e − t 2 dt = � ∞ ( − 1) n x 2 n +1 Erf ( x ) = (2 n +1) n ! . How many terms do we need n =0 in order to be sure to approximate Erf (1) with accuracy < 10 − 3 ? Dan Barbasch () Calculus 1120, Class 42 April 30, 2012 4 / 1
y = (1 + x ) 1 / 2 ∞ � 1 / 2 � x n = 1 + 1 / 2 1! x + 1 / 2(1 / 2 − 1) (1 + x ) 1 / 2 = � x 2 + 2! n n =0 +1 / 2(1 / 2 − 1)(1 / 2 − 2) x 3 + . . . 3! for | x | < 1 . We know (1 + x ) 1 / 2 = P 2 ( x ) + R 2 ( x ) = 1 + 1 2 x − 1 8 x 2 + R 2 ( x ) . 8(1 + ξ ) − 5 / 2 x 3 R 2 ( x ) = 3 6 = 1 16(1 + ξ ) − 5 / 2 x 3 . Dan Barbasch () Calculus 1120, Class 42 April 30, 2012 5 / 1
y = (1 + x ) 1 / 2 To compute R 2 we use the formula R 2 ( x ) = f (3) ( ξ ) x 3 . The formula on the 3! previous page is y (3) ( ξ ) = (1 / 2)( − 1 / 2)( − 3 / 2) = 3 8(1 + ξ ) − 3 / 2 . (1 + ξ ) 3 / 2 | R 2 ( x ) | = 1 1 (1 + ξ ) 5 / 2 | x | 3 . 16 We estimate, if 0 . 5 ≤ x ≤ 0 . 5 then so is ξ , because it is between 0 and x . Thus √ 1 1 1 1 − 0 . 5 ≤ 1 + ξ ≤ 1 + 0 . 5 ⇒ 1 . 5 5 / 2 ≤ (1 + ξ ) 5 / 2 ≤ (0 . 5) 5 / 2 = 32 < 6 . | R 2 ( x ) | ≤ 3 16 | x | 3 . We also know | x | 3 ≤ (0 . 5) 3 , but this also tells us that the closer x is to 0, the better the estimate. Dan Barbasch () Calculus 1120, Class 42 April 30, 2012 5 / 1
y = (1 + x ) 1 / 2 So we can use the approximation √ 1 + x ≈ 1 + x / 2 − x 2 / 8 for this √ interval. For example 1 . 4 is approximated by 1 . 18 The error is less than (0 . 4) 3 16 . Note that here 0 ≤ ξ ≤ 1 , the estimate is better than over the interval − 0 . 5 ≤ x ≤ 0 . 5 . Question: Is this an over or underestimate? Answer: It depends whether x ≥ 0 or x ≤ 0 . √ Problem: Estimate 2. The same calculations apply, the answer is 1 + 1 2 − 1 8 = 1 . 375 . The error is less than 1 / 16 = 0 . 0625 . This is better than the previous estimate because x = 1 > 0 . Instead of 3 we get 1. √ From other considerations we know that 2 = 1 . 4142. Dan Barbasch () Calculus 1120, Class 42 April 30, 2012 5 / 1
Φ( x ) ∞ ( − 1) n x 2 n +1 � Φ( x ) = (2 n + 1) n ! . n =0 For x > 0 this is an alternating series. So the error is � � n ( − 1) i x 2 i +1 x 2 n +1 � � � � Φ( x ) − � ≤ � � (2 i + 1) i ! (2 n + 1)( n + 1)! � � i =0 For example Φ(1) is approximated by 1 − 1 3 = 2 1 3 with error less than 10 . Also 1 − 1 3 + 1 1 10 with error less than 42 . Dan Barbasch () Calculus 1120, Class 42 April 30, 2012 6 / 1
Φ( x ) Question: What about Φ( ∞ ) = lim x →∞ Φ( x )? How large do we need to take x to have an error less than say 10 − 2 ? Answer: We do it in two steps. First we find an A > 0 so that the error betwen Φ( ∞ ) and Φ( A ) is less than 1 / 200 , then we find n so that the Taylor polynomial approximates Φ( A ) by less than 1 / 200 . Together the error will be less than 1 / 200 . � ∞ � ∞ e − t 2 dt ≤ e − t dt = e − A . | Φ( ∞ ) − Φ( A ) | = A A So we can make this error less than 1 / 200 by taking A > ln 200 say A ≥ 6 . Dan Barbasch () Calculus 1120, Class 42 April 30, 2012 6 / 1
Φ( x ) We now check how many terms we need from the series: � n � ( − 1) i 6 2 i +1 6 2 n +3 1 � � � � Φ(6) − � ≤ (2 n + 3)( n + 1)! ≤ � � (2 i + 1) i ! 200 � � i =0 Plug in values of n until you get below 1 / 200 . For this to be justified, you need to verify the alternating series test. Extra Credit (harder): Verify that the conditions of the alternating series x 2 n +1 test hold. Precisely show that for a fixed x > 0 , the terms (2 n + 1) n ! are decresing, and go to 0. √ π The actual value you are estimating is 2 . Dan Barbasch () Calculus 1120, Class 42 April 30, 2012 6 / 1
Review Fundamental Theorem of Calculus Techniques of Integration ◮ Substitution ◮ Integration by parts ◮ Trigonometric Integrals Applications ◮ Areas of regions between curves ◮ Volumes by slicing, disks/washers, shells ◮ Arclength ◮ Surface area ◮ Distance traveled, displacement ◮ Mass and Moments (not covered in any depth) Dan Barbasch () Calculus 1120, Class 42 April 30, 2012 7 / 1
Review Integration, chapter 8 Techniques of Integration 8.1-8.5 1 Numerical Integration 8.6 (see notes for left and right endpoint 2 approximation) Improper Integrals 8.7 3 review problems are on page 507 Differential equations, 7.2 parts of 9.1-9.4 Graphic methods, Slope fields 9.1, parts of 9.4 draw slope fields and 1 some solutions for problems on page 540 Separable and Linear Equations 7.2, 9.3 page 433 1-8, 9-22, page 526 2 1-21 Applications, parts of 9.1-9.4. page 434 23-46, page 540 13-18 3 Sequences and Series, 10.1 -10.5. page 623 1-18, 19-40 Power Series, Taylor and MacLaurin Series, 10.7-10.8 page 600, 2-5, 8-12, 30-32, 42-44, 50-54. page 606 6-10, 18-20, 30-32, 37-38. Convergence of Taylor series and Applications, section 10.9 and 10.10. page 613 6-10, 16-20, 36-38, 45/ page 620 4-6, 15-16, 23, 25-27, 33-35, 45-47, 53-55. Dan Barbasch () Calculus 1120, Class 42 April 30, 2012 7 / 1
Recommend
More recommend