1 / 33

Taylor’s Polynomials & LaGrange Error Review

Taylor’s Polynomials & LaGrange Error Review. Maclaurin Series:. (generated by f at ). Taylor Series:. (generated by f at ). If we want to center the series (and it’s graph) at some point other than zero, we get the Taylor Series:. Hint:.

alden-smith
Download Presentation

Taylor’s Polynomials & LaGrange Error Review

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Taylor’s Polynomials & LaGrange Error Review

  2. Maclaurin Series: (generated by f at ) Taylor Series: (generated by f at ) If we want to center the series (and it’s graph) at some point other than zero, we get the Taylor Series:

  3. Hint: On the TI-89, the factorial symbol is: The more terms we add, the better our approximation.

  4. example: Rather than start from scratch, we can use the function that we already know:

  5. The 3rd order polynomial for is , but it is degree 2. When referring to Taylor polynomials, we can talk about number of terms, order or degree. This is a polynomial in 3 terms. It is a 4th order Taylor polynomial, because it was found using the 4th derivative. It is also a 4th degree polynomial, because x is raised to the 4th power. The x3 term drops out when using the third derivative. A recent AP exam required the student to know the difference between order and degree. This is also the 2nd order polynomial.

  6. Maclaurin Series: (generated by f at ) There are some Maclaurin series that occur often enough that they should be memorized. They are on your formula sheet, but today we are going to look at where they come from.

  7. List the function and its derivatives.

  8. List the function and its derivatives. Evaluate column one for x = 0. This is a geometric series with a = 1 and r = x.

  9. We could generate this same series for with polynomial long division:

  10. This is a geometric series with a = 1 and r = -x.

  11. We wouldn’t expect to use the previous two series to evaluate the functions, since we can evaluate the functions directly. They do help to explain where the formula for the sum of an infinite geometric comes from. We will find other uses for these series, as well. A more impressive use of Taylor series is to evaluate transcendental functions.

  12. Both sides are even functions. Cos (0) = 1 for both sides.

  13. Both sides are odd functions. Sin (0) = 0 for both sides.

  14. and substitute for , we get: If we start with this function: This is a geometric series with a = 1 and r = -x2. If we integrate both sides: This looks the same as the series for sin (x), but without the factorials.

  15. p

  16. Finding Truncation Error in a Taylor Polynomial Graph the function y1 = ln (1 + x) and it’s corresponding Taylor Polynomial

  17. Finding Truncation Error in a Taylor Polynomial Graph the function y1 = ln (1 + x) and it’s corresponding Taylor Polynomial

  18. Finding Truncation Error in a Taylor Polynomial To find the error between the functions, graph y3 = abs (y2 – y1).

  19. Finding Truncation Error in a Taylor Polynomial To find the error between the functions, graph y3 = abs (y2 – y1). Where is the error the smallest?

  20. Use Table to see where truncation error is least on (-1,1)

  21. Finding Error in a Taylor Polynomial Graph the function y1 = sin x and it’s corresponding Taylor Polynomial and find the interval in which the Taylor polynomial is accurate to the thousandths place.

  22. Finding Error in a Taylor Polynomial The third order Taylor Polynomial for y = sin x is accurate to the thousandths place on the interval (-.65, .65). Graph y3 = abs (y1(x) – y2(x)), and y4 = .001.

  23. Taylor series are used to estimate the value of functions (at least theoretically - now days we can usually use the calculator or computer to calculate directly.) An estimate is only useful if we have an idea of how accurate the estimate is. When we use part of a Taylor series to estimate the value of a function, the end of the series that we do not use is called the remainder. If we know the size of the remainder, then we know how close our estimate is.

  24. Use to approximate over . ex. 2: Since the truncated part of the series is: , the truncation error is , which is . For a geometric series, this is easy: When you “truncate” a number, you drop off the end. Of course this is also trivial, because we have a formula that allows us to calculate the sum of a geometric series directly.

  25. Lagrange Form of the Remainder Taylor’s Theorem with Remainder If f has derivatives of all orders in an open interval I containing a, then for each positive integer n and for each x in I: Remainder after partial sum Sn where c is between a and x.

  26. Note that this looks just like the next term in the series, but “a” has been replaced by the number “c” in . Lagrange Form of the Remainder This seems kind of vague, since we don’t know the value of c, but we can sometimes find a maximum value for . Remainder after partial sum Sn where c is between a and x. This is also called the remainder of order n or the error term.

  27. If M is the maximum value of on the interval between a and x, then: Taylor’s Inequality Lagrange Form of the Remainder Note that this is not the formula that is in our book. It is from another textbook. This is called Taylor’s Inequality.

  28. Taylor’s Inequality Prove that , which is the Taylor series for sinx, converges for all real x. ex. 2: Since the maximum value of sin x or any of it’s derivatives is 1, for all real x, M = 1. so the series converges.

  29. On the interval , decreases, so its maximum value occurs at the left end-point. Find the Lagrange Error Bound when is used to approximate and . ex. 5: Remainder after 2nd order term

  30. Find the Lagrange Error Bound when is used to approximate and . Taylor’s Inequality On the interval , decreases, so its maximum value occurs at the left end-point. error ex. 5: Error is less than error bound. Lagrange Error Bound

  31. Example using Taylor’s Theorem with Remainder For approximately what values of x can you replace sin x by with an error magnitude no greater than 1 x 10-3 ?

  32. Taylor’s Theorem with Remainder Taylor’s Theorem with Remainder works well with the functions y = sin x and y = cos x because |f (n+1)(c)| ≤ 1. Note: Factorial growth in the denominator is larger than the exponential growth in the numerator. Since | Rn(x)|  0 then the Taylor Series converges as n →

More Related