![]()
![]()
for
Background.
Numerical differentiation formulas can be
derived by first constructing the Lagrange interpolating
polynomial
through three points, differentiating the Lagrange polynomial, and
finally evaluating
at
the desired point. The truncation error is be
investigated, but round off error from computer arithmetic using
computer numbers will be studied in another lab.
Theorem (Three point rule for
). The
central difference formula for the first derivative, based
on three points is
,
and the remainder term is
.
Together they make the equation
, and
the truncation error bound is
where
. This
gives rise to the Big "O" notation for
the error term for
:
.
Proof Richardson's Extrapolation Richardson's Extrapolation
Theorem (Five point rule for
). The
central difference formula for the first derivative, based
on five points is
,
and the remainder term is
.
Together they make the equation
, and
the truncation error bound is
where
. This
gives rise to the Big "O" notation for
the error term for
:
.
Proof Richardson's Extrapolation Richardson's Extrapolation
Theorem (Richardson's
Extrapolation for
). The
central difference formula for the first derivative, based
on five points is a linear combination of
and
.
,
where
and
.
Proof Richardson's Extrapolation Richardson's Extrapolation
Animations (Numerical Differentiation Numerical Differentiation). Internet hyperlinks to animations.
Computer Programs Richardson's Extrapolation Richardson's Extrapolation
Richardson's
Extrapolation.
Richardson's extrapolation relates the five
point rule and the three point rule,
, that
was studied previously.
.
Enter the three point formula for numerical differentiation.
Project III.
Investigate the numerical differentiation
formulae
and
error bound
where
.
The truncation error is be investigated, but round off error from
computer arithmetic using computer numbers will be studied in another
lab.
Enter the five point formula for numerical differentiation.
Example
1. Consider the
function
. Find
the formula for the third derivative
,
it will be used in our explorations for the remainder term and the
truncation error bound. Graph
. Find
the bound
. Look
at it's graph and estimate the value
,
be sure to take the absolute value if necessary.
Solution
1.
Example 2
(a). Compute numerical approximations for the
derivatives
,
using step sizes
.
2 (b). Plot the
numerical approximation
over the interval
. Compare
it with the graph of
over the interval
.
Solution
2.
Example
3. Plot the absolute
error
over
the interval
,
and estimate the maximum absolute error over the interval.
Compute the error bound
and
observe that
over
.
Solution
3.
Example
4. Investigate the behavior
of
. If
the step size is reduced by a factor of
then
the error bound is reduced by
. This
is the
behavior.
Solution
4.
Example
5. Compare the error bounds for the
three point and five point formulas.
5
(a). Which is smaller
? Can
you justify it?
5 (b). Which is
smaller
? Can
you justify it?
Solution
5.
Project IV.
Investigate Richardson's extrapolation for
numerical differentiation.
Example
6. In general, show
that
.
Solution
6.
Example 7. Consider
the function
. Find
the approximations
,
and
then use the extrapolation formula
.
Compute
directly. Finally,
compare these numerical approximations for the derivative
with
.
Solution
7.
Various Scenarios and Animations for Richardson's Extrapolation and higher derivatives.
Example
8. Given
,
find numerical approximations to the derivative
,
using five points and the central difference formula.
Solution
8.
Example
9. Given
,
find numerical approximations to the derivative
,
using five points and the central difference formula.
Solution
9.
Example
10. Given
,
find numerical approximations to the derivative
,
using five points and the central difference formula.
Solution
10.
Old Lab Project (Numerical Differentiation Numerical Differentiation). Internet hyperlinks to an old lab project.
Research Experience for Undergraduates
Numerical Differentiation Numerical Differentiation Internet hyperlinks to web sites and a bibliography of articles.
Richardson's Extrapolation Richardson's Extrapolation Internet hyperlinks to web sites and a bibliography of articles.
Download this Mathematica Notebook Richardson's Extrapolation
Return to Numerical Methods - Numerical Analysis
(c) John H. Mathews 2004