Section 9.7 and 9.10: Taylor Polynomials and Approximations/Taylor and Maclaurin Series Power Series for Functions We can create a Power Series (or polynomial series) that can approximate a function around a certain value of the function. In order to approximate the function, we force the series to match the function at its value through many derivatives. π₯2 2 Example: π2 (π₯) = 1 + π₯ + approximates π π₯ = π π₯ at π₯ = 0 because π 0 = π2 0 = 1 πβ² 0 = π2 β²(0) = 1 πβ²β² 0 = π2 β²β²(0) = 1 Taylor Series Generated by f at x=0 Also known as a Maclaurin Series generated by π. Let π be a function with derivatives of all orders throughout some open interval containing 0. Then the Taylor series generated by π at π = π is: β²β² 0 π 0 π π π 0 + πβ² 0 β π₯ + π₯2 + β― + π₯π + β― 2! π! β π π (0) π π₯ π! π=0 Verifying the Maclaurin Series Justify that the Taylor Series centered at π₯ = 0 matches any function at its value through all of its derivatives at π₯ = 0. β²β² 0 β²β²β² 0 π 0 π π π π 0 + πβ² 0 β π₯ + π₯2 + π₯3 + β― + π₯π + β― 2! 3! π! β²β² 0 β²β²β² 0 π 0 π π π 02 + 03 + β― + 0π + β― If π₯ = 0, does π 0 + π β² 0 β 0 + 2! 3! π! the series equal π(0)? If π₯ = 0, does the derivative of the series equal πβ²(0)? = π 0 Yes! β² Derivative: 0 + π 0 + π β²β² 0 π₯ πβ²β²β² 0 + 2! π β²β²β² 0 π₯ = 0: 0 + π β² 0 + π β²β² 0 β 0 + + = πβ² 0 Yes! 2! 2 π₯ + ππ 0 β―+ (πβ1)! ππ 0 02 β¦ + π β 1! π₯ πβ1 + β― 0πβ1 + β― Verifying the Maclaurin Series Justify that the Taylor Series centered at π₯ = 0 matches any function at its value through all of its derivatives at π₯ = 0. β²β² 0 β²β²β² 0 π 0 π π π π 0 + πβ² 0 β π₯ + π₯2 + π₯3 + β― + π₯π + β― 2! 3! π! If π₯ = 0, does the second derivative of the series equal πβ²β²(0)? 2nd Deriv: 0 + 0 + π β²β² 0 + π β²β²β² 0 π₯+ ππ 0 β―+ (πβ2)! ππ 0 π₯ = 0: 0 + 0 + π β²β² 0 + π β²β²β² 0 β 0 + β― + (π β 2)! π₯ πβ2 + β― 0πβ2 + β― = πβ²β² 0 Yes! This pattern will continue. If π₯ = 0, then the nth derivative of the series will equal π π 0 . The Taylor Series meets the defined requirements. Taylor Series v Taylor Polynomial Taylor Polynomial: Have a finite number of terms and are approximations of the function around a value of π₯. β²β² 0 π 0 π π π 0 + πβ² 0 β π₯ + π₯2 + β― + π₯π 2! π! Taylor Series: Have a infinite number of terms and are equivalent to the function for values of π₯. β²β² π π 0 π 0 π β² 2 π 0 +π 0 βπ₯+ π₯ + β―+ π₯ +β― 2! π! Maclaurin Series to Memorize 1 1βπ₯ β π π=0 π₯ = 1 + π₯ + π₯2 + π₯3 + β― + π₯π + β― = π₯ π =1+π₯+ π₯2 2! + π₯3 3! +β―+ π₯π π! for π₯ < 1 π β π₯ π=0 π! +β―= for π₯ < 1 Odd degree powers and sin π₯ is an odd function sin π₯ = π₯ β π₯3 3! + π₯5 5! β β― + β1 2π+1 π π₯ + 2π+1 ! β―= β π=0 β1 2π+1 π π₯ 2π+1 ! Starts at 0 because sin 0 = 0 for all real π₯ Even degree powers and cos π₯ is an even function cos π₯ = 1 β π₯2 2! + π₯4 4! β β― + β1 Starts at 1 because cos 0 = 1 2π π π₯ + 2π ! β―= β π=0 β1 2π π π₯ 2π ! for all real π₯ We will discuss the interval of convergence later. Example 1 Suppose π is a function with derivatives of all orders for real numbers. Assume π 0 = β4, πβ² 0 = 2, πβ²β² 0 = 6, and πβ²β²β² 0 = β8. Write the second-degree the Taylor polynomial for g at π₯ = 0, and use it to approximate π(0.5). Notice the degree required. Substitute π₯ = 0.5 into the polynomial to approximate the function π: Use the Formula for a second-degree polynomial: 2 β4 + 2 β 0.5 + 3 β 0.5 β²β² 0 π β² 2 π 0 +π 0 βπ₯+ 2! 6 2 β4 + 2 β π₯ + π₯ 2! β4 + 2π₯ + 3π₯ 2 π₯ β2.25 Example 2 Find the Taylor series for π π₯ = (1 + π₯)3 at π₯ = 0. Find the function and derivatives of π(π₯): Find the value of the function and each derivative if π₯ = 0: π π₯ = (1 + π₯)3 π 0 =1 πβ² π₯ = 3(1 + π₯)2 πβ² 0 = 3 1 πβ²β² π₯ = 6(1 + π₯) πβ²β²β² π₯ = 6 All future derivatives will be zero. π (4) π₯ = 0 πβ²β² 0 = 6 πβ²β²β² 0 = 6 πβ²β²β² 0 = 0 Substitute into the formula: 6 2 6 3 1 + 3 β π₯ + π₯ + π₯ = 1 + 3π₯ + 3π₯ 2 + π₯ 3 2! 3! Notice: A Taylor series for a polynomial function IS the polynomial function in standard form. Example 3 Find the Maclaurin series for π π₯ = π₯ 2 π π₯ . Find the function and derivatives of π(π₯): π π₯ = π₯2π π₯ π β² (π₯) = π₯ 2 π π₯ + 2π₯π π₯ π β²β² (π₯) = π₯ 2 π π₯ + 4π₯π π₯ + 2π π₯ πβ²β²β² π₯ = π₯ 2 π π₯ + 6π₯π π₯ + 6π π₯ π (4) (π₯) = π₯ 2 π π₯ + 8π₯π π₯ + 12π π₯ π (5) (π₯) = π₯ 2 π π₯ + 10π₯π π₯ + 20π π₯ π 6 (π₯) = π₯ 2 π π₯ + 12π₯π π₯ + 30π π₯ Substitute into the formula: Find the value of the function and each derivative if π₯ = 0: Not enough terms to see a pattern. π 0 =0 πβ² 0 = 0 πβ²β² 0 = 2 πβ²β²β² 0 = 6 π (4) (0) = 12 π (5) (0) = 20 π 6 (0) = 30 4 5 π+2 π₯ π₯ 2 2 6 3 12 3 20 4 30 5 π₯ + + β―+ 0 + 0 β π₯ + π₯ + π₯ + π₯ + π₯ + π₯ + β― = π₯2 + π₯3 + +β― 2! 3! 2! 3! 4! 5! 6! π! There are several method for generating new Taylor Series from known ones: integrate term by term, differentiate term by term, using algebra, or using substitution. Example 3: Method 2 Find the Maclaurin series for π π₯ = π₯ 2 π π₯ . We know the Maclaurin series for π π₯ : We know the Maclaurin series for π₯ 2 : 1+π₯+ π₯2 2! + π₯3 3! + β―+ π₯π π! β +β―= π=0 π₯π π! π₯2 Multiply the Maclaurin series for π π₯ by the Maclaurin series for π₯ 2 : 2 3 π π₯ π₯ π₯ π₯ 2 (1 + π₯ + + + β― + +β―) 2! 3! π! 4 5 π+2 π₯ π₯ π₯ 2 3 π₯ + π₯ + + + β―+ +β―= 2! 3! π! β π=0 π₯ π+2 π! Example 4 Find the Maclaurin series for π π₯ = Find the function and derivatives of π(π₯): π π₯ = π β² (π₯) πβ²β² π₯ = π β²β²β² (π₯) = = 2 βπ₯ π 2 3 βπ₯ β8π₯ π 2 βπ₯ β 2π + 2 2 βπ₯ 12π₯π 2 π (4) (π₯) = 16π₯ 4 π βπ₯ β 48π₯ 2 π βπ₯ + 12π βπ₯ 2 Find the value of the function and each derivative if π₯ = 0: π 0 =1 Not enough πβ² 0 = 0 terms to see a π β²β² 0 = β2 pattern. 2 βπ₯ β2π₯π 2 2 βπ₯ 4π₯ π 2 5 π₯ = β32π₯ 5 π βπ₯ + 160π₯ 3 π βπ₯ β 120π₯π βπ₯ π 6 π₯ = 64π₯ 6 π βπ₯ β 480π₯ 4 π βπ₯ + 720π₯ 2 π βπ₯ β 120π βπ₯ 2 1+0βπ₯+ Substitute into the formula: 2 β2 2 π₯ 2! + 0 3 π₯ 3! πβ²β²β² 0 = 0 π (4) 0 = 12 π (5) 0 = 0 π (6) 0 = β120 2 π 2 2 βπ₯ π . + 2 2 12 4 π₯ 4! + 4 6 π₯ π₯ 1 β π₯2 + β + β― + 2! 3! 0 5 π₯ 5! + β120 6 π₯ 6! +β― (β1)π π₯ 2π +β―= π! β π=0 (β1)π π₯ 2π π! There are several method for generating new Taylor Series from known ones: integrate term by term, differentiate term by term, using algebra, or using substitution. Example 4: Method 2 Find the Maclaurin series for π π₯ = 2 βπ₯ π . We know the Maclaurin series for π π₯ : 2 3 π π₯ π₯ π₯ 1 + π₯ + + + β―+ +β―= 2! 3! π! β π=0 π₯π π! Substitute βπ₯ 2 for π₯ in the Maclaurin series for π π₯ : 2 2 2 3 2 π (βπ₯ ) (βπ₯ ) (βπ₯ ) 2 1 + (βπ₯ ) + + + β―+ +β― 2! 3! π! 1 β π₯2 + π₯4 2! β π₯6 3! β π 2π + β―+ (β1) π₯ π! +β―= π=0 (β1)π π₯ 2π π! Finding ANY Taylor Series It should be possible to approximate functions around values other than π₯ = 0. How should we change the Maclaurin Series to make a Taylor Series centered at any π₯ = π? Remember it must still match the function at its value through all of its derivatives at π₯ = π. Change Change the 0 to an π: β²β² π π π π π π β² 2 π π +π π βπ₯+ π₯ + β―+ π₯ +β― 2! π! the π₯ to π₯ β π. β²β²β² π π π If π₯ = π, π π β² β²β² 2 πβ1 + β― β πβ² π does the 0 + π π + π π β π + + 2! π β¦ + π β 1! π series equal Noβ¦ π(π)? After substituting π for π₯, we need these values to be 0 in order for the sum to equal πβ²(π). β²β² π π π π π π π + π β² π β (π₯ β π) + (π₯ β π)2 + β― + (π₯ β π)π + β― 2! π! Finding ANY Taylor Series It should be possible to approximate functions around values other than π₯ = 0. How should we change the Maclaurin Series to make a Taylor Series centered at any π₯ = π? Remember it must still match the function at its value through all of its derivatives at π₯ = π. Change Change the 0 to an π: the π₯ to π₯ β π. β²β² π π π π π β² 2 π π + π π β (π₯ β π) + (π₯ β π) + β― + (π₯ β π)π + β― 2! π! If π₯ = π, Deriv: 0 + π β² π + π β²β² π (π₯ β π) + πβ²β²β² π (π₯ β π)2 + β― + π π π (π₯ β π)πβ1 + β― 2! (πβ1)! does the derivative β²β²β² π π π π π of the π₯ = π: 0 + π β² π + π β²β² π (π β π) + (π β π)2 + β― + (π β π)πβ1 + β― 2! (π β 1)! series equal = πβ² π πβ²(π)? YES! Taylor Series Generated by f at x=a Let π be a function with derivatives of all orders throughout some open interval containing π. Then the Taylor series generated by π at π = π is: β²β² π π π π π π π + π β² π β (π₯ β π) + (π₯ β π)2 + β― + (π₯ β π)π + β― 2! π! β π=0 π π (π) (π₯ β π)π π! Example Consider π π₯ = π π₯ . (a) Find the fourth degree Taylor Polynomial for π π₯ = π π₯ centered at π = 1. Find the function and derivatives of π(π₯): Find the value of each derivative if π₯ = 1: π π₯ = ππ₯ π 1 = π1 πβ² π₯ = π π₯ πβ² 1 = π1 πβ²β² π₯ = π π₯ πβ²β² 1 = π1 πβ²β²β² π₯ = π π₯ πβ²β²β² 1 = π1 π (4) π₯ = π π₯ π (4) 1 = π1 Substitute into the formula for 4 terms: π1 + π1 β (π₯ β 1) + π 2 π1 (π₯ 2! β 1 π 1)2 + 3! π 6 (π₯ β 1 π 1)3 + 4! π + π(π₯ β 1) + (π₯ β 1)2 + (π₯ β 1)3 + (π₯ β 1)4 π (π₯ 24 β 1)4 Example Consider π π₯ = π π₯ . (b) Approximate π1.5 and π10 with the Taylor Polynomial. Substitute π₯ = 1.5, 10 into the Taylor polynomial: π + π(1.5 β 1) + π (1.5 2 β π 2 1) + (1.5 β 6 π 3 1) + (1.5 24 β 1)4 = 4.481 π + π(10 β 1) + π (10 2 β 1) 2 π + (10 6 β 1) 3 π + (10 24 β 1)4 = 1210.655 Since π1.5 β 4.481 and π10 β 22026.466, the Taylor polynomial is a better approximation when it is closer to center value. Extension Find the Maclaurin series for π π₯ = π ππ₯ . We know the Maclaurin series for π π₯ : Substitute ππ₯ for π₯ in the Maclaurin series for π π₯: π₯2 π₯3 π₯4 π₯5 π₯π 1 + π₯ + + + + β¦+ +β― 2! 3! 4! 5! π! ππ₯ 2 ππ₯ 3 ππ₯ 4 ππ₯ 5 1 + ππ₯ + + + + +β― 2! 3! 4! 5! π2π₯2 π3π₯3 π4π₯4 π5π₯5 1 + ππ₯ + + + + +β― 2! 3! 4! 5! βπ₯ 2 βππ₯ 3 π₯ 4 ππ₯ 5 1 + ππ₯ + + + + +β― 2! 3! 4! 5! βπ₯ 2 π₯ 4 βπ₯ 3 π₯ 5 (1 + + + β― ) + π(π₯ + + + β―) 2! 4! 3! 5! cos π₯ + π sin π₯ Extension Continued Find the Maclaurin series for π π₯ = π ππ₯ . Therefore: Let π₯ = π: ππ₯ = cos π₯ + π sin π₯ ππ = cos π + π sin π π π π An equation relating the 5 most important numbers in mathematics! ππ π = β1 + 0 ππ +1=0
© Copyright 2026 Paperzz