Lagrange Remainder
When using a Taylor polynomial of degree n centered at c to approximate the value of a function f at x, there is an error because the polynomial does not exactly mimic the function (unless, of course, f is a polynomial of degree less than or equal to n). We can bound this error using the Lagrange remainder (or Lagrange error bound). The remainder is:
where M is the maximum of the absolute value of the (n + 1)th derivative of f on the interval from x to c. The error is bounded by this remainder (i.e., the absolute value of the error is less than or equal to R). Note that R depends on how far x is away from c, how big n is, and on the characteristics of f.
Try the following:
- The applet shows the Taylor polynomial with n = 3, c = 0 and x = 1 for f (x) = ex. To compute the Lagrange remainder we need to know the maximum of the absolute value of the 4th derivative of f on the interval from 0 to 1. Since the 4th derivative of ex is just ex, and this is a monotonically increasing function, the maximum value occurs at x = 1 and is just e. So
. Note in the applet that the actual error is about 0.052. The Lagrange remainder is a bound on the error, not the actual error itself. It just says that the error, whatever it is, will be less than the Lagrange remainder.
For more information on rights and downloading, refer to http://www.calculusapplets.com/download.html.
© Copyright 2001 David J. Eck
© Copyright 2007 Thomas S. Downey
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
You must cause any files that you modify to carry prominent notices stating that you changed the files and the date of any change, and modified files must be put into a Java package different from edu.hws.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.






















