First-Order Equations: 1.1 The Simplest Example
First-Order Equations: 1.1 The Simplest Example
First-Order Equations
dx
= ax,
dt
is the simplest. It is also one of the most important. First, what does it mean?
Here x = x(t) is an unknown real-valued function of a real variable t and
dx/dt is its derivative (we will also use x 0 or x 0 (t) for the derivative). In addi-
tion, a is a parameter; for each value of a we have a different differential
Differential Equations, Dynamical Systems, and an Introduction to Chaos. DOI: 10.1016/B978-0-12-382010-5.00001-4
c 2013 Elsevier Inc. All rights reserved.
1
2 Chapter 1 First-Order Equations
equation. The equation tells us that for every value of t the relationship
x 0 (t) = ax(t)
is true.
The solutions of this equation are obtained from calculus: if k is any real
number, then the function x(t) = ke at is a solution since
Moreover, there are no other solutions. To see this, let u(t) be any solution and
compute the derivative of u(t)e −at :
d
u(t)e −at = u0 (t)e −at + u(t)(−ae −at )
dt
= au(t)e −at − au(t)e −at = 0.
x 0 = ax, x(0) = u0 .
A solution x(t) of an initial value problem must not only solve the differential
equation, but must also take on the prescribed initial value u0 at t = 0.
Note that there is a special solution of this differential equation when k = 0.
This is the constant solution x(t) ≡ 0. A constant solution like this is called an
equilibrium solution or equilibrium point for the equation. Equilibria are often
among the most important solutions of differential equations.
The constant a in the equation x 0 = ax can be considered as a parameter.
If a changes, the equation changes and so do the solutions. Can we describe
qualitatively the way the solutions change? The sign of a is crucial here:
1. If a > 0, limt→∞ ke at equals ∞ when k > 0, and equals −∞ when k < 0
1.1 The Simplest Example 3
2. If a = 0, ke at = constant
3. If a < 0, limt→∞ ke at = 0
The qualitative behavior of solutions is vividly illustrated by sketching the
graphs of solutions as in Figure 1.1.
Note that the behavior of solutions is quite different when a is positive and
negative. When a > 0, all nonzero solutions tend away from the equilibrium
point at 0 as t increases, whereas when a < 0, solutions tend toward the equi-
librium point. We say that the equilibrium point is a source when nearby
solutions tend away from it. The equilibrium point is a sink when nearby
solutions tend toward it.
We also describe solutions by drawing them on the phase line. As the solu-
tion x(t) is a function of time, we may view x(t) as a particle moving along the
real line. At the equilibrium point, the particle remains at rest (indicated by a
solid dot), while any other solution moves up or down the x-axis, as indicated
by the arrows in Figure 1.2.
The equation x 0 = ax is stable in a certain sense if a 6= 0. More precisely,
if a is replaced by another constant b with a sign that is the same as a, then
the qualitative behavior of the solutions does not change. But if a = 0, the
slightest change in a leads to a radical change in the behavior of solutions.
We therefore say that we have a bifurcation at a = 0 in the one-parameter fam-
ily of equations x 0 = ax. The concept of a bifurcation is one that will arise over
and over in subsequent chapters of this book.
Here a and N are positive parameters: a gives the rate of population growth
when x is small, while N represents a sort of “ideal” population or “carrying
capacity.” Note that if x is small, the differential equation is essentially x 0 = ax
(since the term 1 − (x/N ) ≈ 1), but if x > N , then x 0 < 0. Thus, this simple
equation satisfies the preceding assumptions. We should add here that there
are many other differential equations that correspond to these assumptions;
our choice is perhaps the simplest.
Without loss of generality, we will assume that N = 1. That is, we will
choose units so that the carrying capacity is exactly 1 unit of population and
x(t) therefore represents the fraction of the ideal population present at time t.
Therefore, the logistic equation reduces to
Ke at
x(t) = ,
1 + Ke at
where K is the arbitrary constant that arises from integration. Evaluating this
expression at t = 0 and solving for K gives
x(0)
K= .
1 − x(0)
x(0)e at
.
1 − x(0) + x(0)e at
So this solution is valid for any initial population x(0). When x(0) = 1, we
have an equilibrium solution, since x(t) reduces to x(t) ≡ 1. Similarly, x(t) ≡
0 is an equilibrium solution.
Thus, we have “existence” of solutions for the logistic differential equation.
We have no guarantee that these are all of the solutions of this equation at this
stage; we will return to this issue when we discuss the existence and uniqueness
problem for differential equations in Chapter 7.
To get a qualitative feeling for the behavior of solutions, we sketch the slope
field for this equation. The right side of the differential equation determines
the slope of the graph of any solution at each time t. Thus, we may plot little
slope lines in the tx–plane as in Figure 1.3, with the slope of the line at (t, x)
6 Chapter 1 First-Order Equations
x=1
x=0
t
Figure 1.3 Slope field, solution graphs, and phase line for x0 = ax(1 − x).
0.8
0.5 1
given by the quantity ax(1 − x). Our solutions must therefore have graphs
that are tangent to this slope field everywhere. From these graphs, we see
immediately that, in agreement with our assumptions, all solutions for which
x(0) > 0 tend to the ideal population x(t) ≡ 1. For x(0) < 0, solutions tend
to −∞, although these solutions are irrelevant in the context of a population
model.
Note that we can also read this behavior from the graph of the function
fa (x) = ax(1 − x). This graph, displayed in Figure 1.4, crosses the x-axis at the
two points x = 0 and x = 1, so these represent our equilibrium points. When
0 < x < 1, we have f (x) > 0. Therefore, slopes are positive at any (t, x) with
0 < x < 1, so solutions must increase in this region. When x < 0 or x > 1,
we have f (x) < 0, so solutions must decrease, as we see in both the solution
graphs and the phase lines in Figure 1.3.
We may read off the fact that x = 0 is a source and x = 1 is a sink from
the graph of f in similar fashion. Near 0, we have f (x) > 0 if x > 0, so slopes
are positive and solutions increase, but if x < 0, then f (x) < 0, so slopes are
negative and solutions decrease. Thus, nearby solutions move away from 0, so
0 is a source. Similarly, 1 is a sink.
1.3 Constant Harvesting and Bifurcations 7
x
x=1
x=0
t
x = −1
Figure 1.5 Slope field, solution graphs, and phase line for x0 = x − x3 .
x 0 = g(x) = x − x 3 .
Now let’s modify the logistic model to take into account harvesting of the pop-
ulation. Suppose that the population obeys the logistic assumptions with the
parameter a = 1, but it is also harvested at the constant rate h. The differential
equation becomes
x 0 = x(1 − x) − h,
fh(x)
x
0.5
h < 1/4
h = 1/4
h > 1/4
Rather than solving this equation explicitly (which can be done—see Exer-
cise 6 of this chapter), we use the graph of the function
fh (x) = x(1 − x) − h
h
1/4
x
x=a
this population model, the prediction that small changes in harvesting rates
can lead to disastrous changes in population has been observed many times in
real situations on earth.
Now let’s change our assumptions on the logistic model to reflect the fact that
harvesting does not always occur at a constant rate. For example, populations
of many species of fish are harvested at a higher rate in warmer months than
in colder months. So, we assume that the population is harvested at a periodic
rate. One such model is then
where again a and h are positive parameters. Thus, the harvesting reaches a
maximum rate −2h at time t = 14 + n where n is an integer (representing the
year), and the harvesting reaches its minimum value 0 when t = 43 + n, exactly
one half year later.
Note that this differential equation now depends explicitly on time; this is
an example of a nonautonomous differential equation. As in the autonomous
case, a solution x(t) of this equation must satisfy x 0 (t) = f (t, x(t)) for all t.
Also, this differential equation is no longer separable, so we cannot generate
an analytic formula for its solution using the usual methods from calculus.
Thus, we are forced to take a more qualitative approach (see Figure 1.9).
To describe the fate of the population in this case, we first note that the
right side of the differential equation is periodic with period 1 in the time
variable; that is, f (t + 1, x) = f (t, x). This fact simplifies the problem of find-
ing solutions somewhat. Suppose that we know the solution of all initial value
problems, not for all times but only for 0 ≤ t ≤ 1. Then in fact we know the
solutions for all time.
For example, suppose x1 (t) is the solution that is defined for 0 ≤ t ≤ 1 and
satisfies x1 (0) = x0 . Suppose that x2 (t) is the solution that satisfies x2 (0) =
Before computing the Poincaré map for this equation, we need to introduce
some important terminology. To emphasize the dependence of a solution on
12 Chapter 1 First-Order Equations
∧
x0
the initial value x0 , we will denote the corresponding solution by φ(t, x0 ). This
function, φ : R × R → R, is called the flow associated with the differential
equation. If we hold the variable x0 fixed, then the function
t → φ(t, x0 )
φ(t, x0 ) = x0 e at .
x(0)e at
φ(t, x0 ) = .
1 − x(0) + x(0)e at
Zt
φ(t, x0 ) = x0 + f (s, φ(s, x0 )) ds
0
since
∂φ
(t, x0 ) = f (t, φ(t, x0 ))
∂t
and φ(0, x0 ) = x0 .
If we differentiate this solution with respect to x0 , using the Chain Rule, we
obtain:
Zt
∂φ ∂f ∂φ
(t, x0 ) = 1 + (s, φ(s, x0 )) · (s, x0 )ds.
∂x0 ∂x0 ∂x0
0
Now let
∂φ
z(t) = (t, x0 ).
∂x0
Note that
∂φ
z(0) = (0, x0 ) = 1.
∂x0
∂f ∂φ
z 0 (t) = (t, φ(t, x0 )) · (t, x0 )
∂x0 ∂x0
∂f
= (t, φ(t, x0 )) · z(t).
∂x0
Again, we do not know φ(t, x0 ) explicitly, but this equation does tell us that
z(t) solves the differential equation
∂f
z 0 (t) = (t, φ(t, x0 )) z(t)
∂x0
14 Chapter 1 First-Order Equations
Zt
∂f
z(t) = exp (s, φ(s, x0 ))ds,
∂x0
0
and so we find
Z1
∂φ ∂f
(1, x0 ) = exp (s, φ(s, x0 )) ds.
∂x0 ∂x0
0
Since p(x0 ) = φ(1, x0 ), we have determined the derivative p0 (x0 ) of the Poin-
caré map; note that p0 (x0 ) > 0. Therefore, p is an increasing function.
Differentiating once more, we find
Z1
s
∂ 2f ∂f
Z
p00 (x0 ) = p0 (x0 ) (s, φ(s, x0 )) · exp (u, φ(u, x0 )) du ds ,
∂x0 ∂x0 ∂x0
0 0
we have
∂ 2f
≡ −2a.
∂x0 ∂x0
Thus, we know in addition that p00 (x0 ) < 0. Consequently, the graph of the
Poincaré map is concave down. This implies that the graph of p can cross the
diagonal line y = x at most two times; that is, there can be at most two values
of x for which p(x) = x. Therefore, the Poincaré map has at most two fixed
points. These fixed points yield periodic solutions of the original differential
equation. These are solutions that satisfy x(t + 1) = x(t) for all t.
Another way to say this is that the flow, φ(t, x0 ), is a periodic function in
t with period 1 when the initial condition x0 is one of the fixed points. We
saw these two solutions in the particular case when h = 0.8 in Figure 1.10. In
Figure 1.11, we again see two solutions that appear to be periodic. Note that
one of these appears to attract all nearby solutions, while the other appears to
repel them. We’ll return to these concepts often and make them more precise
later in the book.
1.6 Exploration: A Two-Parameter Family 15
1 2 3 4 5
Recall that the differential equation also depends on the harvesting param-
eter h. For small values of h, there will be two fixed points such as shown in
Figure 1.11. Differentiating f with respect to h, we find
∂f
(t, x0 ) = −(1 + sin 2π t).
∂h
Thus, ∂f /∂h < 0 (except when t = 3/4). This implies that the slopes of the
slope field lines at each point (t, x0 ) decrease as h increases. As a consequence,
the values of the Poincaré map also decrease as h increases. There is a unique
value h∗ , therefore, for which the Poincaré map has exactly one fixed point.
For h > h∗ , there are no fixed points for p, so p(x0 ) < x0 for all initial values.
It then follows that the population again dies out.
x 0 = fa,b (x) = ax − x 3 − b,
equation at first, but then try the following to verify your observations
rigorously:
1. First fix a = 1. Use the graph of f1,b to construct the bifurcation diagram
for this family of differential equations depending on b.
2. Repeat the previous question for a = 0 and then for a = −1.
3. What does the bifurcation diagram look like for other values of a?
4. Now fix b and use the graph to construct the bifurcation diagram for this
family, which this time depends on a.
5. In the ab–plane, sketch the regions where the corresponding differential
equation has different numbers of equilibrium points, including a sketch
of the boundary between these regions.
6. Describe, using phase lines and the graph of fa,b (x), the bifurcations that
occur as the parameters pass through this boundary.
7. Describe in detail the bifurcations that occur at a = b = 0 as a and/or b
vary.
8. Consider the differential equation x 0 = x − x 3 − b sin(2π t), where |b| is
small. What can you say about solutions of this equation? Are there any
periodic solutions?
9. Experimentally, what happens as |b| increases? Do you observe any
bifurcations? Explain what you observe.
EXERCISES
f (x)
4. Consider the function f (x) with a graph that is displayed in Figure 1.12.
(a) Sketch the phase line corresponding to the differential equation x 0 =
f (x).
(b) Let ga (x) = f (x) + a. Sketch the bifurcation diagram corresponding
to the family of differential equations x 0 = ga (x).
(c) Describe the different bifurcations that occur in this family.
5. Consider the family of differential equations
x 0 = ax + sin x,
where a is a parameter.
(a) Sketch the phase line when a = 0.
(b) Use the graphs of ax and sin x to determine the qualitative behavior
of all of the bifurcations that occur as a increases from −1 to 1.
(c) Sketch the bifurcation diagram for this family of differential
equations.
6. Find the general solution of the logistic differential equation with con-
stant harvesting,
x 0 = x(1 − x) − h,
x − 4 if t < 5,
x0 =
2 − x if t ≥ 5.
ZT
p(s) ds = 0.
0
15. Consider the differential equation x 0 = f (t, x), where f (t, x) is continu-
ously differentiable in t and x. Suppose that
f (t + T, x) = f (t, x)
for all t. Prove that there is a periodic solution x(t) for this equation with
p < x(0) < q.
16. Consider the differential equation x 0 = x 2 − 1 − cos(t). What can be said
about the existence of periodic solutions for this equation?