![]()
![]()
Lab for Chebyshev Polynomial Approximation
![]()
Background.
Chebyshev Approximation. To
construct and evaluate the Chebyshev interpolating polynomial for
f(x),
of degree n over the interval
,
where
is based on the nodes
.
In practice, all we need to know is that the Chebyshev polynomial
uses the interpolation nodes
.
It will suffice to construct these data points and
use Mathematica's built in "Fit" procedure.
Load in Mathematica's graphics package "Colors".
Report to be handed in.
Computer Exercises
Exercise 1. Investigate
the Chebyshev polynomial of degree n = 4 for
.
![]()
![[Graphics:ch.txtgr12.gif]](ch.txtgr12.gif)
Be assured that our method of constructing the Chebyshev
polynomial is consistent with the traditional method.
Indeed, Mathematica has a built in procedure for this
construction. It is invoked with the following command:
Find the error for the Chebyshev approximation.
![]()
![[Graphics:ch.txtgr18.gif]](ch.txtgr18.gif)
Find the error bound for the Chebyshev approximation.
The error at the right endpoint is:
The error at the local minimum is:
The error bound for the Chebyshev polynomial is:
Construct the Taylor polynomial approximation for f[x] of
degree n = 4,
and compare the error bounds.
![]()
![[Graphics:ch.txtgr30.gif]](ch.txtgr30.gif)
Find the error for the Taylor approximation.
![]()
![[Graphics:ch.txtgr33.gif]](ch.txtgr33.gif)
Find the error bound for the Taylor approximation.
The error at the left endpoint is:
The error at the right endpoint is:
The error bound for the Taylor polynomial is:
The error for the Chebyshev polynomial is about 6% of the error
for the Taylor polynomial,
as shown by the following computation.
What do you conclude ?
![]()
![]()
(c) John H. Mathews, 1998