Now that you’ve found a polynomial to approximate your function, how good is your polynomial? Find...

14
Now that you’ve found a polynomial to approximate your function, how good is your polynomial? ind the 6 th degree Maclaurin polynomial for x x x f sin For what values of x does this polynomial best follow the curve? Where does the polynomial poorly follow the curve?

Transcript of Now that you’ve found a polynomial to approximate your function, how good is your polynomial? Find...

Page 1: Now that you’ve found a polynomial to approximate your function, how good is your polynomial? Find the 6 th degree Maclaurin polynomial for For what values.

Now that you’ve found a polynomial to approximate your function, how good is your polynomial?

Find the 6th degree Maclaurin polynomial for x

xxf

sin

For what values of x does this polynomial best follow the curve? Where does the polynomial poorly follow the curve?

Page 2: Now that you’ve found a polynomial to approximate your function, how good is your polynomial? Find the 6 th degree Maclaurin polynomial for For what values.

What are the limitations of graphically analyzing a Taylor polynomial?

Page 3: Now that you’ve found a polynomial to approximate your function, how good is your polynomial? Find the 6 th degree Maclaurin polynomial for For what values.

Suppose that a function f(x) has derivatives at x = 0 given by the formula:

n

nn nf

3

!10

Write the first few terms of the Taylor series centered at x = 0 for this function.

Page 4: Now that you’ve found a polynomial to approximate your function, how good is your polynomial? Find the 6 th degree Maclaurin polynomial for For what values.

Write the 4th degree Taylor polynomial for f centered at x = 0.

Estimate the error in using the 4th degree polynomial to approximate f(0.2).

Page 5: Now that you’ve found a polynomial to approximate your function, how good is your polynomial? Find the 6 th degree Maclaurin polynomial for For what values.

Error Bounds for ALTERNATING Series

Page 6: Now that you’ve found a polynomial to approximate your function, how good is your polynomial? Find the 6 th degree Maclaurin polynomial for For what values.

Example Write the 4th degree Maclaurin polynomial for:

xy cos

Show that this polynomial approximates cos(.9) to better than 1 part in 1000.

Page 7: Now that you’ve found a polynomial to approximate your function, how good is your polynomial? Find the 6 th degree Maclaurin polynomial for For what values.

Example Consider the power series:

...21...642 12753 nn xnxxxxxf

What is the maximum error in truncating the function after the 4th term on the interval -.5 < x < .5?

Page 8: Now that you’ve found a polynomial to approximate your function, how good is your polynomial? Find the 6 th degree Maclaurin polynomial for For what values.

Example Suppose that f is a function such that f(2)=3 and : nnf 22

Write the 3rd degree Taylor polynomial for f centered at x = 2.

Estimate f(2.1). What is the maximum difference between your estimate and the actual value of f(2.1)?

Page 9: Now that you’ve found a polynomial to approximate your function, how good is your polynomial? Find the 6 th degree Maclaurin polynomial for For what values.

What is the 4th degree Maclaurin polynomial for ?2xey

Using the polynomial, estimate y(.2). How good is your estimate? Why we can’t we use our usual method to estimate the error?

Page 10: Now that you’ve found a polynomial to approximate your function, how good is your polynomial? Find the 6 th degree Maclaurin polynomial for For what values.

Taylor’s Theorem

The difference between a function at x and it’s nth degree Taylor polynomial centered a is:

1

1

!1

nn

n axn

cfxR

for some c between x and a.

Page 11: Now that you’ve found a polynomial to approximate your function, how good is your polynomial? Find the 6 th degree Maclaurin polynomial for For what values.

Taylor’s Theorem is an existence theorem. What does that mean?

What other existence theorems have we seen in Calculus?

Page 12: Now that you’ve found a polynomial to approximate your function, how good is your polynomial? Find the 6 th degree Maclaurin polynomial for For what values.

Recall our 4th degree polynomial for and our estimate for y(.2).

2xey

Use Taylor’s Theorem to estimate the difference between our estimate and the true value of y(.2).

Page 13: Now that you’ve found a polynomial to approximate your function, how good is your polynomial? Find the 6 th degree Maclaurin polynomial for For what values.

Lagrange Error Bound

Choose M to be at least as big as the maximum value of the n+1 derivative on the interval x to a.

1

1

n

xMxR

n

Page 14: Now that you’ve found a polynomial to approximate your function, how good is your polynomial? Find the 6 th degree Maclaurin polynomial for For what values.

Example

Write the 3rd degree Taylor polynomial, P(x), for centered at x= 0.

xey 2

Estimate the error in using P(.2) to approximate . 4.0e