Professional Documents
Culture Documents
Chapter 9
Richardson
Extrapolation
At the end of this chapter, students should be able to:
Derive Richardson extrapolation
Identify and apply Richardson extrapolation technique
Determine error involve in the Richardson extrapolation method
9.1 Introduction
We have mentioned earlier in the study of numerical differentiation that the
three-point methods are better than the two-point methods in estimating first
order derivatives. We have also discovered that the three-point central is
generally the best method among the two-point and three point methods. In
addition, we have also shown using several examples that smaller step size h
will lead to better approximations of the derivatives. Perhaps it is wise to
consider another interesting method to approximate the first order derivatives
which is far better than any of the three-point methods discussed in the
preceding chapter. The general idea behind Richardson extrapolation is that
it uses two derivative estimates to compute a third approximation and thus
providing a more accurate approximation of the derivative. The following is a
brief discussion of the Richardson extrapolation method (based on a paper
written by Richardson and J.A. Gaunt in 1927).
141
NUMERICAL DIFFERENTIATION Part 5
2h1
c h12 h 22 R 2 R1
Solving for c,
R 2 R1
c
h12 h 22
So,
R2 R1 2 R2 R1
exact value of f ' (x) R2 h2 R2 h22
h12 h22 h 2
h22 12 1
h2
Simplifying,
R 2 R1
exact value of f ' (x) R 2
h1 2
h2
1
142
NUMERICAL DIFFERENTIATION Part 5
Example 1
Let f ' (x) x 3 . Use the three-point central difference formula with h1 = 0.1
and h2 = 0.05 to compute f ' (1) .Then, apply the Richardson extrapolation
Solution
h =0.05:
1.05 3 0.95 3
f ' (1)
2(0.05)
3.0025
R 2 R1
f ' (x) R 2
h1 2
h2
1
3.0025 3.01
f ' (1) 3.0025 2
3.0000
0.1
1
0.05
143
NUMERICAL DIFFERENTIATION Part 5
f ( x 0 2h ) 8f ( x 0 h ) 8f ( x 0 h ) f ( x 0 2h ) 12h 4 v
f ' ( x0 ) f ( x 0 ) ...
12h (3)5!
be written as below.
f(x 2h) 8f(x h) 8f(x h) f(x 2h)
f (x) ≈ O(h4 )
12h
with error term,
h4
E - f (5)
( ) , x - 2h x 2h
30
Or more conveniently,
h4
E- M where f (5)(x) M
30
144
NUMERICAL DIFFERENTIATION Part 5
Example 2
A function is given in tabular form below. Find an approximation to the first
derivative of f(x) at x = 0.8 with error O(h4).
Solution
Identify the point x that needs to be evaluated
x = 0.8
Identify the step size h
h = 0.1.
Example 3
The following data was taken during a physics experiment about a moving
particle at time t and velocity v(t). Calculate the acceleration of the particle
at t = 30 seconds.
t (seconds) 10 20 30 40 50
v(t) (m/s) 50 110 160 180 210
145
NUMERICAL DIFFERENTIATION Part 5
Solution
Note that the acceleration is the first derivative of velocity function v(t).
Identify the point t that needs to be evaluated
t = 30
Identify the step size h
h = 10
Example 4
The distance x of a runner from a fixed point is measured (in meters) at
intervals of half a second. The data obtained are as follows:
t 0.0 0.5 1.0 1.5 2.0
x 0.00 3.65 6.80 9.90 12.15
Solution
146
NUMERICAL DIFFERENTIATION Part 5
f (1.5) f (1.0)
f ' (1.0)
(0.5)
9.90 6.80
0.5
6.2
(ii) Using two-point backward difference with O(h):
f (1.0) f (0.5)
f ' (1.0)
(0.5)
6.80 3.65
0.5
6.3
(b) Using three-point central difference with O(h2):
f ( x h) f ( x h)
f ( x )
2h
f (1.5) f (0.5)
f (1)
2(0.5)
9.90 3.65
0. 1
6.25
147
NUMERICAL DIFFERENTIATION Part 5
Warm up exercise
Consider the f(x) 3x 2 4x. Find the first derivative of f(x) at x =2 with
h = 0.1 using:
(i) the two -point method
(ii) the three-point central difference method.
(iii) the Richardson extrapolation
Discuss your answers and compare it with the exact solution. So which is
better?
Solution
h 4M
Given E while f (5 ) ( x ) M
30
M 0.9636
148
NUMERICAL DIFFERENTIATION Part 5
a)
(0.1)4 (0.9636)
E
30
3.212x10 6
b)
(0.01)4 (0.9636)
E
30
3.212x10 10
Warm up exercise
Exercise 9
1. Use Richardson extrapolation to evaluate f ' (x) and calculate the error bound
for the following functions.
a) f(x) = cos(x) at x = π/4 with h = 0.01, h = 0.005
b) f(x) = ln(1 + x) at x = 1 with h = 0.01, h = 0.005
c) f(x) = tan−1 x at x = 2 with h = 0.01, h = 0.005
1
e) f (x) at x = 1 with h = 0.1, h = 0.01
x
g) f ( x ) xe x at x = 2 with h = 0.2
149
NUMERICAL DIFFERENTIATION Part 5
Use the Richardson’s extrapolation to estimate f ' (0.7) . Calculate the true
value of the derivative. Then, if f(x) = sin (3x), find the maximum bound of the
error using the Richardson’s error term and compare it with the true absolute
error. Comment on your observation.
150
NUMERICAL DIFFERENTIATION Part 5
http://www.math.dartmouth.edu/~calcsite/video1.html#406
Source: 1999 Addison Wesley Longman, Inc.
http://www.mathcs.emory.edu/ccs/ccs215/integral/node3.html
151