Lecture 3
Lecture 3
Paul Seidel
f (x) = x .
Graphically, these are exactly those points where the graph of f , whose equation
is y = f (x), crosses the diagonal, whose equation is y = x. You can often solve
for them exactly:
Example. To determine the fixed points of the function f (x) = x3 , we solve
x3 = x
⇒ x3 − x = 0
⇒ x(x2 − 1) = 0
Why are we interested in them, and why are they called fixed? This comes from
the problem of iterating the function f , which means feeding the output of that
function back into itself as an input. Here’s the idea summarized in a picture:
/ f
1
What this actually means is that we start with some x0 (the starting value) and
get x1 , x2 , . . . by applying f once, twice, and so on. In formulae:
x1 = f (x0 ),
x2 = f (x1 ) = f (f (x0 )),
x3 = f (x2 ) = f (f (x1 )) = f (f (f (x0 ))),
...
xn = f (xn−1 ) (1)
over and over. It’s actually the same as having a loop in a computer program
containing the command x := f(x) (but that would not be a proper math-
ematical way to say it). The behaviour of the xn can be quite complicated in
general, but there’s a simple special case:
Fact. If x0 is a fixed point of f , then the iteration consists of x0 = x1 = x2 =
···.
However, in applications, how often would it happen that the starting point
is exactly a fixed point? The question is whether fixed points can help us to
understand the more general behaviour of iteration. As we’ll see, calculus does
help with that. Before doing the theory, let’s investigate some examples.
√
Example. Take f (x) = x2 + x1 . We know that 2 is a fixed point, but let’s
instead start with x0 = 1 and iterate:
1 3
x1 = +1= ,
2 2
3 2 17
x2 = + = ,
4 3 12
17 12
x3 = + ≈ 1.41421569,
24 17
...
√
We observe
√ experimentally that the xn converge to 2. They never get exactly
equal to 2, but they get closer and closer. The same is true for other starting
values, there’s nothing special about 1!
Example. We are modelling the population of rabbits (in thousands) year-by-
year on an island. Each year, the population of rabbits tends to increase over
the previous year at a constant rate, until growth is limited by available re-
sources. Ultimately, if the population becomes too big, it can even decrease due
to exhaustion of resources. We model this by iterating a function
f (x) = ax − bx2
2
for some numbers a, b > 0. Actually, a > 0 is the rate of growth without any con-
straints, while the −bx2 term accounts for the limits imposed by resources. Let’s
suppose for now that a = 2.5, b = 1.5. We start with a very small population of
rabbits, x0 = 0.01 (just like they did in Australia). Then,
x0 = 0.01
x1 = 0.02485
x2 = 0.06119871625
x3 = 0.147378866319028
x4 = 0.335866370441347
x5 = 0.670456597913201
x6 = 1.001873420254987
x7 = 0.999058025317329
x8 = 1.000469656366881
x9 = 0.999764840950905
x10 = 1.000117496574880
...
As n gets larger, it seems that xn converges to 1. Again, it turns out that the
limiting value 1 is a fixed point.
Given these examples, one might think that the problem is rather easy after all:
Idea. (This turns out to be wrong!) Start with an arbitrary x0 and iterate f .
As n grows larger, xn always converges to some fixed point of f .
As we’ve already warned, that can’t be true. After all, there are functions with
no fixed points at all. And even if we have a fixed point and we start close to
it, convergence is not the only possible behaviour.
Example. Consider the same rabbit problem as before, but now with faster
growth: a = 3.25, b = 1.5. We look for fixed points
13 3
x = f (x) = x − x2
4 2
3
and find that the only one with x > 0 is at x = 3/2. Let’s try it out:
x0 = 0.01
x1 = 0.03235
x2 = 0.103567716250000
x3 = 0.320505670038639
x4 = 0.887557600835202
x5 = 1.702924460513897
x6 = 1.184576919345345
x7 = 1.745041271103810
x8 = 1.103630574303982
x9 = 1.759798699680136
x10 = 1.074008578866596
x11 = 1.760286240097869
x12 = 1.073018809701235
x13 = 1.760257082570031
...
Problem! Instead of arriving at the fixed point 3/2, the values seem to jump
between ≈ 1.76 and ≈ 1.07. Maybe that’s because we didn’t start close enough
to the fixed point?
x0 = 1.49
x1 = 1.51235
x2 = 1.48433371625
x3 = 1.519214706017698
x4 = 1.475427810086859
x5 = 1.529809548615736
x6 = 1.461405150447320
x7 = 1.546009218322859
x8 = 1.439313204840405
x9 = 1.570334163289379
x10 = 1.404661954099851
x11 = 1.605538542881098
x12 = 1.351369245348429
x13 = 1.652651791472020
x14 = 1.274231406500550
x15 = 1.705753555158233
x16 = 1.179306267861831
...
Still not working! In fact, what we again observe is an oscillation in the popu-
lation. This is exciting because we did not build it into our equation (1), it is a
phenomenon that arises unexpectedly from that equation.
4
Let f (x) = x and suppose that xn−1 is close to x. Then
(note that here x is the point we are approximating around, unlike the usual
situation) and hence
Conclusion. (This is now correct!) If |f 0 (x)| < 1 and xn−1 is close to x, then
xn will be even closer to x (by a factor of |f 0 (x)| approximately) and hence as
n gets larger, we will get convergence to x.
We can now introduce the official names. A fixed point x is called attracting if
starting with some number sufficiently close to x and iterating it always leads
to convergence to x. Our conclusion is that:
On the other hand, a fixed point that pushes away nearby values is called
repelling. One can show by a similar analysis that:
As we can see from the last two examples, changing a parameter (in this case a)
can have the effect of changing the situation from attracting to repelling. Some
of the phenomena you hear referred to as “tipping points” are of this kind.