Example 5.  Consider the function  [Graphics:Images/TaylorPolyMod_gr_348.gif].  
5 (b).  Investigate the error term [Graphics:Images/TaylorPolyMod_gr_350.gif]for the Maclaurin polynomial of degree n = 20 over the interval  [-2.0, 2.0].  
Solution 5 (b).

Background. Lagrange form of the Remainder.  The Lagrange form of the error is  [Graphics:../Images/TaylorPolyMod_gr_385.gif]  where  c  is known to exist and lies somewhere between  0  and  x.

[Graphics:../Images/TaylorPolyMod_gr_386.gif]


[Graphics:../Images/TaylorPolyMod_gr_387.gif]
[Graphics:../Images/TaylorPolyMod_gr_388.gif]


First we need to bound the size of the term  [Graphics:../Images/TaylorPolyMod_gr_390.gif]  for values of  c  in the interval  [Graphics:../Images/TaylorPolyMod_gr_391.gif].  This can easily be done graphically, but to do it analytically with derivatives is quite messy.  We choose to look at the following graph to see what is happening.

[Graphics:../Images/TaylorPolyMod_gr_392.gif]

[Graphics:../Images/TaylorPolyMod_gr_393.gif]



How big does  [Graphics:../Images/TaylorPolyMod_gr_395.gif]  get ?  Looking at the graph we can estimate it to be  [Graphics:../Images/TaylorPolyMod_gr_396.gif].  

That's good enough.

How big does the error  [Graphics:../Images/TaylorPolyMod_gr_397.gif]  get ?  Notice that [Graphics:../Images/TaylorPolyMod_gr_398.gif][Graphics:../Images/TaylorPolyMod_gr_399.gif].  
We will use the bound the first portion[Graphics:../Images/TaylorPolyMod_gr_400.gif]  and  then bound the portion  [Graphics:../Images/TaylorPolyMod_gr_401.gif]  over the interval  [-2.0, 2.0]  by evaluating it at  [Graphics:../Images/TaylorPolyMod_gr_402.gif]  

[Graphics:../Images/TaylorPolyMod_gr_403.gif]

[Graphics:../Images/TaylorPolyMod_gr_404.gif]

Now multiply the two numbers together to find the error bound for Lagrange's remainder formula.

    [Graphics:../Images/TaylorPolyMod_gr_405.gif]  

This is a little larger than the actual maximum error we found. Remember is an "error bound."

[Graphics:../Images/TaylorPolyMod_gr_406.gif]

[Graphics:../Images/TaylorPolyMod_gr_407.gif]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004