Unit 7 – Series - Manasquan Public Schools

Unit 7 – Series
Lesson 4: Taylor’s Theorem &
The LaGrange Error Bound
Where Do We Go From Here
Let’s remember…..we are forming polynomials that approximate functions. So naturally, there is bound to
be some error right?
Our next step is to focus on that error:


Does error matter?
How can we find that error?
Does Error Matter?
Every truncation splits a Taylor series into two equally significant pieces:
(a) The Taylor Polynomial Pn(x) - which gives us the approximation
(b) The Remainder Rn(x) - which tells us whether the approximation is any good
This is the error between the
actual function and the polynomial
approximation!
Consider the 1986 Challenger disaster…..
Why did that space shuttle crash?
The design of the O-ring was off…..by
1
th of an inch.
10, 000
That mistake cost 8 astronauts their lives!
Unit 7 – Series
Lesson 4: Taylor’s Theorem &
The LaGrange Error Bound
Taylor’s Theorem
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,
f ( x)  f (a)  f (a)( x  a) 
f (a)
f ( n ) (a)
2
( x  a)  ... 
( x  a) n  Rn ( x),
2!
n!
where
Rn ( x) 
f ( n 1) (c)
( x  a ) n 1
(n  1)!
for some c between a and x.
The first equation in Taylor’s Theorem is Taylor’s formula. The function Rn(x) is the remainder
of order n or the error term for the approximation of f by Pn(x) over I. It is also called the
Lagrange form of the remainder, and bounds on Rn(x) found using this form are Lagrange
error bounds.
Lagrange Error Bound
Rn ( x) 
f ( n 1) (c)
(n  1)!
xa
n 1
OR
Rn ( x) 
M
n 1
xa
(n  1)!
In choosing the value for “c”, we should keep in mind that we must maximize this error. This
means that the series approximation to a function value will be AT MOST the value of this error.
We use Taylor polynomials to approximate the values of functions that we cannot evaluate
directly. We are already settling for an approximation. If we could find the exact error in our
approximation, then we would be able to determine the exact value of the function simply by
adding it to the approximation.
Unit 7 – Series
Lesson 4: Taylor’s Theorem &
The LaGrange Error Bound
How Can We Find That Error?
Ex 1: Use the third-order Maclaurin polynomial for f ( x)  sin( x) to approximate sin(0.5) .
Estimate the error involved in this approximation.
Ex 2: Use the third-order Maclaurin polynomial for f ( x)  e x to approximate e . About how
much error is there in your approximation. What degree polynomial is guaranteed to give
error less than 0.001?
Unit 7 – Series
Lesson 4: Taylor’s Theorem &
The LaGrange Error Bound
Ex 3:
(a)
Find the 3rd degree Taylor polynomial approximation for f ( x)  e  x at x  0 .
(b)
Use the polynomial to approximate f (1) .
(c)
Use the Lagrange error bound to prove that the value of f (1) must be less than
0.4.
x2
is used when x is small and represents T2 ( x) , the
2
second Taylor polynomial approximation on the interval [0.1, 0.1] . Use the Lagrange
error bound to find the maximum error on the approximation of f (0.1) .
Ex 4: The approximation ln(1  x)  x 
Note that we are given the second order Taylor polynomial, so the remainder must use
the third derivative. So we will need to find the third derivative at -0.1.
Unit 7 – Series
Lesson 4: Taylor’s Theorem &
The LaGrange Error Bound
Ex 5: Use the sixth-order Maclaurin polynomial for the cosine function to approximate cos(2).
Use the Lagrange error bound to give bounds for the value of cos(2). In other words, fill in
the blanks:
_____  cos(2)  _____
1994 BC4 (parts a and b only) – Calculator Active
Unit 7 – Series
Lesson 4: Taylor’s Theorem &
The LaGrange Error Bound
2004 (B) BC2 (ready for part d) – No calculator
Previously, you were given a Taylor polynomial, and in part (c) of this question, asked to
approximate f(0) using the Taylor polynomial. Here’s a recap:
f (0)  T ( f ,0)  7  9(0  2)2  3(0  2)3  5
Unit 7 – Series
Lesson 4: Taylor’s Theorem &
The LaGrange Error Bound
2004 BC6 – We Can DO ALL of it!
No Calculator
Unit 7 – Series
Lesson 4: Taylor’s Theorem &
The LaGrange Error Bound
1994 BC4 Answers
2004 (B) BC2 Answers
Unit 7 – Series
Lesson 4: Taylor’s Theorem &
The LaGrange Error Bound
2004 BC6 Answers