
C HAOS IN T WO-DIMENSIONAL M APS
☞ C HALLENGE 5
Computer Calculations and Shadowing
A
RE COMPUTER calculations reliable? We have shown the results of com-
puter calculations in this book to demonstrate mathematical concepts. Some
of these calculations involve many thousands of iterations of a map. Because
floating-point computers have a finite degree of precision, there will be small
errors made on essentially every operation the computer carries out. Should the
pictures we make, and conclusions we reach on the basis of computer calculation,
be trusted?
This is a deep question with no definitive answer, but we will begin with
some simple examples, and in Challenge 5 work our way to a surprisingly strong
positive conclusion to the question. We start by considering fixed points, and
establish that it is certainly possible for a computer to produce a misleading
result. Let
f(x, y) ⫽ (x ⫹ d, y ⫹ d), (5.14)
where d ⫽ .000001. Consider the initial condition x
0
⫽ (0, 0), and suppose the
computer makes an error of exactly ⫺d in each coordinate when f is computed.
Then the computer will calculate the incorrect
ˆ
f(0, 0) ⫽ (0, 0), instead of the
correct f(0, 0) ⫽ (d, d). The computer says there is a fixed point but it is wrong.
The true map has no fixed points or periodic points of any period.
It seems extremely easy to make such a mistake with this map—to find a
fixed point when there isn’t one. From this example one might infer that using
a computer to make mathematical conclusions about interesting maps means
trading the world of mathematical truth for “close enough”.
The problem is compounded for longer-term simulations. If k ⫽ 10
6
,the
correct f
k
(0, 0) ⫽ (1, 1) has been turned into
ˆ
f
k
(0, 0) ⫽ (0, 0) by the computer.
Many small errors have added up to a significant error.
Add to this the consideration that the above map is not chaotic. Suppose we
are using a computer to simulate the iteration of a map with sensitive dependence
on initial conditions. A digital computer makes small errors in floating-point
calculations because its memory represents each number by a finite number of
binary digits (bits). What happens when a small rounding error is made by the
computer? Essentially, the computer has moved from the true orbit it was supposed
to follow to another nearby orbit. As we know, under a chaotic map, the nearby
orbit will diverge exponentially fast from the true orbit. To make matters worse,
222