Calculus II: Dr. Staples Section 9.1 Approximating...

Preview:

Citation preview

Calculus II: Dr. Staples Section 9.1 Approximating Functions with Polynomials

Definition: Taylor Polynomials centered at ๐’™ = ๐’‚ Let f be a function with derivatives, ๐‘“!, ๐‘“!! , ๐‘“!!!, โ€ฆ๐‘“! defined at a. Then the nth-order Taylor polynomial centered at ๐‘ฅ = ๐‘Ž is given by ๐‘! ๐‘ฅ = ๐‘“ ๐‘Ž + ๐‘“!(๐‘Ž)(๐‘ฅ โˆ’ ๐‘Ž)+ !

!!(!)!!

 (๐‘ฅ โˆ’ ๐‘Ž)! + !!!!(!)!!

(๐‘ฅ โˆ’ ๐‘Ž)! +โ‹ฏ !! !!!

(๐‘ฅ โˆ’ ๐‘Ž)! Note that you only need to compute the coefficients to determine the Taylor Polynomial. Observe that coefficient ๐‘! of (๐‘ฅ โˆ’ ๐‘Ž)! follows the rule ๐‘! =

!! !!!  and  ๐‘! ๐‘ฅ =   ๐‘!!

!!! (๐‘ฅ โˆ’ ๐‘Ž)! The nth-order Taylor polynomial centered at ๐’™ = ๐’‚ matches f in value, slope, and all derivatives at a. Thus it serves as a very useful approximation function. In fact, the error term or so-called remainder that arises from approximating a function with a Taylor Polynomial is well understood. Definition: Let  ๐‘! ๐‘ฅ  be the Taylor polynomial of order n for f. The remainder (i.e. error) in using  ๐‘! ๐‘ฅ to approximate f at the point x is

๐‘…! ๐‘ฅ = ๐‘“ ๐‘ฅ โˆ’    ๐‘! ๐‘ฅ . 

Estimating the Remainder Let n be a fixed positive integer. Suppose that there exists a number M such that the (n+1)st derivative satisfies | ๐‘“!!! ๐‘ | โ‰ค ๐‘€ for all c in [a,x]. Then the remainder in the nth-order Taylor polynomial centered at ๐‘ฅ = ๐‘Ž, satisfies

|๐‘…! ๐‘ฅ | = |๐‘“ ๐‘ฅ โˆ’    ๐‘! ๐‘ฅ | โ‰ค ๐‘€|๐‘ฅ โˆ’ ๐‘Ž|!!!

๐‘› + 1 !

If you work with numerical algorithms or computer programs, it is important to be able to estimate the accuracy of your approximation.