Ode Green
Ode Green
Ode Green
A Systems Approach
Bruce P. Conrad
2010
c Bruce P. Conrad
2
Chapter 1
First-Order Equations
3
4 CHAPTER 1. FIRST-ORDER EQUATIONS
1.1 Introduction
A differential equation is a relation involving an unknown function and
some of its derivatives. For example,
dy
= y + et
dt
is a differential equation that asks for a function, y = f (t), whose derivative
is equal to the function plus et . By differentiating, you can verify that a
function such as y = tet meets this specification.
Differential equations are a source of fascinating mathematical prob-
lems, and they have numerous applications.
A mathematical model is a mathematical construction, such as a differ-
ential equation, that simulates a natural or engineering phenomenon. Most
applications of differential equations take the form of mathematical mod-
els. For example, consider the problem of determining the velocity v of a
falling object.
v
?
Newtons second law of motion tells us that the net force on the object is
equal to the product of its mass, m, and its acceleration, dv
dt . This law is a
differential equation,
dv
m = F,
dt
Ignoring air resistance, for an object falling close to the earths surface the
force is F = mg, directed downward, where g is approximately 9.80 meters
per second per second. Thus the differential equation
dv
m = mg
dt
is a mathematical model corresponding to a falling object.
To solve the differential equation, cancel the mass and note that v is an
antiderivative of the constant g; thus v = gt + C, where C is an arbitrary
constant.
1.1. INTRODUCTION 5
dv k
= g v2 . (1.1)
dt m
It may be tempting to integrate as we did before:
Z
k 2
v= g v dt.
m
2 y 2
2 y
c = 0.
t2 x2
The unknown function y represents the displacement of a point on the
string x centimeters from the bridge at time t, and c is a constant related
to the tension and density of the string.
In any differential equation, a dependent variable is a variable that rep-
resents an unknown function. A solution of a differential equation is a
function that can be substituted for the dependent variable to produce an
identity.
dy
S OLUTION . If y = Cekt then dt = Ckekt and ky = Ckekt as well. Hence
equation (1.2) becomes an identity.
Theorem 1.1 (Equal derivatives theorem) Let f 1 (t) and f 2 (t) be defined and
differentiable on an interval ( a, b) (infinite endpoints are permitted), and assume
1.1. INTRODUCTION 7
that f 10 (t) = f 20 (t) for all t ( a, b). Then there is a constant C such that f 1 (t) =
f 2 (t) + C for all t ( a, b).
Exercises
For each of the differential equations in problems 1 13,
1.1. INTRODUCTION 9
1. y00 + y = 0.
See answer
2. y 0 = ( x + y )4
3. (y0 )2 + xy = e x .
See answer
y 3 y
4. t + 6y y
t = x3
.
5. y 0 = t2 + y2 .
See answer
6. y(100) y = 0
7. y0 = sin y.
See answer
8. y2 + (y0 )2 = 1.
9. y3 + ( y 0 )3 = 1
See answer
y0 tan(t)y = 0.
(a) y(0) = 0.
(b) y(/4) = 1.
10 CHAPTER 1. FIRST-ORDER EQUATIONS
y00 + y = 0,
(a) y(0) = 0.
(b) y(0) = 0, y( ) = 0.
(c) y(0) = 0, y(/6) = 1.
(d) y(0) = 1, y0 (0) = 1.
See answer
16. Show that y = 2( t 1) + Ce t is a solution of
y
y0 + = 1,
2 t
and use it to solve the IVP that couples this ODE with the initial con-
dition y(1) = 0.
2
17. Show that y = Cet is a solution of the ODE y0 = 2ty, and solve
the IVP y0 = 2ty; y(0) = 3.
See answer
0 if t 0
18. Let y(t) = Show that y(t) is a solution of the IVP
t2 if t > 0.
y0 = 2 y; y(1) = 1. Also show that
t2 + y ( t )2 = 1
(there are two such functions). Show that y(t) is a solution of the ODE
yy0 + t = 0.
See answer
1.2. LINEAR GROWTH AND DECAY 11
20. Verify that y(t, C ) = (t + C )et is the general solution of the ODE
d t
(e y) = 1
dt
by showing that for every value of the constant C, y(t, C ) satisfies the
ODE, and that every solution has the form y(t, C ) for some C.
the absolute rate of change, fits naturally into a mathematical model . The
relative rate of change of y is defined to be the absolute rate of change,
expressed as a fraction of y. The distinction between absolute and relative
rates of change can be seen by comparing simple and compound interest.
Simple interest is calculated as a percentage of the original deposit, and
does not change as long as no further deposits are made. The absolute rate
of change of value of this account is the dollar amount of interest earned
per unit time. For example, if the account pays 4% interest and $4000 is
initially deposited, then interest payments of 0.04($4000) = $160 will be
paid each year for the life of the account. The value y of the account is
determined by the ODE
dy
= 160,
dt
with y(0) = 4000. This indicates a constant absolute rate of change. After t
years, the value will be
Z t
4000 + 160 dt = $(4000 + 160t).
0
1 dy
.
y dt
Assuming that the bank uses continuous compounding, as most do, the
relative rate of change of the account balance is equal to the APR, which is
constant. If the APR is k, then the ODE
dy
= k y, (1.3)
dt
is an appropriate mathematical model . Equation (1.3) is called the linear
growth equation. The word linear refers to the ODE, not its solution.
The linear growth equation can be used as a mathematical model for the
balance on a bank account with continuously compounded interest, as well
as many other phenomena, including population growth and radioactive
decay.
1.2. LINEAR GROWTH AND DECAY 13
Example 1.2.1 The family of solutions y = Cekt of equation (1.3) was found in
example 1.1.1. Verify that it is the general solution.
d kt
[e (t)] = kekt (t) + ekt 0 (t).
dt
Since (t) is a solution of equation (1.3), we can replace 0 (t) with k(t),
and then
d kt
[e (t)] = kekt (t) + ekt k(t) = 0.
dt
By the equal derivatives theorem, ekt (t) = C, where C is constant. Thus
(t) = Cekt .
is a mathematical model for the balance of a savings account that earns 5% interest
compounded continuouslywhere the initial principal is $1000. Solve this IVP to
find the balance as a function of time.
The following example shows how the relative growth rate, k, can be
calculated from two data points, y(0) and y(t1 ) for some t1 > 0.
14 CHAPTER 1. FIRST-ORDER EQUATIONS
Example 1.2.3 An investment of $10,000, made on June 30, 2005 in the Stan-
dard and Poors 500 Stock Index would grow to $12,920 by December 31, 2007,
assuming all dividends were reinvested when received. What rate of compound
interest would be required to match this performance? If the investment continued
to increase at this rate, when would the investment be expected to double, thus
reaching a value of $20,000?
S OLUTION . Let k be the interest rate. Then if y(t) denotes the balance at
time t, the IVP y0 = ky; y(0) = 10,000 holds. The general solution of the
ODE is y = Cekt , and the initial condition specifies C = y(0) = 10,000. The
time elapsed is t = 2.5 years. Hence 12,920 = 10, 000e2.5k , so
1
k = 2.5 ln(1.292) = 0.1025 = 10.25%.
Under our assumption that the investment will continue to grow at this rate,
the date it would reach the value of $20,000 would be t years after June
30, 2005, where 10,000e0.1025t = 20,000. Solving for t by taking logarithms,
1
we have t = 0.1025 ln(2) = 6.76 years. Thus we would expect the
investment to reach $20,000 at the end of March, 2012. (The rate of
growth of stock prices in not constant, so we cant bank on this
prediction.)
ln 2
Doubling time = (1.4)
relative growth rate
To verify equation (1.4) just note that if k is the relative growth rate and T
the doubling time, then
ekT = 2.
Population growth. Let y(t) represent the population, at time t years af-
ter a reference time. Although the population at any time is an integer,
we will be using a continuous variable to represent it. This continuous ap-
proximation of a discrete variable restricts this mathematical model to large
populations. Under the assumption that the relative birth and death rates,
b and d, respectively (expressed per thousand population), are constant, the
bd
relative rate of change for the population is 1000
bd
y0 (t) = y ( t ),
1000
bd
which is the linear growth equation (1.3), with k = 1000 . In the past, birth
and death rates for human populations have not remained constant for
long periods of time, so predictions based on the linear model are only
reliable over short time spans.
Example 1.2.4 According to the 1980 census, the population of the United States
was then 227 million. The birth rate in 1980 was 15.9 per thousand, and the death
rate was 8.7 per thousand. Use these data with the linear growth model to estimate
the population in 2000.
8.7
S OLUTION . The relative growth rate is k = 15.91000 = 0.0072. Let y
represent the population, in millions. Our model takes the form of an IVP,
y0 = 0.0072y; y(1980) = 227. The general solution of the ODE is
y = Ce0.0072t . If we set t = 1980, and y = 227, we find
227 = Ce(0.0072)(1980)
Radioactive decay. The linear model for the decay of a radioactive iso-
tope agrees extremely well with experimental evidence. In this model, y(t)
denotes the mass (in grams) of the isotope that has not yet decayed at time
t. It is known that the rate at which atoms of the isotope disintegrate is pro-
portional to the number of atoms present. Furthermore, all atoms of the
isotope have the same mass, so the rate of disintegration is proportional to
y(t). The situation is described by a differential equation, called the linear
decay model:
dy
= ky.
dt
The parameter k is the decay constant. In this instance, the linear decay
model is a special case of the linear growth model (1.3), where the growth
rate is negative.
The general solution of the linear decay equation is y = C ekt so we
can say that the mass of the isotope is undergoing exponential decay.
The analog of the doubling time in this case is the half life, which is the
time it takes for a solution of equation (1.3) whose initial value is y0 to reach
the value 12 y0 .
Example 1.2.5 The half life of the isotope 131 I of iodine is 8 days. A nuclear
accident releases 100 kilograms of 131 I into the environment. How much 131 I will
remain in the environment after a period of one year? After two years?
By the equal derivatives theorem, eK(t) (t) is constant, and hence (t) =
CeK(t) .
A linear ODE with variable coefficients may have singular points, where
k (t) = a0 (t)/a1 (t) is discontinuous. The expression y = CeK(t) can rep-
resent the general solution only on an interval that does not contain any
singular points. This comment is applicable to the next example, since the
ODE there has a singular point at 0. In this example we will substitute
y = CeK(t) into the equation without first dividing through by the coeffi-
cient of y0 .
ty0 + my = 0
where m is a constant, on the interval (0, ), and find the solution that satisfies
the initial condition y(1) = 1.
Because our solution is to be found on (0, ), |t| = t. Also note that the
integration constant does not appear, because we dont need the most
1.2. LINEAR GROWTH AND DECAY 19
Exercises
1. The doubling time for a certain population is 35 years. How long
does it take for this population to triple?
See answer
By how much did the birth rate (per thousand) exceed the death rate
in the United States at the time of Malthus?
See answer
4. If the birth and death rates of 1980 (see example 1.2.4) were sus-
tained indefinitely, how long would it take for the population to dou-
ble?
Answer: 96 years.
Norton Critical Edition, edited by Philip Appleman, Norton, New York 1976
20 CHAPTER 1. FIRST-ORDER EQUATIONS
with relative growth rate k = .04, and it is observed that the popula-
tion of B, in millions, is always equal to the square root of the popu-
lation of A, in millions. Thus, for example, when the population of A
reached 4 million, the population of B was 2 million. Show that the
population of B also obeys equation (1.3), and find its relative growth
rate.
See answer
In Exercises 815, find the singular points (if any) and the general so-
lution of the ODE on intervals not containing singular points. Sketch the
graph of the solution that satisfies the given initial condition.
8.
(a) y0 2y = 0; y(0) = 1
(b) y0 + 2y = 0; y(0) = 1.
12. y0 + ty = 0; y(1) = 1.
14.
Carbon dating
A radioactive isotope of carbon, 14 C, has a half life of 5730 years. The frac-
tion of 14 C found in atmospheric carbon dioxide is constant at about one
part per billion (abbreviated 1 ppb), because the decay rate is matched by
the rate at which new 14 C is created by the effect of cosmic radiation. A
living plant acquires all of its carbon by respiration of atmospheric carbon
dioxide; hence the fraction of a living plants carbon which is the isotope
14 C is also 1 ppb. When the plant dies, decaying 14 C is not replaced, so the
time elapsed since the death of the plant can be estimated by measuring
the fraction of 14 C which remains. This technique, known as 14 C radiomet-
ric dating, was discovered in 1947 by Willard F. Libby. Before his work,
no one had noticed that atmospheric carbon dioxide contained 14 C. Libby
received the 1960 Nobel Prize for Chemistry as a result of this discovery.
y0 = 0.000121y; y(0) = 1.
17. King Tutankhamen died in 1325 B.C.E., and his tomb was discov-
ered in 1922 by Howard Carter. What would the proportion of 14 C in
a wood sample taken from the tomb? (Of course, this wouldnt have
been measured until after 1947).
See answer
where T (t) is the temperature of the object at time t, and A(t) is the ambi-
ent temperature (the temperature of the environment). The coefficient k is
the transmission coefficient , which tells the rate of heat transfer between
the object and its environment.
Equation (1.6) can be written in the form
T 0 + kT = kA(t),
and this reveals that it is linear, but inhomogeneous, because of the pres-
ence of the source term, kA(t).
To solve an inhomogeneous equation, solve the associated homoge-
neous equationobtained by removing the source termfirst. The asso-
ciated homogeneous equation for
a1 ( t ) y 0 + a0 ( t ) y = b ( t ), (1.7)
is
a1 (t)y0 + a0 (t)y = 0. (1.8)
Denote the particular solution eK(t) of (1.8) by yh (t). The subscript h
stands for homogeneous; thus the general solution of the homogeneous
1.3. LINEAR FIRST ORDER EQUATIONS 23
Theorem 1.2 Suppose that the coefficient functions a0 (t) and a1 (t), and the source
term b(t) in the inhomogeneous linear ODE (1.7) are continuous on an interval
(c, d), and that a1 (t) 6= 0 on that interval. Let y p (t) be a particular solution
of (1.7), defined on (c, d), and let yh (t) be a particular solution of the associated
homogeneous equation (1.8). Then the general solution of (1.7) on (c, d) is
P ROOF. To verify that every function of the form (1.9) is a solution, just
substitute y = y p (t) + C yh (t) in (1.7):
= b ( t ).
Now lets verify that every solution of (1.7) belongs to the family (1.9).
Let y = (t) be any solution of (1.7) that is defined on (c, d), and put (t) =
(t) y p (t). Then
a1 ( t ) 0 ( t ) + a0 ( t ) ( t ) =
a1 (t)0 (t) + a0 (t)(t) [ a1 (t)y0p (t) + a0 (t)y p (t)]
| {z } | {z }
=b(t) =b(t)
= 0.
with v0 yh (t) + vy0h (t) (obtained by the product rule for differentiation). This
yields the equation
a1 (t)v0 (t)yh (t) + v(t)[ a1 (t)y0h (t) + a0 (t)yh (t)] = b(t). (1.10)
b(t)
v0 (t) = ,
a1 ( t ) y h ( t )
and hence
b(t)
Z
v(t) = dt + C,
a1 ( t ) y h ( t )
where C is constant. Upon multiplying this v(t) by yh (t) we obtain the fol-
lowing expression for the general solution of equation (1.7) on the interval
(c, d):
b(t)
Z
y(t) = yh (t) dt + Cyh (t) (1.11)
a1 ( t ) y h ( t )
where R
yh = Ce ( a0 (t)/a1 (t)) dt
a1 (t)y0 + a0 (t)y = 0.
y0 + 3y = 2et
on the interval (, ), and determine the solution that satisfies the initial con-
dition y(0) = 0.
Example 1.3.2 The temperature in an oven is 200 C when the oven is turned
off. After 10 minutes, the temperature is 175 C. The temperature in the kitchen is
20 C. Find an expression for the temperature of the oven as a function of time.
dT
= k( T A(t)); T (0) = 200
dt
26 CHAPTER 1. FIRST-ORDER EQUATIONS
T 0 + kT = 0,
v = 20ekt + C.
200 = 20 + Ce0 ,
and C = 180. Using the second data point, t = 10, T = 175 we get
175 = 20 + 180e10k ,
T (t) = 20 + 180e0.015t .
The model predicts that the difference between the oven temperature
and the ambient temperature will decay exponentially.
If the object whose temperature is being modeled contains a source of
heat, equation (1.6) must be modified by inserting another source term. Let
H (t) denote the rate that heat is generated within the object (H (t) would
be negative in some cases, such as air conditioning). Then
0 = 0.2(20 0) + mH (t).
Thus
The occupants of the building (or a thermostat) will turn off the heat
to prevent it from getting as warm as 29 C, which invalidates our model,
as the ODE would no longer be linear (see Exercise 22 at the end of this
section).
y = t2 ln(t) t2 + Ct.
The general solution in example 1.3.4 again has the form y p + Cyh , where
y p = t2 (ln(t) 1) and yh = t.
Exercises
You may check your answers with a CAS, if you like; if an antiderivative is
hard to figure out, go ahead and use the CAS for that, too.
In problems 1 12, find the general solutions of the ODEs on the inter-
vals indicated (if no interval is indicated, the solution should be valid for all
real t). Then find the particular solutions that satisfy the initial conditions.
In some of these problems, a pair of differential equations that differ only
in the sign of the coefficient is given. Use a CAS (or graphing calculator) to
compare the graphs of several solutions of each of these paired equations.
In cases where the solutions are defined for all real t, do the solutions seem
to converge to some value as t , or as t ?
1. y0 = 3t 4y on (, ); y(0) = 0.
See Answer
2
5. y0 + 2ty = et on (, ); y(0) = 0.
See Answer
6. y0 + ty = t on (, ); y(0) = 0.
7.
(a) y0 + 10y = 1 on (, ).
(b) y0 10y = 1 on (, ).
8.
9.
10.
See Answer
17. At 3:00 am, the temperature inside a house is 15 C, and the heat
is turned off by a timer. When the heat is turned on again at 6:00
am, the temperature has fallen to 10 C. Throughout this period, the
temperature outdoors is 20 C. Find the rate constant for heat loss in
the building.
See Answer
19. A cabin has two identical wood stoves; only one is in operation.
The temperature outside is 15 C, and the indoor temperature has
stabilized at an uncomfortable 10 . Therefore, the second stove will
be put into use. At what temperature will the temperature now sta-
bilize?
See Answer
32 CHAPTER 1. FIRST-ORDER EQUATIONS
(a) Let
4 if T 20
H (T ) =
0 if T > 20.
Show that the IVP T 0 + 0.2T = 0.6 + 2 sin t
12 + H ( T ); T (0) =
20 is an appropriate model for the temperature in the building.
(b) Explain why the ODE in part (a) is not linear.
(c) Use an IVP solver to solve the IVP in part (a). Explain the dips in
the graph and the jagged appearance of the horizontal segments.
23. For each of the following ODEs, find the periodic solution, if there
is one, and decide whether or not it is stable. In other words, express
the general solution as the sum of the periodic solution and a family
of exponential functions. If the exponential functions decay to 0 as
t , they represent transients and the periodic solution is stable.
(e) y0 + y = et sin t.
See Answer
24. Find the periodic solution of each of the following ODEs and
show that it is stable.
(a) y0 + y = sin(2t)
(b) y0 + y = sin(2000t)
(c) y0 + 5y = cos(t).
(d) y0 + 10000y = sin t.
(e) y0 + .0006y = sin(.0008t).
(f) y0 + py = cos(t), where p > 0 is a constant. What would
happen if p < 0?
See Answer
26. For each of the following linear differential equations, find the
general solution, and graph several solutions by substituting values
for the constant, using the domain 10 t 10, and range 10
y 10. Make note of any properties that are common to all solutions.
(a) y0 + y = 1.
(b) y0 y = 1.
(c) y0 + y = t.
(d) y0 y = t.
(e) y0 + y = sin(t).
34 CHAPTER 1. FIRST-ORDER EQUATIONS
ty0 + t cot(t)y = 1
ty0 2y = et
that has the property g(1) = g0 (1). Draw the graph of g(t) on the
interval 0 t 2.
We will use the amount of salt in the tank, denoted x (t), rather than the
concentration C (t), as the dependent variable. We can determine the rate of
change of x (t) by subtracting the rate at which the salt removed (the output
rate) from the rate that salt enters the tank (the input rate). The input rate
is JK grams per minute, since J liters of solution, each containing K grams
of salt, enter the tank each minute. The output rate is LC (t), grams per
minute, where C (t) is the concentration of salt in the tank. Thus
x 0 (t) = JK LC (t).
V (t) = V0 + ( J L)t
x (t) x (t)
C (t) = = .
V (t) V0 + ( J L)t
dx x
= JK L , (1.14)
dt V0 + ( J L)t
Example 1.4.2 A tank initially contains 1000 liters of salt solution with 70 grams
of salt per liter. A solution containing 120 grams of salt per liter enters the tank
at the rate of 9 liters per minute, and the well mixed solution is pumped out at 10
liters per minute. Find the concentration of salt as a function of time.
Example 1.4.3 Ms. Doe retired yesterday at age 65. Her IRA account has a
principal of $450,000, which invested with a guaranteed interest rate of 5.25%,
compounded continuously. Her budget calls for annual expenses of $20,000, with
projected inflation of 2.5%. Determine Ms. Does savings account balance t years
after her retirement. How long will her money last?
S OLUTION . Let y(t) denote the balance t years after retirement, in dollars.
The input in this problem is interest amounting to 0.0525y(t), and the
output is expenses of 20, 000e0.025t dollars per year. Thus
y0 = 0.0525y 20000e0.025t .
This can be put into the standard form for a linear ODE:
y0 0.0525y = 20000e0.025t .
This function is decreasing, and y(t) = 0 when 730, 000 = 280, 000e0.0275t ;
that is, when e0.0275t = 2.6. This will be when Ms. Doe reaches the age of
100.
Exercises
In Exercises 110, assume that the uniformity hypothesis holds.
1. A tank initially contains 100 liters of water. A 16% salt solution
enters the tank at 2 liters per second. Brine is pumped out of the tank
at 2 liters per second. How long does it take for the concentration of
salt in the tank to reach: 8%? 12%? 15%?
See answer
1.4. *MIXTURE PROBLEMS 39
10. A 200 liter solar water heater absorbs heat at a rate proportional to
the sine of the angle of the sun over the horizon. The sun rises at 0600
and sets at 1800 on the 24hour scale. Assume that the heat absorption
rate is 1500 sin 12 (t 6) kilocalories per hour, where t is hours after
midnight of the equinox. Of course, no heat is absorbed at night
the absorption rate is 0 for 0 < t < 6, 18 < t < 30, etc.
The water heater loses heat by conduction to the environment, and by
hot water usage. The ambient temperature is 20 C, and the rate con-
stant for heat conduction to the rest of the house is k = 0.01 hour1 .
Hot water is removed from the tank at an average rate of 5 liters per
hour, and is replaced at the same rate by cold water with a tempera-
ture of 10 C with instant and perfect mixing. If the water in the tank
is at 60 C at 0600, find its temperature 24 hours later.
1.5. *BERNOULLI EQUATIONS 41
Hint: treat this as a mixture problem, and keep track of heat input
and output. One kilocalorie of heat will raise the temperature of one
liter by one centigrade degree.
11. A retired citizens living expenses are $30,000 per year now, and
he wants to allow for inflation of 3% per year. How much money
should he invest, at 6% interest, so that he can meet his living ex-
penses and not touch the principal, no matter how long he lives?
See answer
13. The age-specific death rate d(t) is the number of deaths of individu-
als who are t years old per 1000 individuals of that age. Assume that
d(20) = 2.8, d(50) = 17.6, and that d(t) satisfies the linear growth
equation d0 (t) = kd(t). Of a sample of 100,000 twenty year olds, how
many will survive to age 50?
See answer
v0 + mp(t)v = mq(t),
is linear, and thus we can find its general solution. It is then a simple matter
to replace v with ym and obtain the general solution of (1.16).
A Bernoulli equation is a first order nonlinear ODE of the form
dv k v3
= + tan( ) v. (1.20)
d g cos( )
Example 1.5.1 Show that (1.20) is a Bernoulli equation and make the appropriate
substitution to convert it to a linear ODE.
This has the form of (1.17), where v is the dependent variable, is the
independent variable, p( ) = tan( ), and q( ) = (k/g) sec( ). Thus it is
a Bernoulli equation, with exponent n = 3. To linearize, define a new
variable u = v1n = v2 . Then
du dv
= 2v3 ;
d d
or
dv v3 du
= .
d 2 d
Substitute this expression in (1.21) to obtain
v3 du k
tan( ) v = sec( ) v3 .
2 d g
Divide through by v3 to obtain
1 du k
tan( ) v2 = sec( ).
2 d g
Finally, replace v2 with u, and multiply through by 2 to obtain
du 2k
+ 2 tan( ) u. = sec( ).
d g
Exercises
Find the general solution of the following equations:
1. ty2 y0 + y3 = 1.
See answer
2. y0 + (tan t)y = y2 .
3. y0 + 3y = y3 sin t.
See answer
4. e2y y0 + e2y = e2t .
y
5. y0 + 2t+1 = 12[(2t + 1)/y]3 .
See answer
y4/3
6. y0 + (1 3t )y = t .
This form of an ODE is often convenient, and we will call (1.24) an ODE in
differential form.
Lets put the generic separable ODE, (1.22), in differential form:
and see how to approach solving it. We will want to divide through by
h(y), but we have to be careful, since this would be questionable if h(y) has
zeros. Thus, at the outset, find the zeros of h(y). Suppose that h(y0 ) = 0
and plug y = y0 (constant function) into either (1.22) or (1.25). Because
both sides (either equation) are 0, this y = y0 is a solution of the ODE.
To find the solutions that are not constant, divide (1.25) by h(y) to get
the following separated equation:
dy
= g(t) dt. (1.26)
h(y)
Because
0 (t) dt
= g(t) dt (1.27)
h((t))
implies that 0 (t) = g(t)h((t)), every solution of (1.26) is also a solution
of the original ODE (1.22). It must be emphasized that constant solutions
of (1.22) are usually not solutions of the separated equation, (1.26).
tive of h(y)1 and let G (t) = g(t) dt. If y = (t) is a solution of the
R
separated equation, then we can make the following substitutions in equa-
tion (1.26):
1/h((t)) ; H 0 ((t))
dy ; 0 (t) dt
g ( t ) ; G 0 ( t ).
This yields
H 0 ((t)) 0 (t) dt = G 0 (t) dt. (1.28)
Thus, (1.28) tells us that H ((t)) and G (t) have equal derivatives. It fol-
lows from the equal derivatives theorem that on any interval upon which
H ((t)) and G (t) are both defined, there is a constant C such that
( t ) = H 1 ( G ( t ) + C )
dy = g(t) h(y) dt
dy
Z Z
= g(t) dt.
h(y)
As a first example, consider the ODE (1.1) that is a model for the velocity
of a falling object with a drag force.
2
r dv = ( g k v ) dt. The constant
S OLUTION . In differential form we have
g
solutions are v = v , where v =
k
1.6. SEPARABLE ODES 47
The solution of example 1.6.1 has the expected properties: starting from
a velocity of 0, the object will accelerate and its velocity will approach the
terminal velocity v .
To explore further the properties of the linear and quadratic models, see
Exercise 6.
48 CHAPTER 1. FIRST-ORDER EQUATIONS
y 0 = t y 1 ; y (0 ) = 1
1 1
(1)2 = (0)2 + C
2 2
so C = 12 . Thus 12 y2 = 21 t2 + 12 . Solving for y yields two solutions
p
y= t2 + 1
is valid, since the initial condition specifies that y(0) is negative. Figure 1.8
shows several solutions of the differential equation y0 = t y1 .
1 2 1 2
F (t, y) = y t is an integral of y0 = t y1 .
2 2
It follows that if y = (t) is a particular solution of y0 = t y1 , then the
graph of (t) is a subset of a hyperbola F (t, y) = C.
1.6. SEPARABLE ODES 49
Exercises
1. Which of the following ODEs is separable?
dy t2 +5
(a) dt = ty
(b) y dt = t dy
dy
(c) dt = ety
dy 2 + y2 )
(d) dt = e(t
dy
(e) dt = cot y
t+y
(f) y0 = ty
See answer
(a) y0 = tan(ty).
(b) y0 = ln(ty ).
(c) y0 = sec y.
(d) y0 = ln(t + y)
See answer
how long does it take for the object to reach a speed of 49 meters per
second? Plot graphs of the velocity as a function of time to make a
comparison of the two models.
Answer: (a) 6.93 sec., (b) 5.49 sec.
In problems 7 15, find a family of solutions for the ODE. Then find
the particular solution that satisfies the given initial condition (be sure to
specify its domain).
dy
7. = (t 1)y2 ; y(1) = 0.
dt
See answer
8. y0 = 3t2 y2 ; y(0) = 1.
dy
9. = 2ty ; y(1) = 2.
dt
See answer
v0 = g + kv2 .
(a) 0 t 20,
(b) 20 t T1 , where T1 is the time that the rocket reaches its
maximum altitude, and for
(c) T1 t T2 , where T2 is the time that the rocket hits the ground.
Solving these ODEs is optional, and is recommended only for readers
who are using a CAS. Use the convention that upward motion has
positive velocity.
19. A ball is thrown upward with a velocity v0 (negative). Its terminal
velocity in free fall is v , and the drag force is proportional to the
square of the velocity. Find formulas for the following as as functions
of v0 and v .
(a) the maximum height attained by the ball,
(b) the time taken to reach that height,
(c) the time taken to return to the ground, and
(d) the velocity when the ball hits the ground.
|v |v
Answer: 02 2
v0 + v
21. A ball falls from rest from a high tower, with drag force propor-
tional to the square of its velocity. How long does it take for the ball
to attain a speed of half its terminal velocity?
See answer
22. A ball is thrown downward from a high tower, with v(0) = 4v .
How long does it take for the ball to reach a speed of 2v ? Assume
the drag force is proportional to the square of the velocity.
Answer: t = (|v | ln(1.8))/(2g)
F ( x, y) = C
P( x, y) dx + Q( x, y) dy = 0 (1.33)
dF = P( x, y) dx + Q( x, y) dy.
Theorem 1.3 Assume that the first partial derivatives of P( x, y) and Q( x, y) are
continuous on a rectangular domain D in the plane. Then the ODE (1.33) is exact
on D if and only if
P Q
( x, y) = ( x, y) (1.35)
y x
for all ( x, y) D
1.7. EXACT FORM 55
and Z x
F ( x, y) = P(t, y) dt + H (y).
x0
F
= P( x, y) + H (y) = P( x, y).
x x
Since P has continuous partial derivatives, we can apply the Leibniz rule
when differentiating F with respect to y:
Z x
F
= P(t, y) dt + H 0 (y)
y y x0
Z x
P
= (t, y) dt + H 0 (y).
x0 y
56 CHAPTER 1. FIRST-ORDER EQUATIONS
Q
Now we will use the exactness condition to replace P
y ( t, y ) with t ( t, y )
in the integral. This enables us to use another form of the fundamental
theorem of calculus:
Z x
Q
(t, y) dt = Q( x, y) Q( x0 , y).
x0 t
Thus we have shown that
F
= Q( x, y) Q( x0 , y) + H 0 (y). (1.36)
y
Since H (y) is by definition an antiderivative of Q( x0 , y) the last two terms
in (1.36) cancel, and the proof is complete.
S OLUTION .
P Q
(i) y ( x, y ) = 2y and x ( x, y ) = 2y so the equation is exact.
= 2xy and Q 2
x ( x, y ) = 4xy y + 10x; therefore the
P
(ii) y ( x, y )
exactness condition does not hold.
M
+ H 0 (y) = Q( x, y)
y
to determine H (y). This yields
Z
M
H (y) = Q( x, y) dy.
y
Of course, H (y) is not allowed to depend on x. The exactness condition
ensures that all terms involving x in the difference Q( x, y) M
y cancel out,
since
2 M
M Q
Q( x, y) =
x y x xy
P P
= = 0.
y y
Therefore F ( x, y) = M ( x, y) + H (y) is an integral of the ODE (1.33).
Since F
y = Q( x, y) = 2xy y2 + 10, it follows that
dH
2xy + = 2xy y2 + 10.
dy
58 CHAPTER 1. FIRST-ORDER EQUATIONS
dH
After cancelling, we obtain dy = y2 + 10. Therefore H (y) = 13 y3 + 10y,
and the integral is
1 1
F ( x, y) = xy2 + x3 x2 + 3x y3 + 10y.
3 3
To find an explicit solution, we would have to solve the cubic equation
F ( x, y) = C for y in terms of x.
Integrating factors
Equation (ii) of example 1.7.1 isnt exact, but comparing it with the exact
equation (i) of the example shows that it can be put into exact form by mul-
tiplying by an appropriate function, namely x 1 . This inspires the follow-
ing definition: A function m( x, y) is an integrating factor for the equation
P( x, y) dx + Q( x, y) dy = 0. (1.37)
if
m( x, y) P( x, y) dx + m( x, y) Q( x, y) dy = 0
is exact.
If we can determine an integrating factor for a given ODE, then we have
an equivalent ODE in exact form, and we can find an integral. In special
circumstances, we can put this strategy into action.
One-variable integrating factors. Suppose that the ODE (1.37) has an in-
tegrating factor m. Then
m P( x, y) dx + m Q( x, y) dy = 0
[m P( x, y)] = [m Q( x, y)] (1.38)
y x
m0 ( x ) cos( x )
= .
m( x ) sin( x )
Then F
y = 2y sin2 ( x ). Since F
x = 2y2 sin( x ) cos( x ) + K 0 ( x ),
Example 1.7.4 Find, if possible, a one-variable integrating factor for the ODE
2 2 3
2xy 3 dx + 4x + 2 dy = 0, (1.41)
x x y
S OLUTION .
Well start by looking for an integrating factor m( x ). If there is one, it must
satisfy
2 2 3
m( x ) 2xy 3 = m( x ) 4x + 2 .
y x x x y
1.7. EXACT FORM 61
After you carry out the differentiation and simplify, you should obtain
6 3
m( x ) 6x + 3 = m0 ( x ) 4x2 + 2 ,
x y x y
and then
m0 ( x ) 6 6x4 y
= 5
m( x ) 4x y + 3
Since the right side depends on y, this equation has no solution, and
hence there is no integrating factor m( x ).
To find if there is an integrating factor m(y) we must find solutions (if any)
of
2 2 3
m(y) 2xy 3 = m(y) 4x + 2 .
y x x x y
Now we use the product rule in differentiating the left side of the equation:
0 2 6
m (y) 2xy 3 + m(y)(2x ) = m(y) 8x 3 .
x x y
m0 (y) 3
= .
m(y) y
Then F
y = 4x2 y3 + 3x 2 y2 + H 0 (y), and it follows that H 0 (y) 0. The
integral is F ( x, y) = x2 y4 + x 2 y3 .
62 CHAPTER 1. FIRST-ORDER EQUATIONS
Exercises
General instruction for problems 1 14: decide if the ODE is exact; if it is,
find an integral, and if it isnt, do nothing. You are encouraged to use a
computer algebra system to help find antiderivatives.
1. (2x + 5y + 3) dx + (5x 4y + 2) dy = 0.
Answer
2. y dx + ( x + y) dy = 0.
3. (y2 1) dx + (2xy x ) dy = 0.
Answer
4. (y2 y) dx + (2xy x ) dy = 0.
6. ( x2 + 2xy y2 ) dx + ( x2 2xy y2 ) dy = 0.
7. x ( x2 + y2 1) dx + y( x2 + y2 + 1) dy = 0.
Answer
p p
8. x (3 x2 + y2 2) dx + y(3 x2 + y2 + 2) dy = 0.
2 2
y x
9. 1 + x +y dx + x +y 1 dy = 0.
Answer
y dx
10. x + ln x dy = 0.
In problems 15 19, find an integrating factor for the given ODE, and
use it to determine an integral.
1.7. EXACT FORM 63
15. ( x2 + xy2 + 1) dx + 2y dy = 0.
Answer
16. x dy (y x ) dx = 0.
20. Show that the ODE (5xy 2y2 ) dx + (5x2 3xy) dy = 0 does not
have an integrating factor m( x ) or m(y).
21. Show that there is an integrating factor m(y) for the ODE P( x, y) dx +
Q( x, y) dy = 0 if and only if the expression
1 Q P
P( x, y) x y
is independent of x.
Answer
dy f ( x, y) dx = 0.
Thus, the method for solving separable ODEs is a special case of the
integrating factor method.
dy + [ p( x )y q( x )] dx = 0,
and
v0 = 10 .001e.01t v2 , (1.43)
u0 = u1 u0 , u1 = u2 u1 , . . . , un = un+1 un , . . . .
ym = F (m, ym ); y0 = A.
66 CHAPTER 1. FIRST-ORDER EQUATIONS
Provided that F (m, y) is defined for all (m, y) such that m is a nonnegative
integer, this IVP is guaranteed to have a unique solution. We dont even
have to assume F is continuous. To see why this is so, rewrite the difference
equation as
ym+1 = ym + F (m, ym ). (1.45)
Equation (1.45) is recursive, in the sense it gives a formula for computing the
next term in the sequence. Since we have a starting value for y0 (the initial
condition), y1 , y2 , and so on can be computed, one after the other. Many
well known sequences are defined recursivelyfor example the factorial
sequence n! is defined by 0! = 1 and n! = n (n 1)!.
Eulers method
Leonhard Euler, one of the brightest stars in the history of mathematics,
showed how to use a difference equation IVP to approximate the solution
of a differential equation IVP. Let y = (t) denote the solution of the IVP,
Example 1.8.1 Use Eulers method with time step h = 0.25 to approximate the
solution of the IVP y0 = t y2 , y(0) = 0, for 1.5 t 1.5
S OLUTION . The solution must be propagated to the left and to the right
from the initial point (0, 0). To propagate leftward, we use h = 0.25; and
to propagate rightward, h = 0.25. We will start with h = 0.25. Eulers
method then generates a sequence ym defined by the initial condition
y(0) = 0 and the difference equation ym = 0.25(tm y2m ), where t0 = 0,
t1 = 0.25, t2 = 0.5, and so on. Since t6 = 1.5, we will need to
compute ym for 1 m 6.
1.8. GRAPHICAL ANALYSIS OF ODES 67
Theorem 1.4 (Second mean value theorem) Suppose that a function (t) is
twice differentiable on an interval ( A, B), and that t0 and h are numbers such that
t0 , t0 + h ( A, B). Then there is a number c1 between t0 and t0 + h, such that
1
(t0 + h) = (t0 ) + h 0 (t0 ) + h2 00 (c1 ). (1.48)
2
is the linear approximation of . The second mean value theorem gives a way
to see how precise it is.
68 CHAPTER 1. FIRST-ORDER EQUATIONS
Eulers method relies on linear approximation because each step uses it.
If (t) is the solution of the IVP (1.46), (1.47) then we know that (t0 ) = y0
and
h 0 (t0 ) = h f (t0 , y0 ) = y0
(y0 = y1 y0 as in (1.44)). If is sufficiently differentiable then by theo-
rem 1.4
1
(t0 + h) = y0 + y0 + h2 00 (c1 ).
| {z } 2
y1
y0 = f (t, y) y(t1 ) = y1
1
1 (t1 + h) = 1 (t2 ) = y1 + y1 + h2 100 (c2 ).
| {z } 2
y2
with c2 between t1 and t2 . The approximation error after the second step is
1
y0 = y + ; y(0) = 0.
4
Using a time step h = 0.5, use Eulers method to calculate
(i) y1 , y2 , y3 , and y4 .
i 0 1 2 3 4
ti 0.0 0.5 1.0 1.5 2.0
yi 0.0 0.125 0.3125 0.59375 1.015625
1
ym = Cm etm .
4
Thus Cm = (ym + 0.25)etm and
In particular
Figure 1.13 displays the graphs of (t), and m (t) for m = 1, 2, 3. It also
shows the broken line graph connecting (t0 , y0 ), (t1 , y1 ), (t2 , y2 ), (t3 , y3 ),
and (t4 , y4 ). Notice that the graph of (t) is tangent to the first segment of
the broken line graph, 1 (t) is tangent to the second segment, and so on.
The local and accumulated errors are shown in the following table (See
details), in which LEi = i1 (ti ) yi and AEi = (ti ) i1 (ti ).
i 1 2 3 4
LEi 0.037 0.056 0.084 0.125
AEi 0.061 0.193 0.456
In figure 1.13 we can picture LE4 as the vertical distance between the
bottom two curves at t = 2 (at the right edge of the graph). AE3 is the
distance from the top curve to the second-to-the-bottom curve, and
represents the consequences of the local errors LE1 , LE2 , and LE3 .
Example 1.8.3 The velocity y(t) (in meters per second) of a certain rock sinking
in sea water is given by the differential equation
y0 = 8 2y2 . (1.49)
Given that y(0) = 0, use Eulers method with h = 0.1 to approximate the solution
for 0 t 2 seconds.
1.8. GRAPHICAL ANALYSIS OF ODES 71
Exercises
1. Exercise 16 in section 1.6 the ODE
v0 = g kv |v|
introduced a model for the velocity of a ball that was initially thrown
upward, subject to gravitational and drag forces (in the model, the
positive direction is downward). Draw a direction field for this ODE.
Use as parameters g = 9.8 meters per second2 and k = 0.002 meters1 .
Answer
0.5
-0.5
-1
-1.5
-2 -1 0 1 2 3
3. y0 = 3t 2y; initial conditions y(0) = 1, 43 , and 0.
1.5
0.5
-0.5
-1
-1.5
-2 -1 0 1 2 3
Answer
74 CHAPTER 1. FIRST-ORDER EQUATIONS
1.5
0.5
-0.5
-1
-1.5
-2 -1 0 1 2 3
5. y0 = 1
t3y ; y(0) = 1.
1.5
0.5
-0.5
-1
-2 -1 0 1 2 3
Answer
6. y0 = 2t; y(0) = 0.
1.8. GRAPHICAL ANALYSIS OF ODES 75
1.5
0.5
-0.5
-1
-1.5
-2 -1 0 1 2 3
7. y0 = 2y; y(0) = 1.
1.5
0.5
-0.5
-1
-1.5
-2 -1 0 1 2 3
Answer
76 CHAPTER 1. FIRST-ORDER EQUATIONS
(a) y0 = sin y
(b) y0 = t2 y2
(c) y0 = y2 2ty + t2
(d) y0 = y y2
(e) y0 = t2 y
0.5
-0.5
-1
-1.5
(I) -2 -1 0 1 2 3
1.8. GRAPHICAL ANALYSIS OF ODES 77
1.5
0.5
-0.5
-1
-1.5
(II) -2 -1 0 1 2 3
1.5
0.5
-0.5
-1
-1.5
(III)
-2 -1 0 1 2 3
78 CHAPTER 1. FIRST-ORDER EQUATIONS
1.5
0.5
-0.5
-1
-1.5
(IV)
-2 -1 0 1 2 3
-2
-4
(V) -7.5 -5 -2.5 0 2.5 5 7.5
9. Show that the graph of the solution y(t) of the IVP y0 = t 3y;
y(0) = 1 crosses the line t 3y = 0 exactly once, and has a relative
minimum at the crossing point. Do not use the explicit solution, y =
1 3t ). Instead, consider what the slope of the solution
9 (3t 1 + 10e
will be at a crossing point.
Answer
1.8. GRAPHICAL ANALYSIS OF ODES 79
10. Find the sequence of forward differences for each of the following
sequences.
11. For each difference equation, determine the first three or four
terms of the sequence ym and then find an expression for ym .
(a) ym = 1, y1 = 0.
(b) ym = ym , y1 = 1.
(c) ym = kym , y1 = C, where k and C are constants.
(d) ym = ym + 1, y1 = 0.
Answer
ym = am ym + bm
14.
y0 = f ( x ); y( a) = b, (1.51)
is Z x
y( x ) = b + f (u) du. (1.52)
a
(b) Show that approximating the solution of the IVP 1.51 by Eulers
method amounts to calculating a Riemann sum for the integral
in equation (1.52).
16.
y0 = 2t ; y(0) = 1. h = 0.1
t + y2
y0 = t + y; y(0) = 0.
Since the differential equation is linear, you can solve this IVP and
find a formula for (t). This problem asks you to calculate (1) and
1.8. GRAPHICAL ANALYSIS OF ODES 81
Eulers method can give an answer that is drastically wrong if too large
a time step is used. Exercises 2121b demonstrate this and give a modifica-
tion of Eulers method to avoid this problem.
Answer
22. The Backward Euler Method. One approach that avoids erratic
behavior observed in the solution computed in exercise 21 is to use
backward differences instead of forward differences with Eulers Method.
Thus, we use the difference equation3
23. This problem uses the forward and backward versions of Eulers
method
p with time step h = 0.1 to approximate the solution of y0 =
1 y2 with y(0) = 0 for 0 t 2.
(a) Explain why the forward version fails.
(b) The difference equation for the backward version is
q
ym+1 = 0.1 1 y2m+1 .
Square both sides and use the quadratic formula to derive the
following recursive equation:
p
ym 0.1 1.01 y2m
y m +1 =
1.01
Decide which of the signs is correct, and which is extraneous.
3 is pronounced nabla.
1.8. GRAPHICAL ANALYSIS OF ODES 83
Answer
24. y0 = ty.
0
0 2 4 6 8
y0 =
p
25. 9 y2
-1
-2
-3
-4 -2 0 2 4
Answer
1.8. GRAPHICAL ANALYSIS OF ODES 85
-2
-4
27. (2 t) dy = (1 y) dt.
3.5
2.5
1.5
0.5
0
0 1 2 3 4 5 6
Answer
86 CHAPTER 1. FIRST-ORDER EQUATIONS
Lets refer to the point in the t, y-plane with coordinates (t0 , y0 ) as the initial
point. For the IVP (1.54), (1.55) to be correctly posed, the initial point must
be in the domain of f (t, y).
A solution (t) of (1.54) will be considered to be a solution of the IVP if
the domain on which (t) is defined is an open interval that contains t0 , and
(t0 ) = y0 . It is important to be aware that the domain of the solution of any IVP
is an open interval. The following example is meant to illustrate this point.
The graph of the solution of example 1.9.1 is the blue curve in fig-
ure 1.16. In the figure, the portion of the graph shown as a red curve is not
part of the solution, because the solution must be defined on an interval.
Intuitively speaking, it should be possible to trace the graph of a solution
of an IVP without lifting ones pencil from the paper.
The existence theorem does not tell us how to find a solution of the
IVP. Furthermore, it says nothing about the extent of the interval on which
the solution is defined. The following example shows that even if f (t, y)
is continuous on the entire t, y-plane, the solution may only exist on an
extremely short interval.
dy 100(200 t)
=
dt (1 100t2 )2
2t (100)2
=
(1 100t2 )2
= 2t y2 .
1
Therefore (1.57) satisfies the ODE. This solution is undefined at t = 10 ,
1
and the domain is the largest interval containing t = 0 but not t = 10 :
1 1
10 , 10 .
Figure 1.17 displays several graphs of solutions of the ODE that was the
focus of example 1.9.2.
There are many proofs of the existence theorem, the most direct being
the proof given by the Italian mathematician Giuseppe Peano in 1890. This
proof shows that a solution of the IVP can be obtained as a limit of approx-
imations given by Eulers method as the time step h 0. The details of the
proof require a good dose of advanced calculus, and are therefore omitted.
Uniqueness of solutions
y0 = 3y2/3 ; y(0) = 0
(see figure 1.18). If y = t3 , then y0 = 3t2 and y2/3 = t2 ; hence the first
solution is valid. If y 0, then the ODE is satisfied because both sides are
identically 0.
IVPs often serve as mathematical models for physical, biological, so-
cial, or engineering phenomena. Predictions will not be reliable unless we
know that the IVP doesnt have multiple solutions. Fortunately, if the func-
tion f (t, y) is nice enough, there will be only one solution. In rough terms,
a nice function should not increase or decrease too rapidly. Requiring a
function to be continuous rules out functions that have sudden jumps (dis-
continuities), but not functions that increase infinitely fast as the function
1.9. INITIAL VALUE PROBLEMS 89
Lipschitz condition
Example 1.9.3 Show that f (t, y) = 3y2/3 does not satisfy a Lipschitz condition
on any domain that intersects the t-axis.
while K |y2 y1 | = K |y2 |. If the Lipschitz condition holds, then for all y2
3 y2/3
2 K | y2 |.
However, this can only hold for |y2 | > (3/K )3 . No matter how large we
choose K to be, there will be values of y2 close to 0 for which the inequality
does not hold.
Theorem 1.6 Suppose that the a function f (t, y) is defined of a closed rectangle
D in the t, y-plane. If yf is continuous at each point (t, y) of D then f satisfies a
Lipschitz condition on D .
90 CHAPTER 1. FIRST-ORDER EQUATIONS
f
P ROOF Since is continuous on the closed, bounded set D , there is a
y
f
finite maximum value of y in D . Let K denote this maximum.
Suppose that (t0 , y1 ) and (t0 , y2 ) are points in D , and for convenience,
assume y1 < y2 . . Let g(y) = f (t0 , y); then g is differentiable on [y1 , y2 ]
in fact,
f
g0 (y) = ( t0 , y ).
y
Thus, by the mean value theorem, there is a number c (y1 , y2 ) such that
Lets take absolute values of both sides, and put this equation in terms of
f:
f
| f (t0 , y2 ) f (t0 , y1 )| = (t0 , c) |y2 y1 |.
y
f
Since y (t0 , c) K, it follows that | f (t0 , y2 ) f (t0 , y1 )| K |y2 y1 |.
There are functions f (t, y) that satisfy Lipschitz conditions even though
they are not differentiable. See problem 22 for an example.
If the function f (t, y) is continuous and satisfies a Lipschitz condition with respect
to y on a rectangle
that contains the initial point (t0 , y0 ), then there is an open interval (h, k ) with
t0 (h, k ), such that 1 (t) = 2 (t) for all t (h, k ).
the one based on a measurement error in the initial condition, in the worst
case.
In the case of a linear ODE,
y 0 k ( t ) y = q ( t ),
Lemma 1.9.1 The function (t) satisfies the IVP (1.54), (1.55) if and only if
Z t
( t ) = y0 + f (u, (u)) du (1.58)
t0
If (t) satisfies the IVP (1.54), (1.55) then we can replace (t0 ) with y0 and
0 (u) with f (u, (u)). This shows that (t) satisfies equation (1.58).
If (t) is a solution of equation (1.58) then (t0 ) = y0 because when t =
t0 the integral vanishes. Furthermore, the rule for differentiating integrals
shows that 0 (t) = f (t, (t)); that is, (t) satisfies the ODE (1.54).
The second lemma is due to a Swedish-American mathematician, Thomas
Gronwall.
Lemma 1.9.2 (Gronwalls inequality) Suppose g(t) is a function that is con-
tinuous on an interval [ a, b) and that g(t) 0 for all t ( a, b). Suppose also that
there are constants M 0 and C 0 such that the inequality
Z t
g(t) C + M g(u) du (1.59)
a
holds for all t [ a, b). Then g(t) C e M (ta) for all t ( a, b).
P ROOF. Put Z t
F (t) = e M t g(u) du.
a
By the product rule for differentiation and the Leibniz rule for differentiat-
ing integrals,
Z t
F 0 (t) = M e M t g(u) du + e M t g(t)
a
Z t
M t
= e g(t) M g(u) du
a
C M(t a)
g(t) C + M (e 1) = C e M ( t a ) .
M
Let 1 (t) and 2 (t) be solutions of the ODE (1.54) that are defined on an interval
( p, q) ( a, b), and let t0 ( p, q). Put y1 = 1 (t0 ) and y2 = 2 (t0 ). If c <
y1 , y2 < d then there is an interval (h, k ) such that for all t (h, k ),
P ROOF. Since 1 and 2 are continuous and c < 1 (t0 ), 2 (t0 ) < d
there is an interval (h, k ) ( a, b) such that for all t (h, k ) the inequalities
c < 1 (t), 2 (t) < d hold. By lemma 1.9.1,
Z t
i (t) = yi + f (u, i (u)) du
t0
Theorem 1.8 Suppose that f (t, y) is continuous and satisfies a Lipschitz condi-
tion with respect to y on a rectangular domain
Given an interval (C, D ) with c < C < D < d, there is an interval (h, k )
containing t0 such that (t, v) is defined and continuous on the rectangle
While the proof of theorem 1.8 will not be given in its entirety it is worth
noting where proposition 1.9.3 fits in. To show (t, v) is continuous, we
need to show that the difference |(t, v) (s, w)| can be made arbitrarily
small by choosing (s, w) sufficiently close to (t, v). By the triangle inequal-
ity,
|(t, v) (s, w)| P + Q
where P = |(t, v) (t, w)| and Q = |(t, w) (s, w)|. We can make
Q small by choosing s close enough to t because (t, w), as a solution of
an IVP (with initial condition y(t0 ) = w) is continuous. Proposition 1.9.3
is used to show that P can be made arbitrarily small by choosing w close
enough to v.
Well call this sequence the Picard sequence for the IVP. To summarize the
definition of the Picard sequence, the following observation is useful. Let
[ a, b] be an interval such that a < t0 < b, and let X [ a, b] denote the set of all
functions (t) that are defined and continuous on [ a, b]. For any X [ a, b]
let = I() X [ a, b] be the function defined by
Z t
( t ) = y0 + f (s, (s)) ds.
t0
I : X [ a, b] X [ a, b];
I() = (1.60)
k k = max{|(t) (t)| : t [ a, b]
.
A definition is necessary to proceed. Let X be a Banach space. (If you
havent heard of Banach spaces, please remember that the only Banach
96 CHAPTER 1. FIRST-ORDER EQUATIONS
kT () T ()k C k k.
Theorem 1.9 (Banach Fixed Point Theorem) Let X be a Banach space and let
T : X X be a contractive transformation. Then there is a unique X that
is fixed by T .
To apply the Banach Fixed Point Theorem, we just have to show the
transformation I is contractive; then it will have a unique fixed pointand
as we have notedfixed points of I and solutions of the IVP are the same
things.
The Picard proof works only if we assume that the function f (t, y) sat-
isfies a Lipschitz condition with respect to y. In that case, let , X [ a, b]
and denote I(), I() by and , respectively. By definition of I ,
Z t Z t
(t) (t) = y0 + f (s, (s)) ds y0 + f (s, (s)) ds
t0 t0
Z t
= ( f (s, (s)) f (s, (s))) ds
t0
k k hLk k.
Exercises
In problems 18, solve the IVP, and find the largest interval on which the
solution is defined.
1. y0 = 0; y(1) = 2.
Answer
5. ty0 2y = t3 ; y(1) = 0.
Answer
0
6. ty y = t; y(1) = 2
7. y0 2ty = t; y(0) = 1
2
Answer
10. Solve the the ODE cos(t)y0 + y = 1, with initial condition y(0) =
1.
11. Let f (t) be a function that is continuous on (, ), with f (t) 6=
0 for all t. Solve the IVP f (t)y0 + y = 1; y(0) = 1. Hint: The IVP in
exercise 10 is of this type.
Answer
In problems 12 21, find the set of initial points (t0 , y0 ) for which the
ODE, with initial value y(t0 ) = y0 satisfies the hypotheses of
(i) the existence theorem, and
(ii) the uniqueness theorem.
12. y0 = t y.
13. y0 = t
y2 +1
.
Answer
14. yy0 = t2 + y2 .
15. sin(t)y0 + y = 0.
Answer
16. (y0 )3 = t + 2y.
17. y = ty0 + 1
y0 .
Answer
18. y = ty0 + (y0 )2 .
3 y 1
19. 0
y = ty .
Answer
20. y0 = ln(t2 + y2 1) ln(9 t2 y2 ).
21. y0 = 3 t y
Answer
22. Determine which of the following functions satisfy a Lipschitz
condition with respect to y on the domain
(a) = t y2 .
f (t, y)
(b) f (t, y)
= 4 t y.
(c) = | y |.
f (t, y)
(d) = byc (byc is the greatest integer y).
f (t, y)
(e) = b t c.
f (t, y)
p
23. Show that f (t, y) = 1 y2 satisfies a Lipschitz condition on the
domain
D = {(t, y) : a < t < b, c < y < d}
if 1 < c and d < 1, but not if c = 1 or d = 1
Answer
24. Use the uniqueness theorem to prove the equal derivatives theo-
rem. Hint: Consider the IVP satisfied by f 1 (t) f 2 (t).
25. CAS exercise. Find an initial value y0 such that the solution of the
IVP
cos( x )y0 + y = sin( x ) + 2 sin(2x ); y(0) = y0
satisfies y(1) = 1.
Answer
26. CAS exercise. Find an initial value y0 such that the solution of the
IVP
y0 + 2xy = 1, y(0) = y0
satisfies y(1) = 0.
A NSWER : y0 = 1.462651746.
(c) Show that if the limiting element exists, in the sense expressed
by the comment in part (b), then is fixed by t.
(d) Parts (a)(c) show that the solution of the IVP
Answer
y0 = r y,
dy
in which r = 1y dt is a constant relative growth rate.
It is reasonable to expect the relative growth rate to decrease as re-
sources become scarce. To include resource limits in our model we can
put
1 dy
= r ( y ),
y dt
where r (y) is a decreasing function of the population. The model thus leads
to an ODE,
dy
= y r ( y ). (1.61)
dt
This ODE is not linear because r (y) is not a constant function.
Both the linear and the nonlinear models can be generalized by allow-
ing the relative growth rate to depend on time. This is necessary to model
1.10. *NONLINEAR GROWTH MODELS 101
solution. To make the calculation as easy as possible, the data have been
taken at evenly spaced time intervals.
Example 1.10.1 Find the general solution of the logistic equation (1.62), and find
values of the parameters to fit the data y(0) = 1, y(1) = 2, y(2) = 3.
Lets assume our solution satisfies 0 < y < M; then the plus sign applies,
and we can solve for y to obtain
M
y= ,
1 + Aekt
M
y= .
1 + Avt
Since v < 1, we have, limt y(t) = M. This confirms that the population
will converge to the carrying capacity as t . The parameters to be
evaluated are M, A, and v. The three data points yield the following
equations for these parameters:
M
= 1
1+A
M
= 2
1 + Av
M
= 3
1 + Av2
1.10. *NONLINEAR GROWTH MODELS 103
1
M = 1+A = 1+
1 2v
in the third equation. After simplifying, the result is a quadratic equation,
3v2 4v + 1 = 0,
dy
= y r (y)
dt
6 Raymond Pearl and Lowell Reed, On the rate of growth of the population of the
United States since 1790 and its mathematical representation, Proceedings of the National
Academy of Sciences, Washington vol. 6 (1920), pp. 275 - 288, http://www.pnas.org/
content/vol6/issue6/
104 CHAPTER 1. FIRST-ORDER EQUATIONS
that is autonomous ; that is, the independent variable t does not appear
on the right side. In general, an autonomous first order ODE will have the
form
dy
= g(y) (1.63)
dt
Every autonomous ODE is separable, but we should not rush to inte-
grate. Properties of solutions such as whether they are increasing or de-
creasing functions, the location of any asymptotes, etc. can be determined
without calculating an integral. We will be assuming that
(ii) the zeros of g(y) are isolated. This means that if g(y j ) = 0, then there
is an open interval (y j h, y j + h) that contains no other zeros of g.
Example 1.10.2 Explain why the following two examples are consistent with propo-
sition 1.10.1.
S OLUTION .
(i) g(y) = 2 y is not differentiable at y = 0.
lim y(t) = L,
t
P ROOF. If L is finite,
y0 = 4y y3 , (1.64)
and make a sketch of the graphs of the solutions of the four initial value problems
with y(0) = 1, 3.
Stability
Consider an isolated stationary point y1 of an autonomous ODE y0 = f (y).
Since y1 is isolated, there is an interval ( a, b) containing y1 and no other
stationary points. We will say that y1 is a stable stationary point if all so-
lutions (t) with initial values in ( a, b) converge to y1 as t . If there
108 CHAPTER 1. FIRST-ORDER EQUATIONS
2
y0 = sin(y) y,
and draw the phase diagram.
interval. The phase diagram is drawn on the yaxis of figure 1.24 (that is
the horizontal axis in this case). When sketching graphs of solutions of
y0 = sin(y) 2y/, the y-axis would be vertical, and the phase diagram in
figure 1.24 would be rotated counterclockwise 90 before sketching.
Proposition 1.10.3 does not apply to any stationary point y1 where f 0 (y1 ) =
0. Exercise 26 shows that in this case, it is possible for a stationary point to
be either stable or unstable.
Dependence on Parameters
The population P of codfish in a certain marine fishery is modeled by a
modified logistic equation,
The growth parameter k and the carrying capacity M are taken from the
logistic equation, while H is the rate at which fish are harvested. We are
interested in how the fate of the fish population depends on the parameter
H.
Let f ( P) = kP2 /M + kP H be the quadratic expression on the right
side of equation (1.65). Figure 1.25 shows graphs of f ( P) representing four
different harvest rates.
Solving f ( P) = 0 with the quadratic formula, we find that the station-
ary points are
" r #
1 4H
P1 , P2 = M 1 1 , (1.66)
2 kC
provided that these are real numbers. If there are no real stationary points,
then f ( P) is negative for all P, as in the graph corresponding to H = 12000
in figure 1.25. Thus (, ) is a down interval, and the codfish will be
extinct when the population reaches 0. If there are two distinct stationary
points, as in the graphs with H = 0 and H = 5000 of the figure, P1 will be
located between 0 and 12 M, and P2 will be between 21 M and M. The inter-
val ( P1 , P2 ) is an up interval, and (, P1 ) and ( P2 , ) are down intervals.
Hence P2 is stable, and will represent the limiting population.
We can identify a critical situation when P1 and P2 merge together as one
stationary point, as in the graph corresponding to H = 10000 of figure 1.25.
The intervals above and below are both down intervals, and the stationary
point is unstable, with extinction looming. The quadratic equation f ( P) =
110 CHAPTER 1. FIRST-ORDER EQUATIONS
Exercises
1. A lake can support a population of 1000 fish. There are now 600
fish in the lake, and on the same date last year there were 300. As-
suming that the logistic model determines the fish population in the
lake, how many fish will be in the lake a year from now?
Answer
2. Suppose that the lake in problem 1 has been stocked, so that now
it contains 1200 fish. How many will be in the lake a year from now?
Answer
Draw a phase diagram and show that the population has three sta-
tionary values, but that only one is stable. Do all solutions converge
to the same stable population? What happens if the population ini-
tially exceeds 2M? Does this make sense?
11. Show that the Gompertz model has, like the logistic model, two
stationary populations, y 0 and y M, where y 0 is unstable,
and that y M is stable.
Answer
12. Show that the substitution v = ln(y) produces a linear ODE with
v as the dependent variable.
13. Given the data y(0) = 1, y(1) = 2, and y(2) = 3, determine the
carrying capacity according to the Gompertz model. It is interesting
to compare this result with that of example 1.10.1.
Answer: 5.31261.
Details
14. Use the following data to find the carrying capacity of the United
States, according to the Gompertz model (These are the data used by
Pearl and Reed in the study cited above)
Answer: 18.35 billion
(a) y0 = 1 y.
(b) y0 = sin(t) + y2 .
0 y for 0 < t < 1
(c) y =
0, otherwise.
y for 0 < y < 1
(d) y0 =
0, otherwise.
Answer
18. y0 = 4 + 3y y2 .
114 CHAPTER 1. FIRST-ORDER EQUATIONS
19. y 0 = y2 .
Answer
20. y0 = sin(y) 12 .
21. y0 = ey
Answer
22. y0 = y cos(y)
23. Which of the following functions are solutions of first order au-
tonomous ODEs? In the case of those that are solutions, where would
the stationary points be located?
(a) y = 1 + t. Domain, (, ).
(b) y = 1 + t2 . Domain, (, ).
(c) y = e2t . Domain, (, ).
(d) y = tan(t). Domain, ( 2 , 2 ).
(e) y = sin(t). Domain, (, ).
Answer
24. The set of stationary points for an ODE y0 = f (y) is {0, 1, 2, 3, 4}.
Suppose that f 0 (0) = 2, f 0 (1) = 5, f 0 (2) = 0, f 0 (3) = 1, and
f 0 (4) = 12. Determine the stability of each stationary point, and draw
the phase diagram.
25. Prove proposition 1.10.3. [Hint: Show that the hypothesis implies
g(y) changes sign at y1 .]
Answer
27. Show that an ODE whose phase diagram is identical to the phase
diagram for y0 = y2 has a degenerate stationary point at 0.
Answer
1.10. *NONLINEAR GROWTH MODELS 115
(a) Let P(t) denote the U.S. population (see table 1.3) in year t. Tab-
ulate, for t = 1800, 1810, 1820, . . . , 1940, P(t) and ( P(t + 10)
P(t 10))/(20P(t)).
(b) Using a statistical calculator or a spreadsheet7 , find the least
squares line that best fits the data, with the population as the
independent variable and the approximate relative growth rate,
as calculated by equation (1.67), as the dependent variable.
(c) The result of part (b) will be the slope m and the intercept b of the
least squares line. Use these to determine the carrying capacity.
(d) Use a CAS (or a pencil and paper) to find the solution of
P0 = P(mP + b)
1. y0 = ty + t + y + 1.
See Answer
2. y 0 = y t2 .
See Answer
3. y0 = y + et .
See Answer
4. y0 + tan(t)y = cos2 t.
See Answer
5. y0 = et y.
See Answer
8. y0 + tan(t)y = 1.
See Answer
9. y0 = ty + 1.
See Answer
5y
10. y0 = t
See Answer
11. y0 + y = et
See Answer
12. y0 = y cos t.
See Answer
13.
t+y
y0 = t ; y(1) = 2.
See Answer
14. y0 + y = et ; y(0) = 0.
See Answer
2y
21. y 0 4 t2 = 1 ;
2 t
y(0) = 3 2.
See answer
22. y0 + ty = 2t + t3 ; y(0) = 1.
See answer
24. If the worlds population follows the linear growth model with a
relative growth rate of 1.3% (0.013), how long will it take the popula-
tion to double?
See answer
25. A piece of wood contains 0.8 ppb 14 C, and when it was part of a
living tree, it contained 1 ppb. How old is it? The half-life of 14 C is
5730 years.
See answer
28. Print a copy of the direction field shown below, and sketch on
it the graphs of the solutions of y0 = t2 y2 , with initial conditions
y(2) = 0 and y(2) = 0, respectively.
1.11. REVIEW EXERCISES 119
1.5
0.5
-0.5
-1
-1.5
-2 -1 0 1 2 3
Answer
29. Use Eulers method with time step h = 0.25 to compute an ap-
proximate solution of the IVP, y0 = t2 y2 ; y(0) = 0. Draw the polyg-
onal graph of the approximate solution on your copy of the direction
field accompanying exercise 28.
Answer
120 CHAPTER 1. FIRST-ORDER EQUATIONS
30.
Sketch the graph of the solution of the IVP, y0 = t y; y(0) = 2 on
a hard copy of the direction field shown below.
0
-2 0 2 4
Answer
31. Use Eulers method with time step h = 0.5 to approximate the so-
lution of the IVP y0 = t y; y(2) = 4. Draw the polygonal graph
of this solution on your copy of the direction field accompanying ex-
ercise 30.
Answer
1.11. REVIEW EXERCISES 121
32. Match the direction fields shown below with the ODEs.
(a) y0 = 0.03(5t y2 ).
(b) y0 = sin(y).
(c) y0 = sin(t + y).
(d) y0 = 0.01y
(e) y0 = 0.05y( y).
(f) y0 = 0.02(t2 + y2 ).
I II III
IV V VI
Answer
33. y0 = ty2 .
Answer
122 CHAPTER 1. FIRST-ORDER EQUATIONS
34. y0 = ey .
Answer
35. y 0 = y (1 y ).
Answer
q
1 y2
36. y0 = 1t2 ; 1 < t < 1.
Answer
q
y2 1
37. y0 = t2 1 ; |t| > 1.
Answer
38. y 0 = t (1 + y2 ) / (1 + t2 ).
Answer
q
y
39. y0 = t
Answer
(a) how far will the diamond travel in the first 10 seconds?
(b) Estimate how long it will take for the diamond to get to the bot-
tom of the lake.
(c) Suppose that you throw the diamond vertically into the lake so
that its initial velocity after it is immersed in water is 42 meters
per second. Answer questions (a) and (b).
Answer
Answer
In problems 43 48, draw phase diagrams for the ODEs, identify all
stable equilibrium points, and and describe the limiting behavior of the
solution of the IVP with increasing time. Do not solve these ODEs.
45. y0 = y2 + 2y + 2; y(0) = 0.
Answer
46. y0 = 5 3 y; y(0) = 2.
Answer
47. y0 = y1 1; y(0) = 3.
Answer
48. y0 = y1 1; y(0) = 3.
Answer
50. Imagine that the set of points in the plane satisfying the inequality
t + y + 1 > 0 is colored red, and the set of points satisfying t + y + 1 <
0 is colored blue. Show that if y(t) is a solution of the ODE y0 = t + y,
then the graph of y(t) is concave up at red points, and concave down
at blue points.
Answer
124 CHAPTER 1. FIRST-ORDER EQUATIONS
Full Answer
53. For which values of y0 does the IVP
s
0 1+y+t
y = 3 ; y (0) = y0
1y+t
1.11. REVIEW EXERCISES 125
54. The IVP y0 = y sin(t y), y(0) = 0 has the solution y 0. How
can you be sure that its the only solution?
Answer
126 CHAPTER 1. FIRST-ORDER EQUATIONS
Figure 1.1: Several solutions of the ODE v0 = g kv2 . Each graph represents the velocity
of a falling object subject to air resistance. The values g = 9.8 meters/second2 and k =
9.8 104 kilogram /meter were used.
120
100
80
60
40
20
5 10 15 20
FIGURES FOR CHAPTER 1 127
Figure 1.2: Exponential growth: y = ekt (k > 0). Vertical lines mark the doubling time.
10
t
2 4 6 8 10 12
128 CHAPTER 1. FIRST-ORDER EQUATIONS
Figure 1.3: Exponential decay: y = ekt (k < 0). Vertical lines are at intervals of one half
life.
0.8
0.6
0.4
0.2
t
2 4 6 8 10 12
FIGURES FOR CHAPTER 1 129
Figure 1.4: Temperature in a heated building (black curve), and the stable periodic tem-
perature (blue curve). The outdoor temperature is indicated by the red curve. See exam-
ple 1.3.3.
30
25
20
15
10
10 20 30 40
-5
130 CHAPTER 1. FIRST-ORDER EQUATIONS
1.5
0.5
-2 -1 1 2
-0.5
-1
-1.5
-2
FIGURES FOR CHAPTER 1 131
@
@ J liters/second
@
@
@
@
R
@
MIXING TANK
x (t) grams solute in
V (t) liters
@
@ L liters/second
@
@
@
@
R
@
OUTPUT
132 CHAPTER 1. FIRST-ORDER EQUATIONS
50
40
30
20
10
5 10 15 20
FIGURES FOR CHAPTER 1 133
1.5
0.5
-4 -2 2 4
-0.5
-1
-1.5
-2
134 CHAPTER 1. FIRST-ORDER EQUATIONS
0.75
0.5
0.25
-2 -1 1 2
-0.25
-0.5
-0.75
-1
FIGURES FOR CHAPTER 1 135
0.5
-0.5
-1
40 40
35 35
30 30
25 25
0 1 2 3 4 5 6 0 1 2 3 4 5 6
FIGURES FOR CHAPTER 1 137
Figure 1.12: Approximate solution (in red) by Eulers method, the exact
solution (in green), and the direction field for y0 = t y2 .
0.5
-0.5
-1
1.5
1.25
0.75
0.5
0.25
0.5 1 1.5 2
FIGURES FOR CHAPTER 1 139
1.5
0.5
Figure 1.16: The blue curve is the solution of the IVP 1.56; the red curve
is part of the graph of the equation y = 1/(t + 1) and satisfies the ODE
y0 = y/(t + 1), but is not considered to be part of the solution of the IVP
with y(0) = 1.
-3 -2 -1 1 2 3
-1
-2
-3
142 CHAPTER 1. FIRST-ORDER EQUATIONS
200
175
150
125
100
75
50
25
1.5
0.5
-0.5
-1
-1.5
-4 -2 0 2 4
144 CHAPTER 1. FIRST-ORDER EQUATIONS
Figure 1.19: Solutions of the logistic equation satisfying the initial condi-
tions y(0) = 2, y(0) = 41 , and y(0) = 1. The parameters k and M were
0.04 and 1, respectively.
t
-50 50 100 150
-1
-2
FIGURES FOR CHAPTER 1 145
Figure 1.20: Solution of the logistic equation with parameters chosen to fit
the data given in example 1.10.1.
y
4
t
-1 1 2 3 4 5 6
146 CHAPTER 1. FIRST-ORDER EQUATIONS
250
200
150
100
50
-2
-4
148 CHAPTER 1. FIRST-ORDER EQUATIONS
Figure 1.23: Stationary points: On the left, y1 is stable. In the middle and
right diagrams, y2 and y3 are unstable.
6 6
s y1
? s y2 s y3
6 6
?
FIGURES FOR CHAPTER 1 149
-4 -2 2 4
-1
-2
-3
150 CHAPTER 1. FIRST-ORDER EQUATIONS
H=0 H=5000
10000 5000
5000
50000 100000
-5000
50000 100000
H=10000 H=12000
-5000
-5000
FIGURES FOR CHAPTER 1 151
y0 = 0
y1 = 0 0.25(0 02 ) = 0
y2 = 0 0.25(0.25 02 ) = 0.0625
y3 = 0.0625 0.25(0.5 0.06252 ) 0.1885
y4 0.1885 0.25(0.75 0.18852 ) 0.3849
y5 0.3849 0.25(1 0.38492 ) 0.6719
y6 0.6719 0.25(1.25 0.67192 ) 1.0972
y1 = 0 + 0.25(0 02 )
y2 = 0 + 0.25(0.25 02 ) = 0.0625
y3 = 0.0625 + 0.25(0.5 0.06252 ) 0.1865
y4 0.1865 + 0.25(0.75 0.18852 ) 0.3653
y5 0.3653 + 0.25(1 0.36532 ) 0.5820
y6 0.5820 + 0.25(1.25 0.58202 ) 0.8098
152 CHAPTER 1. FIRST-ORDER EQUATIONS
Local errors:
Accumulated errors
Figure 1.26: Bifurcation for the logistic equation with harvesting. The har-
vesting rate is the bifurcation parameter; the growth parameter and the
carrying capacity are the same as in figure 1.25.
100000
50000
H
5000 10000
154 CHAPTER 1. FIRST-ORDER EQUATIONS
Systems of Differential
Equations
155
156 CHAPTER 2. SYSTEMS OF DIFFERENTIAL EQUATIONS
2.1 Introduction
A system of ODEs is a set of two or more ODEs to be treated simultane-
ously. Each ODE involves the same independent variable (we will always
use t, for elapsed time, as the independent variable), but there are as many
dependent variables as there are equations. The systems that we will study
have the form
x 0 = f (t, x, y)
y0 = g(t, x, y),
where x 0 and y0 denote the derivatives of x and y with respect to t.
Consider the velocity of a object in motion, subject to forces such as
gravity and air resistance. In the previous chapters the object was assumed
to fall in a vertical direction, and the velocity was represented by a sin-
gle ODE. If we are determining the trajectory of a ball that has been hit
or thrown, the motion will not be in a straight line. There will be two de-
pendent variables, u(t) and v(t) representing the horizontal and vertical
components of the velocity, respectively. The drag force vector is pointed
in the direction opposite to the velocity vector, and we will denote its hori-
zontal and vertical components by h(u, v) and k (u, v), respectively. The
gravitational force, mg, is vertical. Our model is a system of ODEs,
m u0 = h(u, v)
m v0 = mg k (u, v)
The height of the tower is not relevant in this model, because it ignores the
position of the ball. We could include the position by introducing two addi-
tional dependent variables, x (t), the horizontal distance from the tower at
time t, and y(t), the vertical distance from the ground. Noting that x 0 = u
2.1. INTRODUCTION 157
and y0 = v the following system is a model for the position and the velocity
of the ball:
x0 = u; x (0) = 0
y0 = v; y(0) = 100
m u0 = h(u, v); u(0) = 30
0
m v = mg k (u, v); v(0) = 0
While the system we just constructed is a nice model, it is not for begin-
ners. Here is a simpler IVP.
dy
m = k x.
dt
In (2.1), units were chosen so that the mass m = 1, and the spring constant
k = 1 as well. The initial values represent initial position and velocity, and
indicate that at t = 0, the object was pulled 1 unit below its equilibrium
position and released.
A second order ODE can also serve as a model for the motion of an
object suspended from a spring. The dependent variable x (t) represents
158 CHAPTER 2. SYSTEMS OF DIFFERENTIAL EQUATIONS
position. The acceleration is the second derivative of the position with re-
spect to time, and Newtons second law of motion provides the ODE,
d2 x
m = kx.
dt2
By viewing this physical phenomenon first as a system we see that an IVP
involving a second order ODE must be requires the initial values of the
position x and the velocity dx
dt . Second order ODEs have their purposes,
but the for the present we will be content with learning how to get rid of
them (and higher-order ODEs) by replacing them with equivalent systems
of first-order ODEs.
Given an explicit second order ODE,
d2 x
dx
= f t, x, , (2.2)
dt2 dt
dx
put y = dt . The system of first-order ODEs,
x0 = y
(2.3)
y0 = f (t, x, y).
Example 2.1.2 Find a system of first order ODEs that replaces the ODE
y00 + t y0 + sin(y) = 0
y0 = v
v0 = (t v + sin(y))
2.1. INTRODUCTION 159
dn x d n 1 x
dx
= f t, x, , . . . , n1 ,
dtn dt dt
define new dependent variables y1 (t), y2 (t), . . . , yn1 (t) by y1 (t) = x 0 (t),
y2 (t) = x 00 (t), . . . , yn1 (t) = x (n1) (t). The nth order equation shown above
is replaced by a system
x 0 = y1
y10 = y2
..
.
y0n2 = yn1
y0n1 = f (t, x, y1 , y2 , . . . , yn1 )
Uncoupled Systems
A system of two ODEs is uncoupled, if one of the differential equations
does not involve one of the dependent variables. Thus, an uncoupled sys-
tem has the form
x 0 = f (t, x )
y0 = g(t, x, y)
To find the general solution of this system, we start by solving the first
equation. This gives a formula x = (t, C ), where C is a constant. Substi-
tuting this formula for x in the second equation yields another first order
equation with one dependent variable, y0 = g(t, (t, C ), y). Thus, solving
an uncoupled system of two differential equations is accomplished by solv-
ing two single first order equations.
x 0 = 2 t x2
y0 = 2 t x y
In addition, find the solutions that satisfy the following sets of initial conditions.
Example 2.1.4 Find the general solution of the second order ODE,
d2 x dx
2
= + 1.
dt dt
Exercises
1. Show that for all real C, x = C et , y = C et is a solution of the
system
x0 = y
y0 = x,
and find all solutions of the form x = A et , y = B et , where A and
B are constants.
Answer
2. Show that x = C e2t , y = 3C e2t is a solution of
x0 = x + y
y0 = 3x y,
and find all solutions of the form x = A e2t , y = B e2t , where A and B
are constants.
3. Show that x = 2C cos(3t), y = C [cos(3t) + 3 sin(3t)] is a solution
of
x 0 = x 2y
y0 = 5x y,
and find all solutions where x = 2A sin(3t).
Answer
4. Show that x = sin(2t) + et , y = 2 cos(2t) 4et is a solution of
x 0 = 5 et + y
y0 = 4x,
and find a family of solutions of this system.
5. Show that x = e2t (t + 1), y = e2t (t 1) is a solution of
x 0 = x + y + 3e2t
y0 = 2x 3e2t .
7. y00 + 3y0 + 4y = t2 .
Answer
8. z00 + (z2 1) z0 + z = 0.
9. u00 u0 u = 1 + t2
Answer
x0 = x
y0 = y
y00 = y0 + 2y (2.7)
Given that y = et , y = e2t and y = e2t et are solutions of equation (2.7) find
the corresponding solutions of the system and describe their orbits in the phase
plane.
y0 = v
v0 = v + 2y
A system
x 0 = f ( x, y)
(2.8)
y0 = g( x, y)
166 CHAPTER 2. SYSTEMS OF DIFFERENTIAL EQUATIONS
with the property that the independent variable does not appear on the
right side of either equation is said to be autonomous. An autonomous
system describes a vector field that assigns to each point ( x, y) a vector
~v( x, y) = f ( x, y)~i + g( x, y)~j.
(Here, ~i and ~j denote the usual horizontal and vertical unit vectors in the
plane.) A vector field can be represented graphically by drawing the vec-
tors ~v( xm , yn ) at grid points ( xm , yn ) on graph paper. Such drawings resem-
ble direction fields for ODEs, but there is a distinction: the vectors of the
vector field have varying magnitudedisplayed by giving them different
lengthsand each has a direction and so is drawn as an arrow. Figure 2.3
shows the vector field ~v( x, y) = x~i y~j that corresponds to the uncoupled
system
x0 = x
y0 = y.
The orbits are not shown, but you should verify that they consist of the rays
of the x-axis, directed away from the origin, the rays of the y-axis, directed
toward the origin, and components of the hyperbolas xy = C, directed
downward in the first and second quadrants, and directed upward in the
third and fourth quadrants.
We have seen that an autonomous system of two ODEs can be dis-
played as a vector field in the plane. It is also useful to interpret a vector
field
~v( x, y) = f ( x, y)~i + g( x, y)~j
as a system of ODEs,
x0 = f ( x, y)
0
y = g( x, y)
If we think of ~v( x, y) as the velocity vector for a particle located at ( x, y),
then the particle will follow an orbit of this system.
An integral curve of a vector field ~v( x, y) is a curve with parametric
equations ( x, y) = ((t), (t)) with tangent vector 0 (t)~i + 0 (t)~j equal to
the field vector ~v( x, y) at each point of the curve; that is, for all t,
~v((t), (t)) = 0 (t)~i + 0 (t)~j.
The term stationary point is used in the context of a vector field ~v to
indicate a point ( x1 , y1 ) where ~v( x1 , y1 ) = ~0. A stationary point of ~v( x, y) =
f ( x, y)~i + g( x, y)~j is also a stationary point of the system x 0 = f ( x, y), y0 =
g( x, y).
2.2. THE PHASE PLANE 167
Exercises
In exercises 1 8, show that the given pair of functions is a solution of the
system of differential equations, and sketch the orbit determined by the
solution. If a second order ODE is given, replace it with a system of two
first order equations and proceed.
168 CHAPTER 2. SYSTEMS OF DIFFERENTIAL EQUATIONS
x 0 = 2y2 /t
1.
y0 = y2 /x
x = t2 , y = t.
Answer
x0 = y
3.
y0 = x
x = e t , y = et .
Answer
x0 = y
4.
y0 = x
x = cosh(t), y = sinh(t). Hint: Remember the identity cosh2 (t)
sinh2 (t) = 1.
5. y00 = y3 ; solution, y = t2 + 1
Answer
x 0 = xy
6.
y0 = x2
x = sec(t), y = tan(t).
7. y00 = 21 t y0 y; solution, y = t2 2.
Answer
x 0 = x 2y
8.
y0 = 2x + y
x = e cos(2t), y = et sin(2t).
t
In problems 9 12, find stationary points for the given vector fields.
Draw some of the integral curves. (You may want to print copies of the
vector fields and draw the integral curves on these copies.)
9. v( x, y) = [4yi xj]/16.
2.2. THE PHASE PLANE 169
1.5
0.5
-0.5
-1
-1.5
-2 -1 0 1 2 3
Answer
10. v( x, y) = [(y2 y)i + xj]/4.
1.5
0.5
-0.5
-1
-1.5
-2 -1 0 1 2 3
170 CHAPTER 2. SYSTEMS OF DIFFERENTIAL EQUATIONS
1.5
0.5
-0.5
-1
-1.5
-2 -1 0 1 2 3
Answer
12. v( x, y) = [ xi + 2yj]/8.
2.2. THE PHASE PLANE 171
1.5
0.5
-0.5
-1
-1.5
-2 -1 0 1 2 3
13. Use a CAS to plot the graphs of the component functions, the two-
dimensional orbits and the three-dimensional graphs of the solutions
of the following systems.
(a)
x 0 = 5y
y0 = 5x.
x 0 = 2x 6y
y0 = x 2y.
x 0 = 2y + sin(t)
y0 = 2x sin(2t).
(d)
x0 = x + y
y0 = t x y.
with initial conditions x (0) = 0, y(0) = 0; 2 t 4.
Answer
14. Draw graphs of the component functions of the solution
( x, y) = (sinh(t), cosh(t))
of
x 0 = y; x (0) = 0
y0 = x; y(0) = 1,
and plot its orbit.
For example, the improved Euler method is typical. Given (tm , ym ), set
Then set
1
ym = ( f (tm , ym ) + f (tm+1 , ym+1 ))
2
This method is second order. It requires two function evaluations per step,
but the payoff isthat the accumulated error is proportional to h2 . Thus it
will take about 10 times as much computer time to improve accuracy by
one decimal place.
The most commonly used classical methods are of order 4. To obtain a
fourth order Runge-Kutta method, it turns out that four function evalua-
tions are required per step. For the RK4 method, we define
k1 = f (tm , ym )
k2 = f (tm + 0.5h, ym + 0.5k1 h)
k3 = f (tm + 0.5h, ym + 0.5k2 h)
k4 = f (tm + h, ym + k3 h),
and then
1 1 1 1
ym = h k1 + k2 + k3 + k4 .
6 3 3 6
To obtain an additional
decimal place of accuracy with the RK4 method,
we expect to do 4 10 1.8 times as much work.
The predictor methods work a little differently. The Adams-Bashforth
method (also a fourth order method) calculates ym as follows: let p0 =
f ( t m , y m ), p 1 = f ( t m 1 , y m 1 ), p 2 = f ( t m 2 , y m 2 ), p 3 = f ( t m 3 , y m 3 ).
Then
h ( a weighted average of p0 . . . p3 ).
To be precise,
55 59 37 9
ym = h p0 p1 + p2 p3 .
24 24 24 24
Predict Use the Adams-Bashforth method to find a tentative value for ym+1 :
55 59 37 9
y m+1 = ym + h p0 p1 + p2 p3
24 24 24 24
browser.
176 CHAPTER 2. SYSTEMS OF DIFFERENTIAL EQUATIONS
These applets will draw direction fields for first order ODEs, and vector
fields representing systems of two autonomous first-order ODEs, respec-
tively. By clicking any point in the field with the mouse pointer, one can
see a graph (or orbit) of the solution, with the initial condition specified
by the point that was selected.There are several graphing calculators that
incorporate IVP solvers as well.
Exercises
1. The solution of the IVP
x 0 = y x (0) = 1
y0 = x y (0) = 0
x 0 = 4y x (0) = 1
y0 = x y (0) = 0
fied, and the orbit is an ellipse. Use an IVP solver to draw this ellipse.
If you use a crude method like Eulers, do you get a closed curve? Re-
peat the experiment with a classical fourth order method, and again
with a dynamic method.
x 0 = y + e x ( x 2 + y2 1) x (0) = A
y 0 = x + e y ( x 2 + y2 1) y (0) = 0
r r 0 = x x 0 + y y0
2.3. A USERS GUIDE TO IVP SOLVERS 177
x y0 y x 0
0 =
x 2 + y2
r 0 = e r (r 2 1); r (0) = A
and draw a phase diagram for this IVP. Furthermore, show that 0 =
1. Thus orbits rotate counterclockwise about the origin, spiraling out-
ward if r is increasing and inward if r is decreasing.
(a) Put e = .25 and A = .05. Use the RKF45 algorithm to draw the
orbit of the solution for 0 30. Explain how the orbit shown is
consistent with the conclusions reached above.
(b) Repeat the experiment with the following data.
i. (e, A) = (.25, 4).
ii. (e, A) = (.25, .95).
iii. (e, A) = (.25, 1.05).
Answer
y 0 = t2 + y2 ; y (0) = 0 (2.10)
5. Produce an accurate plot of the solution (t) of the IVP (2.10), for
c < t < c. ranging from the negative asymptote t = c to the pos-
itive asymptote t = c. Change the time step to 0.05, and use Eulers
method to generate an approximate solution. Reduce the time step
by a factor of 2 repeatedly. Describe precisely the effect that reducing
the time step has on the error. Repeat the experiment with a second
order method, and the classical RK4 method.
Answer
6. Draw the phase diagram for the ODE y0 = 4y y3 , and sketch the
graphs of four solutions with different asymptotic behavior. Use an
IVP solver to graph the four solutions with initial conditions that you
should select so that the graphs resemble your sketches.
178 CHAPTER 2. SYSTEMS OF DIFFERENTIAL EQUATIONS
has seven real roots in the interval [0, 20]. Approximate them.
Answer
has a periodic solution. Use an IVP solver to plot the graph of this
solution.
Answer
10. Let S(t) = +1 if the integer part of t is even, (i.e. t [0, 1), [2, 3),
etc., and S(t) = 1 otherwise. This function is sometimes called a
square wave. Graph the periodic solution of
y 0 + y = S ( t ).
2.4. *AUTONOMOUS SYSTEMS 179
To represent S(t) with a simple formula your CAS can handle, note
that S(t) = (1)btc where btc is the floor function that rounds num-
bers down to their integer parts. It is also possible to use S(t) =
sign(sin t) if the floor function is not available.
x 0 = f ( x, y)
(2.11)
y0 = g( x, y)
x 0 = 2x
y0 = y,
parabola or axis, leading away from the origin. Figure 2.10 is a phase
portrait of the system (2.12). This figure includes the vector field, but
normally the vector field is not shown in a phase portrait.
Example 2.4.2 Find the nullclines and stationary points of the system
x 0 = x ( x 4y)
y0 = y(y2 2x 9)
x ( x 4y) = 0.
y(y2 2x 9) = 0,
and hence they are the x-axis and the parabola x = (y2 9)/2.
The stationary points lie at the intersection of x-nullclines with y-nullclines.
The axes meet at (0, 0), and the y-nullcline x = (y2 9)/2 meets the
2.4. *AUTONOMOUS SYSTEMS 181
Integrals
An integral of a system of autonomous ODEs is a function F ( x, y) such
that for every solution x = (t), y = (t) of the system, F ((t), (t)) is
a constant function of t on the interval where ((t), (t)) is defined. This
definition can be compared to the definition of integral of a single ODE. For
example, it is known that all solutions of the system
x0 = y
y0 = x
dy g( x, y)
=
dx f ( x, y)
g( x, y) dx f ( x, y) dy = 0. (2.13)
x 0 = f ( x, y)
y0 = g( x, y).
x 0 = p2 y
y 0 = q2 x
q2 x dx + p2 y dy = 0,
which is easily done since it is exact (and separable as well). The solution
is
q2 x2 + p2 y2 = C. (2.14)
We can assume C 0 since otherwise equation (2.14) represents the
empty set. When C = 0 we have the origin, which is a stationary point. If
C > 0, put a2 = C/q2 and b2 = C/p2 . Dividing equation (2.14) by C, we
have
x2 y2
2
+ 2 =1
a b
which is the equation of an ellipse, with principal axes of lengths 2a and 2b
on the two coordinate axes. Since x 0 = p2 y, x is decreasing (directed to
the left) on the upper half plane y > 0, and increasing (directed to the
right) on the lower half-plane. Hence the orbit is directed counterclockwise.
2.4. *AUTONOMOUS SYSTEMS 183
What do these orbits have in common? Each is an ellipse, for which the
ratio of length of the vertical axis to the length of the horizontal axis is
equal to
b C/q p
= = .
a C/p q
Thus the orbits are the origin, and a family of similar ellipses. The phase
portrait is shown in figure 2.12.
y0 = v
(2.15)
v 0 = y2 .
Example 2.4.4 Find an integral of the system (2.15) and draw its phase portrait.
y2 dy + v dv = 0
will also be an integral of the system (2.15). This ODE is exact; integrating
yields
1 1
F (y, v) = y3 + v2 .
3 2
The orbits lie on level curves of F (y, v). Before drawing the phase portrait,
we note that the y-nullcline is the v-axis, and the v-nullcline is the y-axis.
There is one stationary point, the origin. The phase portrait shown in
figure 2.13, was drawn as a contour plot of the level curves of F (y, v). The
vector field
~v(y, v) = v~i y2~j
was superimposed on the contour plot.
continuity requirement for f and g for the existence statement, and a Lips-
chitz condition is also needed for uniqueness.
Consider an IVP (where the ODEs are not necessarily autonomous),
d~v ~
= F (t, ~v); ~v(t0 ) = ~v0
dt
where ~v0 is the initial vector, with components ( x0 , y0 ).
We will use absolute value signs to denote distance in the plane: thus if
~v1 = ( x1 , y1 ) and ~v2 = ( x2 , y2 ),
q
|~v1 ~v2 | = ( x1 x2 )2 + ( y1 y2 )2 .
With these definitions in mind, the function ~F (t, ~v) is said to satisfy a
Lipschitz condition with respect to ~v in the box B if there is a constant K
such that for all (t, ~v1 ), (t, ~v2 ) B ,
Our reason for using vector notation here is economy. The Lipschitz
condition can be expressed without it, but it looks more complicated that
way. See problem 18 at the end of this section.
Theorem 2.1
2.4. *AUTONOMOUS SYSTEMS 185
Existence Suppose that f (t, x, y) and g(t, x, y) are each continuous at every
point in the box B . Then there is a number h > 0 and there are func-
tions (t) and (t), defined on the interval t0 h < t < t0 + h such
that x = (t), y = (t) is a solution of the IVP (2.16).
Uniqueness If the vector function ~F (t, ~v) = ( f (t, x, y), g(t, x, y)) satisfies a
Lipschitz condition with respect to ~v in B , and x = (t), y = (t) is
another solution of the IVP 2.16, then there is a positive number h1 such
that for all t with t0 h1 < t < t0 + h1 , (t) = (t) and (t) = (t).
The proof of this theorem involves the same ideas as those of the single-
equation theorems 1.5, 1.7 and 1.8, and is omitted.
Now lets adapt the uniqueness theorem to the question of intersecting
orbits. If a system is not autonomous, it is certainly possible for orbits to
intersect. If ( x, y) = (1 (t), 1 (t)) and ( x, y) = (2 (t), 2 (t)) are solutions
of a system,
x 0 = f (t, x, y)
y0 = g(t, x, y)
their orbits could intersect at a point
x 0 = f ( x, y)
y0 = g( x, y).
it follows that
d
= 0 ( t + t0 ) = f ((t + t0 ), (t + t0 ))
dt
= f ( (t), (t)).
d
Similarly, dt = g( (t), (t)), and therefore ( x, y) = ( (t), (t)) is a solu-
tion.
The proof of this lemma was rather simple, and you should consider
why it does not work for systems that are not autonomous.
Theorem 2.2 Suppose that the functions f ( x, y) and g( x, y), are continuous and
satisfy a Lipschitz condition in a rectangle D R2 . Then for any point ( x , y )
D , there is exactly one orbit of the system
x 0 = f ( x, y)
(2.17)
y0 = g( x, y)
that contains ( x , y ).
Closed orbits
Theorem 2.2 does not preclude an orbit from intersecting itself. This would
happen if the system (2.11) had a solution ( x, y) = ((t), (t)) such that for
some pair of numbers t1 6= t2 ,
Theorem 2.3 Let ( x, y) = ((t), (t)) be a solution of the system (2.11) such
that equation (2.18) holds for distinct numbers t1 < t2 . Then and are T-
periodic, where T = t2 t1 , and the orbit described by ((t), (t)) is a closed
curve.
x 00 + c( x2 1) x 0 + x = 0.
x0 = y
(2.19)
y0 = x + c(1 x2 ) y.
188 CHAPTER 2. SYSTEMS OF DIFFERENTIAL EQUATIONS
x = sin(t)
y = cos(t)
Example 2.4.5 Draw the x- and y-nullclines of the van der Pol system (2.19),
with c = 21 .
x + c(1 x2 ) y = 0.
1
We will substitute c = 2 and solve for y to get
2x
y= .
1 x2
The orbits will be directed to the right as they cross the y-nullcline in the
upper half-plane, and in the lower half plane they are directed to the left.
Figure 2.14 shows the nullclines.
2.4. *AUTONOMOUS SYSTEMS 189
Figure 2.14 indicates that orbits of the van der Pol system travel around
the origin in a counterclockwise direction, but they may not be closed orbits
it is possible that they are spirals. Figure 2.15 displays segments of two
orbits. I have chosen initial points ( x0 , y0 ) = (1, 0) and ( x0 , y0 ) = (3, 0)
for these orbits, and followed each of them until it returned to the positive
x-axis. You can see that neither orbit is closed, since neither returns to its
starting point.
Let
x = (t, u)
y = (t, u)
denote the solution of the van der Pol system (2.19) with c = 12 and initial
point ((0), (0)) = (u, 0). By the continuous dependence statement in theo-
rem 2.1, the functions and are continuous functions of (t, u). Let g(u)
be the function, defined for all u [1, 3], as follows: First let s(u) be the
least positive number such that (s(u), u) = 0 and (s(u), u) > 0. Thus,
the orbit starting at (u, 0) on the positive x-axis will return to the positive
x-axis for the first time at t = s(u). Now let
g ( u ) = ( s ( u ), u )
be the x-coordinate of the solution with initial point at (u, 0), when it first
returns to the positive x-axis.
It follows from the continuity of and (and the implicit function the-
orem) that g is continuous. Now refer to figure 2.15. You will see that
1 < g(1) < g(3) < 3. Thus the function h(u) = g(u) u is continuous,
with h(1) > 0, and h(3) < 0. By the intermediate value theorem, there is
a number u (1, 3) with h(u ) = 0; that is, g(u ) = u . The solution
( x, y) = ((t, u ), (t, u )) thus satisfies
Now it follows from theorem 2.3 that (t, u ) and (0, u )) are periodic
functions of t, and the orbit that they describe is a closed curve. This orbit
is shown in figure 2.16.
Exercises
In problems 1 7, sketch the nullclines and find the stationary points of the
given system of ODEs. Then use an IVP solver to draw a few orbits.
190 CHAPTER 2. SYSTEMS OF DIFFERENTIAL EQUATIONS
x0 = x 2 + y2
1.
y0 = x 2 y2
Answer
0
x = x ( x + y)
2.
y0 = y(2x y)
x0
= x
3.
y0 = 4y y2 ,
Answer
0
x = x ( x y2 )
4.
y0 = y ( x 4)
x0 = x2
5.
y0 =y
Answer
0
x = y+1
6.
y0 = y
x0 = x + y 2
7.
y0 = x y
Answer
x0 = x
8.
y0 = y + x2
x0
= 2x
9.
y0 = x+y
Answer
0
x = x (1 y )
10.
y0 = y ( x 1)
x0
= 3x
11.
y0 = 5y
Answer
0
x = 3y
12.
y0 = 5x
2.4. *AUTONOMOUS SYSTEMS 191
x 0 = x 2 + y2
13.
y0 = 2xy
Answer
15. Show that the graph of any solution of the non-autonomous first
order ODE,
dy
= f ( x, y),
dx
passing through the initial point ( x0 , y0 ), is the same as the orbit of
the autonomous system
dx
= 1
dt
dy
= f ( x, y)
dt
17. Prove the existence and uniqueness theorem for second order
ODEs: Suppose that f (t, x, y) is continuous in a box B in R3 and satis-
fies a Lipschitz condition there with respect to the variables x, y (specify
this Lipschitz condition). Then, given (t0 , x0 , y0 ) B , there is a unique
solution of the IVP
d2 x dx dx
dt2
= f t, x, dt x ( t0 ) = x0 dt t=t = y0 .
0
18. Write out the Lipschitz condition without using vector notation.
192 CHAPTER 2. SYSTEMS OF DIFFERENTIAL EQUATIONS
ax 0 + by0 = f (t, x, y)
cx 0 + dy0 = g(t, x, y)
x0 = f ( x, y)
0
y = g( x, y)
has no closed orbits in R. This fact, first proved in 1900 by the Swedish
mathematician Ivar O. Bendixson, is called Bendixsons criterion.
and the relative growth rates are x 0 (t)/x (t) and y0 (t)/y(t), respectively. Our
model posits that each relative growth rate is a function of x and y. It can
thus be expressed as a system of two ODEs,
x 0 = x f ( x, y)
(2.20)
y0 = y g( x, y).
2.5. *POPULATIONS OF INTERACTING SPECIES 193
x 0 = kx (1 x/C )
x 0 = x ( a by)
(2.21)
y0 = cy( x d),
was the first differential equations model for the populations of more than
one species. It was developed in 1926 by the Italian mathematician Vito
Volterra as a model to explain the fluctuating populations of predator and
prey fish in the Adriatic Sea. The same system was proposed in 1920 by
an American biophysicist, Alfred Lotka, to determine the rate of a hypo-
thetical chemical reaction (See problem 2 at the end of this section). Lotkas
intention was to show that the concentrations of chemicals involved in a
reaction could vary periodically2 . In Volterras model, x is the prey popu-
lation, and y represents the population of a predator whose sole source of
food is this prey. The relative growth rate of the prey species is set equal
to a by, indicating that in the absence of the predator, the number of prey
will increase exponentially, but the relative rate of increase decreases lin-
early with the predator population. Of course, even in the absence of the
predator, the prey population would be limited by the availability of re-
sources, but the predator prevents the prey population from approaching
the carrying capacity. The predator keeps the prey from starvation. The
second equation of the system (2.21) indicates that the predator will starve
without the prey: when x = 0 it reduces to y0 = cdy; thus y = y0 ecdt
(where y0 is the initial population). The parameter d represents the mini-
mum prey population necessary to support predators.
2 Oscillating chemical reactions are no longer hypothetical. The first observations of an
oscillating reaction were made in 1951 by B. P. Belousov, a chemist in the former Soviet
Union.
194 CHAPTER 2. SYSTEMS OF DIFFERENTIAL EQUATIONS
The system (2.21) has two stationary points. These are the solutions of
x ( a by) = 0
cy( x d) = 0,
cy( x d) dx x ( a by) dy = 0.
F ( x, y) = cd ln( x ) + a ln(y) cx by
is an integral.
To keep the notation simple, we will use the notation Fx , Fy , and so on,
for the partial derivatives F F
x , y , etc. The critical points of F ( x, y ) are found
by setting Fx and Fy equal to 0 and solving for x and y:
Fx ( x, y) = c(d/x 1) = 0
Fy ( x, y) = a/y b = 0.
The stationary point (d, a/b) is the only critical point, and we will apply the
second derivative test to it. Since Fxx (d, a/b) = c/d, Fyy (d, a/b) = b2 /a,
and Fxy 0,
2
2
c b
Fxx (d, a/b) Fyy (d, a/b) [ Fxy (d, a/b)] = > 0,
d a
Competing Species
We will now consider an ecosystem in which two species A and B, with
populations x and y, compete for resources. The organisms may be plants,
competing for nutrients and sunlight, grazing animals competing for for-
age, or predators in competition for prey. The model is thus applicable to a
single level of the food chain.
If the species B were removed from the environment, the population of
the species A would grow according to the logistic equation, which we will
write in the form
dx
= ax (C x ),
dt
where C is its carrying capacity, and a = k/C is the ratio of the initial rela-
tive growth rate to the carrying capacity. The species B will consume some
of the resources required by A. This is taken into account by subtracting
from the carrying capacity an amount to reflect the rate at which the re-
sources needed by species A are consumed by species B. Thus the relative
growth rate for the species A is
a(C ry x ),
1 dx
= a(C x ry)
x dt
1 dy
= d( L sx y),
y dt
196 CHAPTER 2. SYSTEMS OF DIFFERENTIAL EQUATIONS
x 0 = x (k ax by)
(2.22)
y0 = y(l cx dy)
where k = aC, b = ar, l = dL, and c = ds.
The system (2.22) has four stationary points. Three of these occur when
one or both of the species are extinct. For example, if A is extinct (x = 0)
then the species B can have the stationary populations y = 0 (also extinct)
or L (its carrying capacity). Furthermore, in this case the orbits would just
be those of the phase diagram of the logistic equation.
The fourth stationary point, ( x1 , y1 ) is located at the intersection of the
lines
ax + by = k, and (2.23)
cx + dy = l. (2.24)
The line (2.23) is an x-nullcline, and the line (2.24) is a y-nullcline. If the
lines do not intersect in the first quadrant, this stationary point is not of
interest, because neither population can be negative.
Figure 2.19 shows four possible configurations of the nullclines, de-
pending on the relative size of the parameters. The intercepts of the line (2.23)
are at (C, 0) and p = (0, k/b) , and since (C, 0) is a stationary point, it is
marked with a heavy dot. The intercepts of the line (2.24) are q = (l/c, 0)
and the stationary point (0, L). In configurations (a) and (d) the stationary
point E = ( x1 , y1 ) is also present. The arrows on the nullclines indicate the
direction orbits must take when they cross. Thus, the x-nullcline has ver-
tical arrows. The part of the x-nullcline that lies above the y-nullcline is in
a region where y0 < 0, so the arrows point down. When the x-nullcline is
below the y-nullcline, the arrows point up, for y0 > 0. The directions of the
arrows marking the y-nullclines are explained in the same way.
It is not feasible to find an integral for the system (2.22), and to un-
derstand it we will need to use a different approach. A closed polygon
T in the phase plane is called a trap if every orbit that crosses an edge or
vertex of T is directed toward the interior. Thus, orbits can enter T , but
once they do so, they are trapped, since they cannot cross any edge from
the inside outward. Identifying traps is an important technique for study-
ing autonomous systems of ODEs. For the system (2.22) we will use traps
whose edges are nullclines.
Configurations (b) and (d) are the easiest to analyze, and we will start
with (b). The quadrilateral LqCP is a trap, because all orbits are directed
2.5. *POPULATIONS OF INTERACTING SPECIES 197
downward as they cross the x-nullcline (the line pC), to the right as they
cross the y-nullcline (the line Lq), and no orbits cross the axes. Furthermore,
all orbits starting outside this quadrilateral must either enter it, or converge
to one of the stationary points C or L.
Inside the trap, x 0 is positive (it doesnt become negative until the other
side of the x-nullcline is reached), and, since the quadrilateral lies above
the y-nullcline, Lq, y0 is negative. With orbits trapped inside, and directed
downward and to the right, it can be shown that they all converge to the
stationary point (C, 0). The conclusion: in configuration (b), species A is
dominant, and B will become extinct. The same reasoning shows that ex-
actly the reverse is true in configuration (c): species B is dominant, and A
dies out. The phase portrait corresponding to configuration (b) is shown in
figure 2.20.
In configuration (a) of Figure 2.19 the quadrilateral OCEL (O stands for
the origin) is a trap. Within this quadrilateral, the triangles pEL and qCE
are also traps. In triangle pEL, orbits are directed upward and to the left;
and in qCE they are directed downward and to the right. Thus orbits start-
ing near E will converge to L or C if they enter the interior of one of these
triangles. In particular, consider the situation when the initial population
is inside the quadrilateral OqEp. Its orbit must either converge to E, or en-
ter one of the above-mentioned triangles, and hence converge to C or L. It
can be shown that there is one orbit in OqEp that does converge to E; it is
called the separatrix. Orbits that start above the separatrix will cross the
edge Ep, entering the triangle where all orbits converge to L; and orbits
starting below the separatrix will enter the triangle qCE and converge to
E. This situation is called competitive exclusion: the species with the ini-
tial population advantage dominates; the other faces extinction. The phase
portrait in this case is shown in figure 2.21.
Now let us consider a happier situation: configuration (d). The quadri-
lateral OqEp is a trap, and within it, the triangles LEp and CqE are also
traps. The distinction between this and configuration (a) is that in this case,
the orbits inside the triangles are directed toward E instead of away from
it. Since ever orbit either must converge directly to E or enter one of these
triangles, we conclude that all orbits converge to E. Here we have a stable
equilibrium in which the species share the resources. The phase portrait is
displayed as figure 2.22.
It is interesting to speculate on which of the above cases is applicable in
familiar situations, such as crabgrass in the lawn, benign versus pathogenic
bacteria in the body, introduction of new species of fish in a pond, and so
on. Conclusions reached by using this model are not to be trusted without
198 CHAPTER 2. SYSTEMS OF DIFFERENTIAL EQUATIONS
Exercises
1. A population of insect pests is to be controlled by introducing
predator insects. The objective is to keep the maximum number of
pests present at any time as small as possible. Assuming that the
Lotka-Volterra model is valid in this situation,
Answer
dz
= kxy,
dt
where k is constant.
Lotka3 considered a hypothetical sequence of three reactions
P + Q 2Q, Q + R 2R, R S.
3. Two species of fish inhabit a pond; neither is the prey of the other.
The ponds carrying capacity is 1000 fish of species A, or 1500 of
species B. Also, if there are 800 A-fish and 800 B-fish, the popula-
tion will be stationary. Set up a system of ODEs to model the fish
populations, and draw a sketch of the phase plane, identifying traps.
How will the populations stabilize, assuming both populations are
initially positive?
Answer
x 0 = ax (K x + By)
y0 = dy( L + Cx y).
and identify any traps. You will need to consider the cases where
BC 1 and BC < 1 separately.
Answer
x 0 = x ( a by) Rx
y0 = cy( x d) Ry.
Assuming that a > R, show that as the catch rate increases, the av-
erage population of prey increases, and the average predator popu-
lation decreases. You may use the result of problem 6. Although the
Lotka-Volterra equations oversimplify, this effect is substantiated by
Volterras data. For the same reason, it is unwise to apply a pesticide
to help an insect predator control a pest species: the result will be
to increase the average number of pests.
Answer
Classical IVP solver An IVP solver that has a fixed time step.
Dynamic IVP solver An IVP solver that automatically adjusts its time step
to maintain precision.
Order (of an IVP solver) A number n such that the accumulated error
varies proportionately with the nth power of the time step.
Phase plane The plane, in which the coordinates correspond to the values
of the dependent variables of a system of two ODEs.
d2 y
dy
= f t, y, , (2.26)
dt2 dt
202 CHAPTER 2. SYSTEMS OF DIFFERENTIAL EQUATIONS
Trap A closed polygon in the phase plane such that all orbits that cross its
edges or vertices are pointed inward.
x 0 = x + e t ; x (0) = 0
y0 = xy2 ; y (0) = 1
Answer
x0 = x
y0 = y.
Also find an integral for this system and draw its phase portrait.
Answer
x0 = x
y0 = 2y
Answer
4. Suppose that F 0 (y) = f (y). Find an integral for the system that
replaces the ODE y00 + f (y) = 0. Apply the result to the following
ODEs, in which denotes a constant parameter:
Answer
5. Find systems of first order ODEs to replace the given second order
ODEs.
(a) y00 + y = 0.
(b) y00 = y0 t2 sin(y)
Answer
204 CHAPTER 3. SYSTEMS OF DIFFERENTIAL EQUATIONS
y00 = 2y0 2y
sketch the corresponding orbit of the system that replaces this ODE.
Answer
x 0 = x ( x + 4y)
y0 = 2y( x + y)
Answer
(a) ~v = ( x + y 2) i + ( x 3y + 2) j.
(b) ~v = (y x ) i + (y x3 ) j.
(c) ~v = x ( x + y + 4) i + y( x + 5y) j.
Answer
x 0 = ( x + y)(y2 1)
y0 = (y x )( x2 1)
11. Use an IVP solver to draw several integral curves for each of the
vector fields in Exercise 3. Choose initial points near (but not at!) the
stationary points, and let the time variable range from 5 to 5.
Answer
12. Use an IVP solver to plot the graph of the solution of the damped
pendulum equation, y00 = .05y0 sin(y) with initial conditions y(0) =
0.25, y0 (0) = 0. Repeat with the linearized version of the equation,
y00 = .05y0 y with the same initial conditions.
Answer
FIGURES FOR CHAPTER 3 205
Figure 2.2: Three orbits of the system that replaces the ODE y00 = y0 + 2y. The horizontal
axis is the y-axis; the vertical axis represents y0 .
20
15
10
-5
FIGURES FOR CHAPTER 3 207
1.5
0.5
-0.5
-1
-1.5
-2 -1 0 1 2 3
208 CHAPTER 3. SYSTEMS OF DIFFERENTIAL EQUATIONS
Figure 2.4: Component graphs of a solution ( x(t), y(t)) of the system (2.9).
1 y
t
-1 -0.5 0.5 1
-1
-2 x
FIGURES FOR CHAPTER 3 209
Figure 2.5: Orbit of a solution ( x(t), y(t)) of the system (2.9). The vector field represen-
tation of the system of ODEs is also displayed.
1.5
0.5
-3 -2 -1 1 2
-0.5
-1
-1.5
210 CHAPTER 3. SYSTEMS OF DIFFERENTIAL EQUATIONS
2
1
0
-1
-1
-2
-2
-1
0
1
FIGURES FOR CHAPTER 3 211
Figure 2.8: Spreadsheet calculation and orbit plot for the IVP, x0 = 2x + 2y, y0 = x + 4y;
( x (0), y(0) = (1, 0),. The formulas in the spreadsheet are shown in figure 2.7.
FIGURES FOR CHAPTER 3 213
Figure 2.9: Orbit of x0 = 2x + 2y, y0 = x + 4y, with initial condition x(0) = 1, y(0) = 0.
The upper curve was drawn from the analytic solution, and the lower one was drawn from
the approximation obtained by Eulers method in example 2.3.1.
-6 -4 -2 2
-2.5
-5
-7.5
-10
-12.5
-15
214 CHAPTER 3. SYSTEMS OF DIFFERENTIAL EQUATIONS
Figure 2.10: : Vector field and phase portrait for the system of ODEs in example 2.12.
FIGURES FOR CHAPTER 3 215
Figure 2.11: : Stationary points and nullclines for the system of ODEs in example 2.4.2.
The x-nullcline is marked with vertical arrows indicating the direction of orbital crossing;
the y-nullcline is marked with horizontal arrows. Stationary points are located where the
two nullclines intersect.
10
7.5
2.5
-10 10 20 30 40
-2.5
-5
216 CHAPTER 3. SYSTEMS OF DIFFERENTIAL EQUATIONS
-6 -4 -2 2 4 6
-1
-2
-3
FIGURES FOR CHAPTER 3 217
v
2
1.5
0.5
y
-3 -2 -1 1 2 3
-0.5
-1
-1.5
-2
218 CHAPTER 3. SYSTEMS OF DIFFERENTIAL EQUATIONS
Figure 2.14: Nullclines of the van der Pol system (2.19), where c = 1/2.
-4 -2 2 4
-2
-4
FIGURES FOR CHAPTER 3 219
Figure 2.15: Segments of two orbits of the van der Pol system (2.19), with c = 1/2.
-2 -1 1 2 3
-1
-2
220 CHAPTER 3. SYSTEMS OF DIFFERENTIAL EQUATIONS
Figure 2.16: A closed orbit of the van der Pol system (2.19), with c = 1/2.
-2 -1 1 2
-1
-2
FIGURES FOR CHAPTER 3 221
Figure 2.17: An integral for the Lotka-Volterra equations. The orbits are level curves.
The parameters are a = 0.1, b = 0.01, c = 0.0005, and d = 2000. Thus, the stationary point
is located at ( x, y) = (2000, 10).
6.5
40
6
30
5.5
20
1000
2000
10
3000
4000
5000
222 CHAPTER 3. SYSTEMS OF DIFFERENTIAL EQUATIONS
40
30
20
10
Figure 2.19: Four possible configurations for the nullclines of the system (2.22) The sta-
tionary points are marked with heavy dots; the x-nullcline is marked with vertical arrows,
and the y-nullcline is marked with horizontal arrows.
6 6
L sC p@
C @
?
@
C @
C
L sJ
C sE ?
@
p 6
P PC PP
@
- C PP -
J @
?
s C ?PPPs- s J @s -
@
q C q C
(a) (b)
s
6 6
L@ p
@ C
C
@ C?
@
C
@ sP C sE
pJ @
L P
-
C PP
@
J6 C6 P
PP
s Js @@ - s Cs PP-
C q C q
(c) (d)
224 CHAPTER 3. SYSTEMS OF DIFFERENTIAL EQUATIONS
Figure 2.20: In this phase portrait, the parameters correspond to the configuration shown
in figure 2.19(b). The species whose population is represented by x dominates the species
represented by y regardless of the initial conditions. The nullclines are represented by
dashed lines, and the parameters are (k, a, b, l, c, d) = (30, 5, 6, 6, 2, 3).
2 4 6 8
FIGURES FOR CHAPTER 3 225
Figure 2.21: Competitive exclusion: the phase portrait of the system 2.22, when the
nullclines (shown as dashed lines) are configured as in figure 2.19(a). The parameter values
are: k = 3, a = 1, b = 2, l = 5, c = 2, and d = 3.
1.5
0.5
Figure 2.22: When the population growth parameters correspond to the configuration
shown in figure 2.19(d), the two species will coexist with populations represented by the
stationary point in the first quadrant. The initial conditions have no effect on the outcome,
as long as both species are present. Nullclines are represented by dashed lines, and the
parameters are (k, a, b, c, l, c, d) = (15, 5, 3, 12, 2, 6).
1 2 3 4 5 6
Chapter 3
Linear Systems
227
228 CHAPTER 3. LINEAR SYSTEMS
x 0 = p1 ( t ) x + q1 ( t ) y + r1 ( t )
(3.1)
y 0 = p2 ( t ) x + q2 ( t ) y + r2 ( t ),
If you are familiar with the dot-product of vectors, the i, jth entry of C is the
dot-product of row i of A and column j of B. Matrix multiplication satisfies
the associative law: Given three matrices A, B, and C, of dimensions such
that the products P = AB and Q = BC are defined, it always holds that
PC = AQ; in other words,
( AB)C = A( BC ).
Matrix multiplication also satisfies the distributive laws: assume that A and
A0 are matrices of the same dimensions, and that B is a matrix of dimen-
sions such that AB is defined. Let B0 be a matrix of the same dimensions as
B. Then
( A + A0 ) B = AB + A0 B and A( B + B0 ) = AB + AB0 .
Matrix algebra shares these properties with the arithmetic of real numbers.
However, the commutative law does not hold. If A is a p q matrix and
B is q p, then unless p = q, AB and BA are of different sizes (p p and
q q, respectively); thus AB 6= BA. Even it A and B are square matrices,
so that p = q, usually AB 6= BA.
To convert the system (3.1) to matrix form, let the column vector
x
~v =
y
is equivalent to the system (3.1), we have only to multiply the matrix A and
the column vector ~v to obtain the column vector
p1 ( t ) x + q1 ( t ) y
A(t)~v = ,
p2 ( t ) x + q2 ( t ) y
x0 = y
y0 = 4 x
in matrix form.
such that
x a11 x + a12 y y
A = = .
y a21 x + a22 y 4x
It follows that a12 = 1, a21 = 4, and the other entries are 0. Hence
0 1
A= ,
4 0
3.1. THE INITIAL VALUE PROBLEM 231
S OLUTION . Let
1
~c = ,
2
~ = e2t ~c. We need to show that
so that w
~ 0 = A (e2t ~c)
w (3.2)
By matrix multiplication,
0 1 1 (0)(1) + (1)(2) 2
A~c = = = = 2~c.
4 0 2 (4)(1) + (0)(2) 4
Thus
d 2t
~0 =
w (e ~c) = e2t (2)~c = e2t A ~c.
dt
We can now conclude that equation (3.2) holds, since
e2t A ~c = A (e2t ~c).
With vector notation, the existence and uniqueness theorem 2.1 for sys-
tems looks the same as the existence and uniqueness theorems for first or-
der ODEs that we encountered in chapter 1. The following theorem is for
232 CHAPTER 3. LINEAR SYSTEMS
linear systems only; it differs from theorem 2.1 in that the domain of the
solution of an IVP involving a linear system can be specified. We will refer
to this theorem frequently.
Theorem 3.1 (Existence & Uniqueness) Suppose that the entries of the coeffi-
cient matrix A(t) and the components of the source vector ~f (t) are continuous on
an interval ( a, b) containing the initial point t0 . Then the IVP
Homogeneous systems
A system of ODEs
~v0 = A(t)~v
with a zero source vector is said to be homogeneous . The following corol-
lary of theorem 3.1 is a useful property of homogeneous systems.
Corollary 3.1.1 Let A(t) be an n n matrix whose entries are continuous on the
interval ( a, b), and let ~v(t) be a solution of the homogeneous system ~v0 = A(t)~v.
If, for some t0 ( a, b), ~v(t0 ) = ~0, then ~v(t) ~0 on ( a, b).
P ROOF. Notice that ~v(t) and ~z(t) ~0 are solutions of the IVP
~v0 = A(t)~v; ~v(t0 ) = ~0.
The uniqueness assertion of theorem 3.1 implies that ~v(t) = ~z(t) for all
t ( a, b)
Definition: If ~v1 (t) and ~v2 (t) are vector functions that are defined on for
all t in an interval ( a, b) If c1 and c2 are scalar constants, the vector function
~v3 (t) = c1 ~v1 (t) + c2 ~v2 (t) (3.3)
is called a linear combination of ~v1 and ~v2 . (It is possible to form linear
combinations of three or more vector functions in the same way.)
Now suppose that ~v1 (t) and ~v2 (t) in (3.3) are solutions of a homoge-
neous linear system of ODEs, ~v0 = A~v. Then
~v30 = c1 ~v10 + c2 ~v20
= c1 A ~v1 + c2 A ~v2
3.1. THE INITIAL VALUE PROBLEM 233
Theorem 3.2 Let ~v1 (t), ~v2 (t), . . . , ~vn (t) be solutions of a linear homogeneous
system, ~v0 = A(t)~v. Then every linear combination
Definition: The linear span of a set of solutions S = {~v1 (t), ~v2 (t), . . . , ~vn (t)}
of a system of ODEs is the set of all vector functions that can be expressed
as linear combinations of the functions in S . We can also consider the linear
span of a set T of vectors {~b1 , . . . ,~bk } Rn : it is the set of all possible linear
combinations of the vectors in T .
Theorem 3.2 can be rephrased as follows: Every vector function in the
linear span of any set of solutions of a homogeneous linear system of ODEs
is also a solution.
In example 3.1.2 we found that
2t 1 2t 1
~v1 = e and ~v2 = e
2 2
are solutions of the system
0 0 1
~v = ~v.
4 0
Definition: The vector functions ~v1 (t) and ~v2 (t) are linearly independent
if neither function is equal to a constant scalar multiple of the other. More
generally, we will say that a set of vector functions
is linearly independent if none of the ~vi (t) belongs to the linear span of the
other (m 1) vector functions in S.
A similar definition applies to vectors in the plane (or n-dimensional
space Rn ). We say that a set of constant vectors, S = {~a1 ,~a2 , . . . ,~am } is
linearly independent if none of the vectors in S belongs to the linear span
of the other vectors in S.
P ROOF : (We will refer to the case of vector functions; the proof for the
case of constant vectors is the same.) Suppose that S is linearly indepen-
dent, and that
c1~v1 (t) + c2~v2 (t) + + cn~vn (t) 0.
We have to show that c1 = c2 = cn = 0. We will do so by supposing
that this is not the case and reaching a contradiction. Thus suppose that at
least one of the coefficients ci is nonzero. We can select this ci to be the last
coefficient that is nonzero, so that c j = 0 for j > i. Thus
Since ci 6= 0 we can divide through by ci and solve for vi (t), thus expressing
it as a linear combination of {~v1 (t), . . . , ~vi1 (t)}:
1
~vi (t) = (c1~v1 (t) + c2~v2 (t) + + ci1~vi1 ).
ci
This shows that ~vi (t) belongs to the linear span of {~v1 (t), ~v2 (t), . . . , ~vi1 },
contradicting our hypothesis that S is linearly independent.
To prove the converse, assume that the only linear combination of S
that is zero is the combination where all coefficients are zero. Now we will
assume that one of the elements of S, ~vi (t) lies in the span of the other n 1
elements of S. This means there are scalar constants c1 , . . . , ci1 , ci+1 , . . . , cn
such that
~vi (t) = c1~v1 (t) + c2~v2 (t) + + ci1~vi1 + ci+1~vi+1 + + cn~vn (t).
3.1. THE INITIAL VALUE PROBLEM 235
Put ci = 1. Then
c1~v1 (t) + c2~v2 (t) + + ci1~vi1 + ci~vi (t) + ci+1~vi+1 + + cn~vn (t) = 0
Theorem 3.3 Let A(t) be an n n matrix whose entries are continuous functions
on an interval ( a, b), and let t0 be any point in ( a, b). Then solutions ~v1 (t), ~v2 (t)
. . . , ~vn (t) of the linear homogeneous system ~v0 = A(t)~v are linearly independent
if and only if, as vectors in Rn ,
P ROOF. For simplicity, let n = 2. (The proof can be used for general
n with only slight modification.) If ~v1 (t0 ) and ~v2 (t0 ) are not linearly inde-
pendent, then we can assume that there is a number c such that ~v2 (t0 ) =
c~v1 (t0 ).
~v3 (t) = c ~v1 (t) ~v2 (t)
is a linear combination of solutions of ~v0 = A(t)~v, and is therefore also a
solution. Since ~v3 (t0 ) = ~0, it follows from corollary 3.1.1 that ~v3 (t) = ~0 for
all t, and hence ~v2 (t) = c~v1 (t) for all t ( a, b).
Thus, if ~v1 and ~v2 are linearly independent as vector functions on ( a, b),
the initial vectors ~v1 (t0 ) and ~v2 (t0 ) must also be linearly independent.
To complete the proof we have to show that if ~v1 (t0 ) and ~v2 (t0 ) are
linearly independent, then the vector functions ~v1 and ~v2 are linearly inde-
pendent. If there were a scalars c such that
Theorem 3.3 implies that the solution vectors ~v1 (t), ~v2 (t) . . . , ~vn (t) are
either linearly independent for all t in the domain ( a, b) where A(t) is con-
tinuous, or they are linearly dependent for all t ( a, b). They cannot be
linearly independent at some points of the domain ( a, b), and linearly de-
pendent at others.
236 CHAPTER 3. LINEAR SYSTEMS
of the system
0 0 1
~v = ~v.
4 0
are linearly independent.
1
S OLUTION . Since ~v2 (0) = is not a scalar multiple of
2
1
~v2 (0) = , the two solutions are independent.
2
We are now almost ready for a full description of the general solution
of a homogeneous linear system of ODEs. The following definition is from
linear algebra:
S is a basis for Rn .
S is linearly independent.
Then the solutions ~v1 (t), ~v2 (t), . . . , ~vn (t) of the system
satisfying the initial conditions ~vi (t0 ) = ~ai , respectively, form a fundamental set
of solutions of (3.4).
for all t ( a, b). This establishes that the linear span of T comprises all
solutions of (3.4).
To complete the proof, we need to show that T is linearly independent.
This follows from theorem 3.3, because S = {~a1 , a~2 } is a basis for R2 , thus
linearly independent.
The general solution of a system of ODEs is a family of solutions that
encompasses all solutions of the system.
x 0 = y; x (0) = 1
y0 = 4x; y(0) = 0
238 CHAPTER 3. LINEAR SYSTEMS
c1 + c2 = 1
2c1 2c2 = 0
Vector Spaces
Definition: A vector space is a set V of objects, together with an additive
~ V then there is a vector ~u = ~v + w
structure, so that if ~v, w ~ V . It is
also required that if r is a scalar (that is, a real or complex constant) and
~v V then there is a vector ~x = r~v V . It is customary to call V a real
vector space if the scalars are real, or a complex vector space if complex
scalars are used.
We can summarize this definition as follows: a vector space is a set
of objects that can be combined by taking linear combinations. To avoid
ambiguities, some rules have to be imposed. These are as follows (~u, ~v, w ~
represent arbitrary elements of V , and r, s are arbitrary scalars):
3.1. THE INITIAL VALUE PROBLEM 239
Addition is associative: If ~u = ~v + w
~ and w
~ + ~x = ~y then
~u + ~x = ~v + ~y.
~ ) +~x = ~v + (~
(This can also be expressed as (~v + w w + ~x ).)
| {z } | {z }
~u ~y
Addition is commutative: ~v + w
~ =w
~ + ~v.
1. Show that 0~v = ~0 by using a distributive law and the familiar fact
0 + 0 = 0 for scalars.
In addition to Rn and Cn , there are other vector spaces that will attract
out attention. If ( a, b) is an interval, C n ( a, b) will denote the collection of
dn f
all functions f (t) with the property that n (t) is continuous on ( a, b). In
dt
particular C0 ( a, b) is the collection of continuous functions on ( a, b). If the
functions are real valued, C n ( a, b) is a real vector space, because the func-
tions (which play the role of vectors) can be added and multiplied by
scalars. When working with complex-valued functions, C n ( a, b) becomes a
complex vector space.
240 CHAPTER 3. LINEAR SYSTEMS
Definition: Let W be a vector space that has a finite basis S. The number
of vectors that comprise S is the dimension of W . You will wonder: What
if S and T are separate bases of W . Must they have the same cardinality?
The answer, proved in all linear algebra courses, is yes.
A vector space may not have a finite basis. For example, let P be the set
of all polynomials with real coefficients. Addition and scalar multiplication
are included in the rules for manipulating polynomials, so P is a real vector
space. Let S = {1, x, x2 , x3 , . . .}. Every polynomial is a linear combination
of a finite number of elements of S, so P = span S. Furthermore, we can
show S is linearly independent by noting that if the polynomial
f ( x ) = a0 + a1 x + + a n x n
is identically zero, then it has more than n zeros, which is all a nontrivial
polynomial of degree n can havetherefore a0 = a1 = an = 0. It follows
that S is a basis for P , and is not finite. A vector space that does not have
a finite basis is infinite dimensional. Besides P , the spaces C n [ a, b] that we
just introduced are infinite dimensional vector spacesindeed, all contain
P as a subspace.
The vector space concept is important in the context of differential equa-
tions. In fact, let A(t) be an n n matrix whose entries are continuous on
an interval ( a, b). Solutions of the homogeneous system ~v0 = A(t)~v will
be vector functions that are differentiable on ( a, b). Each such function has
n components, each belonging to C1 ( a, b); thus all solutions will belong to
V = (C1 ( a, b))n . The principal results of this section can be written com-
pactly in terms of vector spaces as follows:
The set of solutions ~vi (t), whose existence was just asserted, is a fun-
damental set of solutions of ~v0 = A(t)~v (Theorem 3.4).
Exercises
1. Let A be a 2 3 matrix, B be a 3 2 matrix, ~v R3 , and w
~ R2 .
Make a list of six products that can be formed with A, B, ~v, and w ~
using matrix multiplication.
Answer
1 1
1 4 7 8
2. Let A = ,B = 2 3 , and ~v = . Form
2 0 5 7
5 4
the following products: w ~ = B~v, C = AB, ~x = Aw ~ , and ~y = C~v. If
you multiplied correctly, you should get ~x = ~y. Why?
1 0 a b
3. Let E = , and A = .
0 0 c d
Answer
242 CHAPTER 3. LINEAR SYSTEMS
1 1
4. Let F = , and let A be the same as in Exercise 3.
1 0
(a) Calculate FA.
(b) Calculate AF.
(c) What property must the matrix A have in order to commute
with F?
5. Put the system
x 0 = 3x 2y
y0 = x + 7y
in matrix form.
Answer
6. Put the system that replaces the second order ODE
y00 + 2y0 + y = 0
in matrix form.
7. Find the matrix form of the system that replaces the inhomoge-
neous third order ODE
x 000 = (sin t) x 00 tx 0 + 2et x + tan t
Answer
8. Put the inhomogeneous system
x 0 = x + t y + t2
y0 = t x y + 1
in matrix form.
9. Show that
3t 1 t 1
e ,e
1 1
is a fundamental set of solutions of the system
0
x 1 2 x
0 = .
y 2 1 y
Find the general solution.
Answer
3.1. THE INITIAL VALUE PROBLEM 243
In Exercises 16 19, write the IVP in matrix form. For each system, use
corollary 3.1.3 to verify that the given family of solutions is actually the
general solution. Finally, use the general solution to solve the IVP.
x 0 = 4x + 3y; x (0) = 2
16.
y0 = 3x 4y; y(0) = 4.
x 5t 3 5t 1
General solution: = c1 e + c2 e .
y 1 3
0
x = 2x + 3y; x (0) = 1
17.
y0 = x 2y; y(0) = 1.
x 3 1
General solution: = c1 e t + c2 e t .
y 1 1
Answer
244 CHAPTER 3. LINEAR SYSTEMS
x 0 = x 2y; x (0) = 1
18.
y0 = 2x 4y; y(0) = 1
x t 1 + 2t 2t
General solution =e c1 + c2 .
y 2t 1 2t
x 0 = 4x + 3y; x (0) = 7
19.
y0 = 2x y; y(0) = 2
x t 1 2t 3
General solution = c1 e + c2 e .
y 1 2
Answer
5t 3 t 1
20. Show that e ,e is a fundamental set of so-
1 3
lutions of the system in Exercise 16.
t 3 t 1
21. Show that e ,e is a fundamental set of so-
1 1
lutions of the system in Exercise 17.
Answer
x0 = x + y
y0 = y
x 0 = 2x y;
x (0) = 1
23.
y0 = 4x 2y + 2; y(0) = 1.
t2
x 1 2t + 1
General solution: = + c 1 + c 2 .
y 2t 2t2 2 4t
Answer
0
x = x + 2y + 2et ; x (0) = 0
24.
y0 = x y; y(0) = 0.
General
solution:
x t 2 2 cos(t) 2 sin(t)
=e + c1 + c2 .
y 1 cos(t) sin(t) sin(t) + cos(t)
3.2. SYSTEMS WITH CONSTANT COEFFICIENTS 245
x 0 = y + cosh t; x (0) = 2
25.
y0 = x + sinh t; y(0) = 2
x cosh t sinh t
General solution: = ( c1 + t ) + c2
y sinh t cosh t
Answer
x 0 = 2x + 2y + et ; x (0) = 0
26. .
y0 = 3x + y; y (0) = 2
x t 2 4t 1 t 5
General solution: = c1 e + c2 e +e .
y 3 1 3
27. A linear second-order ODE is an ODE that can be put in the form
y00 + p(t)y0 + q(t)y = r (t). (3.5)
The functions p(t) and q(t) are the coefficients of the ODE, and r (t) is
the source. Show that a linear second-order ODE can be replaced with
a linear system of first-order ODEs, and write the system correspond-
ing to equation (3.5) in matrix form.
Answer
28. State and prove, as a corollary to theorem 3.1, an existence and
uniqueness theorem for linear second-order ODEs.
Equation (3.7) will hold only if the vector A~b is a scalar multiple of ~b
(and s is the scalar). A vector ~b 6= ~0 with this property is called a eigenvec-
tor of the matrix A, and s is a eigenvalue of that matrix. Since there is an
association between s and ~b, we say that ~b belongs to s, and s belongs to ~b.
A~b = r I~b,
3.2. SYSTEMS WITH CONSTANT COEFFICIENTS 247
A matrix C with the property that there is a nonzero vector d~ such that
C d~ = ~0 is said to be singular. Since ~b is a nonzero vector (Remember!
~0 is not permitted to be an eigenvector), equation (3.8) implies that that
( A r I ) is singular.
Conversely, if r is given so that ( A r I ) is singular, then there must
exist a nonzero vector~b such that ( A r I )~b = ~0, and thus r is an eigenvalue
of A belonging to the eigenvector ~b.
We have proved the following result:
Proposition 3.2.1 Let A be a square matrix. A scalar r is an eigenvalue of A if
and only if ( A r I ) is singular matrix.
To find eigenvalues, find all values of r such that ( A r I ) is a singular
matrix. Let
a c
B= .
b d
be a 2 2 matrix, whose entries can be constants or functions. The de-
terminant of B is defined to be a scalar that is calculated by the formula
det( B) = a d b c.
S OLUTION .
9 7
det = 9 5 3 7 = 24.
3 5
The determinant can be defined for square matrices of any size, but in
this text we will not consider determinants of matrices larger than 2 2.
The following proposition will be familiar to all who have studied linear
algebra, where it is shown to be valid for n n matrices.
m n
Proposition 3.2.2 Let C = be a 2 2 matrix. Then C is singular if
p q
and only if det(C ) = 0.
248 CHAPTER 3. LINEAR SYSTEMS
h
P ROOF Assume that C is singular. Then there is a vector ~b = ,
k
(where h and k are not both 0), such that C~b = ~0. By matrix multiplication,
mh + nk 0
C~b = =
ph + qk 0
k k
m = n and p = q.
h h
It follows that
k k
det(C ) = mq pn = nq qn = 0.
h h
Conversely, assume that det(C ) = 0. Since mq = np, you can easily
show that
n q
C =C = ~0
m p
n
If C has any nonzero entries, then at least one of the vectors and
m
q
is nonzero, and hence C is singular.
p
If all of the entries of C are equal to 0, then C~b = ~0 for every vector ~b,
and hence C is singular.
The coefficients of this equation are significant. You will recognize the
constant term as det( A). The coefficient of s is equal to the sum of the diag-
onal entries of A, and is called the trace of A. (Notation: tr ( A).)
We have thus proved the following result:
Proposition 3.2.3 Let A be a 2 2 matrix. Then eigenvalues of A are the roots
of the quadratic equation
s2 tr ( A) s + det( A) = 0. (3.9)
s2 3s 4 = 0 or (s + 1)(s 4) = 0.
Then
h + 2k h
A~b = =
3h + 2k k
Hence h + 2k = h and 3h + 2k = k. Both of these equations reduce to
k = h, so any nonzero vector that is a scalar multiple of
~b1 = 1
1
is an eigenvector belonging to 1.
To find an eigenvector belonging to s = 4, we have to solve
~ 1 2 h 4h
Ab = = .
3 2 k 4k
250 CHAPTER 3. LINEAR SYSTEMS
h + 2k = 4h
3h + 2k = 4k
P ROOF FOR m = 2. Suppose that ~b2 = c~b1 . Then A~b2 = cAb~1 = cs1~b1 =
s1~b2 . However, ~b2 is an eigenvector belonging to s2 . Hence A~b2 = s2~b2 It
follows that s1 = s2 , a contradiction.
Corollary 3.2.4 Let A be a 2 2 matrix that has two distinct eigenvalues s1 and
s2 . and let ~b1 and ~b2 be eigenvectors belonging to them. Then the general solution
of ~v0 = A~v is
~v(t) = c1 es1 t~b1 + c2 es2 t~b2 . (3.11)
P ROOF. Let ~v1 (t) = es1 t~b1 and ~v2 (t) = es2 t~b2 . Then by theorem 3.6
~v1 (0) = ~b1 and ~v2 (0) = ~b2 are linearly independent. By corollary 3.1.3 on
page 237, it follows that the general solution can be expressed as in (3.11).
x 0 = 4x 4y
y0 = 3x 3y
3.2. SYSTEMS WITH CONSTANT COEFFICIENTS 251
S OLUTION . Let
x 4 4
~v = and A =
y 3 3
so that our system is equivalent to ~v0 = A~v. Since tr ( A) = 1 and
det( A) = 0, the characteristic equation is s2 s = 0 and the eigenvalues
are 0 and 1. Let
~b1 = h
k
be an eigenvector belonging to 0. Then
4h 4k = 0
3h 3k = 0.
This reduces to h = k, so we can take
~b1 = 1
1
Now suppose that
~b2 = h
k
is an eigenvector belonging to 1. Then
4h 4k = h
3h 3k = k,
so that 3h = 4k. Hence we can set
~b2 = 4
.
3
The general solution to the matrix equation is
0t 1 1t 4
~v = c1 e + c2 e .
1 3
2h + 4k = 4h
3h 2k = 4k.
is an eigenvector if
2h + 4k = 4h
3h 2k = 4k.
Thus
2c1 + 2c2
~v(0) =
c1 3c2
1
Since the initial condition specifies that ~v(0) = , we can find c1 and
0
c2 by solving
2c1 + 2c2 = 1
c1 3c2 = 0.
3.2. SYSTEMS WITH CONSTANT COEFFICIENTS 253
The solutions are c1 = 3/8, c2 = 1/8. We can now assemble the solution
of the IVP: 3 4t 1 4t
e + e
~v = 34 4t 34 4t .
8e 8e
Double eigenvalues
If the characteristic equation of a matrix A has a double root r, and ~b1 is an
eigenvector, then the system ~v0 = A~v has the family of solutions ~v = c ert ~b1 .
If there is a second, independent eigenvector ~b2 belonging to r, then every
vector in the plane can be expressed as a linear combination of ~b1 and ~b2 .
Since
x 0 = rx
y0 = x + ry.
This system is uncoupled. The solution of the first equation is x = c ert , and
we substitute this into the second equation to obtain
y0 = ry + c ert
254 CHAPTER 3. LINEAR SYSTEMS
and
0
~v2 (t) = e rt
= ert~j,
1
where ~i and ~j are the standard basis vectors,
~i = 1 and ~j = 0 .
0 1
The solution ~v2 derives from the eigenvalue r and its eigenvector, ~j.
Let us now turn to an arbitrary matrix A that has a double eigenvalue
r. We will assume that A is not a scalar matrix, since scalar matrices are
handled differently.
Following the example computed above, we will try to derive a solution
of the form ~v(t) = ert (t~b +~c). By the product rule for differentiation,
Equations (3.13) and (3.14) must both be satisfied. The following the-
orem from linear algebra tells us that since r is a double eigenvalue of A,
equation (3.14) will be satisfied automatically if (3.13) holds.
s2 tr ( B) s + det( B) = 0
B2 tr ( B) B + det( B) I = 0I
and
a2 + ad b( a + d)
tr ( B) B = .
c( a + d) ad + d2
It follows that
2 bc ad 0
B tr ( B) B = = det( B) I.
0 bc ad
It follows that A~b = r~b: thus (3.14) also holds. Hence ~v(t) = es0 t (t~b +~c) is a
solution of the system ~v0 = A~v.
~v0 = A~v.
Example
3.2.5
Find the general solution of the system ~v0 = A~v, where A =
1 2
.
2 3
Then ~v1 (t) = et~b and ~v2 (t) = et (t~b +~c) are independent solutions. The
general solution is
t
(1 + 2t)et
2e
~v = c1 + c2
2et 2tet
3.2. SYSTEMS WITH CONSTANT COEFFICIENTS 257
Exercises
In Exercises 1 5, find all real eigenvalues and eigenvectors of the given
matrix.
1 0
1.
0 4
Answer
2 3
2.
1 2
1 1
3.
0 4
Answer
3 3
4.
3 3
2 3
5.
3 4
Answer
1 2
6. Show that the matrix has no real eigenvalues.
2 1
a b
7. Let s = r be an eigenvalue of A = .
c d
b
(a) Show that is an eigenvector belonging to r unless b = 0
ra
and r = a.
ad
(b) Show that if b = 0 then s = a is an eigenvalue, and is
c
an eigenvector belonging to it, unless a = d and c = 0 as well.
(c) How do you find the eigenvectors if a = d and b = c = 0?
Answer
19. Show that the characteristic equation of the system that replaces
the second order linear ODE
y00 + py0 + qy = 0
is s2 + ps + q = 0
Answer
3.3. SYSTEMS WITH OSCILLATING SOLUTIONS 259
Eulers Formula
To solve a systems that has no real eigenvalues, we need to work with com-
plex numbers. The following review is for the convenience of readers who
lack experience with the complex number system.
The complex number system is an extension of the real number sys-
tem formed by including imaginary numbers to serve as square roots of
negative real numbers. Every complex number z can be expressed as
z = x + iy
The range of the argument as defined here is < arg(z) , but we will
follow the custom of considering arg(z ) as a function with values taken
mod 2. For example, if I say arg(1 3i ) = 3 and you say arg(1
ei = cos + i sin
In this series, the even terms are real and the odd terms are imaginary,
because (i )2m = (1)m 2m and (i )2m+1 = (1)m i 2m+1 . Therefore,
2m 2m+1
ei = (1)m (2m)! + i (1)m (2m + 1)! . (3.16)
m =0 m =0
262 CHAPTER 3. LINEAR SYSTEMS
The first sum on the right side of equation (3.16) is the Maclaurin series for
the cosine function, and the second is i times the Maclaurin series for the
sine.
The identity eu+v = eu ev extends the definition of the exponential to all
complex numbers. Thus
e+i = e ei
= e (cos( ) + i sin( )).
To make use of the complex exponential, we need to be able to differ-
entiate it. The derivative of a complex-valued function f (t) = p(t) + iq(t)
is
f 0 ( t ) = p 0 ( t ) + i q 0 ( t ).
Since complex arithmetic follows the same rules as real arithmetic, we can
work with matrices and vectors that have complex entries just as we do
h
when the entries are real. Thus, to find an eigenvector ~b1 = belong-
k
ing to s1 = 1 + i, we solve ( A s1 I )~b1 = ~0:
1 1 1+i 0 h 0
=
1 1 0 1+i k 0
i h k = 0
hik = 0
Observe that the second of these equations can be obtained from the first
by multiplying through by i. Thus for any h 6= 0, k = i h will satisfy both
equations. Lets put h = 1; then
~b1 = 1
i
is an eigenvector belonging to 1 + i.
Suppose that s is a complex eigenvalue of a square matrix A, and ~b
is an eigenvector belonging to s. Put ~v(t) = est ~v. By proposition 3.3.1,
~v0 (t) = sest~b = s~v. Since A~v(t) = est A~b = est s~b = s~v, it follows
that ~v(t) is a
1 1
solution of ~v0 = A~v. Returning to our matrix A = , we see that
1 1
et (cos(t) + i sin(t))
(1+ i ) t 1
~v(t) = e =
i et (sin(t) i cos(t))
Theorem 3.8 Let ~z(t) be a complex solution of a homogeneous linear ODE or sys-
tem of ODEs with real coefficients. Then ~v1 (t) = Re[~z(t)] and ~v2 (t) = Im[~z(t)]
are solutions as well.
264 CHAPTER 3. LINEAR SYSTEMS
P ROOF. The vector form of the system is ~v0 = A(t)~v, where the entries
of the matrix A(t) are real-valued. It is given that ~z(t) = ~v1 (t) + i~v2 (t) is a
complex-valued solution. Expand ~z0 = A(t)~z as
~v10 + i~v20 = A(t)~v1 + iA(t)~v2 . (3.17)
Equating real and imaginary parts of both sides of (3.17), we see that ~v10 =
A(t)~v1 , and ~v20 = A(t)~v2 . It follows that ~v1 (t) and~v2 (t) are solutions.
et (cos(t) + i sin(t))
By theorem 3.8 the complex solution ~v(t) = of
et (sin(t) i cos(t))
1 1
~v0 = ~v, yields two real solutions,
1 1
cos(t) sin(t)
~v1 (t) = et and ~v2 (t) = et
sin(t) cos(t)
1 0
Since ~v1 (0) = and ~v2 (0) = are linearly independent, the
0 1
solutions ~v1 (t) and ~v2 (t) are linearly independent.
Example 3.3.1 Find the general solution of the system ~v0 = A~v, where
5 4
A= .
5 1
or
(2 4i ) 4 h 0
= .
5 (2 4i ) k 0
We must choose h and k so that (2 + 4i )h 4k = 0 and
5h + (2 4i )k = 0. These equations are redundant: any (h, k ) that
satisfies one will also satisfy the other. Thus we will put
~b = 2
.
1 + 2i
are linearly independent, corollary 3.1.3 tells us that the general solution is
Exercises
1. Find the reciprocal of 2 + i.
Answer
2. Locate each of the complex numbers on the complex plane, calcu-
late arg(z), |z|, and find + i such that z = e+i .
(a) z = 2.
(b) z = 2.
(c) z = 1 i.
(d) z = 1 + i 3.
(e) z = 2i.
3. Find the sixth roots of 1 (there are 6 of them), and locate them on
the complex plane. Hint: 1 = e2ni .
Answer
4. Show that es = es .
5. Show that |e+i | = e ( and are real).
Answer
6. Find all solutions of
e2s + 2es + 2 = 0.
x 0 = 2x + 5y
8.
y0 = x
x0
= 4x 8y
9.
y0 = 4x 4y
Answer
0
x = 4x 41y
10.
y0 = 21 x 3y
Answer
X 0 = A(t)X (3.20)
holds on the interval ( a, b), then X (t) is called a matrix solution of equa-
tion (3.19).
Proposition 3.4.1 Let the columns of the matrix X (t) be denoted ~v1 (t), ~v2 (t),
. . . , ~vn (t). Then X (t) is a matrix solution of the homogeneous system (3.19) if
and only if the ~vi (t) are solutions of (3.19) as vector functions.
P ROOF. The columns of X 0 are ~v10 , ~v20 , . . . , ~v0n . Furthermore, the columns
of A(t)X are A(t)~vi , for i = 1, 2, . . . , n. It follows each column of a matrix
solution of (3.19) is itself a (vector) solution, and conversely that if each
~vi (t) is a solution, then X (t) is a matrix solution.
We can use a matrix solution to generate a family of solutions of (3.19)
as follows.
Proposition 3.4.2 Suppose that X (t) is a matrix solution of (3.19), and let ~c
Rn be a constant vector. Then the vector function
~v(t) = X (t)~c
is a solution of the system (3.19).
If, in addition, the columns of X (t) are linearly independent, then given any
solution w ~ (t) of the system (3.19), there is a unique ~c Rn such that ~v = X (t)~c.
P ROOF. Let ~v1 , ~v2 , . . . , ~vn denote the columns of X . By the definition of
matrix multiplication,
The constants ci are the components of the vector ~c such that w~ = X~c.
D EFINITION A matrix solution X (t) of equation (3.19) is called a funda-
mental matrix solution if there is a point t0 ( a, b) such that the columns
of X (t0 ) are linearly independent.
3.4. MATRIX SOLUTIONS AND VARIATION OF CONSTANTS 269
which yields (c1 , c2 ) = (4, 1). The solution of the IVP is therefore
1 1
~v(t) = 4et et
1 1
Inhomogeneous systems
The method for solving an inhomogeneous system of linear ODEs,
~v0 = A(t)~v,
which we can express in terms of a fundamental matrix solution,
Theorem 3.10 Suppose that all entries of the coefficient matrix A(t) and source
vector ~f (t) in (3.22) are continuous on an interval ( a, b). Let ~v p (t) be a particular
solution of the system (3.22), and let X (t) be a fundamental matrix solution of the
associated homogeneous system. Then the general solution of the system (3.22) on
( a, b) is
~v(t) = ~v p (t) + X (t)~c.
~y(t) = X (t)~c;
272 CHAPTER 3. LINEAR SYSTEMS
Variation of constants
The method of variation of constants is used to find a particular solution of
an inhomogeneous system. Recall from section 1.3, where the method was
introduced for the scalar case, that the general solution of the associated
homogeneous equation was a required input. For systems, it is convenient
to start with a fundamental matrix solution of the associated homogeneous
system.
The key to adapting the method for systems of linear ODEs is inversion
of a matrix solution. This replaces division by yh (t) in the scalar case (as in
equation (1.11)).
Let P be a square matrix. A square matrix Q is called the inverse matrix
of P if P Q = Q P = I, where I is the identity matrix. We will use the
customary notation P1 for the inverse matrix of P. The following theorem
is from linear algebra. Although it is true for square matrices of any size,
our proof only works for 2 2 matrices.
Theorem 3.11 Let
a c
P=
b d
be a nonsingular matrix. Then P has an inverse matrix.
P ROOF By proposition 3.2.2, det( P) = ad bc is equal to 0 if and only if
P is singular.
Thus, if P is nonsingular, det( P) 6= 0. Define a matrix Q as
1 d b
Q= .
det( P) c a
3.4. MATRIX SOLUTIONS AND VARIATION OF CONSTANTS 273
set
~v p (t) = X (t)~
w ( t ),
where w ~ (t) is a vector function that will be determined. By the product rule
for differentiation,
It follows that ~v p (t) is a particular solution of the system (3.23) if and only
if
w0 (t) = ~f (t).
X (t)~ (3.24)
Z t
~ (t) =
w X 1 (s)~f (s) ds.
t0
Now that w ~ (t) has been determined we can find ~v p (t) by multiplying by
X (t). This can be summarized as follows:
274 CHAPTER 3. LINEAR SYSTEMS
x10 = x2 et
x20 = x1 + et
et et
S OLUTION . In example 3.4.1, it was shown that X (t) = is a
et et
fundamental matrix solution of the associated homogeneous
system (3.21). Set ~v p (t) = X (t)~
w(t). Thus
et et e t w1 + e t w2
x1 w1
= =
x2 et et w2 e t w1 e t w2
x2 e t e w1 e t w2 et
t
= +
x1 + e t e t w1 + e t w2 et
3.4. MATRIX SOLUTIONS AND VARIATION OF CONSTANTS 275
et w10 + et w20 = et
et w10 et w20 = et .
et et tet
0
~v p (t) = = .
et et t tet
The general solution is ~v p (t) + ~vh (t), where ~vh (t) = X (t)~c denotes the
general solution of the associated homogeneous equation.
Exercises
In Exercises 1 4, find a fundamental matrix solution of the system.
x0 3
+ 21 y
= 2x
1.
y0 = 1
2x + 23 y;
Answer
0
x = 3x + y
2.
y0 = 5x y;
0
x = 2x 4y
3.
y0 = 5x 2y;
Answer
0
x = x y
4.
y0 = x 3y;
x 0 = 23 x + 12 y + b1 (t)
5. where
y0 = 21 x + 32 y + b2 (t),
t
b1 e
(a) = .
b2 et
t
b1 e
(b) = .
b2 et
t
b1 te
(c) = .
b2 0
Answer
0
x + 3x y = 3e2t
6.
y0 + 5x + y = e2t
0
x 2 4 x 32 cos(4t)
7. = + .
y0 5 2 y 0
Answer
0
x 1 1 x b1 (t)
8. + = , where
y0 1 3 y b2 (t)
b1 (t) 2t 1
(a) =e .
b2 (t) 3
2t
b1 (t) 2e
(b) = .
b2 (t) 0
9. Show that
2t2 t3
X =
t2 t3
is a fundamental matrix solution of
tx 0 = x 2y
ty0 = x + 4y.
tx 0 = x 2y + b1 (t)
ty0 = x + 4y + b2 (t),
where
b1 (t) t
(a) = .
b2 (t) 2t
3.5. A FUNDAMENTAL MATRIX SOLUTION OF INTEREST 277
t3
b1 (t)
(b) = .
b2 (t) t3
12. Let X1 (t) and X2 (t) be fundamental matrix solutions of the linear
system of differential equations ~v0 = A(t)~v, defined on an interval I .
Show that X11 X2 is a constant matrix.
a2 2 a3 3 an
e at = 1 + a t + t + t + + tn + ,
2! 3! n!
278 CHAPTER 3. LINEAR SYSTEMS
A2 2 An n
e At = I + A t + t ++ t +. (3.25)
2! n!
The first thing to consider is convergence. Let pij,k denote the i,jth entry
of Ak . Since A0 = I, and A1 = A,
1 if i = j
pij,0 = ,
0 if i 6= j
Theorem 3.12 For any m m matrix A, the series (3.26) converges for all i, j
and for all values of t.
is convergent. Choose a number B such that for each entry aij of A, | aij | B.
Well see that
| pij,k | mk1 Bk for k 1. (3.28)
The proof of (3.28) is by mathematical induction. If k = 1, (3.28) holds
because | pij,1 | = | aij | B. Let k 2, and assume that (3.28) holds for the
power k 1; that is
| pij,k1 | mk2 Bk1 .
3.5. A FUNDAMENTAL MATRIX SOLUTION OF INTEREST 279
Since Ak = A Ak1 ,
Therefore, if (3.28) holds for the power k 1, then it holds for the kth power
as well. By the principle of mathematical induction, (3.28) is valid for all
k 1. Then
1 m k 1 B k k
| pij,k tk | | t |,
k! k!
which implies that the series (3.27) is dominated by the series
m k 1 B k k
k! |t| .
k =0
1
I + Zt + Z2 t2 +
2
Calculate e At .
280 CHAPTER 3. LINEAR SYSTEMS
S OLUTION . If
a 0 c 0
B= and C =
0 b 0 d
are diagonal matrices, you can readily verify that
ac 0
BC = .
0 bd
Thus, the product of two diagonal matrices is also a diagonal matrix. The
diagonal entries of the product matrix are obtained simply by multiplying
the respective diagonal entries of B and C. It follows that we can find the
nth power of a diagonal matrix by raising each diagonal entry to the nth
power: n
n 1 0
A = .
0 2n
Thus
1
e At = k! Ak tk
k =0
3.5. A FUNDAMENTAL MATRIX SOLUTION OF INTEREST 281
" #
tk
k =0 k! 0
= (2t)k
0
k =0 k!
et 0
= .
0 e2t
The matrix exponential shares many properties with the ordinary expo-
nential function, but there are limitations. The proof that er+s = er es does
not emphasize the commutative law, rs = sr, but it uses that fact. Multipli-
cation of square matrices is not always commutative, so the matrix version
of that identity is as follows.
e( A+ B)t = e At e Bt .
Theorem 3.14 Let A be a square matrix whose entries are constants. Then e At is
a fundamental matrix solution of ~x 0 = A~x.
f ( At) = c0 I + c1 A t + c2 A2 t2 + + ck Ak tk .
d[ f ( At)]/dt = A f 0 ( At).
282 CHAPTER 3. LINEAR SYSTEMS
d
d[ f ( At)]/dt = ( c A k t k ) = c A k ( k t k 1 ).
dt
m
1
Fm ( At) = k! ( At)k .
k =0
m
1
Fm0 ( At) = k! k( At)k1
k =0
= AFm1 ( At),
Hence
lim d[ Fm ( At)]/dt = A e At ,
m
and it might appear that the proof is complete. However, it still should be
checked that
d d
lim [ Fm ( At)] = [ lim Fm (t)];
m dt dt m
that is, that the limit of the derivatives is the derivative of the limit. The
proof of this fact is omitted.
3.5. A FUNDAMENTAL MATRIX SOLUTION OF INTEREST 283
Calculation
The calculation of e At , where A is a constant square matrix, involves devel-
opments that are found in a full course in linear algebra. While all of the
necessary ingredients are available in any linear algebra text, it is not un-
usual for 14-week linear algebra courses to omit some of this material. In
this text, the procedure for calculating e At , where A is an arbitrary constant
matrix with real or complex entries, will be described in detail, but we will
depend on linear algebra texts for proofs.
There is a simple algorithm to calculate e At when A is a 2 2 matrix.
Although the algorithm does not extend to n > 2, it is a good warm up for
the more general case.
Suppose that B is a 2 2 matrix with the special property that
tr B = 0.
1
e Bt = cos(t) I + sin(t) B (3.32)
284 CHAPTER 3. LINEAR SYSTEMS
cosh(3t) 13 sinh(3t) 2
1 3 sinh(3t )
e Bt = cosh(3t) I + sinh(3t) B = 4 ,
3 3 sinh(3t ) cosh(3t) + 13 sinh(3t)
and
cosh(3t) 13 sinh(3t) 2
At 2t 2t 3 sinh(3t)
e = e B=e 4
3 sinh(3t ) cosh(3t) + 13 sinh(3t)
1 5t 2 t 1 5t t
= 3e + 3e 3 (e e ) .
2 5t t 2 5t 1 t
3 (e e ) 3e + 3e
2 2
(b) Since tr A = 8 we get B = A 4I = , and d = det B = 4.
4 2
Thus
Bt 1 cos(2t) sin(2t) sin(2t)
e = cos(2t) I + sin(2t) B = ,
2 2 sin(2t) cos(2t) + sin(2t)
and
At 4t Bt cos(2t) sin(2t)
4t sin(2t)
e =e e =e .
2 sin(2t) cos(2t) + sin(2t)
0 1
(c) Here tr A = 4 so B = A 2I = . Because d = 0, we cant
0 0
2
However, we see that B = 0 so
plug into (3.31)or (3.32).
e2t te2t
Bt 1 t At 2t Bt
e = I + tB = It follows that e = e e = .
0 1 0 e2t
3.5. A FUNDAMENTAL MATRIX SOLUTION OF INTEREST 285
Inhomogeneous equations.
When applying the variation of constants formula to a system
ests
Z t
= ds
0 ests
t
et
= s
e t s =0
t 1
= te .
1
Exercises
0 1 0 0
0 0 1 0
1. Show that if A = , then A4 = 0. Hence calculate
0 0 0 1
0 0 0 0
e At .
Answer
et et
t 1
2. Show that exp = .
0 t 0 et
3. Prove theorem 3.13. Hint: review the proof that es+t = es et , based
on the formula et = 1 k
k=0 k! t . Where is the commutative law used?
Answer
(a) e At .
(b) e( A+I )t , where is a scalar constant.
x 0 = 2x + 3y + z; x (0) = 3
y0 = 2y 4z; y(0) = 0
0
z = 2z; z(0) = 1
Answer
0 1
8. Let K = . Determine all powers of K and hence com-
1 0
pute
(a) eKt .
(b) e(K+I )t , where is a scalar constant.
x 0 = x y; x (0) = 1
y0 = x y; y(0) = 0
16.
x 0 = x 4y + 2et
y0 = 2x 3y + et
17.
x 0 = x + et
y0 = x y + cosh t
Answer
18.
x 0 = x y + t 1
y 0 = x + y + t 1
19.
x 0 = 2x y + e2t
y0 = 4x 2y + 2e2t
Answer
290 CHAPTER 3. LINEAR SYSTEMS
(etD f )( x ) = f ( x + t)
Answer
Lemma 3.6.1 If k < p the matrix Npk can be obtained from I pk by adding k
columns of zeros on the left, and k rows of zeros on the bottom. For k p,
Npk = Z p .
1 1
e Np t = I + t Np + t 2 ( Np )2 + + t p 1 ( N p ) p 1
2 ( p 1) !
1 t 21 t2 ( p1 1)! t p1
0 1 t ( p1 2)! t p2
. . .. ..
=
.. .. .. . (3.34)
. . .
0 0 0 t
0 0 0 1
The proofs of lemma 3.6.1 and of formula (3.34) are asked for in Exer-
cise 3 at the end of this section.
We can build more E-T-Es by adding scalar matrices and nilpotent ma-
trices. For example, if A = kI p + Np thenbecause the matrices kI p and Np
commuteTheorem 3.13 tells us that
e At = ekIp t e Np t = ekt e Np
By (3.34), then
1 2 1
t p 1
1 t 2t ( p 1) !
0 1 t 1
t p 2
( p 2) !
e ( k I p + Np ) t kt .. .. .. ..
=e .. . (3.35)
. . . . .
0 0 0 t
0 0 0 1
3 0 0 0 0 1 0 0
0 3 0 0 0 0 1 0
S OLUTION . 3I4 + N4 = + =
0 0 3 0 0 0 0 1
0 0 0 3 0 0 0 0
3 1 0 0
0 3 1 0
. By formula (3.35),
0 0 3 1
0 0 0 3
(3I4 + N4 )t 3t 1 2 2 1 3 3
e = e I4 + tN4 + t N4 + t Nk
2 3!
1 t 21 t2 61 t3
1 2
0 1 t 2t
= e3t
0 0 1 t
0 0 0 1
Diagonal matrices. In a square matrix A, with entries denoted aij , the di-
agonal entries are the entries aii . These run down the diagonal extending
from the upper left corner to the lower right corner. The off-diagonal en-
tries are the aij with i 6= j. If all of the off-diagonal entries of a matrix are
zeros, the matrix is called a diagonal matrix. Examples include scalar ma-
trices, where all of the diagonal entries are equal. The diagonal matrix with
diagonal entries d1 , d2 , . . . , dn is denoted diag (d1 , d2 , . . . dn ). Unlike scalar
matrices, an arbitrary diagonal matrix does not commute with all other
matrices, although it does commute with all other diagonal matrices.
Diagonal matrices qualify as E-T-Es. Following Example 3.5.2, you can
derive this formula:
Direct sums To build still more E-T-Es, we will use a new matrix opera-
tion.
Let P be a p p matrix, and let Q be a q q matrix, and let n = p + q.
The direct sum of these matrices is an n n matrix P Q that looks like
this:
P 0 pq
,
0q p Q
3.6. EXPONENTIATING A MATRIX 293
0 0 0 0 1
In this example we have used the fact, which you can prove, that the
operation is associative.
Direct sums are easily added and multiplied, provided that the sum-
mands are of the same size. Let P and P0 be p p matrices, and Q, Q0 be
q q matrices. Then (see exercise 5)
( P Q)( P0 Q0 ) = PP0 QQ0 and ( P Q) + ( P0 Q0 ) = ( P + P0 ) ( Q + Q0 ).
(3.38)
We can use formula (3.38) to raise direct sums to powers, ( P Q)n = Pn
Qn , and to take exponentials:
e( PQ)t = e Pt eQt . (3.39)
Formula (3.39) provides a way to find the exponential of direct sums of
E-T-Es; thus these too are E-T-Es.
Example 3.6.2 Find e At where A is the matrix in equation (3.37).
3 1 1 1
S OLUTION . Let U = [9], V = , and W = , so that
2 1 0 1
A = U V W. Then e At = eUt eVt eWt .
First, eUt = [e9t ]. The other two matrices are 2 2. Noting that tr V = 4, we
1 1
have V = 2I + B, where B = . Since tr B = 0 and det B = 1, the
2 1
Cayley-Hamilton Theorem implies B2 = I. Hence B2n = (1)n I and
B2n+1 = (1)n B. Reasoning as we have before, we get
e Bt = (cos t) I2 + (sin t) B, and
Vt 2t Bt 2t cos t + sin t sin t
e = e e =e
2 sin t cos t sin t
2t 2t
e (cos t + sin t) e sin t
=
2e2t sin t e2t (cos t sin t)
294 CHAPTER 3. LINEAR SYSTEMS
Finally, W = I + N2 so
et tet
Wt t
e = e ( I + tN2 ) = .
0 et
It follows that
e9t
0 0 0 0
2t
0 e (cos t + sin t) 2t
e sin t 0 0
At
e = 0 2e2t sin t e2t (cos t sin t) 0 0 .
et tet
0 0 0
0 0 0 0 et
Matrix conjugation
Proposition 3.6.2 If B = P1 AP, where A, B, and P are n n matrices and P
is invertible, then
e Bt = P1 e At P.
Therefore
1 1 m m
e Bt = I + Bt + B2 t2 + + B t +
2 m!
1
= I + P1 APt + P1 A2 Pt2 +
2
1 1 2 2
= P I + At + A t + P
2
= P1 e At P
A = Q1 DQ.
Proposition 3.6.3 shows how our program is to work: since all diagonal
matrices are E-T-Es and all semisimple matrices are conjugate to diagonal
matrices, we have a method to compute e At and thus to find a fundamen-
tal matrix solution of ~v0 = A~vfor any semisimple constant matrix A.
2 3 3
Example 3.6.3 Compute e At where A = 1 6 3 . The characteris-
1 9 4
tic polynomial of A is t3 t.
P1 e At P = diag (et , 1, et )
e At = P (et , 1, et ) P1
t
1 3 3 e 0 0 1 6 3
= 1 0 1 0 1 0 1 3 2
2 1 3 0 0 et 1 5 3
t
e + 3 3et 6et 9 + 15et 3et 6 + 9et
e At = Pe Bt P1 .
The solutions of ( A 2I )2~a = ~0 are the same as the solutions of C~a = ~0,
and one can easily
see that
the solutions
of the latter equation are the
1 1
linear span of 1 , 0 . These two vectors will form the first
0 1
2
two columns of the matrix P; the third will be the eigenvector 3
2
belonging to the eigenvalue 1. Thus
1 1 2
P = 1 0 3 ,
0 1 2
Exercises
2 1 0
1. Calculate e At , where A = 1 0 0 .
0 0 1
Answer
300 CHAPTER 3. LINEAR SYSTEMS
Answer
In Exercises 813, calculate e At . As a practical matter, you will prob-
ably want to use a CAS for routine matrix calculations. Please limit
your automated calculations to the following operations:
Matrix multiplication,
Matrix inversion,
Row reduction.
2 1 0 0
1 2 0 0
8. A= .
0 0 5 4
0 0 2 1
3.6. EXPONENTIATING A MATRIX 301
2 0 0 0
0 0 4 0
9. A= 0 1 0 0 .
0 0 0 1
Answer
2 4 8
10. A = 2 2 2 . The characteristic polynomial of A is
0 1 3
3 2
f (s) = s 3s + 2s.
1 1 2
11. A = 1 1 2 . The characteristic polynomial of A is
2 2 4
f (s) = s3 2s2 .
Answer
7 4 1
12. A = 11 6 2 . The characteristic polynomial of A is
6 4 0
3
f (s) = s s . 2
2 8 2 5
2 4 6 6
13. A= 2 2 10 8 . The characteristic polynomial of A is
2 2 8 6
f (s) = (s + 2s + 2)(s + 2)2 .
2
Answer
14. Use the result of Exercise 8 to determine the solution of the IVP
x 0 = 2x + y, x (0) = 1
0
y = x 2y, y (0) = 1
0
z = 5z + 4w, z (0) = 0
0
w = 2z + w, w (0) = 3
15. Use the result of Exercise 11 and the method of variation of con-
stants to determine the solution of the IVP
x 0 = x + y + 2z + 1, x (0) = 0
0
y = x y 2z 1, y (0) = 0
0
z = 2x + 2y + 4y + 1 z (0) = 0
302 CHAPTER 3. LINEAR SYSTEMS
Answer
det( A sI ) = 0.
For a 2 2 matrix
a c
A= ,
b d
v 0 = A ( t ) v + b ( t ).
Column vector A matrix that has only one column. We use boldface letters
for column vectors.
Eigenvalue (of a matrix A) A scalar s such that for some characteristic vec-
tor b, Ab = sb.
1 1
e At = I + At + A2 t2 + + An tn + .
2 n!
Imaginary axis The vertical axis of the complex plane, which corresponds
to complex numbers z = 0 + iy.
Nilpotent matrix A square matrix N with the property that some power
N p is equal to the zero matrix.
Real axis The horizontal axis of the complex plane, which corresponds to
numbers z = x + 0i.
v 0 = A ( t ) v + b ( t ).
v0 = Av + f(t),
x 0 = 2x + y; x (0) = 1
y0 = x + 2y; y(0) = 0.
Answer
Answer
x 0 = x + 5y + tan 2t
y0 = x y,
2 sin 2t cos 2t sin 2t + 2 cos 2t
given that X (t) = is a funda-
cos 2t sin 2t
mental matrix solution of the associated homogeneous equation.
Answer
i r r2+i
2r 1r r
0 1r 2r -
(2 + i ) r i r r2+i
1 + 2i r 2i r
FIGURES FOR CHAPTER 4 309
Figure 3.3: Polar representation of a complex number. The length of the heavy line to the
point representing the complex number z = 1 + 2i is r = |z|, and the radian measure of
the directed arc shown is = arg(z).
z 2
1.5
0.5
Stability Theory
311
312 CHAPTER 4. STABILITY THEORY
All linear systems have a stationary point at the origin, since ~00 = ~0 = A~0.
If A is singular then there is a vector ~b 6= ~0, such that A~b = ~0. In this case,
all scalar multiples of ~b are stationary points, and we say that the system is
degenerate. If A is nonsingular, then ~0 is the only stationary point, and we
say that (4.1) is nondegenerate.
Nodes
The simplest case is that of a scalar matrix. Let A = rI, where r 6= 0 is
constant. Then eAt = ert I so the general solution of the system (4.1) is ~v =
c1
ert~c, where ~c = . Thus every solution has the equations x = c1 er t ,
c2
y = c2 er t . Since y/x = c2 /c1 is constant, the orbits are half-lines directed
toward the origin (if r < 0) or away from the origin (if r > 0). The phase
portrait, shown as figure 4.1, is called a proper node. We say that the node
is stable if r < 0, because the solutions approach the origin with increasing
time. If r > 0, the node is unstable.
Now lets consider the case of a matrix A that has unequal real eigen-
values. In this case, A is conjugate to a diagonal matrix
r 0
D= ,
0 s
and the phase portrait of (4.1) can be obtained by distorting the phase por-
trait of
~ 0 = Dw
w ~ (4.2)
orbit follows the y-axis toward the origin. If c1 and c2 are both nonzero,
then the orbit is given by the parametric equations
x = c1 e2t
y = c2 e t .
Since (et )2 = e2t we can eliminate t from the parametric equations and
obtain 2
x y
= ,
c1 c2
or x = a y2 where a = c1 /c22 . The orbits that do not follow either coordi-
nate axis follow parabolas toward the origin. The phase portrait, shown
in figure 4.3, displays the orbits on the x and y-axes, and four other or-
bits. The reason that not all orbits are straight lines is that as t increases,
x = c1 e2t decreases in magnitude faster than y = c2 et . This causes the
orbits to become squashed against the y-axis, unless c2 = 0. This phase por-
trait is called an improper node. It is stable, because all orbits converge to
the origin.
In general, the phase portrait of a linear system of ODEs is called a
stable node if every orbit is directed toward the origin as t . If all orbits
approach the origin as t , the phase portrait is an unstable node.
Stable and unstable nodes can be recognized by calculating the eigenvalues
of the coefficient matrix.
The proof is left to you; see exercise 29 at the end of this section.
The following example is to illustrate the way to draw a phase portrait
of an improper node.
x0 = r x
y0 = k x + r y
x = c ert (4.5)
rt
y = (kct + d)e (4.6)
was derived on page 254 (for k = 1). We can eliminate t by solving (4.5) to
get
1 1
t = ln( x/c) = (ln | x | ln |c|) (4.7)
r r
4.1. PHASE PORTRAITS OF LINEAR SYSTEMS 315
y k k d
= ln | x | ln |c|) +
x r r c
Each orbit (except for the stationary point at the origin and the orbits on
the positive and negative y-axis) follows the graph of (4.8) for some
particular value of b. The phase portrait can be drawn by sketching graphs
of equation (4.8) for various b. Figure 4.5 shows the phase portrait for
k = 2 and r = 1.
Saddles
Let A be a 2 2 matrix whose eigenvalues r and s have opposite signs:
r < 0 < s. Let ~e and ~f be eigenvectors belonging to r and s, respectively.
Five orbits of ~v0 = A~v are readily identified: the stationary point at the
origin; the pair of half-lines, directed toward the origin and parallel to ~e;
and the two half-lines directed away from the origin and parallel to ~f . The
lines through the origin in the ~e and ~f directions are called the stable line
and the unstable line, respectively.
The remaining nonstationary orbits resemble hyperbolas, with the sta-
ble and unstable lines as asymptotes. As t the orbits approach the
unstable line, and as t they approach the stable line.
x0 = x
y0 = x + y.
1 0
S OLUTION . The eigenvalues of A = are 1 and 1,
1 1
2 ~ 0
corresponding to eigenvectors ~e = and f = These vectors
1 1
316 CHAPTER 4. STABILITY THEORY
determine the half-line orbits, which are drawn first. The remaining orbits
are asymptotic to these. Figure 4.6 displays the phase portrait and the
vector field.
( x + y) dx + x dy = 0,
2 F 2 F
2
F
2 2
= (1)(0) (1)2 < 0,
x y xy
tr( A) = r1 + r2 ;
det( A) = r1 r2 .
Thus, the phase portrait of the system ~v0 = A~v is a saddle if and only if
det( A) < 0, and it is degenerate if and only if det( A) = 0.
If det( A) > 0, it is possible that A has no real eigenvalues at all. If we
assume that A has real eigenvalues, then the eigenvalues must be of the
same sign, and hence the phase portrait is a node. If the eigenvalues are
positive, the node is unstable, and if they are negative, the node is stable.
Since the trace of A is equal to the sum of the eigenvalues, it must be of the
same sign as the roots, and thus serves as a stability indicator.
degenerate if det( A) = 0,
Complex eigenvalues
Consider a system ~v0 = A~v, where A is a 2 2 matrix with real entries and
complex eigenvalues. We will denote the eigenvalues, which are conjugate
to each other, by i, and the eigenvectors will be ~h i~k. The general
solution is
where c1 and c2 are constants (see equation 3.18 on page 266). If > 0,
the exponential factor will cause all solutions to converge to 0 as t ,
and the phase portrait will be an unstable node. Similarly, if < 0, the
318 CHAPTER 4. STABILITY THEORY
phase portrait is a stable node. These are called spiral nodes, since the
phase portraits turn out to be spirals, expanding outward in the unstable
case and inward in the stable case.
If = 0, then ~v(t) is periodic (the period is 2/), and hence the orbits
are closed. A phase portrait in which all orbits are closed is called a center.
Referring to lemma 4.1.2, we see that the trace of A is the sum of the
eigenvalues:
tr A = ( + i ) + i ) = 2.
Therefore, if A has complex eigenvalues tr A = 0 if and only if the eigenval-
ues of A are pure imaginary, and if the eigenvalues are not pure imaginary,
their real part has the same sign as tr A.
These observations can be summarized as follows:
a center if tr A = 0;
Centers
Let
a b
A= (4.9)
c a
be a matrix whose trace is 0. An integral for the system
x 0 = ax + by
(4.10)
y0 = cx ay
can be found by solving the differential equation
(cx ay) dx ( ax + by) dy = 0. (4.11)
4.1. PHASE PORTRAITS OF LINEAR SYSTEMS 319
a = (cx ay) = [( ax + by)].
y x
x 0 = 2x + 8y
y0 = 5x 2y.
2 8
S OLUTION . The matrix A = has trace 0 and determinant 36.
5 2
Therefore,
cos 6t + 13 sin 6t 4
At 1 3 sin 6t
e = (cos 6t) I + (sin 6t) A = 5 .
6 6 sin 6t cos 6t 13 sin 6t
It follows that the orbits rotate clockwise(since b = 8 > 0) around the origin
with angular frequency is 6 radians per unit time.
320 CHAPTER 4. STABILITY THEORY
The phase portrait is a center, and it can be drawn with the aid of the
integral found by integrating the exact equation
(5x 2y) dx (2x + 8y) dy = 0.
Thus, the orbits are the ellipses
5 2
x + 2xy + 4y2 = c. (4.12)
2
See figure 4.7.
Details related to how the ellipses are drawn are optional.
Spiral nodes
Suppose that the eigenvalues of the system
x 0 = ax + by
(4.13)
y0 = cx + dy
a b
are complex numbers i with , 6= 0. Let A = be the coef-
c d
ficient matrix. Then = 21 tr A = 12 ( a + d) and
1 1
q q
= ( a + d)2 + 4( ad bc) = ( a d)2 4bc
2 2
Let B = A I. A quick calculation shows tr B = 0 and det B = 2 Hence
1
e Bt = (cos t) I + (sin t) B
and e At = et e Bt .
The phase portrait of
~ 0 = Bw
w ~ (4.14)
is a center. Orbits cycle around the origin with angular frequency , clock-
wise if b > 0 and counterclockwise if b < 0. Again, b = 0 is impossible,
for in that case the eigenvalues of A would be a and d, which are real; our
assumption is that the eigenvalues of A are not real.
If we start at some point other than the origin, the orbit of (4.14) follows
an ellipse. An orbit of the system (4.13) starting at the same point will
revolve around the origin with the same angular frequency, but will move
outward (if > 0) or inward (if < 0). In either case, the orbit will
be a spiral. Thus this phase portrait is called a spiral node. Focus is an
alternative term used instead of spiral node by some authors.
4.1. PHASE PORTRAITS OF LINEAR SYSTEMS 321
x0 = x y
(4.15)
y0 = x + y.
1 1
S OLUTION . Let A = be the coefficient matrix of the system.
1 1
1 0 1
Noting that tr A = 2, we let B = A 2 (tr A) = ; then tr B = 0
1 0
and det B = 1 so
e Bt = (cos t) I + (sin t) B,
and
At t Bt t cos t sin t
e =ee =e
sin t cos t
The orbits are oriented counterclockwise and expand outward, with an
angular frequency of 1. Thus the orbit that starts at (1,0) will cross the
negative x-axis at (e , 0), then the positive x-axis at (e2 , 0), and so on.
These crossing points form a geometric sequences on the positive and
negative x-axis, with ratio e2 535. Unless a very large or very detailed
drawing is made, it is unlikely that more than one crossing will be seen.
The phase portrait in figure 4.9 shows four orbits of the system.
x 0 = x + 8y
(4.16)
y0 = 5x 3y
1 8
S OLUTION . Again, let A = be the coefficient matrix. We
5 3
1 2 8
calculate tr A = 2 and put B = A 2 (tr A) I = . Then
5 2
tr B = 0 and det B = 62 , so
1
e Bt = (cos 6t) I + (sin 6t) B
6
The system w ~ 0 = Bw
~ was the subject of example 4.1.6. Its orbits are
clockwise ellipses (see figure 4.7), revolving around the origin with angular
frequency 6.
322 CHAPTER 4. STABILITY THEORY
The orbits of system (4.16) can be obtained by following the elliptical orbits
~ 0 = Bw
of w ~ and contracting inward at the same time at a rate et .
The angular frequency of 6 indicates that each orbit, each orbit crosses
the positive x-axis once every 2/6 = /3 units of time. The exponential
factor in the solution is et . It follows from this that the crossing points form
a geometric sequence with ratio e/3 0.351. Figure 4.10 displays one
orbit of the system (4.16), and the elliptical orbit of w ~ 0 = Bw
~ with the same
starting point.
Degenerate systems
If A is a 2 2 matrix that is singular, then the system ~v0 = A~v is degenerate.
All points of the phase plane are stationary if A is the zero matrix, and if
A 6= 0 we still know that 0 is an eigenvalue since there must be a nonzero
vector ~b with
A~b = ~0 = 0 ~b;
thus ~b is an eigenvector belonging to 0. The line through the origin with
direction ~b consists of stationary points. Here are two examples of degen-
erate systems: in the first, there is a nonzero eigenvalue; and in the second,
0 is a double root.
x0 = x
y0 = 0
1 0
S OLUTION . Let A = be the coefficient matrix. The eigenvalues
0 0
are 1 and 0, and ~i and ~j are corresponding eigenvectors. The stationary
line is therefore the y-axis. The general solution is
c1 e t
t~ ~
~v = c1 e i + c2 j =
c2
x0 = 0
(4.17)
y0 = x
0 0
S OLUTION . The coefficient matrix A = is nilpotent. Thus
1 0
At 1 0
e = I + At =
t 1
Notice that in this example, the nonstationary orbits are lines parallel
to the stationary line, with opposite directions on either side of the station-
ary line, and with speed 0 as we approach the stationary line. This is
typical of degenerate systems of two linear equations when 0 is a double
eigenvalue. The only special property of the system in example 4.1.8 is that
the stationary line is vertical it could have been any direction.
324 CHAPTER 4. STABILITY THEORY
Exercises
In Exercises 1 12 select the phase portrait on the next page that most
closely corresponds to the system ~v0 = A~v, where A is the given matrix.
1 1
1. A=
1 1
Answer
3 1
2. A=
1 1
4 3
3. A=
6 5
Answer
2 0
4. A=
0 1
1 3
5. A=
2 2
Answer
2 1
6. A=
1 2
0 1
7. A=
1 0
Answer
1 0
8. A=
0 1
2 0
9. A=
0 2
Answer
4 3
10. A=
3 2
1 1
11. A=
1 1
Answer
3 2
12. A=
4 3
4.1. PHASE PORTRAITS OF LINEAR SYSTEMS 325
C
A B
F
D E
I
G H
L
K
J
326 CHAPTER 4. STABILITY THEORY
15. Show that the each orbit of the system in example 4.1.3 on page 315
is a branch of a hyperbola x2 + 2xy = c, a half-line with slope 12 , or
a vertical half-line.
Answer
0
x = x
16. Draw a phase portrait of the system Show that
y0 = 3y.
the orbits are horizontal or vertical half lines, and curves (not hyper-
bolas) satisfying the equation x3 y = constant.
In problems 17 26, draw the phase portrait of the given system, and
classify it as degenerate, a saddle, a center, or a node (stable or unstable).
Drawings of saddles must clearly indicate the stable and unstable lines.
x0
= 2x + y
17.
y0 = 3x
Answer
0
x = 5x + 5y
18.
y0 = 3x + 7y
0
x = 3x + 5y
19.
y0 = 52 x + 2y
Answer
0
x = x+y
20.
y0 = 5x y
0
x = xy
21.
y0 = 0
Answer
0
x = 2x + y
22.
y0 = x
0
x = 2x 5y
23.
y0 = 17x 2y
Answer
4.1. PHASE PORTRAITS OF LINEAR SYSTEMS 327
x 0 = 3x 10y
24.
y0 = 8x 5y
x0
= 3x + y
25.
y0 = 5x 3y
Answer
0
x = 8x + 16y
26.
y0 = 4x + 8y
27. Show that if the phase portrait of example 4.1.1 is rotated 45
clockwise, the nonvertical orbits will lie on the graphs of functions
y = kx3 .
Answer
28. Let A denote a 2 2 matrix such that tr A = 0 and det A < 0.
Show that the orbits of the system ~v0 = A~v are hyperbolas, their
asymptotes, and the origin. Hint: imitate the case where det A > 0.
29. Prove proposition 4.1.1.
Answer
30. Construct if possible, linear systems of two ODEs that fulfill the
specifications. (Answers are not unique).
x 0 = ax + by
(4.18)
y0 = cx + dy
328 CHAPTER 4. STABILITY THEORY
Answer
Match the systems in problems 32 37 with the phase portraits show
below.
A B C
D E F
4.2. NONLINEAR SYSTEMS 329
x 0 = x + 3y
32.
y0 = x y
x0
= 4y
33.
y0 = x
Answer
0
x = 2x 4y
34.
y0 = 2x 2y
0
x = 3x + 10y
35.
y0 = 2x + y
Answer
0
x = x+y
36.
y0 = x + y
0
x = 4x 4y
37.
y0 = 2x
Answer
x 0 = f ( x, y)
(4.21)
y0 = g( x, y),
The system is nonlinear unless the functions f and g have the form f ( x, y) =
ax + by and g( x, y) = cx + dy (where a, b, c, d are constants). We will always
assume that the functions f and g have continuous first partial derivatives
on an open domain D R2 . By a two-dimensional analogue of Theo-
rem 1.6, this will ensure that the vector field
f ( x, y)
~v( x, y) =
g( x, y)
~v0 = A~v
x 0 = 4y + x (1
p
x 2 + y2 )
(4.22)
y0 = 4x + y(1 x2 + y2 )
p
Find a stationary point of the system, and draw a conclusion about its stability. In
what sense does the stability (or lack thereof) appear to be local?
4.2. NONLINEAR SYSTEMS 331
S OLUTION . You can see that the origin is a stationary point, and the unit
circle x2 + y2 = 1 is an orbit (in fact, it is easy to verify that ( x, y) = (0, 0),
and ( x, y) = (cos(4t), sin(4t)) are solutions). Since (4.22) is nonlinear, the
formula
x cos(4t)
=C
y sin(4t)
only yields a solution when |C | = 1. The orbits inside the unit circle appear
to spiral away from the origin, and the orbits outside the circle spiral inward
toward it. Therefore, the phase portrait indicates that the origin is not
stable, but the circular orbit is stable. Of course, these statements are
speculative: we cant use a computer-generated sketch as a proof, and we
havent defined the notion of a stable orbit. We can look at the figure as a
scientist would view an experiment, and seek an explanation in the form of
a rigorous discussion.
3
2x1 x12 = 0.
2
as ( x, y) ( x1 , y1 ).
~ ( x, y) + O(h( x, y)) as ( x, y) ( x1 , y1 )
~v( x, y) = w
|~v( x, y) w
~ ( x, y)| K h( x, y)
for all ( x, y in the interior of C . Thus we can interpret (4.25) to say that there
is a constant K and a circle C centered at ( x1 , y1 ) such that
~v( x, y) A( x1 , y1 ) x x1 K (( x x1 )2 + (y y1 )2 )
(4.26)
y y1
where
2 f
B11 = y1 + c1 y ),
( x1 + c1 x,
x2
2 f
B12 = y1 + c1 y ), and
( x1 + c1 x,
xy
2 f
B13 = y1 + c1 y ).
( x1 + c1 x,
y2
Thus
Similarly,
where B21 , B22 , and B23 represent the second partial derivatives of g, evalu-
ated at a point ( x1 + c2 x, y1 + c2 y ). The Bij are not constants: all depend on
y ). Since any function that is continuous on D must be bounded within
( x,
any circle C D , there is a constant M such that each second partial deriva-
tive of either f or g has absolute value less than M inside C . Since each Bij
is equal to a second partial derivative of either f or g, the bounds | Bij | < M
hold.
By combining (4.27) and (4.28), we obtain
2 2
~v( x, y) A( x1 , y1 ) x = B11 x + 2B12 x y + B13 y
(4.29)
y B21 x 2 + 2B22 x y + B23 y2
2| x y | ( x 2 + y2 ).
You can use this inequality, the bounds | Bij | < M, and (4.29) to show that
~v( x, y) A( x1 , y1 ) x < 2M( x 2 + y2 ) 1 = 2 2M( x 2 + y2 ).
y 1
Thus (4.26) holds, with K = 2 2M.
Proposition 4.2.1 provides the motivation to explore similarities of the
nonlinear system 0
x f ( x, y)
= (4.30)
y0 g( x, y)
4.2. NONLINEAR SYSTEMS 335
x 0
x
= A ( x1 , y1 ) . (4.31)
y 0 y
Theorem 4.1 Let ( x1 , y1 ) be a linearly stable stationary point of the system (4.21)
of differential equations, where f and g are assumed to have continuous second
partial derivatives in D . Then ( x1 , y1 ) is asymptotically stable.
the entire plane if both eigenvalues of A are in the left half-plane, and
the stable line if the eigenvalues of A are real and of opposite sign.
the unstable line if the eigenvalues of A are real and of opposite sign.
may be very small), such that all points within C are attracted to ~p. Thus
we can say that the attracted set of ~p contains the points inside some circle
centered at ~p.
Advanced texts go beyond theorem 4.1 and show that the phase portrait
of the system (4.30) and its linearization at ~p, the system (4.31), share the
following properties:
(i) If the phase portrait of the linear system (4.31) is an unstable node,
then the repelled set of ~p in the nonlinear system (4.30) contains the
the set of points inside a circle C centered at ~p .
(ii) If the phase portrait of the linear system (4.31) is a saddle, then, in the
nonlinear system (4.30), the repelled set of ~p is a curve, whose tan-
gent direction at ~p is parallel to the eigenvector of A( x1 , y1 ) belonging
to the positive eigenvalue. The attracted set is a curve with tangent
direction at ~p parallel to the eigenvector belonging to the negative
eigenvalue. In figure 4.14, the origin is a saddle for the linearized sys-
tem. The nonlinear system is more complicated (there is a center on
the positive x-axis), but the stationary point at the origin is of the sad-
dle type. The stable and repelled sets are no longer straight lines; they
consist of the orbits directed toward and away from the origin. Notice
that in the right half-plane, the attracted and repelled sets coincide.
(iii) If the phase portrait of the linear system (4.31) is a spiral node, there
will be a spiral node near at the stationary point ~p of the nonlinear
system (4.30). This is illustrated by figures 4.13, in which the node is
unstable, and by figure 4.15, where the node is stable, although orbits
not starting inside the circular orbit will not converge to the origin.
(iv) If the phase portrait of the linear system (4.31) is a center, the orbits
near ~v1 of the system (4.30) will swirl around ~v1 , but they may not be
closed. The second order term that was dropped when passing from
the nonlinear system to the linear system is small, but not too small
to disrupt a family of closed orbits. This is illustrated in figure 4.16.
x 0 = x (2x + 3y 7)
(4.32)
y0 = y(3x 4y 2)
x (2x + 3y 7) = 0
y(3x 4y 2) = 0.
The graphs of these equations are the nullclines of the system. When
drawing a phase portrait, it is often useful to include them. The nullclines
intersect at the points (0, 0), 0, 21 , 72 , 0 , and (2, 1). These are the
stationary points.
The derivative matrix is
" #
x x ( 2x + 3y 7 )
y x ( 2x + 3y 7 )
A( x, y) =
x y ( 3x 4y 2 ) y y (3x 4y 2)
4x + 3y 7 3x
= .
3y 3x 8y 2
4 6
A(2, 1) = ,
3 4
338 CHAPTER 4. STABILITY THEORY
6
with eigenvalues 34 and corresponding eigenvectors .
34 4
This indicates
that there is a saddle point at (2, 1); the repelled set has
slope 16 ( 34 4) 0.3 as it crosses the stationary point, and the
attracted set has slope 16 ( 34 + 4) 1.6 there. The phase portrait is
shown in figure 4.17.
Invariant Sets
A subset S of the x, y-plane is an invariant set for a system (4.21) of differ-
ential equations if every orbit of the system that contains a point of S is a
subset of S . An equivalent way of stating this definition is that S is invari-
ant if and only if S is the union of a collection of orbits of the system.
Question: It is obvious that the union of two or more invariant sets is also an invariant set.
What about the intersection?
A typical example of an invariant set would be a level curve of an inte-
gral F ( x, y) of the system (4.21).
Example 4.2.4 Show that the x- and y-axes, and the four quadrants of the coor-
dinate plane are invariant sets for the system in example 4.2.3.
x0 = 0
y0 = y(4y 2).
region around the saddle point into four quadrants. In each of the quad-
rants, the behavior of the orbits is distinctive. To use an ODE solver to draw
a separatrix, follow these steps:
2. Select four points ~v1 , . . . , ~v4 on the axes, on opposite sides of the sad-
dle point. These points should be close to the saddle point.
3. Use the ODE solver to draw the orbits passing through the points ~v1 ,
. . . , ~v4 . Each solution ~vi (t) should have initial point ~vi (0) = ~vi , and
should be drawn for a t b where a < 0 and b > 0.
4. If the above steps have been done correctly, the four orbits drawn
will seem to merge to form the two separatrices. This method was
employed in drawing the separatrices for the two saddle points in
figure 4.17.
Example 4.2.5 Find the attracted set of the origin for the system in example 4.2.3.
S OLUTION . In example 4.2.4 it was shown that each quadrant of the plane
is an invariant set. We will determine the portion to the attracted set of the
origin in each quadrant, starting with the second quadrant and proceeding
counterclockwise.
It is easy to see that at every point in the second quadrant, y0 < 0. Thus all
orbits will eventually cross the x-nullcline, y = (7 2x )/3, and after that
crossing, x 0 > 0. It follows that all orbits in the second quadrant are
attracted toward the origin. In other words, the attracted set of the origin
contains the second quadrant.
In the third quadrant, x 0 > 0, so all orbits in that quadrant are directed to
the right.
One of these orbits is part of a separatrix of the stationary point
1
0, 2 . It separates the other orbits in that quadrant into two classes:
those above it are attracted to the origin, and those below it are asymptotic
to the negative y-axis. The portion of the third quadrant that lies above this
separatrix is also in the attracted set of the origin,
The entirefourth quadrant is contained in the repelled set of the stationary
point 27 , 0 on the positive x-axis. It also contains part of the separatrix of
the stationary point 0, 12 . This is an orbit that goes from 27 , 0 to
340 CHAPTER 4. STABILITY THEORY
above this orbit is the portion of the attracted set of the origin in the fourth
quadrant. Outside this wedge orbits are asymptotic to the negative y-axis.
Finally, in the first quadrant, the attracted set of the saddle at (2, 1) forms a
boundary of the attracted set of the origin.
Figure 4.18 shows the attracted set.
Example 4.2.6 Show that the stationary point (0, 0) of the system
x 0 = 36y
y0 = x,
is neutrally stable.
1 This has never been proved, but we have several billion years of experimental evidence.
4.2. NONLINEAR SYSTEMS 341
S OLUTION .
The phase portrait of this system is a center; the orbits are ellipses; in fact,
the reader can show that each orbit has equation 36x2 + y2 = C, by
following the procedure established in example 4.1.4 on page 319. The
major axis of each ellipse is horizontal, and 6 times as long as the minor
axis. Figure 4.19 displays one of the orbits.
Let R > 0 be given, and put r = 16 R. Any orbit starting inside the circle of
radius r will be an ellipse whose minor semiaxis has length less than r; its
major semiaxis is therefore less than R units long. Hence the entire orbit is
inside the circle of radius R.
Example 4.2.7 Show that (0, 0) is not a stable stationary point of the system
x0 = y
y0 = x
S OLUTION . We will show that no matter how small r is taken to be, there
are soluitons with initial points inside the circle of radius r that leave the
circle of radius 1. In fact, the phase portrait is a saddle, so all solutions
starting at a point inside the circle of radius r, except for the orbits lying on
the attracted set (the line y = x), are unbounded as t , and
eventually leave the circle of radius 1.
Exercises
7
1. Find the repelled set to the stationary point of 2, 0 of the system
in example 4.2.3.
Answer
In problems 2 13, find the stationary points, and sketch a phase por-
trait. In each case, is the stationary point stable? Linearly stable? asymp-
totically stable? Draw the separatrices of each saddle point.
0
x = xy
2.
y0 = 3x 2y
0
x = xy
3.
y0 = 5x 3y
Answer
342 CHAPTER 4. STABILITY THEORY
x 0 = x (1 x )
4.
y 0 = y (2 y )
x0
= x + 4y
5.
y0 = 9x y
Answer
0
x = x + 2y
6.
y0 = 2x y
0
x = y (1 x 2 y2 )
7.
y0 = x (1 x 2 y2 )
Answer
0
x = y (1 x 2 )
8.
y0 = x (1 x 2 )
0
x = x (2 x y )
9.
y0 = y( x y)
Answer
0
x = x (1 + x 2 + y2 )
10.
y0 = y (2 + x y )
0
x = x ( x2 + y2 10)
11.
y0 = y( xy 3)
Answer
0
x = x ( x + y + 6)
12.
y0 = y(5x + y 10)
0
x = x (1 y )
13.
y0 = y ( x 1)
Answer
14. Show that the origin is the only stationary point of (4.22).
x 0 = y + kx (1 x2 y2 )
y0 = x + ky(1 x2 y2 ).
Answer
x 0 = y + kx ( x2 + y2 )
16. Consider the system where k is a
y0 = x + ky( x2 + y2 ),
constant (see figure 4.16).
(a) Show that theorem 4.1 does not determine whether or not the
origin is a stable stationary point, and that the stability of the
stationary point at the origin depends on k.
(b) Show that if we set r2 = x2 + y2 then r satisfies the differential
equation r 0 = kr3 .
(c) Conclude that the phase portrait is a stable spiral node if k < 0,
a center if k = 0, and an unstable spiral node if k > 0.
17. Challenging problem: Asymptotic stability does not imply sta-
bility. Show that all nonconstant orbits of
xy
x 0 = y + x (1 x 2 y2 ) + p
x 2 + y2
x2
y 0 = x + y (1 x 2 y2 ) p
x 2 + y2
converge to the stationary point (1, 0) as t . Furthermore, show
that (1, 0) is unstable (see figure 4.20). Hint: try polar coordinates!
Answer
18. Modify the proof of proposition 1.10.2 to show that in the phase
space of the system (4.21), if ~p = ( x1 , y1 ) is either repels or attracts a
point ( x0 , y0 ) then ~p is a stationary point.
x 0 = x (k ax by)
(4.33)
y0 = y(l cx dy)
l k k l
> and > .
d b a c
Since each of the parameters a, b, c, d, k, and l is positive, we can multiply
the inequalities to obtain
kl kl
> (4.34)
ad bc
from which it follows that ad bc < 0. Hence, in Case I the stationary point
at ( x1 , y1 ) is a saddle.
In Case II the inequality in (4.34) is reversed, so det( A( x1 , y1 )) > 0.
Hence the eigenvalues are either real with the same sign, or complex con-
jugate. The trace of A( x1 , y1 ) is negative, and thus the roots, if real, are neg-
ative, and if they are complex, the real parts are negative. The system (4.33)
is therefore linearly stable in Case II. By the theorem of Perron, the ( x1 , y1 )
is an asymptotically stable stationary point in Case II.
What are the biological implications? We will start with the situation
in Case I, where there is a saddle at ( x1 , y1 ). If the two populations started
at their exact equilibrium values of x1 and x2 respectively, that equilibrium
would be maintained (unless disturbed by external influences). Since the
stationary point at ( x1 , y1 ) is unstable, coexistence is extremely improba-
ble in this situation. Usually competitive exclusion occurs: the species with
the initial population advantage overwhelms the other. The separatrix of
( x1 , y1 ) serves as a boundary between the attracted sets of (0, L) and (C, 0),
and the destiny of the two competing species is determined by which side
of the separatrix the initial population vector lies. Figure 4.21 is a phase
portrait displaying the phenomenon of competitive exclusion.
When the stationary point ( x1 , y1 ) does not lie in the first quadrant, the
two species cannot coexist: one species will dominate and eventually ex-
clude the other without regard to the initial condition, unless all members
of the dominant species are removed from the environment. To see why
this is so, refer to figure 4.22, which is a phase portrait of the system for
346 CHAPTER 4. STABILITY THEORY
case where C > q and L < p. We have noted that when the parameters are
configured in this way, (0, L) is a saddle and (C, 0) is asymptotically stable.
Furthermore, the attracted set for (0, L) is the positive y-axis, and we can
infer that the repelled set is a curve extending into the first quadrant. We
saw in section 2.5 that the quadrilateral LqCp is a trap, in the sense that
every orbit in the first quadrant enters LqCp unless it converges directly
to (C, 0), and no orbit can leave the quadrilateral. An orbit that enters the
quadrilateral is easily seen to converge to (C, 0). Since every orbit in the
first quadrant must enter LqCp, the attracted set of (C, 0) contains the en-
tire first quadrant.
When L < p and C < q, both stationary points (C, 0) and (0, L) are
saddles. As long as both species are represented in the initial population
vector, the populations will approach the stationary point ( x1 , y1 ), which
is asymptotically stable: see figure 4.23. In this case, the attracted set of
( x1 , y1 ) is the first quadrant.
Exercises
1. In Exercise 5 in Section 2.5, the system
x 0 = ax (K x + By)
y0 = dy( L + Cx y).
x 0 = x [ A(C x ) by]
(4.35)
y0 = cy( x d)
Consider the following three cases, and draw conclusions about the
fate of the predator in each.
4.4. ENERGY INTEGRALS 347
(a) C d < 0.
Ad
(b) 0 < C d <
4c
Ad
(c) C d > 4c
Answer
Proposition 4.4.1 Orbits of the system (4.37) are directed to the right at points
in the first and second quadrants, and to the left in the third and fourth quadrants.
An orbit has a vertical tangent only at points where it crosses the x-axis.
directed to the right as it passes through them. Similarly, in the third and
fourth quadrants, x 0 < 0, and it follows that an orbit will be directed to the
left while in these quadrants. A vertical tangent can only appear where the
orbit crosses the x-nullcline, which is the x-axis.
We can find an integral for the system (4.37) by solving the differential
equation
y dy g( x ) dx = 0.
The result is
1 2
y G ( x ) = C, (4.38)
2
where G ( x ) denotes an antiderivative of g( x ). It follows that
1 2
F ( x, y) = y G(x)
2
is an integral of the system (4.37). We call F an energy integral.
The variable y the system (4.37) in represents the velocity of the object,
and 12 y2 is the kinetic energy. The potential energy of the particle is defined to
be U ( x ) = G ( x ). Since G ( x ) is an antiderivative, the potential energy is
determined only up to the addition of a constant. The integral F ( x, y) rep-
resents the total mechanical energy of the particle. In deriving this integral
we have established a special case of the Law of Conservation of Energy.
To draw a phase portrait of the system (4.37), it is helpful to sketch the
graph of the potential energy function first. Since on any orbit, the sum
of the kinetic and potential energy is constant, when the potential energy
increases, the kinetic energy must decrease, and vice versa. All stationary
points of the system lie at points ( x1 , 0) on the x-axis where g( x1 ) = 0; that
is, U 0 ( x1 ) = 0, so that x1 is a critical point of the potential energy. We will
say that x1 is an isolated critical point if there is an interval ( x1 r, x1 + s)
containing no other critical points.
Proposition 4.4.2 Suppose that the potential energy U ( x ) has an isolated critical
point at x = x1 . If U ( x1 ) is a relative minimum, then ( x1 , 0) is a neutrally stable
stationary point of the system (4.37). Furthermore, there are numbers r, s > 0
such that every orbit that crosses the x-axis in the interval ( x1 r, x1 + s) is a
closed orbit, traversed clockwise.
Suppose that an orbit crosses the x-axis at a point x0 I . Since the kinetic
energy at the crossing is 0, the total energy of this orbit is then U ( x0 ). As
shown in figure 4.24, the orbit cannot proceed to the left, because then both
the kinetic and potential energy would increase, and the total energy would
not be constant.
The orbit must therefore proceed to the right. Since a right directed orbit
must go above the x-axis, our orbit enters the upper half-plane. It continues
to move to the right, reaching a maximum kinetic energy as it crosses the
y-axis, where the potential energy is minimum. Then the kinetic energy
(and y) will decrease, until the x-axis is crossed again. This crossing will
occur at the point x I+ where U ( x ) = U ( x0 ). Now the orbit cannot go
farther to the right, because the potential energy cannot exceed the value
U ( x0 ). In going to the left, it enters the lower half-plane. To describe the rest
of the orbit we can appeal to symmetry. The orbit is the locus of solutions
of (4.38), which is obviously symmetric with respect to the x-axis. Therefore
the orbit in the lower half-plane is just the reflection of the portion already
traversed in the upper half-plane, and is therefore a closed curve.
We have verified the second assertion of the proposition. It still must be
proved that the stationary point at the origin is neutrally stable. This means
that for any number R > 0, it must be possible to find a number e > 0 such
that every orbit that starts inside the circle of radius e centered at the origin
remains inside the circle of radius R.
We can assume that R < r, s. (If this is not the case, replace R by a
smaller number that satisfies the assumption.) Let C R denote the circle of
radius R, centered at the origin. Put m = min{ F ( x, y) : ( x, y) C R },
the minimum value of the energy integral on C R . (This is the minimum on
the perimeter of the circle.) If m = F ( x, y), where ( x, y) C R then m =
1 2
2 y + U ( x ). Our choice of r ensures that x I \ {0}, so F ( x, y ) U ( x ) >
U (0) = f (0, 0). In short, m > F (0, 0). Appealing to the continuity of F,
there is a number e > 0 such that if ( x, y) is inside the circle Se with radius
e, then F ( x, y) < m. Any orbit which starts inside Se has total energy less
than m, and since every point of C R has total energy at least m, the orbit
cannot cross C R .
1
U ( x ) + y2 = U ( x0 ). (4.39)
2
The circle Sr has equation
x 2 + y2 = r 2 . (4.40)
We will show that there is a point ( x , y ), with r < x < 0, satisfying
equations (4.39) and (4.40) simultaneously. Multiply equation (4.39) by 2
and subtract it from equation (4.40) to eliminate the variable y and get
x2 2U ( x ) = r2 2U ( x0 ). (4.41)
Let P( x ) denote the expression on the left side of equation (4.41). Notice
that
P( x0 ) = x02 2U ( x0 ) < r2 2U ( x0 ).
Also, since U (r ) < U ( x0 ),
P(r ) = r2 2U (r ) > r2 2U ( x0 )
1 2
y + U ( x ) = U ( x1 ).
2
4.4. ENERGY INTEGRALS 351
This level curve is the separatrix of the stationary point ( x1 , 0). If U ( x ) has
a relative maximum at x1 , then ( x1 , 0), is a saddle point, as shown in fig-
ure 4.26. If x1 is an inflection point of U ( x ), the separatrix has only one
branch; this is illustrated by figure 4.25.
x 00 = 6x (1 x ).
x0 = y
y0 = 6x (1 x ).
Rx
The potential is U ( x ) = 0 6z(1 z) dz = 2x3 3x2 , which has a relative
maximum at x = 0 and a minimum at x = 1. Hence the stationary point at
(0, 0) is unstable, while the stationary point (1, 0) is stable. The separatrix
corresponding to the stationary point at the origin is the cubic curve
1 2
y + 2x3 3x2 = 0.
2
This curve consists of three orbits in addition to the origin itself. The
portion of the curve in the second quadrant is an orbit directed toward the
origin, and forms part of the attracted set. The intersection of the curve
with the third quadrant is an orbit directed away from the origin: it is part of
the repelled set. The situation in the right half-plane seems paradoxical,
but actually represents a relatively common occurrence: the portion of the
separatrix in the right half-plane is a single orbit, which converges to the
origin as t and as t ; it therefore lies in the intersection of the
attracted and repelled sets.
The orbits inside the separatrix in the right half-plane are closed; all other
orbits were drawn by reference to the potential function. The phase
portrait is shown in figure 4.14 on page 387.
The Pendulum
Figure 4.27 shows a pendulum. L denotes the length of the pendulum arm,
the angle made by the arm with the vertical axis, and m the mass.
352 CHAPTER 4. STABILITY THEORY
The net force on the pendulum bob is F + Tj, where Tj, the support pro-
vided by the pendulum arm, is exactly cancelled by the j-component of F.
Thus, the net force is equal to mg sin( )i.
By Newtons Second Law of Motion, the net force on the pendulum
bob is equal to its mass multiplied by its acceleration. The acceleration is
the product L 00 of the angular acceleration 00 of the pendulum arm and
its length L. Therefore, the motion of the pendulum is governed by the
differential equation mL 00 = mg sin , or
g
00 = sin , (4.42)
L
The potential energy of the pendulum, normalized so that U (0) = 0, is
g g
Z
U ( ) = sin(z) dz = (1 cos ).
0 L L
As we would expect, the stationary points at = 2n, when the pendulum
is at the bottom of its trajectory, correspond to minima of the potential en-
ergy, and are stable. The stationary points at odd multiples of (where the
pendulum is inverted) correspond to maxima of the potential energy and
are unstable. The separatrix is the curve
1 2 g g
cos = ,
2 L L
in the phase plane (the variable = 0 represents angular velocity). In this
case, the separatrix separates the closed (periodic) orbits from those that
are not periodic. See figure 4.28.
Exercises
1. Let x1 denote an isolated critical point of U ( x ). Is it possible for
the stationary point ( x1 , 0) of the system (4.37) to be asymptotically
stable?
Answer
4.4. ENERGY INTEGRALS 353
In problems 4 19, find a potential energy function and sketch its graph.
Then draw a phase portrait for the differential equation.
6. x 00 = 0.
7. x 00 = 1.
Answer
8. x 00 = x2 .
9. x 00 = x2 .
Answer
10. x 00 = 4x3 .
11. x 00 = 4x3 .
Answer
13. x 00 = 3x | x |.
Answer
Lyapunov Functions
Let L( x, y) be a function with L(0, 0) = 0. If there is a number R > 0
with L( x, y) > 0. for all points ( x, y) except the origin inside the circle
x2 + y2 = R2 , then L( x, y) is said to be positive definite near the origin.
If the inequality is not strict; and we only have L( x, y) 0 for x2 + y2 < R2 ,
then L( x, y) is positive semidefinite near the origin.
We also define a function N ( x, y), with N (0, 0) = 0, to be negative
definite or semidefinite if N ( x, y) is positive definite of semidefinite, re-
spectively. A function L( x, y) with L( x1 , y1 ) = 0 is positive or negative
(semi)definite near ( x1 , y1 ) if the function F ( x, y) = L( x + x1 , y + y1 ) has
the corresponding property near the origin.
Consider an autonomous system of differential equations,
x 0 = f ( x, y)
(4.46)
y0 = g( x, y).
L L
Let L( x, y) be a function whose partial derivatives x and y are continu-
ous, and define the function
L L
L0 ( x, y) = f ( x, y) + g( x, y).
x y
d
L((t), (t)) = L0 ((t), (t)).
dt
P ROOF. By the Chain Rule,
dL L dx L dy
( x, y) = +
dt x dt y dt
356 CHAPTER 4. STABILITY THEORY
L L
= f ( x, y) + g( x, y)
x y
= L0 ( x, y).
d
L((t), (t)) = L0 ((t), (t)) 0,
dt
x0 = y
y0 = x
The result of example 4.5.2 is not surprising, since the phase portrait is
a center, and the orbits are circles level curves of L( x, y).
Limit Sets
y ) is said to be a forward limit point of a solution ( x, y) =
A point ( x,
((t), (t)) of the system (4.46) if there is a sequence tn such that
y ).
lim ((tn ), (tn )) = ( x,
n
It is possible for the forward limit set of an orbit to contain more than
one point. For example, the forward limit set of a periodic orbit is the
entire orbit.
( x, y) = ((t), (t))
of the system (4.46) is the set of all its forward limit points. Our notation
for this set is
lim + (, )
The following two propositions are presented without proof. The first
says that an orbit passing close enough to a stable stationary point must
have forward limit points. These forward limit points are not necessarily
stationary points themselves. For example, consider the case where the
equilibrium is neutrally stable: the limit points may lie in a periodic orbit.
Of course, if the stationary point is asymptotically stable, all nearby orbits
converge to it.
lim + (, ) 6= .
The forward limit set of an orbit may contain more than one point, but
according to the next proposition, it must be an invariant set. In other
words, if a point x1 belongs to the forward limit set of an orbit, then the
4.5. LYAPUNOV STABILITY TESTS 359
A R = B R {( x, y) : L0 ( x, y) = 0}
is {( x1 , y1 )} itself (B R denotes the set of points inside the circle with center ( x1 , y1 )
and radius R). Then ( x1 , y1 ) is asymptotically stable.
Lemma 4.5.6 Let g(t) be a continuous, nonincreasing function, defined for all
t > 0. Suppose that g(t) 0 for all t > 0. Then limt g(t) exists.
then
((t), (t)) B R (4.48)
360 CHAPTER 4. STABILITY THEORY
Let ( x, y) = ( (t), (t)) be the solution of the system (4.46) with initial
condition ( (0), (0)) = ( x, y ). Since, by proposition 4.5.4, lim+ (, ) is
invariant, ( (t), (t)) lim+ (, ) for all t. It follows that L( (t), (t)) l
for all t; differentiating, we have L0 ( (t), (t)) 0. It follows that L0 ( x,
y ) =
y ) A R .
0; thus ( x,
We have shown that the forward limit set of any orbit starting in Br
is an invariant subset of A R . By proposition (4.5.3), this forward limit set
cannot be empty; therefore it must be {(0, 0)}. It follows that the origin is
asymptotically stable.
Example 4.5.3 Show that the stationary points (, ) = (2n, 0) of the sys-
tem (4.44), which describes the motion of a linearly damped pendulum, are asymp-
totically stable.
if either
Use this Lyapunov function to determine whether or not the origin is stable, asymp-
totically stable, or unstable.
The origin is not a linearly stable stationary point of the system (4.49). A
y + xq( x, y)
brief calculation shows that the derivative of F( x, y) =
x + yq( x, y)
is
xq x ( x, y) + q( x, y) 1 + xqy ( x, y)
A( x, y) =
1 + yq x ( x, y) yqy ( x, y) + q( x, y)
and use it to draw conclusions about the stability of the equilibrium at the origin.
4.5. LYAPUNOV STABILITY TESTS 363
3k ( x2 1) 1
A( x, y) = .
1 0
L( x, y) = L2 ( x, y) + P( x, y),
The proof of the proposition is left to you; see problem 26 at the end
of this section for hints. To see that there can be no conclusion when L2
is only semidefinite, consider L( x, y) = x3 + y3 , which is neither positive
nor negative semidefinite. If we put L2 ( x, y) = 0 (this is both positive and
negative semidefinite, then L( x, y) = L2 ( x, y) + P( x, y) where P( x, y) =
x3 + y3 vanishes to order 2 at the origin.
Example 4.5.6 Find a Lyapunov function of the form L( x, y) = ax2 + cy2 for
the system
x 0 = x + 4y + x3 + xy2
y0 = x 2y + 2y3 + 2x2 y
and determine the stability of the origin.
4.5. LYAPUNOV STABILITY TESTS 365
Exercises
1. Show that L( x, y) = ax2 + bxy + cy2 is positive definite near the
origin if and only if b2 4ac < 0 and a > 0.
Answer
x0
= y sin x
5.
y0 = x sin y
Answer
0
x = 2xy2 x3 + 4y3
6.
y0 = 4x3 8x2 y y3 .
0
x = x3 + x + y
7.
y0 = 2x + y
Answer
0
x = 2y + y2
8.
y0 = 2x + y xy y3
x0
= x + y
9.
y0 = x y
Answer
0
x = 100y
10.
y0 = x
0
x = 2x y
11.
y0 = 40x + 2y
Answer
0
x = x 5y
12.
y0 = 5x + 5y.
0
x = xy
13.
y0 = 50x y
Answer
0
x = x3 y
14.
y0 = x 4y3
0
x = 2x + 5(y2 y)
15.
y0 = 5( x x2 ) 4y
Answer
0
x = 4y xy2
16.
y0 = x x2 y
4.5. LYAPUNOV STABILITY TESTS 367
x 0 = 3y x3 xy2
17.
y0 = 4x x2 y y3
Answer
x 0 = x ( a by)
y0 = cy( x d),
Answer
x 00 + b| x 0 | x 0 + k ( x x3 ) = 0.
Show that the total mechanical energy is a Lyapunov function for this
spring, and that the solution x = x 0 0 is asymptotically stable.
368 CHAPTER 4. STABILITY THEORY
23. Computer laboratory problem. Figure 4.31 indicates that the sys-
tem 4.50 has a limit cycle. Investigate what happens for other values
of k. Does the limit cycle persist?
Answer
24. The following is a proof, in outline form, of theorem 4.1 on page 335.
Suppose that ~x1 is a linearly stable stationary point of the system
~x 0 = ~f (~x ); (4.51)
that is, ~f (~x1 ) = ~0, and all eigenvalues of A(~x1 ), the derivative matrix
of ~f at ~x1 , are either negative real numbers or complex numbers with
negative real parts. We will refer to this matrix simply as A.
A symmetric matrix S will be called positive definite if the function
L(~x ) = ~x T S ~x is positive definite. Here, we view ~x as a column
matrix; ~x T denotes its transpose, a row matrix, and L(~x ), which is the
product of the three matrices, is a 1 1 matrix.
26. Prove proposition 4.5.8. Hints: (1) The origin is a critical point of
L. (2) Use the second derivative test.
v 0 = F ( v ),
lim v(t) = v
t
Center A system of two linear ODEs in which the characteristic roots are
imaginary numbers. The orbits are ellipses, centered at the origin.
Improper node A system of linear ODEs in which not all orbits are half-
lines, but all orbits are directed toward the origin as t (the stable
case), or all orbits are directed toward the origin as t (the
unstable case).
Limit cycle A closed orbit that is the forward limit set of all nearby orbits.
Limit point (of a solution v(t)). There are forward and backward limit
points. v is a forward limit point if there is an increasing, unbounded
sequence of real numbers (we use the suggestive notation tm )
such that
lim v(tm ) = v . (4.53)
m
Node A system of linear ODEs in which all orbits are directed toward the
origin as t (the stable case), or all orbits are directed toward the
origin as t (the unstable case).
Proper node A linear system of ODEs in which the orbits are all half-lines.
The half-lines will all be directed toward the origin (the stable case)
or all directed away from the origin (the unstable case).
Saddle A linear system of two ODEs that has two real characteristic roots
of opposite sign, or a stationary point v of a nonlinear autonomous
system of two equations v0 = F(v) such that the characteristic roots
of the derivative A(v ) of F at v are real and of opposite sign. Near
the stationary point, the phase portrait looks like a linear saddle.
372 CHAPTER 4. STABILITY THEORY
Spiral node A linear system of two ODEs in which the characteristic roots
are neither real nor imaginary. The orbits swirl around the origin in
spirals.
Stable line A straight line through the origin that is the union of the origin,
and two orbits directed toward the origin. A linear system of two
ODEs that is a saddle has a unique stable line. In the case of a stable
proper node, all lines through the origin are stable.
Stable node A system of linear ODEs in which all orbits approach the ori-
gin as t .
Unstable line A straight line through the origin that is the union of the
origin, and two orbits directed away from the origin. A linear system
of two ODEs that is a saddle has a unique unstable line. In the case of
an unstable proper node, all lines through the origin are unstable.
tions, by Jack Hale4 are graduate level texts which contain rather complete
treatments of this topic.
Applications of differential equations to biology is the subject of a great
deal of current research. An outstanding text in this area is Mathematical
Biology, by J. D. Murray5 . Murrays book is comprehensive, has few pre-
requisites, and is well written. It has the additional advantage, unusual for
a mathematics text, of being suitable for browsing.
Let A be a 2 2 matrix with distinct real eigenvalues r and s, and let ~e and ~f be
eigenvectors belonging to these eigenvalues. Let P be the matrix with columns
~e, ~f , and let D be the diagonal matrix diag (r, s). Then A and D are conjugate:
A = PDP1 .
The general solution of (4.2) is
We want to see how to distort this phase portrait to obtain the phase portrait
of (4.1).
The general solution of (4.1) is
where we have expressed the vector ~k as a linear combination of ~e = P~i and ~f = P~j:
~k = ~e + ~f = P(~i + ~j).
~v(t) = Pe Dt P1~k
= Pe Dt P1 [ P(~i + ~j)]
= Pe Dt (~i + ~j) = Pw ~ (t)
Figure 4.4: A node with two distinct, positive characteristic roots: see example 4.1.1. The
arrows in this figure show the vector field corresponding to the system of ODEs.
378 CHAPTER 4. STABILITY THEORY
dR
= 2x x 0 + 2y y0 .
dt
Substituting x 0 = 2x + 8y and y0 = 5x 2y (from the differential
equations), we find that
dR
= 2x (2x + 8y) + 2y(5x 2y)
dt
= 4x2 + 6xy 4y2
= 2(2x y)( x + 2y)
Figure 4.10: A spiral node. See example 4.1.6. The dashed ellipse is an orbit of the related
system that was presented in Example 4.1.4.
384 CHAPTER 4. STABILITY THEORY
Figure 4.12: A degenerate system: 0 is a double characteristic root. See example 4.1.8
6 6
? ?
386 CHAPTER 4. STABILITY THEORY
Figure 4.13: ). Phase portrait of the nonlinear system (4.22 The unit circle is a limit cycle.
(See example 4.2.1.)
1.5
0.5
-0.5
-1
-1.5
FIGURES FOR CHAPTER 4 387
-3 -2 -1 1 2 3
-1
-2
-3
388 CHAPTER 4. STABILITY THEORY
1.5
0.5
-0.5
-1
-1.5
-2
FIGURES FOR CHAPTER 4 389
0.5
-1 1
-0.5
390 CHAPTER 4. STABILITY THEORY
Figure 4.17: Phase portrait of the nonlinear system in example 4.2.3. The dashed lines
are nullclines.
-4 -2 2 4
-2
-4
FIGURES FOR CHAPTER 4 391
Figure 4.18: Attracted set of the origin for the system in examples 4.2.3 4.2.5.
-4 -2 2 4
-2
-4
392 CHAPTER 4. STABILITY THEORY
0.5
r
-1 -0.5 0.5 1
R
-0.5
-1
FIGURES FOR CHAPTER 4 393
Figure 4.20: The stationary point at (1, 0) is unstable, although all orbits except x
0, y 0 converge to it. See problem 17.
0.5
-0.5
-1
394 CHAPTER 4. STABILITY THEORY
Figure 4.21: Competitive exclusion The attracted set of the stationary point ( x1 , y1 ) is the
separatrix. If the initial population vector lies below the separatrix, the x-species dominates
and the y-species becomes extinct. If the initial population is above the separatrix, the y-
species is dominant. The parameter configuration is p < L and q < C. The nullclines are
shown as dashed lines. In drawing this phase portrait, the parameter values (k, a, b, l, c, d) =
(3, 1, 2, 5, 2, 3) were used.
1.5
0.5
Figure 4.22: Dominance. The species with population x will outcompete its competitor
unless it is entirely removed from the environment. The parameter configuration is C > q
and L < p. The nullclines are represented by dashed lines. In drawing the phase portrait,
the parameter values (k, a, b, l, c, d) = (30, 5, 6, 6, 2, 3) were used.
8
2 4 6 8
396 CHAPTER 4. STABILITY THEORY
Figure 4.23: Coexistence.When L < p and C < q the species will coexist at the stationary
point in the first quadrant. The initial population vector has no effect on the outcome, as
long as both species are represented. The nullclines are represented by dashed lines. In
drawing this phase portrait, the parameter values (k, a, b, c, l, c, d) = (15, 5, 3, 12, 2, 6) were
used.
1 2 3 4 5 6
FIGURES FOR CHAPTER 4 397
1
0.5
-4 -2 2 4
-0.5
-1
-1.5
398 CHAPTER 4. STABILITY THEORY
Figure 4.25: An unstable stationary point. The critical point of U ( x) at the origin is not a
relative minimum.
FIGURES FOR CHAPTER 4 399
r
y
HH
H,q
HHH
H
x
j
H
mg
?
FIGURES FOR CHAPTER 4 401
Figure 4.28: Phase portrait of the pendulum equation. The variables and represent
angular displacement and angular velocity, respectively.
402 CHAPTER 4. STABILITY THEORY
Figure 4.29: A phase portrait of the linearly damped pendulum equation (4.44).
FIGURES FOR CHAPTER 4 403
Figure 4.30: L and L0 are both positive definite. In the annulus K, L0 ( x, y) k, and
L( x, y) M.
y
x
404 CHAPTER 4. STABILITY THEORY
Figure 4.31: Phase portrait of the system (4.50). The parameter k = 0.2.
FIGURES FOR CHAPTER 4 405
1.
3.
5.
7.
9.
11.
13.
15.
(a) y = C sin(t)
(b) y = C sin(t)
(c) y = 2 sin(t)
(d) y = sin(t) + cos(t)
Return
Details
ANSWERS TO SELECTED EXERCISES 413
17.
2
y = 3et .
Return
Details
414 ORDINARY DIFFERENTIAL EQUATIONS
19.
21.
d y
dt t = 1t . Use the equal derivatives theorem.
Return
Details
416 ORDINARY DIFFERENTIAL EQUATIONS
1.
55.47 years.
Return
Details
ANSWERS TO SELECTED EXERCISES 417
3.
5.
7.
65,659,969.14
Details
Return
420 ORDINARY DIFFERENTIAL EQUATIONS
9.
1 12
y= 212
t .
14
12
10
Details
Return
ANSWERS TO SELECTED EXERCISES 421
11.
-4
-6
-8
-10
-12
-14
Details
Return
422 ORDINARY DIFFERENTIAL EQUATIONS
13.
1
y= t for t > 0.
2 4 6
Details
Return
ANSWERS TO SELECTED EXERCISES 423
15.
y = 0.
Details
Return
424 ORDINARY DIFFERENTIAL EQUATIONS
17.
0.675 ppb.
Details
Return
ANSWERS TO SELECTED EXERCISES 425
19.
0.556 ppb.
Details
Return
426 ORDINARY DIFFERENTIAL EQUATIONS
1.
3 4t
y = 34 t 3
16 + 16 e .
Details
Return
ANSWERS TO SELECTED EXERCISES 427
3.
y = 12 ln(t)et/2 12 ln(2)et/2 .
Details
Return
428 ORDINARY DIFFERENTIAL EQUATIONS
5.
2
y = tet .
Details
Return
ANSWERS TO SELECTED EXERCISES 429
7.
1 9 10t
(a) y = 10 +
10 e .
1
(b) y = 10 + 11 10t
10 e .
Details
Return
1.5
1.25
0.75
0.5
0.25
-1 -0.5 0.5 1
430 ORDINARY DIFFERENTIAL EQUATIONS
9.
80
60
40
20
-2 -1 1 2
-20
-40
Details
Return
ANSWERS TO SELECTED EXERCISES 431
11.
y = 1 sec(t).
Details
Return
432 ORDINARY DIFFERENTIAL EQUATIONS
13.
Wait 11 minutes.
Details
Return
ANSWERS TO SELECTED EXERCISES 433
15.
17.
19.
35 C.
Details
Return
436 ORDINARY DIFFERENTIAL EQUATIONS
21.
There are two approaches, with slightly different answers. For a quick
approximation, just assume the heat source mH (t) = 0.8, because the
heat is on four-fifths of the time. This yields an average temperature
of 20 C.
A more ambitious project is to determine the stable periodic temper-
ature, which is not constantthe heat does cycle on and off. Taking
the average value of that function over a full period, [0, 5] one obtains
an average temperature of about 19.7 C.
Details
Return
ANSWERS TO SELECTED EXERCISES 437
23.
5
(a) 29 (5 cos 2t + 2 sin 2t); stable.
7
(b) y = 17 (cos 4t 4 sin 4t) ; not stable.
(c) y = cos t sin t; stable.
1
(d) y = 26 (23 cos t + 11 sin t) ; not stable.
(e) There is no periodic solution.
Details
Return
438 ORDINARY DIFFERENTIAL EQUATIONS
25.
2
Z
2
Erfi(t) = et dt.
27.
y(0) = 1.
Details
Return
440 ORDINARY DIFFERENTIAL EQUATIONS
29.
y(1/4) = 8.
Details
Return
ANSWERS TO SELECTED EXERCISES 441
1.
35, 69, and 138 seconds, respectively. Notice that the time doubles for
each increment can you say why?
Details
Return
442 ORDINARY DIFFERENTIAL EQUATIONS
3.
42 ppm
Details
Return
ANSWERS TO SELECTED EXERCISES 443
5.
7.
9.
4
The concentration in tank A is 0.09 + 0.03e 15 t , and the concentration
4
in tank B is 0.09 0.09e 15 t .
Details
Return
446 ORDINARY DIFFERENTIAL EQUATIONS
11.
$1 million.
Details
Return
ANSWERS TO SELECTED EXERCISES 447
13.
About 79,000
Details
Return
448 ORDINARY DIFFERENTIAL EQUATIONS
1.
y = (1 + Ct3 )1/3 .
Details
Return
ANSWERS TO SELECTED EXERCISES 449
3.
37
y = .
2 cos t + 12 sin t + Ce6t
Details
Return
450 ORDINARY DIFFERENTIAL EQUATIONS
5.
q
y = 4 4(2t + 1)4 + C (2t + 1)2 .
Details
Return
ANSWERS TO SELECTED EXERCISES 451
1.
(a) Separable.
(b) Separable.
(c) Not separable.
(d) Separable.
(e) Separable.
(f) Not separable.
Details
Return
452 ORDINARY DIFFERENTIAL EQUATIONS
3.
Details
Return
ANSWERS TO SELECTED EXERCISES 453
5.
b = 0.98 kg/s.
Details
Return
454 ORDINARY DIFFERENTIAL EQUATIONS
7.
1 2
1
y = 2 2t t+C ; y 0.
Details
Return
ANSWERS TO SELECTED EXERCISES 455
9.
y = C t; y = 2 t.
Details
Return
456 ORDINARY DIFFERENTIAL EQUATIONS
11.
t t
y = Cee ;y = ee 1 .
Details
Return
ANSWERS TO SELECTED EXERCISES 457
13.
y = t+1C ; y = t1 1 .
Details
Return
458 ORDINARY DIFFERENTIAL EQUATIONS
15.
2
y 1 2 e t +1
y +1= Cet ; y = 2 .
1+ e t
Details
Return
ANSWERS TO SELECTED EXERCISES 459
17.
19.
q
v2 v20 + v2
(a) ln .
g v
v | v0 |
(b) T1 = arctan .
g v
(c) Let T2 be the time taken to
fall from the maximum height to the
v v20 +v2 +|v0 |
ground. Then T2 = g ln v .
Details
Return
ANSWERS TO SELECTED EXERCISES 461
21.
t = (|v | ln(3))/(2g)
Details
Return
462 ORDINARY DIFFERENTIAL EQUATIONS
1.
3.
5.
y2 y2 ln y
F ( x, y) = e3x y(ln y 1) + 4 2 .
Details
Return
ANSWERS TO SELECTED EXERCISES 465
7.
x4 x 2 y2 x2 y4 y2
F ( x, y) = 4 + 2 2 + 4 + 2.
Details
Return
466 ORDINARY DIFFERENTIAL EQUATIONS
9.
y2
F ( x, y) = x x +y .
Details
Return
ANSWERS TO SELECTED EXERCISES 467
11.
13.
15.
x2 x2 x2
m = e 2 is an integrating factor, and F ( x, y) = y2 e 2 + xe 2 is an
integral.
Details
Return
470 ORDINARY DIFFERENTIAL EQUATIONS
17.
19.
y4
m = y2 is an integrating factor, and F ( x, y) = x2 y3 + 2 is an integral.
Details
Return
472 ORDINARY DIFFERENTIAL EQUATIONS
23.
R
m = e p(x) dx is an integrating factor.
Details
Return
ANSWERS TO SELECTED EXERCISES 473
1.
100
50
-50
-100
0 2 4 6 8 10
Return
474 ORDINARY DIFFERENTIAL EQUATIONS
3.
1.5
0.5
-0.5
-1
-2 -1 0 1 2 3
Return
ANSWERS TO SELECTED EXERCISES 475
5.
1.5
0.5
-0.5
-1
-1.5
-2 -1 0 1 2 3
Return
Details
476 ORDINARY DIFFERENTIAL EQUATIONS
7.
1.5
0.5
-0.5
-1
-2 -1 0 1 2 3
Return
ANSWERS TO SELECTED EXERCISES 477
8.
1.5
0.5
-0.5
-1
-2 -1 0 1 2 3
Return
478 ORDINARY DIFFERENTIAL EQUATIONS
9.
11.
(a) 0, 1, 2, 3, 4, . . .; ym = m 1.
(b) 1, 2, 4, 8, . . . ; ym = 2m1 .
(c) C, Ck + 1, C (k + 1)2 , C (k + 1)3 , . . .; ym = C (k + 1)m1 .
(d) 0, 1, 3, 7, . . .; ym = 2m1 1.
Details
Return
480 ORDINARY DIFFERENTIAL EQUATIONS
13.
Details
Return
ANSWERS TO SELECTED EXERCISES 481
15.
y20 = 9.55. In this case, the final local error (LE20 ) is infinite, since the
analytic solution, y = 1/(1 t), has a singularity at t = 1.
10
Details
Return
482 ORDINARY DIFFERENTIAL EQUATIONS
17.
0.7
0.6
0.5
0.4
0.3
0.2
0.1
Details
Return
ANSWERS TO SELECTED EXERCISES 483
19.
21.
(a) No.
(b) 0 < h < 0.02
Details
Return
ANSWERS TO SELECTED EXERCISES 485
23.
p
(a) In the forward version,using ym+1 = ym + 1 y2mp , ym even-
tually increases to a value bigger than 1, and then 1 y2m is
undefined.
(b) The plus sign should be used.
(c) Forward version: -0.000166583, 0.199499, 0.297489, 0.392961, 0.484917,
0.572373, 0.654372, 0.729989, 0.798335, 0.858556, 0.909828, 0.951327,
0.982145, 1.00096 (terminates)
Backward version: 0.0995037, 0.00113599, 0.29314, 0.385415, 0.473494,
0.55657, 0.633914, 0.70485, 0.768799, 0.825273, 0.873886, 0.914373,
0.946611, 0.970657, 0.986832, 0.99589, 0.999388, 0.999982, 1, 1, . . .
(d) The backward version is the more accurate.
Details
Return
486 ORDINARY DIFFERENTIAL EQUATIONS
25.
-1
-2
-3
-4 -2 0 2 4
Details
Return
ANSWERS TO SELECTED EXERCISES 487
27.
3.5
2.5
1.5
0.5
1 2 3 4 5 6
Details
Return
488 ORDINARY DIFFERENTIAL EQUATIONS
1.
y = 2, defined on (, +).
Details
Return
ANSWERS TO SELECTED EXERCISES 489
3.
1
y= (5 cos(5t) 2 sin(5t) 5e2t ), defined on (, +).
29
Details
Return
490 ORDINARY DIFFERENTIAL EQUATIONS
5.
y = t3 t2 , defined on (, +).
Details
Return
ANSWERS TO SELECTED EXERCISES 491
7.
1 2
y = + et defined on (, +).
2
Details
Return
492 ORDINARY DIFFERENTIAL EQUATIONS
9.
If the graphs intersect, then there would be two solutions to the IVP
with initial condition at the intersection point.
Details
Return
ANSWERS TO SELECTED EXERCISES 493
11.
y 1.
Details
Return
494 ORDINARY DIFFERENTIAL EQUATIONS
13.
15.
17.
19.
(i) t0 y0 > 0.
(ii) t0 y0 > 0 and y0 6= 1.
Details
Return
498 ORDINARY DIFFERENTIAL EQUATIONS
21.
23.
f
y ( t, y ) = y
continuous if |y| < 1, but not continuous on |y| =
1 y2
p
1 This implies that f (t, y) = 1 y2 satisfies a Lipschitz condition
on the domain D if 1 < c and d < 1, but there is no implication if
either c = 1 or d = 1.
In the case d = 1 let y2 = 1 and y1 < 1. Then
q
1 y21
s
| f (t, y2 ) f (t, y1 )| 1 + y1
= = .
y2 y1 1 y1 1 y1
25.
y0 = 2.001386626.
Details
Return
ANSWERS TO SELECTED EXERCISES 501
27.
Return
Details
502 ORDINARY DIFFERENTIAL EQUATIONS
1.
840
Details
Return
ANSWERS TO SELECTED EXERCISES 503
3.
y = 200/(19e4t + 1).
Details
Return
504 ORDINARY DIFFERENTIAL EQUATIONS
5.
Let p(t) denote the population, in millions, 60t years after 1890. Then
772.6
p(t) = million.
1 + (11.264) (0.3246t )
Details
Return
ANSWERS TO SELECTED EXERCISES 505
7.
In 2070.
Details
Return
506 ORDINARY DIFFERENTIAL EQUATIONS
9.
11.
The function f (y) = ky ln M y is defined for y > 0 only, but limy0 f (y) =
0. Thus we can say 0 is stationary. The other stationary point at M is
verified because ln(1) = 0. If 0 < y < M then ln( M/y) > 0 indicat-
ing the population is increasing; for y > M we have ln( M/y) < 0
and the population is decreasing. Thus M is a stable stationary point
and 0 is unstable.
Return
508 ORDINARY DIFFERENTIAL EQUATIONS
14.
dy
dt = ku(t)y(t). In a closed system, the number of total molecules is a
dy
constant C. Therefore u(t) + y(t) = C, and dt = ky(t)(C y(t)). Its
a logistic equation.
Details
Return
ANSWERS TO SELECTED EXERCISES 509
16.
18.
Stationary point: 0.
- s -
0
Details
Return
ANSWERS TO SELECTED EXERCISES 511
20.
No stationary points.
Details
Return
512 ORDINARY DIFFERENTIAL EQUATIONS
22.
(a) This is the solution of first order autonomous ODE with no sta-
tionary points.
(b) This is not a solution of a first order autonomous ODE.
(c) This is the solution of first order autonomous ODE with a sta-
tionary point y = 0.
(d) This is the solution of first order autonomous ODE with no sta-
tionary points.
(e) This is not a solution of a first order autonomous ODE.
Details
Return
ANSWERS TO SELECTED EXERCISES 513
24.
If g0 (y1 ) < 0, there exists > 0 such that g0 (y) < 0 in (y1 , y1 + ),
because g0 (y) is continuous. That means g(y) is strictly decreasing in
(y1 , y1 + ). Because g(y1 ) = 0, it follows that g(y) changes sign
from positive to negative at y = y1 Therefore (y1 , y1 ) is an up
interval, and (y1 , y + ) is a down interval; the phase diagram for the
ODE looks like this near y1 :
- s .
Thus y1 is stable.
If g0 (y1 ) > 0, the same reasoning shows that near y1 , the phase dia-
gram looks like this:
s - . Thus y1 is an unstable stationary point.
Details
Return
514 ORDINARY DIFFERENTIAL EQUATIONS
26.
Suppose the ODE is y0 = f (y). Then f (y) has a same stationary point
as y0 = y2 at y 0, thus f (0) = 0. The two up intervals (, 0),
(0, +) for y0 = y2 is also the up intervals for f (y). therefore f 0 (0) =
limh0
f (0+h) f (0)
h = limh0 f (hh) 0, and f 0 (0) = limh0 f (0h)
h
f (0)
=
f (h)
limh0 h 0, We obtain f 0 (0) = 0 and y 0 is a degenerate sta-
tionary point.
Return
ANSWERS TO SELECTED EXERCISES 515
28.
(a) H = 0.25
(b) P2 = 0.816
P
H
0.25
(c)
Details
Return
516 ORDINARY DIFFERENTIAL EQUATIONS
30.
250
200
150
100
50
1.
2 /2+ t
y = 1 + Cet .
Details
Return
518 ORDINARY DIFFERENTIAL EQUATIONS
2.
y = (2 + 2t + t2 ) + Cet .
Details
Return
ANSWERS TO SELECTED EXERCISES 519
3.
y = (t + C )et .
Details
Return
520 ORDINARY DIFFERENTIAL EQUATIONS
4.
y = (sin t + C ) cos t.
Details
Return
ANSWERS TO SELECTED EXERCISES 521
5.
y = 12 et + Cet .
Details
Return
522 ORDINARY DIFFERENTIAL EQUATIONS
6.
7.
5 2
y = 14 t + 3
13 t 61 + Ct12 .
Details
Return
524 ORDINARY DIFFERENTIAL EQUATIONS
8.
9.
2 2
y = ( et /2 dt + C )et /2 .
R
Details
Return
526 ORDINARY DIFFERENTIAL EQUATIONS
10.
y = Ct5
Details
Return
ANSWERS TO SELECTED EXERCISES 527
11.
y = ( t + C ) et .
Details
Return
528 ORDINARY DIFFERENTIAL EQUATIONS
12.
y = Cesin t
Details
Return
ANSWERS TO SELECTED EXERCISES 529
13.
y = t ln(t) + 2t.
Details
Return
530 ORDINARY DIFFERENTIAL EQUATIONS
14.
y = tet .
Details
Return
ANSWERS TO SELECTED EXERCISES 531
15.
y = t2 .
Return
Details
532 ORDINARY DIFFERENTIAL EQUATIONS
16.
y = cos(3t)e4t + e4t .
Return
Details
ANSWERS TO SELECTED EXERCISES 533
17.
y = 5t3 ln t + t3 .
Return
Details
534 ORDINARY DIFFERENTIAL EQUATIONS
18.
y = (2/3t + 1/3)3/2 .
Return
Details
ANSWERS TO SELECTED EXERCISES 535
19.
2 /2+3t
y = 2 + 2et .
Return
Details
536 ORDINARY DIFFERENTIAL EQUATIONS
20.
y = 2.
Return
Details
ANSWERS TO SELECTED EXERCISES 537
21.
q
y = 2 2+t + 2 22+ t
t .
(2 t )
Return
Details
538 ORDINARY DIFFERENTIAL EQUATIONS
22.
t2
y = t2 + e 2 .
Return
Details
ANSWERS TO SELECTED EXERCISES 539
23.
30 ln 2
ln 3 years.
Return
Details
540 ORDINARY DIFFERENTIAL EQUATIONS
24.
53 years.
Return
Details
ANSWERS TO SELECTED EXERCISES 541
25.
1844 years.
Return
Details
542 ORDINARY DIFFERENTIAL EQUATIONS
26.
y = 171
(cos(4t) + 4 sin(4t)) + Cet ; the solution with C = 0 is the
stable periodic solution.
Return
Details
ANSWERS TO SELECTED EXERCISES 543
27.
28.
1.5
0.5
-0.5
-1
-1.5
-2 -1 0 1 2 3
Return
ANSWERS TO SELECTED EXERCISES 545
29.
1.5
0.5
-0.5
-1
-1.5
-2 -1 0 1 2 3
Details
Return
546 ORDINARY DIFFERENTIAL EQUATIONS
30.
-3 -2 -1 0 1 2 3 4
Return
ANSWERS TO SELECTED EXERCISES 547
31.
0
-3 -2 -1 0 1 2 3 4
Details
Return
548 ORDINARY DIFFERENTIAL EQUATIONS
32.
Details
Return
ANSWERS TO SELECTED EXERCISES 549
33.
34.
y = ln(t C ).
Details
Return
ANSWERS TO SELECTED EXERCISES 551
35.
t
y = 1+CeCet , with a singular solution, y 1.
Details
Return
552 ORDINARY DIFFERENTIAL EQUATIONS
36.
37.
38.
y = tan(ln 1 + t2 + C ).
Details
Return
ANSWERS TO SELECTED EXERCISES 555
39.
y = ( t + C )2 , with a singular solution Y 0.
Details
Return
556 ORDINARY DIFFERENTIAL EQUATIONS
40.
41.
Details
Return
558 ORDINARY DIFFERENTIAL EQUATIONS
42.
Details
Return
ANSWERS TO SELECTED EXERCISES 559
43.
- r r -
12 0
y = 12 is stable. y(t) 21 .
Details
Return
560 ORDINARY DIFFERENTIAL EQUATIONS
44.
- r - r r r r r r r r r r r
0 2 3 4 5 6 7 8 9 10
45.
46.
- r
5
3
47.
- r
0 1
48.
- r
0 1
49.
y0
If y0 = 1y then y00 = y2 . Thus the signs of y0 and y00 are opposite.
Details
Return
566 ORDINARY DIFFERENTIAL EQUATIONS
50.
51.
52.
h Y (h)
0.1 0.423
(a)
0.05 0.440
0.025 0.448
(b) Z (h1 ) = 2Yh2 Yh1 .
(c) Z0.1 = 0.456638, and Z0.05 = 0.455814.
Details
Return
ANSWERS TO SELECTED EXERCISES 569
53.
54.
55.
x = A et , y = A et
Return
Details
572 ORDINARY DIFFERENTIAL EQUATIONS
57.
59.
x = e2t (t + 1 + C ), y = e2t (t 1 + C ).
Return
Details
574 ORDINARY DIFFERENTIAL EQUATIONS
61.
y0 = v
v0 = 3v 4y + t2
Return
Details
ANSWERS TO SELECTED EXERCISES 575
63.
u0 = v
t2
v 0 = 1+
uv
Return
Details
576 ORDINARY DIFFERENTIAL EQUATIONS
65.
1 1
x= , y = t2 Ct + D, where C, D are constants.
t+C 2
Return
Details
ANSWERS TO SELECTED EXERCISES 577
67.
69.
1 2 3/2
x = t2 + C, y = De 3 (t +C) , where C and D are constants.
Return
Details
ANSWERS TO SELECTED EXERCISES 579
71.
73.
1 2 3 4
-1
-2
Return
Details
ANSWERS TO SELECTED EXERCISES 581
75.
1 2 3 4 5 6
-1
-2
-3
-4
-5
-6
Return
Details
582 ORDINARY DIFFERENTIAL EQUATIONS
77.
0.5
1 2 3 4
-0.5
-1
Return
Details
ANSWERS TO SELECTED EXERCISES 583
79.
-2 -1 1 2
-2
-4
Return
Details
584 ORDINARY DIFFERENTIAL EQUATIONS
81.
1.5
0.5
-0.5
-1
-1.5
-2 -1 0 1 2 3
Return
Details
ANSWERS TO SELECTED EXERCISES 585
83.
1.5
0.5
-0.5
-1
-1.5
-2 -1 0 1 2 3
Return
Details
586 ORDINARY DIFFERENTIAL EQUATIONS
85.
1 1 -1
-0.5
1 00.5
0.5
0 1
-0.5
-1
0.5 0.5 6
4
1 2 3 4 5 6 -1 -0.5 0.5 1
-0.5 -0.5 2
-1 0
-1
(a)
ANSWERS TO SELECTED EXERCISES 587
6 0 2 -5 0
-2 5
4 2
2 1 10
2 4 6 8 10 12 -6 -4 -2 2 4 6
-2 -1 5
-4 -2
0
-6
(b)
588 ORDINARY DIFFERENTIAL EQUATIONS
6 6 -5
5-2.502.5
2.5
0 5
4 4 -2.5
2 10
2
5
-5 -2.5 2.5 5 7.5 10 12.5 -4 -2 2 4 6
-2 0
-2 -5
-4
-4
(c)
ANSWERS TO SELECTED EXERCISES 589
1.5 1.5 0
5
1 1 10
4
0.5 0.5
2
-2 -1 1 2 3 4 -1 1 2 3 0
-0.5 -0.5 -2
1
0
-1 -1 -1
(d)
Return
Details
590 ORDINARY DIFFERENTIAL EQUATIONS
1.
y(1) 0.841471076.
Return
Details
ANSWERS TO SELECTED EXERCISES 591
3.
0.5
-1 -0.5 0.5 1
-0.5
-1
(a)
1.5
0.5
-1 1 2 3 4
-0.5
-1
(b) i.
592 ORDINARY DIFFERENTIAL EQUATIONS
0.5
-1 -0.5 0.5 1
-0.5
-1
ii.
1
-1
-2
-3
-4
iii.
Return
Details
ANSWERS TO SELECTED EXERCISES 593
5.
The blue curve in the following graph is the actual solution, and the
black curve is the Euler approximation using step size 0.05.
300
200
100
-2 -1 1 2
-100
-200
-300
Return
594 ORDINARY DIFFERENTIAL EQUATIONS
7.
Return
Details
ANSWERS TO SELECTED EXERCISES 595
9.
0.4
0.2
92 94 96 98 100
-0.2
-0.4
(a)
0.04
0.02
-0.02
-0.04
(b)
596 ORDINARY DIFFERENTIAL EQUATIONS
0.01
0.005
-0.005
(c) -0.01
Return
ANSWERS TO SELECTED EXERCISES 597
1.
x-nullcline: (0.0).
y-nullclines: y = x.
Stationary point: (0, 0).
10
7.5
2.5
-5
-7.5
-10
Return
Details
598 ORDINARY DIFFERENTIAL EQUATIONS
3.
-3 -2 -1 1 2 3
-2
Return
Details
ANSWERS TO SELECTED EXERCISES 599
5.
-4 -3 -2 -1 1 2 3 4
-1
-2
-3
-4
Return
Details
600 ORDINARY DIFFERENTIAL EQUATIONS
7.
x-nullcline: y = 2 x.
y-nullcline: y = x.
Stationary point: (1, 1).
4
-4 -3 -2 -1 1 2 3 4
-1
-2
-3
-4
Return
Details
ANSWERS TO SELECTED EXERCISES 601
9.
F ( x, y) = 2x 1/2 y + 2x1/2 .
Return
Details
602 ORDINARY DIFFERENTIAL EQUATIONS
11.
F ( x, y) = 5 ln x 3 ln y.
Return
Details
ANSWERS TO SELECTED EXERCISES 603
13.
y3
F ( x, y) = x2 y + 3.
Return
Details
604 ORDINARY DIFFERENTIAL EQUATIONS
15.
dy
= f ( x, y); y( x0 ) = y0 .
dx
Return
ANSWERS TO SELECTED EXERCISES 605
17.
d2 x
Set y = dx
dt and y0 = dt2
. Then the system
x 0 = y; y(t0 ) = y0
y0 = f (t, x, y); x (t0 ) = x0
replaces the given ODE. Let g(t, x, y) = y, then f (t, x, y) and g(t, x, y)
satisfy Lipschitz conditions. By the existence and uniqueness theo-
rems there is a unique solution of the system. Thus there is a unique
solution of the IVP.
Return
606 ORDINARY DIFFERENTIAL EQUATIONS
19.
1
x0 = ( a g(t, x, y) c f (t, x, y))
ad bc
1
y0 = (d f (t, x, y) b g(t, x, y))
ad bc
If the functions f (t, x, y), g(t, x, y) are continuous and satisfy a Lips-
1 1
chitz condition then ad bc ( ag ( t, x, y ) c f ( t, x, y )) and adbc ( d f ( t, x, y )
bg(t, x, y)) are continuous and satisfy a Lipschitz condition. Thus by
the existence and uniqueness theorems the system has a unique solu-
tion with the initial conditions.
Return
ANSWERS TO SELECTED EXERCISES 607
1.
a
(a) b.
(b) The strategy is ineffective.
(c) Wait until there are d pests.
Return
Details
608 ORDINARY DIFFERENTIAL EQUATIONS
3.
x 0 = k1 x (4000 4x y)
y0 = k2 y(12000 7x 8y)
The phase portrait has the configuration (d) of Figure 2.19. The tri-
angles ABC and CDE in the figure below are traps, and orbits within
these triangles converge to the point C = (800, 800).
4000 A
3000
2000
B
1000
C
D E
500 1000 1500 2000
Return
Details
ANSWERS TO SELECTED EXERCISES 609
5.
1500
1000
500
7.
x 0 = x [( a R) by]
0 R
y = cy x d + .
c
1.
1
x = tet , y = e t (1 t )
.
Return
Details
612 ORDINARY DIFFERENTIAL EQUATIONS
2.
Return
Details
ANSWERS TO SELECTED EXERCISES 613
3.
Return
Details
614 ORDINARY DIFFERENTIAL EQUATIONS
4.
v2
f (y) dy is an integral for the system y0 = v, v0 = f (y).
R
F (y, v) = 2 +
v2
(a) F (y, v) = 2 2 cos(y).
v2 2 y2
(b) F (y, v) = 2 + 2 .
v2
(c) F (y, v) = 2 2 y 1 .
Return
Details
ANSWERS TO SELECTED EXERCISES 615
5.
(a) y0 = v, v0 = y
(b) y0 = v, v0 = v t2 sin(y)
Return
Details
616 ORDINARY DIFFERENTIAL EQUATIONS
6.
Return
Details
ANSWERS TO SELECTED EXERCISES 617
7.
F ( x, y) = yx2 + 2y2 x
Return
Details
618 ORDINARY DIFFERENTIAL EQUATIONS
8.
Return
Details
ANSWERS TO SELECTED EXERCISES 619
9.
(a) x 0 = x + y 2, y0 = x 3y + 2.
(b) x 0 = y x, y0 = y x3 .
Return
Details
ANSWERS TO SELECTED EXERCISES 621
10.
Return
Details
622 ORDINARY DIFFERENTIAL EQUATIONS
11.
(a)
(b)
(c)
ANSWERS TO SELECTED EXERCISES 623
Return
624 ORDINARY DIFFERENTIAL EQUATIONS
12.
Both the linear and nonlinear versions are shown: the linear version
is in black; the nonlinear version in blue. The bottom figure is an
enlargement of the region inside the rectangle in the top figure, and
shows more detail.
0.2
0.1
5 10 15 20
-0.1
-0.2
Return
ANSWERS TO SELECTED EXERCISES 625
1.
3.
a b
(a) EA = .
0 0
a 0
(b) AE = .
c 0
(c) b = c = 0. In other words, A must be a diagonal matrix.
Return
Details
ANSWERS TO SELECTED EXERCISES 627
5.
3 2
Let A = . Then the matrix equation ~v0 = A~v is equivalent
1 7
to the given system.
Return
Details
628 ORDINARY DIFFERENTIAL EQUATIONS
7.
x 0 1 0
~v0 = A~v + ~b where ~v = x 0 , A = 0 0 1 , and ~b =
x 00 t
2e t sin t
0
0 .
tan t
Return
Details
ANSWERS TO SELECTED EXERCISES 629
9.
x 3t 1 t 1
= C1 e + C2 e , where C1 , C2 are constants.
y 1 1
Return
Details
630 ORDINARY DIFFERENTIAL EQUATIONS
11.
x = e2t , t = 2e3t
Return
Details
ANSWERS TO SELECTED EXERCISES 631
13.
x = e3t + et , y = e3t et .
Return
Details
632 ORDINARY DIFFERENTIAL EQUATIONS
15.
x 1, y 1.
Return
Details
ANSWERS TO SELECTED EXERCISES 633
17.
t 1
e
1
Return
Details
634 ORDINARY DIFFERENTIAL EQUATIONS
19.
x t 1 2t 3
= 8e + 5e .
y 1 2
Return
Details
ANSWERS TO SELECTED EXERCISES 635
21.
Put t = 0 and see that the vectors ~v1 (0) and ~v2 (0) are linearly inde-
pendent.
Return
Details
636 ORDINARY DIFFERENTIAL EQUATIONS
23.
t2 + 3t + 1
.
2t2 + 8t + 1
Return
Details
ANSWERS TO SELECTED EXERCISES 637
25.
et
cosh(t)
t +2
sinh(t) et
Return
Details
638 ORDINARY DIFFERENTIAL EQUATIONS
27.
y0
0 1 y 0
= +
v0 q(t) p(t) v r (t)
Return
Details
ANSWERS TO SELECTED EXERCISES 639
1.
0 1
Eigenvalues: s1 = 4 and s2 = 1. Eigenvalues: ~b1 = and
1 0
Return
Details
640 ORDINARY DIFFERENTIAL EQUATIONS
3.
1
Eigenvalues: s1 = 4 and s2 = 1; eigenvectors: ~b1 = and
5
~b2 = 1 .
0
Return
Details
ANSWERS TO SELECTED EXERCISES 641
5.
7.
9.
t 1 4t 2
c1 e + c2 e
1 1
Return
Details
644 ORDINARY DIFFERENTIAL EQUATIONS
11.
1 t
c1 + c2
0 1
Return
Details
ANSWERS TO SELECTED EXERCISES 645
13.
3t 1 t 1
c1 e + c2 e
1 1
Return
Details
646 ORDINARY DIFFERENTIAL EQUATIONS
15.
2t t
~v = e
1t
Return
Details
ANSWERS TO SELECTED EXERCISES 647
17.
19.
0 1
The coefficient matrix of the system is A = ; its charac-
q p
teristic equation is s2 + ps + q = 0.
Return
Details
ANSWERS TO SELECTED EXERCISES 649
1.
1
(2 i )
5
Details
Return
650 ORDINARY DIFFERENTIAL EQUATIONS
3.
1 3 1 3 1 3 1 3
1, + i , +i , 1, i , and + i .
2 2 2 2 2 2 2 2
Details
Return
ANSWERS TO SELECTED EXERCISES 651
5.
|e+i | = e |ei | = e .
Return
Details
652 ORDINARY DIFFERENTIAL EQUATIONS
7.
t/2 c1 sin(t/2) + c2 cos(t/2)
e
c1 cos(t/2) + c2 sin(t/2)
Details
Return
ANSWERS TO SELECTED EXERCISES 653
9.
(c1 + c2 ) cos(4t) + (c2 c1 ) sin(4t)
c1 cos(4t) + c2 sin(4t)
Details
Return
654 ORDINARY DIFFERENTIAL EQUATIONS
11.
(a) Verify that the conjugate of a product (or sum) of complex num-
bers is the product (or sum) of the conjugates of these numbers.
Apply this when conjugating the equation A~b = s~b, noting that
since A has real entries, A = A.
(b) Because s is complex, s 6= s.
(c) Since ~b and ~b are linearly independent, ~h and ~k must also be lin-
early independent.
(d) The real part and the imaginary part of a complex-valued solu-
tion of v0 = Av are themselves solutions of the system when A
is a matrix with real entries.
Details
Return
ANSWERS TO SELECTED EXERCISES 655
1.
et e2t
X (t) =
et e2t
Return
Details
656 ORDINARY DIFFERENTIAL EQUATIONS
3.
2 cos(4t) 2 sin(4t)
X (t) =
cos(4t) + 2 sin(4t) sin(4t) 2 cos(4t)
Return
Details
ANSWERS TO SELECTED EXERCISES 657
5.
et e2t et
(a) ~v(t) = ~c +
et e2t et
et e2t tet
(b) ~v(t) = ~c +
et e2t tet
et e2t (t2 /4 t/2 1/2)et
(c) ~v(t) = ~c +
et e2t (t2 /4 t/2 1/2)et
Return
Details
658 ORDINARY DIFFERENTIAL EQUATIONS
7.
2 cos(4t) 2 sin(4t)
~v(t) = ~c
cos(4t) + 2 sin(4t) sin(4t) 2 cos(4t)
16t cos(4t) 8t sin(4t) cos(4t) 2 sin(4t)
+
20t sin(4t) 52 cos(4t)
Return
Details
ANSWERS TO SELECTED EXERCISES 659
9.
7
(a) 2 t .
1
2t
t3 ln |t|
(b) .
t3 ln |t|
Return
Details
660 ORDINARY DIFFERENTIAL EQUATIONS
11.
(X C )0 = X 0 C = A(t)(X C ).
Return
ANSWERS TO SELECTED EXERCISES 661
13.
1.
1 2 1 3
1 t 2t 6t
1 2
0 1 t 2t
e At =
0 0 1 t
0 0 0 1
Return
Details
ANSWERS TO SELECTED EXERCISES 663
3.
1 i 1 j
e A eB = ( A )( B )
i =0
i! j =0
j!
1 1
= i! Ai j! B j
i =0 j =0
1
= i!j! Ai B j
i =0 j =0
k
1
= i!(k i)! Ai Bki
k =0 i =0
k
1 k!
= k! i!(k i)! Ai Bki .
k =0 i =0
k
k!
( A + B)k = i!(k i)! Ai Bki .
i =0
Return
664 ORDINARY DIFFERENTIAL EQUATIONS
5.
t 1 1 0 t 2
A(t) = , dA/dt = . Thus A(t) dA/dt = ,
0 2t 0 2 0 4t
t 1
but dA/dt A(t) = .
0 4t
Return
ANSWERS TO SELECTED EXERCISES 665
7.
0 0 ac
A2 = 0 0 0 , and Ak = 0 for k 3.
0 0 0
1 a t b t + 21 ac t2
(a) e At = 0 1 ct
0 0 1
(bt + 21 act2 )et
t
e ate t
9.
cos(t) + sin(t) sin(t)
Return
2 sin(t) cos(t) sin(t)
Details
ANSWERS TO SELECTED EXERCISES 667
11.
!
cos 2t 2sin 2t 2 sin
2t
e At = et Return
3 sin 2t
2
cos 2t + 2 sin 2t
Details
668 ORDINARY DIFFERENTIAL EQUATIONS
13.
1 2t 2t
2t 1 + 2t
Return
Details
ANSWERS TO SELECTED EXERCISES 669
15.
1 t 2t + 12 t2
0 1 t
0 0 1
Return
Details
670 ORDINARY DIFFERENTIAL EQUATIONS
17.
Return
Details
ANSWERS TO SELECTED EXERCISES 671
19.
1 2t
x = e + c1 (1 + 2t) c2 t
2
y = e2t + 4c1 + c2 (1 2t).
Return
Details
672 ORDINARY DIFFERENTIAL EQUATIONS
21.
t2 00 tN (N) t N +1
g( x + t) = g( x ) + t g0 ( x ) + g (x) + + g (x) + g ( N +1) ( ).
2! N! ( N + 1) !
(etD f )( x ) = f ( x + t).
Return
ANSWERS TO SELECTED EXERCISES 673
1.
( t + 1) e t tet
0
tet et tet 0
0 0
e t
Return
Details
674 ORDINARY DIFFERENTIAL EQUATIONS
3.
5.
7.
Return
ANSWERS TO SELECTED EXERCISES 677
9.
e2t
0 0 0
0 cos 2t 2 sin 2t 0
e At =
0 1
.
2 sin 2t cos 2t 0
0 0 0 et
Return
Details
678 ORDINARY DIFFERENTIAL EQUATIONS
11.
1 2t 1 2t
e2t 1
2 (3 e ) 2 ( e 1)
e At = 1 2t
2 ( e 1)
1 2t
2 (3 e ) 1 e2t .
1 e2t 2t
e 1 2e2t 1
Return
Details
ANSWERS TO SELECTED EXERCISES 679
13.
e At =
cos t + 3 sin t 3 cos t 3et 11 sin t
2 sin t 4 cos t 3et 6 sin t
et
2 sin t 4 cos t 4et 6 sin t
2 sin t 4 cos t 4et 6 sin t
4(et cos t) + 8 sin t 6tet cos t et + 6tet
4(et cos t) 4 sin t 6tet cos t et + 6tet
5et 4 cos t + 4 sin t 8tet cos t et + 8tet
Return
Details
680 ORDINARY DIFFERENTIAL EQUATIONS
15.
1
~v = t 1 .
1
Return
Details
ANSWERS TO SELECTED EXERCISES 681
1.
1 3t 1 t 1 1
x= e + e , y = e3t et .
2 2 2 2
Details
Return
682 ORDINARY DIFFERENTIAL EQUATIONS
2.
Please notice that answers are not unique; in fact none of the answers
below is equal to the matrix exponential. (It would be correctand
easierto compute e At in each case.)
cos(3t) 3 sin(3t) sin(3t) + 3 cos(3t)
(a)
5 cos(3t) 5 sin(3t)
et sin(t) et cos(t)
(b)
et cos(t) et sin(t)
t
2e 2tet
(c)
0 et
e 2e2t 92 e3t
t
Details
Return
ANSWERS TO SELECTED EXERCISES 683
3.
1 1 1 1 + sin(2t)
x = + sin(2t) cos(2t) ln
2 2 4 cos(2t)
+ C1 [2 sin(2t) cos(2t)] + C2 [sin(2t) + 2 cos(2t)]
1 1 + sin(2t)
y = cos(2t) ln + C1 cos(2t) + C2 sin(2t)
4 cos(2t)
Return
Details
684 ORDINARY DIFFERENTIAL EQUATIONS
4.
e At = V E(t) V 1 .
Return
Details
ANSWERS TO SELECTED EXERCISES 685
5.
6.
1.
E.
Return
Details
688 ORDINARY DIFFERENTIAL EQUATIONS
3.
I.
Return
Details
ANSWERS TO SELECTED EXERCISES 689
5.
F.
Return
Details
690 ORDINARY DIFFERENTIAL EQUATIONS
7.
L.
Return
Details
ANSWERS TO SELECTED EXERCISES 691
9.
A.
Return
Details
692 ORDINARY DIFFERENTIAL EQUATIONS
11.
D.
Return
Details
ANSWERS TO SELECTED EXERCISES 693
C
A B
F
D E
I
G H
L
K
J
694 ORDINARY DIFFERENTIAL EQUATIONS
13.
Degenerate system:
-4 -2 2 4
-2
-4
Return
Details
ANSWERS TO SELECTED EXERCISES 695
15.
17.
-3 -2 -1 1 2 3
-1
-2
-3
Return
Details
ANSWERS TO SELECTED EXERCISES 697
19.
-3 -2 -1 1 2 3
-2
-4
Return
Details
698 ORDINARY DIFFERENTIAL EQUATIONS
21.
-3 -2 -1 1 2 3
-1
-2
-3
Return
Details
ANSWERS TO SELECTED EXERCISES 699
23.
2.5
-4 -2 2 4
-2.5
-5
-7.5
Return
Details
700 ORDINARY DIFFERENTIAL EQUATIONS
25.
This phase portrait is a saddle; the stable line is y = 5x, and the
unstable line is y = x.
3
-3 -2 -1 1 2 3
-1
-2
-3
Return
Details
ANSWERS TO SELECTED EXERCISES 701
27.
Return
Details
702 ORDINARY DIFFERENTIAL EQUATIONS
29.
Details
704 ORDINARY DIFFERENTIAL EQUATIONS
31.
cx + dy
s1 < < s2
ax + by
cx + dy
In the region where < s1 the slope v when the
ax + by
orbit crosses the line ax + by = 0 with a vertical tangent; then the
sign of v changes and the slope will decrease from , converging
to s2 as t .
If the system (4.20) has just one stationary point s1 , then the sys-
tem (4.19) has a double eigenvalue. The slope of each orbit is
decreasing, but changes sign as it crosses the line ax + by = 0
with a vertical tangent. Hence the slope converges to s1 both as
t and as t +!
(f) Again we will assume that b > 0. If the equation (4.20) has no
stationary points, then the system (4.18) has no real eigenvalues.
The orbits will be either clockwise ellipses (if the eigenvalues are
purely imaginary) or clockwise spirals. In either case, the slope
will be decreasing until the orbit assumes a vertical direction,
and then, as the orbit turns farther, the slope will decrease again
until a vertical direction is assumed again. The slope changes
from + to twice in each revolution about the origin.
Return
Details
706 ORDINARY DIFFERENTIAL EQUATIONS
33.
D.
Return
Details
ANSWERS TO SELECTED EXERCISES 707
35.
B.
Return
Details
708 ORDINARY DIFFERENTIAL EQUATIONS
37.
A.
Return
Details
ANSWERS TO SELECTED EXERCISES 709
1.
3.
5.
0
0
Unstable. Here is an unbounded solution: v = e3t
1 .
1
712 ORDINARY DIFFERENTIAL EQUATIONS
7.
0
0
Unstable. Here is an unbounded solution: v = et
1 .
1
ANSWERS TO SELECTED EXERCISES 713
9.
t cos(t)
cos(t) + t sin(t)
Unstable. Here is an unbounded solution: v = Rev1 (t) = .
0
0
714 ORDINARY DIFFERENTIAL EQUATIONS
13.
1.
The repelled set consists of the fourth quadrant, and the points of the
first quadrant that lie below repelled set (part of the separatrix) of the
stationary point (2, 1).
Return
Details
716 ORDINARY DIFFERENTIAL EQUATIONS
3.
-4 -3 -2 -1 1 2 3 4
-2
-4
Return
Details
ANSWERS TO SELECTED EXERCISES 717
5.
-4 -3 -2 -1 1 2 3 4
-2
-4
Return
Details
718 ORDINARY DIFFERENTIAL EQUATIONS
7.
The stationary points are the origin, and all points on the circle of
radius 1, centered at the origin. The origin is neutrally stable. The
points on the circle are unstable.
1.5
0.5
-0.5
-1
-1.5
Return
Details
ANSWERS TO SELECTED EXERCISES 719
9.
-3 -2 -1 1 2 3
-1
-2
-3
Return
Details
720 ORDINARY DIFFERENTIAL EQUATIONS
11.
The seven stationary points are (0, 0) (asymptotically stable), ( 10, 0)
(saddle points with the x-axis as unstable separatrices), (3, 1) (un-
stable), and (1, 3) (saddle points).
4
-4 -2 2 4
-1
-2
-3
-4
Return
Details
ANSWERS TO SELECTED EXERCISES 721
13.
There are two stationary points, (0, 0) (a saddle with stable separatrix
on the y-axis and unstable separatrix on the y-axis) and (1, 1) (eigen-
values are i). There is an integral: F ( x, y) = x + y ln | x y| defined
except on the axes; F has a local minimum at (1,1), confirming that
this stationary point is a center.
2
1.5
0.5
-0.5
-1
Return
Details
722 ORDINARY DIFFERENTIAL EQUATIONS
15.
-2 2 -2 2
-2 -2
Return
Details
ANSWERS TO SELECTED EXERCISES 723
17.
The unit circle minus the point (1, 0) is an orbit contained in both the
attracted and repelled set of (1, 0). Because the repelled set contains
points near (1, 0), this stationary point is unstable. The attracted set
contains the entire plane, except the origin. Thus all points inside a
circle of radius 12 centered at (1, 0) are attracted to (1, 0); it is therefore
asymptotically stable.
Return
Details
724 ORDINARY DIFFERENTIAL EQUATIONS
1.
There are four stationary points, including the origin, (K, 0) on the x-
axis, and (0, L) on the y-axis. If BC < 1 the fourth stationary point is
a stable node in the first quadrant, and if BC > 1 the fourth stationary
point is in the third quadrant, where it is not of interestpopulations
cant be negative.
1
In the phase portraits shown below, ( B, C ) = 2, and ( B, C ) =
3
2
2, , respectively. The other parameters are the same for both:
3
( a, d, K, L) = (0.05, 0.05, 2, 1).
8 8
6 6
4 4
2 2
2 4 6 8 10 12 14 2 4 6 8 10 12 14
Return
Details
ANSWERS TO SELECTED EXERCISES 725
3.
(a) (C d < 0) The small carrying capacity for the prey means that
there will never be enough prey in this environment to support
the predators. In the phase portrait that follows, the parameters
have been set as to be ( A, C, b, c, d) = (0.5, 1500, 1, 0.125, 2000)
500
400
300
200
100
(b) ( Ad
4c > C d > 0) There is an asymptotically stable stationary
point in the first quadrant, representing equilibrium populations
of each species. Their populations will converge directly to these
numbers. In the phase portrait that follows, the parameters have
been set to be ( A, C, b, c, d) = (0.5, 1500, 1, 0.125, 1000)
500
400
300
200
100
Ad
(c) When C d > 4c the stationary point in the first quadrant is a
726 ORDINARY DIFFERENTIAL EQUATIONS
400
300
200
100
Return
Details
ANSWERS TO SELECTED EXERCISES 727
1.
No.
Return
Details
728 ORDINARY DIFFERENTIAL EQUATIONS
3.
5.
a
U ( x ) = x2 .
2
Potential Phase Portrait
Return
Details
730 ORDINARY DIFFERENTIAL EQUATIONS
7.
U (x) = x
Potential Phase Portrait
Return
Details
ANSWERS TO SELECTED EXERCISES 731
9.
1 3
U (x) = x
3
Potential Phase Portrait
Return
Details
732 ORDINARY DIFFERENTIAL EQUATIONS
11.
U ( x ) = x4
Potential Phase Portrait
Return
Details
ANSWERS TO SELECTED EXERCISES 733
13.
U ( x ) = | x3 |
Potential Phase Portrait
Return
Details
734 ORDINARY DIFFERENTIAL EQUATIONS
15.
x
U (x) =
x2 +1
Potential Phase Portrait
Return
Details
ANSWERS TO SELECTED EXERCISES 735
17.
1
U ( x ) = cos( x ) + x
2
Potential Phase Portrait
Return
Details
736 ORDINARY DIFFERENTIAL EQUATIONS
19.
1
U ( x ) = cos( x ) + x2
Potential Phase Portrait
Return
Details
ANSWERS TO SELECTED EXERCISES 737
1.
b 2 1
L( x, y) = a( x + y) + (4ac b2 )y2
2a 4a
If b2 4ac < 0, and a > 0, then L( x, y) > 0 for ( x, y) 6= (0, 0). There-
fore L( x, y) is positive definite.
Converse: Assume L( x, y) is positive definite. Then L(e, 0) = ae2
must be positive; hence a > 0. Aslo
so 4ac b2 > 0.
Return
Details
738 ORDINARY DIFFERENTIAL EQUATIONS
3.
5.
7.
9.
11.
13.
15.
17.
19.
21.
r 0 = r 3 (1 r 2 )
0 = 1
1.5
0.5
-0.5
-1
-1.5
-2
Return
Details
748 ORDINARY DIFFERENTIAL EQUATIONS
23.
2 10
-2 -1 1 2 -2 -1 1 2
-2 -10
-4 -20
Return
Details
ANSWERS TO SELECTED EXERCISES 749
25.
1 1
S= 2 4
1 3
4 4
Return
Details
0 ORDINARY DIFFERENTIAL EQUATIONS
2.
(i) order 1
(ii) This equation is an ODE
SOLUTIONS MANUAL 1
4.
(i) order 1
(ii) This equation is an ODE
2 ORDINARY DIFFERENTIAL EQUATIONS
6.
(i) order 1
(ii) This equation is an ODE
SOLUTIONS MANUAL 3
8.
(i) order 1
(ii) This equation is an ODE
4 ORDINARY DIFFERENTIAL EQUATIONS
10.
(i) order 2
(ii) This equation is a PDE for there are two independent variables:
x and y.
SOLUTIONS MANUAL 5
12.
(i) order 3
(ii) This equation is an ODE
6 ORDINARY DIFFERENTIAL EQUATIONS
Return
SOLUTIONS MANUAL 7
16.
2 2 2 2
If y = Cet then y0 = Cet (2t) = 2t Cet = 2ty, therefore y = Cet
2
is a solution of the ODE. Substitute t = 0, y = 3 in y = Cet : we get
2
C = 3,therefore the solution of the IVP is y = 3et .
Return
8 ORDINARY DIFFERENTIAL EQUATIONS
dy
2t + 2y = 0.
dt
Divide by 2 to obtain yy0 + t = 0. Return
SOLUTIONS MANUAL 9
3. Let c denote the relative growth rate (the birth rate minus the
death rate). Our model is y0 = 1000 c
y; y(t + 25) = 2y(t), where t 0.
c
The general solution of the ODE is y = Ce 1000 t , so y(0) = C, 2C =
c c
2y(0) = y(25) = Ce 1000 25 . Therefore, 2 = e 40 so c = 40 ln 2 = 27.726.
Return
12 ORDINARY DIFFERENTIAL EQUATIONS
12
10
-4
-6
-8
-10
-12
-14
Return
16 ORDINARY DIFFERENTIAL EQUATIONS
2 4 6 Return
SOLUTIONS MANUAL 17
7.
1.25
0.75
0.5
0.25
-1 -0.5 0.5 1
Return
24 ORDINARY DIFFERENTIAL EQUATIONS
9.
80
60
40
20
-2 -1 1 2
-20
-40
Return
SOLUTIONS MANUAL 25
15. While the turkey is in the oven, we will use the IVP dTdt = k ( T
A(t)); T (0) = 20 as our model, where T is the temperature in C, and
A(t) = 160 is the ambient temperature. The first step is to find the
general solution of the ODE, dT 0
dt = k ( T 160), or T + kT = 160k.
The homogeneous solution is Th = ekt . Substitute T = vekt ; af-
ter cancelling this results in ekt v0 = 160k, or v0 = 160kekt . Integra-
tion yields v = 160ekt + C, and hence T = ekt v = 160 + Cekt . To
evaluate the parameters C and k, we need to use the data. Substi-
tuting the initial condition T (0) = 20, 20 = 160 + Ce0 , we find that
C = 140. Now substitute the other constraint that was given: t = 5,
and T = 85: 85 = 160 140e5k . It follows that e5k = 0.62415. Taking
logarithms, k = ln(0.62415) 0.12483.
Once the turkey is removed from the oven, we will use the IVP dT dt =
k( T A(t)) = 0.12483( T A(t)); T (0) = 85 as our model, where
T is the temperature in C, and A(t) = 20 is the ambient tempera-
ture. The first step is to find the general solution of the ODE, dT dt =
0
0.12483( T 20), or T + 0.12483T = 20k. The homogeneous solu-
tion is Th = e0.12483t . Substitute T = ve0.12483t ; after cancelling this
results in e0.12483t v0 = 20 0.12483, or v0 = 20 0.12483 e0.12483t .
Integration yields v = 20e0.12483t + C, and hence T = e0.12483t v =
20 + Ce0.12483t . To evaluate the parameters C, we need to use the
data. Substituting the initial condition T (0) = 85, 85 = 20 + Ce0 ,
we find that C = 65. Thus T (t) = 20 + 65e0.12483t . So T (0.5) =
20 + 65e0.124830.5 = 81 C. The assumptions are that the transmis-
sion coefficient in the oven is the same as that outside the oven, and
that there are no other sources of heat.
Return
28 ORDINARY DIFFERENTIAL EQUATIONS
21. We use the model: T 0 (t) = k [ T (t) A(t)] + mH (t), with A(t) =
0, k = 0.04, and
1 if 0 t < 4
0 if 4 t < 5
mH (t) = 1 if 5 t < 9
..
.
T 0 + 0.04T = mH (t)
is not constant, because the furnace does cycle on and off. First note
that Tp is stable, because if T (t) is any other solution then y = T Tp
satisfies the ODE y0 = .04y; hence y = Ce0.04t 0.
Let f 1 (t) be the solution of the IVP
and
f 2 (t) = 20.39 e.04(t1)
1 5
Z 4 Z 5
1
Z
Tp (t) dt = f 1 (t) dt + f 2 (t) dt
5 0 5 0 4
1 1 1
= 100 + 5.411(e(.04)4 1) 20.39(e.04 1)
5 .04 .04
= 19.72 C.
15
10
2 4 6 8 10 12 14
Return
32 ORDINARY DIFFERENTIAL EQUATIONS
23.
it is not stable.
(e) The associated homogeneous equation is y0 + y = 0, and we can
take yh = et . Substitute y = vet yields v0 = et et sin t = sin t.
Thus v = cos t + C and the general solution is the family y =
et cos t + Cet , and there is no periodic solution.
Return
SOLUTIONS MANUAL 33
25.
C (0.498753) e0.1 t cos(2. t) + (0.0249377) e0.1 t sin(2. t)
(a) +
e(0.1) t e(0.1) t
(b) Substitute y = eK(t) in the homogeneous equation y0 + 2ty = 0,
to get K 0 (t)eK(t) + 2teK(t) = 0. Cancel eK(t) to obtain k0 (t) = 2t,
2
so K (t) = t2 . Thus y = et is a solution of the associated
2
homogeneous equation. Put y = vet in the original equation
to obtain
d 2 2
(v et ) + 2t vet = 1
dt
2
Use the product rule and simplify to obtain v0 et = 1, so v0 =
2
et . It follows that Z
2
v = et dt.
2
Z
2
Erfi(t) = et dt.
Return
34 ORDINARY DIFFERENTIAL EQUATIONS
(Si(t) + C ) csc(t)
where Si(t) is
R 1a special function. You can see by solving this ODE
that Si(t) = t sin(t) dt. If C 6= 0, this solution would be undefined
at t = 0.
10
7.5
2.5
-3 -2 -1 1 2 3
-2.5
-5
-7.5
-10
Return
SOLUTIONS MANUAL 35
17.5
15
12.5
10
7.5
2.5
Return
36 ORDINARY DIFFERENTIAL EQUATIONS
ln 2 1
y0 = y y + 100 = 100 p y,
8 16
100 100
= 42 ppm.
16 p 2 ln 2 + 1
Return
38 ORDINARY DIFFERENTIAL EQUATIONS
5. Let y(t) denote the amount of quinine in the tank with time t.
Our model will be the ODE y0 = 10000+(1000 1000900)t
y = 10010+t y. The
initial value will be the amount of quinine now in the tank: y(0) =
10000 0.01% = 1. The ODE is homogeneous and linear, so y =
( 10010+t dt)
R
Ce = Ce10 ln(100+t) = C (100 + t)10 . Substituting y(0) = 1
t 10
we find C = 10010 . Therefore y(t) = 10010 (100 + t)10 = (1 + 100 ) .
To find when the accident occurred, set y(t) = 4. We get t = 100(40.1
1) = 12.9449, so at worst the quinine was introduced about 13 hours
ago.
Return
SOLUTIONS MANUAL 39
7. Let y(t) denote the amount of antibiotic drug at time t. Our model
is the ODE y0 = 0.5 3+(0.50.25
0.25)t
y. The homogeneous solution is
0.25
R
y = e 3+0.25t dt = 3+0.25t
1 1
. Substitute y = v 3+0.25t ; after canceling this
1 0 0
results in 3+0.25t v = 0.5, or v = 0.5(3 + 0.25t) = 1.5 + 0.125t. Integra-
1 2
1 2 1.5t+ t +C
tion yields v = 1.5t + 16 t + C, and hence y = 3+0.25t
16
. Substituting
7
y(0) = 0, we find C = 0, so y(4) = 4 , and after the transfusions stop
the amount of drug is 74 + 0.5 2 = 11 4 . The concentration of drug is
11
11
4
3+4(0.50.25)+0.52
= 20 = 0.55 grams per liter.
Return
40 ORDINARY DIFFERENTIAL EQUATIONS
9. let x (t) and y(t) denote the amounts of salt in tanks A and B,
respectively, at time t. Then x 0 = 0.2 0.2
3 x + 1 y. Since x ( t ) + y ( t ) =
x ()) = 0.36,, we can replace y with .36 x. Then, after simplifying,
4
x 0 = 154
x + 0.072. The homogeneous solution is x = e 15 t . Substitute
4 4
x = ve 15 t ; after cancelling this results in e 15 t v0 = 0.072, or v0 =
4 4 4
0.072e 15 t . Integration yields v = 0.072 154 e
15 t + C = 0.27e 15 t + C,
4
and hence x (t) = 0.27 + Ce 15 t . Substitute x (0) = 3.6, get C = 0.09.
4
Then y(t) = 0.36 x (t) = 0.09 0.09e 15 t . The concentration in tank
4
A is x (t)/3 = 0.09 + 0.03e 15 t , and the concentration in tank B is
4
y(t) = 0.09 0.09e 15 t .
Return
SOLUTIONS MANUAL 41
11. Let y(t) denote the funds available in the retirement account
at time t. Then y0 = 6%y 30000e3%t , The homogeneous solution
is yh = e0.06t . Substitute y = ve0.06t ; after canceling this results in
e0.06t v0 = 30000e0.03t , or v0 = 30000e0.03t . Integration yields v =
1000000e0.03t + C, and hence y = e0.06t v = 1000000e0.03t + Ce0.06t . If
C < 0, as t , y , so C 0, and y(0) = 1000000 + C
1,000,000.
Return
42 ORDINARY DIFFERENTIAL EQUATIONS
d(t + 20)
N 0 (t) = N (t)
1000
since at time t everyone in the sample is t + 20 years old.
Substitute N (t) = C eK(t) and d(t + 20) = 0.82e0.061(t+20) in the ODE
and simplify to obtain
K 0 (t) = 0.00082e0.061(t+20) .
y3 y0 + 3y2 = sin(t),
or,
1
v0 + 3 v = sin(t)
2
The associated homogeneous equation is v0 6v = 0, and we can take
vh = e6t . Substituting v = ue6t yields
1
u0 e6t = sin(t),
2
so
1 6t
Z
u = 2 e6t sin(t) dt = e [2 cos(t) + 12 sin(t)] + C
37
1
Since v = ue6t , the general solution is the family v = 37 (2 cos t +
12 sin t) + Ce6t . Therefore
1
y = ( (2 cos t + 12 sin t + Ce6t ))1/2
37
37
=
2 cos t + 12 sin t + Ce6t
Return
SOLUTIONS MANUAL 45
1.
dy 2 2
+5
(a) The right side of dt = t ty = t+ 5 1
t y can be expressed as the
product of two single-variable functions, therefore the ODE is
separable.
dy y
(b) The right side of dt = t = y 1t can be expressed as the product
of two single-variable functions,therefore the ODE is separable.
dy
(c) The ODE dt = ety , is not separable, because ety cant be factored
as the product of a function of t and a function of y.
dy 2 2 2 2
(d) The right side of dt = e(t +y ) = et ey can be expressed as
the product of two single-variable functions, therefore the ODE
is separable.
dy
(e) The right side of dt = cot y depends only on y, therefore the
ODE is separable.
t+y t+y
(f) The ODE y0 = ty is not separable, because ty cant be factored
as the product of a function of t and a function of y.
Return
SOLUTIONS MANUAL 47
(a) Substitute v(1) = 0.8 in v = ebt , and solve for b. Thus, 0.8 =
eb , and therefore b = ln(0.8) = 0.223 kg/sec.
ln(0.5)
(b) Substituting v = 0.5 in v = eln(0.8)t , we obtain t = ln(0.8)
= 3.106
seconds.
(c) To obtain the distance s, integrate the velocity. Thus,
Z 1
0.2
s= eln(0.8)t dt = = 0.8963 meters.
0 ln(0.8)
Return
48 ORDINARY DIFFERENTIAL EQUATIONS
15. Since h(y) = y2 1 has two zeros, y = 1, there are two constant
dy
solutions y 1, and y 1. The separated equation is y2 1 = t dt.
y 1
Integrating both sides, we get a family of implicit solutions, 12 ln y+1 =
+ C1 . Take the exponential of both sides to obtain yy 1
1 2 t 2
2t +1 = Ce ,
where C is a constant, and choose the plus sign since it is in accord
with the initial condition. Substitute y(0) = 0 we obtain 1 = Ce0 ;
y 1 2
therefore C = 1 and the particular solution is y+1 = et . Hence
t2
y = e +t2 1 .
1+ e
Return
54 ORDINARY DIFFERENTIAL EQUATIONS
v + 14.7
v ln( ) = 39.2.
v 14.7
17 18 19 20 21 22
-2
-4
-6
-8
-10
Return
SOLUTIONS MANUAL 55
g 2
v0 = v + g,
v2
dv
v2
= g dt,
1+ v2
v
Integrating both sides, we have v arctan v = gt + C. Substitut-
ing v(0) = v0 , we find
v0
C = v arctan ,
v
Thus
Z 0
H = (v2 /g) v
tan(s) ds
0 )
arctan( v
v2
= ln(sec(arctan(v0 /v )))
g
q
2 2
v v0 + v
2
= ln .
g v
(b) We have seen that the time taken to reach that height is
v | v0 |
T1 = arctan .
g v
(c) When the ball falls downward, we have the initial value problem
mg
mv0 = 2 v2 + mg; v(0) = 0.
v
Dividing through by m, we obtain
v2
0
v = g 1 2 .
v
The separated equation is
dv
v2
= g dt,
1 v2
or q
v2 v2 v20 + v2
ln cosh( gT2 /v )) = ln
g g v
It follows that
q
v v20 + v2
T2 = cosh1
g v
s
2
v v0
= cosh1 + 1
g v
q
The identity cosh( x ) = sinh2 ( x ) + 1 can now be used to see
that
1 | v 0 |
v
T2 = sinh
g v
The time taken to return the ground is T1 + T2
(d) The velocity when the ball hits the ground is
1 | v 0 |
V = v tanh( gT2 /v ) = v tanh sinh
v
Now refer to the hyperbolic identity
sinh(u) sinh(u)
tanh(u) = =q .
cosh(u)
sinh2 (u) + 1
It follows that
|v0 |/v
V = v p
(|v0 |/v )2 + 1
(b) the time taken to reach that height equal limv ( vg arctan |vv0 | ) =
v0
g
58 ORDINARY DIFFERENTIAL EQUATIONS
(c) the time taken to return to the ground equal limv ( T1 + T2) =
2v0
g
(d) the velocity when the ball hits the ground is limv ( |v02|v 2 ) =
v0 + v
| v0 |
Return
SOLUTIONS MANUAL 59
1. P
y ( x, y )= 5 and Qx ( x, y ) = 5 so theRequation is exact. The inte-
gral F ( x, y) will have the form F ( x, y) = (2x + 5y + 3) dx + H (y) =
x2 + 5xy + 3x + H (y). To determine H (y), differentiate this expres-
dH
sion with respect to y: F y = 5x + dy . Since y = Q ( x, y ) = 5x
F
dH
4y + 2, it follows that 5x + dy = 5x 4y + 2. After cancelling, we
dH
obtain dy = 4y + 2. Therefore H (y) = 2y2 + 2y, and the integral
is F ( x, y) = x2 + 5xy + 3x 2y2 + 2y.
Return
SOLUTIONS MANUAL 61
Q
3. P
y ( x, y )
= 2y and x ( x, y ) = 2y 1; therefore the exactness con-
dition does not hold.
Return
62 ORDINARY DIFFERENTIAL EQUATIONS
5. P
= 3e3x (ln y 1) + 3e3x = 3e3x ln y and Q
y ( x, y )
3x
x ( x, y ) = 3e ln y
so
R the equation is exact. The integral F ( x, y) will have the form F ( x, y) =
3e3x y(ln y 1) dx + H (y) = e3x y(ln y 1) + H (y). To determine
3x
H (y), differentiate this expression with respect to y: F y = e (ln y
dH dH
1) + e3x + dy = ln y(e3x ) + dy . Since F
y = Q( x, y) = ln y(e3x y),
dH
it follows that ln y(e3x ) + dy = ln y(e3x y). After cancelling, we ob-
dH y2 y2 ln y
tain dy = y ln y. Therefore H (y) = 4 2 , and the integral is
y2 y2 ln y
F ( x, y) = e3x y(ln y 1) + 4 2 .
Return
SOLUTIONS MANUAL 63
7. P
= 2xy and Q
y ( x, y ) x ( x, y ) = 2xy so the equation is exact. The
integral F ( x, y) will have the form F ( x, y) = x ( x + y2 1) dx +
2
R
4 x 2 y2 2
H (y) = x4 + 2 x2 + H (y). To determine H (y), differentiate this
2 dH
expression with respect to y: F F
y = yx + dy . Since y = Q ( x, y ) =
dH
y( x2 + y2 + 1), it follows that yx2 + dy = y( x2 + y2 + 1). After can-
dH y4 y2
celling, we obtain dy = y3 + y. Therefore H (y) = 4 + 2, and the
4 x 2 y2 x2 y4 y2
integral is F ( x, y) = x4 + 2 2 + 4 + 2 .
Return
64 ORDINARY DIFFERENTIAL EQUATIONS
y x +yy 2xy Q x x +y x
y ( x, y ) = 2 x +y ( x +y)2 = ( x +y)3 and x ( x, y ) = 2 x +y ( x +y)2 =
P
9.
2xy
( x + y )3
; so the equation is exact. The integral F ( x, y) will have the form
2
y2
R y
F ( x, y) = 1+ x +y dx + H (y) = x x+y + H (y). To determine
y2 +2xy
H (y), differentiate this expression with respect to y: F y = ( x +y)2 +
2 2
dH x
dy = x +y 1 + dH F
dy . Since y = Q ( x, y ) =
x
x +y 1, it follows
2 2
that x+x y 1 + dH dy = x +y
x
1. After cancelling, we obtain dH dy =
y2
0. Therefore H (y) = 0, and the integral is F ( x, y) = x x +y .
Return
SOLUTIONS MANUAL 65
11.
P
= 6x + 18y and Q
y ( x, y ) x ( x, y ) = 6x + 18y; so the equation is ex-
2
R
act. The integral F ( x, y) will have the form F ( x, y) = (3x + 6xy +
9y2 ) dx + H (y) = x3 + 3yx2 + 9y2 x + H (y). To determine H (y), differ-
2 dH
entiate this expression with respect to y: F y = 3x + 18xy + dy . Since
dH
F
y = Q( x, y) = 3x2 + 18xy + 51y2 , it follows that 3x2 + 18xy + dy =
dH
3x2 + 18xy + 51y2 .
After cancelling, we obtain dy= 51y2 .
Therefore
H (y) = 17y , and the integral is F ( x, y) = x + 3yx + 9y x + 17y3 .
3 3 2 2
Return
66 ORDINARY DIFFERENTIAL EQUATIONS
Q
13. P
y ( x, y )
= 2x and x ( x, y ) = 2x; therefore the exactness condi-
tion does not hold.
Return
SOLUTIONS MANUAL 67
[m( x )( x2 + xy2 + 1)] = [m( x )(2y)]
y x
m( x )(2xy) = m0 ( x )(2y).
m0 ( x )
= x.
m( x )
2 x2
Now we can integrate: ln(|m( x )|) = x2 + C. Therefore m = e 2 is an
integrating factor. After multiplying the equation by this integrating
factor, we have the exact equation
x2 x2
e 2 ( x2 + xy2 + 1) dx + 2e 2 y dy = 0.
x2
Since its easier to integrate Q( x, y) = 2e 2 y with respect to y than it
is to integrate P( x, y) with respect to x, set
x2 x2
Z
F ( x, y) = 2e 2 y dy + K ( x ) = y2 e 2 + K ( x ).
x2 x2
Then F
y = 2e 2 y. Since F
x = xy2 e 2 + K 0 ( x ),
x2 x2
xy2 e 2 + K 0 ( x ) = e 2 ( x2 + xy2 + 1),
x2 x2
and K 0 ( x ) = e 2 ( x2 + 1). A final integration shows that K ( x ) = xe 2
x2 x2
and so F ( x, y) = y2 e 2 + xe 2 .
Return
68 ORDINARY DIFFERENTIAL EQUATIONS
[m( x )( x2 + 2x + 2xy + 2y + 3y2 )] = [m( x )(2x + 6y)]
y x
m0 ( x ) 2x + 6y
= = 1.
m( x ) 2x + 6y
Then F
y = (2x + 6y)e x . Since F
x = 2xye x + 2ye x + 3y2 e x + K 0 ( x ),
Then F
x = 2xy3 . Since F
y = 3x2 y2 + K 0 (y),
[m(y) P( x, y)] = [m(y) Q( x, y)]
y x
m0 (y)
1 Q P
=
m(y) P( x, y) x y
1 Q
Therefore P(x,y ) x
P
is independent of x.
y
1 Q
(ii) If R(y) = P(x,y ) x
P
y is independent of x, let
1
R Q
x y
P
dy
R
R(y) dy
m(y) = e =e P( x,y)
[m( x )[ p( x )y q( x )]] = m( x )
y x
m ( x ) p ( x ) = m 0 ( x ).
m0 ( x )
= p ( x ).
m( x )
R
Now
R
we can integrate: ln(|m( x )|) = p( x ) dx + C. Therefore m =
e p(x) dx is an integrating factor.
Return
72 ORDINARY DIFFERENTIAL EQUATIONS
1.
SOLUTIONS MANUAL 73
9.
(a) y2 = y1 + y1 = 1, y3 = y2 + y2 = 2, y4 = y3 + y3 = 3, and
ym = m 1.
(b) y2 = y1 + y1 = 2, y3 = y2 + y2 = 4, y4 = y3 + y3 = 8, and
y m = 2m 1 .
(c) y2 = y1 + y1 = C + kC = (k + 1)C, y3 = y2 + y2 = (k + 1)2 C,
y4 = y3 + y3 = (k + 1)3 C, and ym = (k + 1)m1 C.
(d) y2 = y1 + y1 = 0 + 0 + 1 = 2 1, y3 = y2 + y2 = 4 1,
y4 = y3 + y3 = 8 1, and ym = 2ym1 + 1 = 2m1 1
Return
SOLUTIONS MANUAL 75
11.
Return
76 ORDINARY DIFFERENTIAL EQUATIONS
10
Return
SOLUTIONS MANUAL 77
For h = 0.5,
y1 = 0 + 0.5 (0 + 0) = 0
y2 = 0 + 0.5 (0.5 + 0) = 0.25
E(0.5) = |(1) y2 | = 0.46828
For h = 0.25,
y1 = 0 + 0.25 (0 + 0) = 0
y2 = 0 + 0.25 (0.25 + 0) = 0.0625
y3 = 0.0625 + 0.25 (0.5 + 0.0625) = 0.203125
y4 = 0.203125 + 0.25 (0.75 + 0.203125) = 0.441406
E(0.25) = |(1) y4 | = 0.276874.
In the following graph, the horizontal axis represents the time step h
and the vertical axis gives the approximation error. It shows that the
error decreases as h decreases; in fact the error seems to be decreasing
78 ORDINARY DIFFERENTIAL EQUATIONS
0.6
0.5
0.4
0.3
0.2
0.1
Return
SOLUTIONS MANUAL 79
Each solution m (t), which we will use to quantify the errors, satisfies
cos(t)+sin(t)
initial conditions (tm ) = ym , so m (t) = 2 +1
+ Cm et
where the constant Cm is determined by
cos(tm ) + sin(tm )
ym = + Cm etm
2 + 1
cos(tm )+sin(tm ) tm
Thus Cm = (ym + 2 +1
)e and
cos(t) + sin(t) cos(tm ) + sin(tm ) ttm
m (t) = 2
+ (ym + )e
+1 2 + 1
In particular
cos(t)+sin(t)
1 (t) = 2 +1
+ 0.269425et0.25 ,
cos(t)+sin(t)
2 (t) = 2 +1
+ 0.268776et0.5 ,
cos(t)+sin(t)
3 (t) = 2 +1
+ 0.331653et0.75 ,
Therefore we obtain:
LE1 = (0.25) y1 = 0.101691
LE2 = 1 (0.5) y2 = 0.0771727
LE3 = 2 (0.75) y3 = 0.013463
LE4 = 3 (1) y4 = 0.0506145
and:
AE1 = (0.5) 1 (1) = 0.130573
AE2 = (0.75) 2 (1.5) = 0.266751
AE3 = (1) 3 (2) = 0.359802
Return
80 ORDINARY DIFFERENTIAL EQUATIONS
19.
y1 = 9 1 = 9
y2 = 9 (9) = 81
y3 = 9 (81) = 729
y4 = 9 (729) = 6561
y5 = 9 6561 = 59049
y6 = 9 (59049) = 531441
y7 = 9 531441 = 4.78297e 106
y8 = 9 (4.78297 106 ) = 4.30467 107
y9 = 9 4.30467 107 = 3.8742 108
y10 = 9 (3.8742 108 ) = 3.48678 109
Obviously it diverges.
(b) Write the difference equation in recursive form as ym+1 = ym +
h(100ym ) = (1 100h)ym . When |1 100h| < 1, ym 0. Thus,
the solution of the difference equation converges for 0 < h <
0.02.
Return
SOLUTIONS MANUAL 81
21.
p
(a) In the forward version, using ym+1 = ym + 1 y2mp , ym even-
tually increases to a value bigger than 1, and then 1 y2m is
undefined which causes the calculation to terminate.
n yn Error: sin(tn ) yn
0+0.1 1.0102
1 1.01 = 0.0995037 0.000329698
0.0995037+0.1 1.010.09950372
2 1.01 = 0.197533 0.00113599
0.197533+0.1 1.010.197533 2
3 1.01 = 0.29314 0.00237993
0.29314+0.1 1.010.29314 2
4 1.01 = 0.385415 0.00400371
0.385415+0.1 1.010.385415 2
5 1.01 = 0.473494 0.00593122
0.473494+0.1 1.010.473494 2
6 1.01 = 0.556574 0.00806836
0.556574+0.1 1.010.556574 2
7 1.01 = 0.633914 0.0103033
0.633914+0.1 1.010.633914 2
8 1.01 = 0.70485 0.012506
0.70485+0.1 1.010.70485 2
9 1.01 = 0.768799 0.0145278
0.768799+0.1 1.010.768799 2
10 1.01 = 0.825273 0.0161984
0.825273+0.1 1.010.825273 2
11 1.01 = 0.873886 0.0173217
0.873886+0.1 1.010.873886 2
12 1.01 = 0.914373 0.0176661
0.914373+0.1 1.010.9143732
13 1.01 = 0.946611 0.0169473
0.946611+0.1 1.010.9466112
14 1.01 = 0.970657 0.0147923
0.970657+0.1 1.010.9706572
15 1.01 = 0.986832 0.0106628
0.986832+0.1 1.010.9868322
16 1.01 = 0.99589 0.00411033
0.99589+0.1 1.010.995892
17 1.01 = 0.999388 0.000612076
0.999388+0.1 1.010.9993882
18 1.01 = 0.999982 1.76663 105
0.999982+0.1 1.010.9999822
19 1.01 =1 0
1+0.1 1.0112
20 1.01 =1 0
Return
SOLUTIONS MANUAL 83
23. The constant solutions are y = 3. Notice that for 3 < y <
dy
3, the sign of y0 is positive. The separated equation is 2 = dt.
9 y
y
Integrating both sides we obtain arcsin( 3 ) = t + C. Therefore y =
3 sin(t + C ), where C is a constant is a solution for all values of t such
that y0 = 3 cos(t + C ) is positive. The solutions y = 3, not belonging
to this family, are singular solutions.
3
-1
-2
-3
-4 -2 0 2 4
Return
84 ORDINARY DIFFERENTIAL EQUATIONS
dy
25. The constant solution is y = 1. The separated equation is 1 y =
dt
2 t .Integrating both sides we obtain: ln |1 y| = ln |2 t| +
C1 , Therefore |1 y| = C |2 t|, where C = eC1 is a constant. The
solution y = 1, belongs to this family (when C = 0). There are no
singular solutions.
3.5
2.5
1.5
0.5
1 2 3 4 5 6
Return
SOLUTIONS MANUAL 85
2
7. The solution of associated homogeneous equation is yh = et .
2 2 2
Substitute y = vet to get v0 = tet . Thus v = 12 et + C, and the
2
general solution is the family y = 12 + Cet . Substituting y(0) = 12
2
yields C = 1. Therefore the solution of the IVP is y = 21 + et defined
on the largest interval containing t = 0 : (, +).
Return
SOLUTIONS MANUAL 89
11. The given IVP has a constant solution y = 1, just as in the previ-
ous Exercise. We have to prove that it is unique.
1 y
Write the ODE in the form y0 = f (t)
. Let > 0. On the interval
1 y | y1 y2 |
[, +], f (t) 6= 0. Let g(t, y) = f (t)
, then | g(t, y1 ) g(t, y2 )| = | f (t)|
1
K |y1 y2 |, K = max {| |, t
[, +]} Therefore g(t, y) is contin-
f (t)
uous and satisfies Lipschitz condition with respect to y on {(t, y) :
< t < +, < y < +}. By the uniqueness theorem the IVP
has a unique solution.
Return
SOLUTIONS MANUAL 91
13.
t
(i) f (t, y) = y2 + 1
is continuous in the plane. Thus we obtain t0 , y0
could be any pair of real numbers.
f
(ii) = (1+2tyy2 )2 is continuous in the plane. Thus we obtain
y ( t, y )
t0 , y0 could be any pair of real numbers.
Return
92 ORDINARY DIFFERENTIAL EQUATIONS
15.
y
(i) f (t, y) = sin t . is continuous if t 6= k. Thus we obtain t0 6= k,
where k is an integer.
f
(ii) = sin1 t is continuous if t 6= k. Thus we obtain t0 6= k.
y ( t, y )
k is an integer.
Return
SOLUTIONS MANUAL 93
17.
19.
3y 1
(i) f (t, y) =
ty
. is continuous if ty > 0. Thus we obtain t0 y0 > 0.
1/3
(ii)
f
= t(2y(
y ( t, y )
1)
ty)3/2
+ 3(y1)12/3 ty is continuous if ty > 0 and
y 6= 1 Thus we obtain t0 y0 > 0 and y0 6= 1.
Return
SOLUTIONS MANUAL 95
21.
f
23. y ( t, y ) = y continuous if |y| < 1, but not continuous
1 y2
p
on |y| = 1 This implies that f (t, y) = 1 y2 satisfies a Lipschitz
condition on the domain D if 1 < c and d < 1, but there is no
implication if either c = 1 or d = 1.
In the case d = 1 let y2 = 1 and y1 < 1. Then
q
1 y21
s
| f (t, y2 ) f (t, y1 )| 1 + y1
= = .
y2 y1 1 y1 1 y1
25. Our CAS found the following expression for the general solu-
tion, where a denotes the initial value y(0), and w( x ) = sin( x/2)
cos( x/2):
27.
(a) Suppose and are fixed by T . Then
k k = kT () T ()k C k k
and because 0 < C < 1, this inequality is impossible unless
k k = 0.
(b) By the triangle inequality,
2
and that (t) = et /2 .
iii. We have 0 = 0. Note that the sequence is thus given re-
Rtp
cursively by n+1 = 0 3 n (s) ds. Thus, if n = 0, then
n+1 = 0, too. It follows that = 0.
iv. The initial condition yields 0 = 1. Then
Z t
2
1 (t) = 1 + ds = 1 + 2 ln t
1 s
Z t
2 + 4 ln s
2 (t) = 1 + ds = 1 + 2 ln t + 2(ln t)2
1 s
2 + 4 ln s + 2(ln s)2
Z t
4
3 (t) = 1 + ds = 1 + 2 ln t + 2(ln t)2 + (ln t)3 .
1 s 3
One can deduce that
n
1
n (t) = m!
(2 ln t)m
m =0
Return
100 ORDINARY DIFFERENTIAL EQUATIONS
y
1. We use the equation: y0 = k y 1 M , where M = 1000. Write
1 k
it in separated form: dy = dt. Integration by partial
y) 1000
y(1000
1 y k
fractions yields ln = t + B, where B denotes
1000 1000 y 1000
the integration constant. This equation, solved for y, is y = 1+1000 Aekt
,
where A = e 1000B is a constant. Substituting y(0) = 300 for last year
and y(1) = 600 this year, we get 1 + A = 1000/300 and 1 + Aek =
1000/600. Solving these equations, we obtain A = 7/3, k = ln(3.5).
Thus y(t) = 1+ 71000
(3.5)t
, and y(2) = 1+ 71000
(3.5)2
= 840
3 3
Return
SOLUTIONS MANUAL 101
3.
Write the ODE in separated form: y(2001 y) dy = 0.02 dt. Integration by
1 y
partial fractions yields 200 ln 200y = 0.02t + B, where B denotes
the integration constant. This equation, solved for y, is y = 1+200
Ae4t
,
where A = e 200B is a constant. Substituting y(0) = 10, we get: 1 +
A = 200/10. Thus A = 19 and y(t) = 1+200 19e4t
.
Return
102 ORDINARY DIFFERENTIAL EQUATIONS
1v
p0 p1
p2 = p0 p1 2
= .
( p1 p0 ) v p1 v + p0 p0 ( p1 p0 ) v
M
7. Let P = 500 million. Solve 1+ Avt
= P to obtain
9. Let N (t) be the number of people who have been warned about
the sky. Then the number of people who have not heard the rumor
is 10000 N (t). The rumor will spread to another person in a given
call if one of the parties calling has not heard the rumor, and the other
has. The probability that caller A will spread the rumor to caller B
is equal to the product of the probability that caller A has heard the
N (t) N (t)
rumor, 10000 , and that caller B hasnt, 1 10000 . There are 100000 calls
per day; hence
N (10000 N ) N
N 0 = 100000 = 10N (1 ).
10000 10000 10000
Thus, the model that we will use is the logistic equation.
Solving we get N = 1+10000
Ae10t
, where A is a constant. Substituting
N (0) = 1000, we obtain A = 9. Let N (t) = 9000, we have 1 + 9e10t =
10
9 , 10t = ln(1/81) = 4.39. Thus it takes 0.439 day or = 10.536
hours to warn 90% of the population.
Return
SOLUTIONS MANUAL 105
M
11. The function f (y) = ky ln y is defined for y > 0 only, but
limy0 f (y) = 0. Thus we can say 0 is stationary. The other station-
ary point at M is verified because ln(1) = 0. If 0 < y < M then
ln( M/y) > 0 indicating the population is increasing; for y > M we
have ln( M/y) < 0 and the population is decreasing. Thus M is a sta-
ble stationary point and 0 is unstable.
Return
106 ORDINARY DIFFERENTIAL EQUATIONS
13. Let v = ln(y). In terms of v the data are v(0) = 0, v(1) = ln 2, and
v(2) = ln 3. The general solution the ODE v0 = k(ln( M) v) is v =
ln M + Cekt . From the data we get 0 = ln M + C, ln 2 = ln M + Cek ,
and ln 3 = ln M + Ce2k . By the first equation, C = ln( M ); hence
the second and third equations are
Divide the second of these equations by the first (cancelling ln( M)) to
obtain
1 p2
=
1 p
ln(3)
where p = ek and = ln(2)
. Since 1 p2 = (1 p)(1 + p) we have
1 + p = ,
dy
15. dt = ku(t)y(t). In a closed system, the number of total molecules
dy
is a constant C. Therefore u(t) + y(t) = C, and dt = ky(t)(C y(t)).
Its a logistic equation.
Return
108 ORDINARY DIFFERENTIAL EQUATIONS
17.
Return
SOLUTIONS MANUAL 109
- s -
0
Return
110 ORDINARY DIFFERENTIAL EQUATIONS
Return
SOLUTIONS MANUAL 111
23.
Return
112 ORDINARY DIFFERENTIAL EQUATIONS
25. If g0 (y1 ) < 0, there exists > 0 such that g0 (y) < 0 in (y1 , y1 +
), because g0 (y) is continuous. That means g(y) is strictly decreasing
in (y1 , y1 + ). Because g(y1 ) = 0, it follows that g(y) changes sign
from positive to negative at y = y1 Therefore (y1 , y1 ) is an up
interval, and (y1 , y + ) is a down interval; the phase diagram for the
ODE looks like this near y1 :
- s .
Thus y1 is stable.
If g0 (y1 ) > 0, the same reasoning shows that near y1 , the phase dia-
gram looks like this:
s - . Thus y1 is an unstable stationary point.
Return
SOLUTIONS MANUAL 113
27. Suppose the ODE is y0 = f (y). Then f (y) has a same station-
ary point as y0 = y2 at y 0, thus f (0) = 0. The two up inter-
vals (, 0), (0, +) for y0 = y2 is also the up intervals for f (y).
f (0+h) f (0)
therefore f 0 (0) = limh0 h = limh0 f (hh) 0, and f 0 (0) =
f (0h) f (0) f (h)
limh0 h = limh0 h 0, We obtain f 0 (0) = 0 and y 0
is a degenerate stationary point.
Return
114 ORDINARY DIFFERENTIAL EQUATIONS
29.
(a) The critical harvest rate is the maximum harvest rate that the
population can sustain without becoming extinct. Let f ( P) =
P(1 P) H = P2 + P H be the growth rate. The stationary
points are the roots of f ( P) = 0. By the quadratic formula,
for
1 14H
H < 0.25 there are two stationary points, P1 , P2 = 2 . The
phase diagram for this case is
s - s
P1 P2
s
0.5
H
0.25
Return
116 ORDINARY DIFFERENTIAL EQUATIONS
31.
0.0317447
(c) M = b/m = 0.000165504 = 191.806 million.
0.0317447
p(t) = .
0.000251038e0.0317447t + 0.000165504
SOLUTIONS MANUAL 117
250
200
150
100
50
Return
118 ORDINARY DIFFERENTIAL EQUATIONS
2. The associated
R homogeneous equation is y0 y = 0, and we can
take yh = e dt = et . Substitute y = vet yields v0 = t2 et . Thus
v = et (2 + 2t + t2 ) + C. Since y = vet , the general solution is the
family y = (2 + 2t + t2 ) + Cet .
Return
120 ORDINARY DIFFERENTIAL EQUATIONS
3. The associated
R homogeneous equation is y0 y = 0, and we can
take yh = e dt = et . Substitute y = vet yields v0 = 1 .general solution
Return
SOLUTIONS MANUAL 121
5. The associated
R homogeneous equation is y0 + y = 0, and we can
take yh = e dt = et . Substitute y = vet yields v0 = e2t . Thus
v = 12 e2t + C. Since y = vet , the general solution is the family y =
1 t t
2 e + Ce .
Return
SOLUTIONS MANUAL 123
5
R
10. y = Ce t dt = Ce5 ln t = Ct5
Return
128 ORDINARY DIFFERENTIAL EQUATIONS
13.
The associated homogeneous equation is ty0 y = 0, and we can
take yh = eln t = t. Substitute y = vt and y0 = v0 t + v in the inho-
mogeneous ODE to get v0 = t1 . Thus v = ln t + C Since y = vt, the
general solution is the family y = t ln t + Ct. To satisfy the initial con-
dition, set y = 2 and t = 1. This yields C = 2, and y = t ln t + 2t.
Return
SOLUTIONS MANUAL 131
14.
The associated homogeneous equation is y0 + y = 0, and we can take
yh = et . Substitute y = vet in the inhomogeneous ODE to get v0 =
1. Thus v = t + C Since y = vet , the general solution is the family
y = (t + C )et . To satisfy the initial condition, set y = 0 and t = 0.
This yields C = 0, and y = tet .
Return
132 ORDINARY DIFFERENTIAL EQUATIONS
20. The ODE is the same as in Exercise 19, so the general solution is
2
again y = 2 + Cet /2+3t . To satisfy the initial condition, set y = 2
and t = 0. This yields 2 = 2 + C, so C = 0 and y = 2.
Return
138 ORDINARY DIFFERENTIAL EQUATIONS
2y
21. The associated homogeneous equation is y0 4t2 = 0, and we
R 2 q q
dt 2+ t
can take yh = e 4t2 = e1/2 ln 2t = 2+ t
2 t . Substituting y = v 2+ t
2 t
0
q
2+ t 1 0 1
yields v 2t = 2t , and thus v = 2+t . Integrating, v = 2 2 + t +
q
C. Since y = v 22+ t 2+t
t , the general solution is the family y = 2 (2t) +
q
C 22+t
t
. To satisfy the initial condition, set y = 3 2 and t = 0. This
q
yields 3 2 = 2 2 + C, so C = 2 and y = 2 2+t + 2 22+ t
t .
(2 t )
Return
SOLUTIONS MANUAL 139
22.
The associated homogeneous equation is y0 + ty = 0, and we can
t2 t2 t2 t2
take yh = e 2 . Substitute y = ve 2 and y0 = v0 e 2 tve 2 in
t2
the inhomogeneous ODE to get v0 = (2t + t3 )e 2 . Thus v = (2t +
R
t2 t2 t2
t3 )e 2 dt = t2 e 2 + C Since y = ve 2 , the general solution is the family
t2
y = t2 + Ce 2 . To satisfy the initial condition, set y = 1 and t = 0.
t2
This yields 1 = C, so y = t2 + e 2 .
Return
140 ORDINARY DIFFERENTIAL EQUATIONS
23. Let y(t) denote the balance of the bank at time t, then y0 (t) = ky,
and y = Cekt (C is the balance at time 0). Substituting y(30) = 3C,
1
we obtain e30k = 3, and k = 30 ln 3. Thus y = C 3t/30 . To find the
doubling time, solve y(t) = 2C, or 3t/30 = 2. Thus t = 30 ln 2
ln 3 years.
Return
SOLUTIONS MANUAL 141
24. Let y(t) denote the population at time t, We use the ODE, y0 =
0.013y, so y = Ce0.013t (C is the population at time 0) Solving y(t) =
ln 2
Ce0.013t = 2C, we obtain t = 0.013 = 53 years.
Return
142 ORDINARY DIFFERENTIAL EQUATIONS
25. The fraction of C14 in wood from the tree, in ppb,is modelled
by the IVP y0 = ky; y(0) = 1. The general solution for the ODE is
y = Cekt . Substituting t = 0, y = 1 in y = Cekt , we get C = 1.
Because C14 has a half life of 5730 years, e5730k = 0.5, and therefore
ln(0.5)
k = 5730 = 0.000121. Solving y = e0.000121t = 0.8 for t, we obtain
ln 0.8
t = 0.000121 = 1844 years.
Return
SOLUTIONS MANUAL 143
it is stable.
Return
144 ORDINARY DIFFERENTIAL EQUATIONS
27. Let x (t) denote the amount (in kilograms) of salt in the tank. The
volume of brine in the tank starts at 1000 liters and increases at the
x (t)
rate of 100 liters per hour. Thus the concentration is C (t) = 1000+100t .
0
We will use the ODE, x (t) = JK LC (t) as our model. Substitut-
ing J = 200, K = 0.050, L = 100, and using the initial condition
x (0) = 100, we get x 0 (t) + 101+t x (t) = 10, The homogeneous solu-
1
R
tion is e 10+t dt = (10 + t)1 . Now we substitute x = v(10 + t)1
in the differential equation, and simplify to get v0 = 10(10 + t). In-
tegration yields v = 100t + 5t2 + C, where C is a constant. Since
+5t2 +C
x (t) = v(10 + t)1 , it follows that x (t) = 100t10 +t . Substituting
100t+5t2 +1000
x (0) = 100, we get C = 1000. Therefore x (t) = 10+t . Then
10010+5(10)2 +1000
x (10) = 10+10 = 125 kilograms, and the concentration of
125
the salt in the tank is 2000 = .0625 kilograms per liter, or 62.5 grams
per liter.
Return
SOLUTIONS MANUAL 145
28.
1.5
0.5
-0.5
-1
-1.5
-2 -1 0 1 2 3
146 ORDINARY DIFFERENTIAL EQUATIONS
1.5
0.5
-0.5
-1
-1.5
-2 -1 0 1 2 3
Return
148 ORDINARY DIFFERENTIAL EQUATIONS
30.
5
-3 -2 -1 0 1 2 3 4
SOLUTIONS MANUAL 149
y(2.5) = 4 + (0.5) (2 4) = 6
y(3) = 6 + (0.5) (2.5 6) =8.47474
y(3.5) = 8.47474 + (0.5) (3 8.47474) = 11.4303
y(4) = 11.4303 + (0.5) (3.5 11.4303) = 14.8708
5
0
-3 -2 -1 0 1 2 3 4
Return
150 ORDINARY DIFFERENTIAL EQUATIONS
32.
(a) The direction field will have positive slope only when 5t > y2 .
Direction field IV has this property.
(b) This ODE has constant solutions y = k, for integers k. Direction
field III is the only one with this property.
(c) The direction field for this ODE must be periodic in t when y
is constant, and periodic in y when t is constant. It is therefore
direction field II.
(d) This autonomous ODE has the constant solution 0, which is sta-
ble. It therefore corresponds to direction field VI.
(e) This autonomous ODE has constant solutions y = 0 (unstable)
and y = (stable). Therefore, the direction field is V.
(f) All solutions of this ODE are increasing; therefore all direction
field elements have nonnegative slope. Direction field I is the
only one with this property.
Return
SOLUTIONS MANUAL 151
39. Since h(y) = y has a zero y = 0, there is a singular solution
dy dt
y 0. The separated equation is
y =
t
.
Integrating both sides, we
get the family of solutions in implicit form, 2 y = 2 t + C1 . Thus
y = ( t + C )2 , where C = C1 /2 is a constant.
Return
158 ORDINARY DIFFERENTIAL EQUATIONS
40. Since h(y) = e4y has no zero, there are no singular solutions. The
separated equation is e4y dy = tan(3t)dt. Integrating both sides, we
4y
get the family of solutions in implicit form, e 4 = 31 ln | cos(3t)| +
C1 . Thus e4y = 43 ln | cos(3t)| + C where C = 4C1 is a constant.
Return
SOLUTIONS MANUAL 159
mg
41. Our model is the ODE mv0 = mg kv2 . Divide through by
3.5
5g kv2
m and simplify to obtain v0 = . With g = 9.8 m/s we have
7 m
kv2
5
7g = 7, v0 = 7 . so By solving v0 = 0 for v we obtain the terminal
r m
7m m
velocity, v = = 21. Thus = 63.
k k
v2
0
With this parameter, our model is v = 7 1 2 . The separated
21
dv 21 + v
equation is v2
= 7 dt. Integrating both sides, we have ln =
1 21 2
21 v
2
t + C. To evaluate C, set v(0) = 0: we find C = 0. In explicit form,
3
e2t/3 1
we have v = 21 2t/3 .
e +1
Z 10 2t/3
e 1
(a) 21 dt = 210.08 43.6683 = 166.4.meters.
1 + e2t/3
0
(b) v(10) 21, thus T = 10 + (1463 166)/21 = 10 + 62 = 72
seconds.
(c) Suppose that you throw the diamond vertically into the lake so
that its initial velocity after it is immersed in water is 42 me-
ters per second. Answer questions (a) and (b). We know that
21 + v 2 21 + v
ln | | = t + C. Thus = C1 e2t/3 , where C1 = eC .
21 v 3 21 v
(3e2t/3 + 1)
Substituting v(0) = 42, we obtain C1 = 3. Thus v = 21 2t/3 ,
3e 1
Z 10
(3e 2t/3 + 1)
and the distance travelled in 10 seconds is 21 2t/3
dt =
0 3e 1
236 meters. Also v(10) 21; thus T = 10 + (1463 236)/21 =
10 + 58.4 = 68.5 seconds.
Return
160 ORDINARY DIFFERENTIAL EQUATIONS
42.
y0
(a) In year A the relative growth rate was = 4500/100,000 =
y
y0
4.5%, and in year B = 8000/200,000 = 4%
y
y0 y
(b) According to the logistic equation, = k 1 . Substitute
y M
y0 100,000
= .045 and y = 100,000 to obtain .045 = k(1 ). With
y M
y0 200,000
= 0.04 and y = 200,000 we get 0.04 = k(1 ). Solving
y M
these two equations, we obtain M = 1,000,000 and k = 0.05.
y
(c) The general solution of the logistic equation y0 = k y 1
M
M 1,000,000
is y = . Thus y = . Substituting y(0) =
1 + Aekt 1 + Ae0.05t
1,000,000
100,000, we find A = 9. We can then solve 200,000 =
1 + 9e0.05t
to obtain t = ln(9/4)/0.05 16. Thus year B is 1980+16=1996.
Return
SOLUTIONS MANUAL 161
- r r -
12 0
Return
162 ORDINARY DIFFERENTIAL EQUATIONS
- r - r r r r r r r r r r r
0 2 3 4 5 6 7 8 9 10
Return
SOLUTIONS MANUAL 163
Return
164 ORDINARY DIFFERENTIAL EQUATIONS
- r
5
3
Return
SOLUTIONS MANUAL 165
- r
0 1
Return
166 ORDINARY DIFFERENTIAL EQUATIONS
48. The phase diagram is the same as in the previous exercise, but
now the initial point is in the down interval (, 0). Therefore y(t)
.
Return
SOLUTIONS MANUAL 167
y0
49. Differentiate both sides of y0 = 1
y to obtain y00 = y2 . Now replace
y0 with y1 to obtain the equation y00 = y3 . Thus when y < 0 the
solution graphs are decreasing (y0 < 0) and concave up (y00 > 0), and
when y > 0 the solution graphs are increasing (y0 > 0) and concave
down (y00 < 0).
Return
168 ORDINARY DIFFERENTIAL EQUATIONS
52.
..
.
y0.05 (1) = 0.400229 + (0.05) (0.95 (0.400229)2 ) = 0.43972,
..
.
y0.025 (1) = 0.427971 + (0.025) (0.975 (0.427971)2 ) = 0.447767.
(b) Multiply (2.46) by 2 and subtract from (2.45). Thus (1) 2Yh2
Yh1 . Thus Zh1 = 2Yh2 Yh1 .
SOLUTIONS MANUAL 171
53. There will be a solution unless y0 = 1, since that is the only point
on the y-axis where the right side is not continuous. To apply the
uniqueness theorem, we need a Lipschitz condition; this precludes
y0 = 1.
Return
SOLUTIONS MANUAL 173
54. By the uniqueness theorem, we only need to see that the right
side of the differential equation satisfies a Lipschitz condition; this in
turn can be shown by demonstrating that the partial derivative with
respect to y of the right side is continuous.
Return
174 ORDINARY DIFFERENTIAL EQUATIONS
d2 y
61. The ODE can be written as dt2
= 3 dy 2
dt 4y + t Set v =
dy
dt and
d2 y
v0 = dt2
. Then the system
y0 = v
v0 = 3v 4y + t2
d2 u 1+ t2 d2 u
63. The ODE can be written as dt2
= u du
Set v = du
dt and v0 = dt2
.
dt
Then the system
u0 = v
t2
v 0 = 1+
uv
replaces the given ODE.
Return
SOLUTIONS MANUAL 179
1 2 3 4
-1
-2
Return
184 ORDINARY DIFFERENTIAL EQUATIONS
1 2 3 4 5 6
-1
-2
-3
-4
-5
-6
Return
SOLUTIONS MANUAL 185
d2 y dy
77. The ODE can be written as dt2 = y3 Set v = dt and v0 = y3 .
Then the system
y0 = v
v 0 = y 3
replaces the given ODE.
t t2 + 1 t2 (t2 + 1)1/2
If y = t2 + 1, then y0 = and y00 = =
t2 + 1 t2 + 1
1
= y 3
(t + 1)3/2
2
The orbit of the solution corresponding to y = t2 + 1 is
p
2
t
(y, v) = t + 1, .
t2 + 1
s
2 t2 y2 1 1
To eliminate t, notice that v = 2 = . Hence v = 1 2 .
t +1 y2 y
As t , y and v 1, and when t , we have y
and v 1. The orbit in the y, v-plane is therefore directed upward
and to the right in the first quadrant, and asymptotic to v = 1.
0.5
1 2 3 4
-0.5
-1
Return
186 ORDINARY DIFFERENTIAL EQUATIONS
79.
d2 y t dy dy
The ODE can be written as dt2 = 2dt y0 y Set v = dt and v0 = y00 .
Then the system
y0 = v
v0 = 12 tv y
replaces the given ODE.
If y = t2 2, then y0 = 2t, and y00 = 2 = t2 (t2 2) = 12 t y0 y.
The orbit of the solution corresponding to y = t2 2 is (y, v) = (t2
2, 2t). Here we have v2 = 4y + 8, and as t , both y and v .
This orbit is therefore the parabola v2 = 4y + 8 directed upward.
4
-2 -1 1 2
-2
-4
Return
SOLUTIONS MANUAL 187
1.5
0.5
-0.5
-1
-1.5
-2 -1 0 1 2 3
Return
188 ORDINARY DIFFERENTIAL EQUATIONS
1.5
0.5
-0.5
-1
-1.5
-2 -1 0 1 2 3
Return
SOLUTIONS MANUAL 189
85.
190 ORDINARY DIFFERENTIAL EQUATIONS
(a)
1
0.5
1 2 3 4 5 6
-0.5
-1
0.5
-1 -0.5 0.5 1
-0.5
-1
Phase portrait
-1-0.5
1 0
0.5 0.5 1
0
-0.5
-1
6
Three-dimensional graph.
SOLUTIONS MANUAL 191
(b)
6
2 4 6 8 10 12
-2
-4
-6
Graphs of x (t) = 4(cos( 2t) + 2 sin( 2t)) and y(t) = 2 2 sin[( 2t).
-6 -4 -2 2 4 6
-1
-2
Phase portrait
2 -5
0
0
-2
5
10
Three-dimensional graph.
192 ORDINARY DIFFERENTIAL EQUATIONS
(c)
6
-2
-4
1
Graphs of x (t) = 12 (4 cos(t) + (4 + 6t) cos(2t) 3 sin(2t)) and
1
y(t) = 3 ((2 + (2 + 3 t) cos(t)) sin(t)).
6
-4 -2 2 4 6
-2
-4
Phase portrait
5 -5 -2.5
2.5 0
2.5
0 5
-2.5
10
-5
Three-dimensional graph.
SOLUTIONS MANUAL 193
(d)
1.5
0.5
-2 -1 1 2 3 4
-0.5
-1
Graphs of x (t) = 16 t3 and y(t) = 16 (3t2 t3 ).
1.5
0.5
-1 1 2 3
-0.5
-1
Phase portrait
0
10
4
-2
1
0
-1
Three-dimensional graph.
Return
194 ORDINARY DIFFERENTIAL EQUATIONS
3.
xx 0 + yy0 = e( x2 + y2 )( x2 + y2 1).
0.5
-1 -0.5 0.5 1
-0.5
-1
1.5
0.5
-0.5
-1
-1.5
(b) i. With (e, A) = (.25, 4), the orbit will spiral inward toward
and converge to the unit circle, which is stable because e <
0..
1.5
0.5
-1 1 2 3 4
-0.5
-1
ii. With (e, A) = (.25, .95) the orbit will spiral inward toward
and converge to the origin, which is stable, and away from
the circular orbit, which is unstable because e > 0.
SOLUTIONS MANUAL 197
0.5
-1 -0.5 0.5 1
-0.5
-1
iii. With (e, A) = (.25, 1.05) the orbit will spiral outward to in-
finity, and away from the circular orbit, which is unstable
because e > 0.
1
-1
-2
-3
-4
Return
198 ORDINARY DIFFERENTIAL EQUATIONS
5.
300
200
100
-2 -1 1 2
-100
-200
-300
Return
SOLUTIONS MANUAL 199
7.
-1
-2
-3
-4
(b) The roots are approximately 0.193, 1.027, 2.568, 4.900, 8.182, 12.734,
and 19.396. To locate them, start with a numerical solution of
y0 = f (y) 104 with initial condition y(0) = 10. You will find
that the graph of the solution rapidly converges to two asymp-
totes: y 8.18215 as t , and y 12.7342 as t +.
Now try the same experiment with initial condition y(0) = 4.
This locates two more asymptotes: y 4.90035 as t ,
and y 2.56788 as t +. Are there zeros between 4.90035
and 8.18215? To find out, find a solution with initial condition
between these values of y: we will take y(0) = 6. The solution
is a decreasing function converging to 8.19215 to the left, and
4.90035 to the right. Thus, there can be no zeroes between the
two values. Now try an initial condition y(0) = 1. This solution
converges to 1.02666 to the right, and 0.193044 to the left. Now
try a solution with y(0) = 0. The result is a decreasing func-
tion, converging to 0.193044 as t , and diverging to
as t . We have located 6 of the seven zeros. To locate the
last one, try a solution with y(0) = 15. This solution will be de-
creasing, with convergence to 19.3957 to the left and 12.7342 to
200 ORDINARY DIFFERENTIAL EQUATIONS
15
10
-4 -2 2 4
Return
SOLUTIONS MANUAL 201
9. The graphs shown in (a) and (c) are stable periodic solutions; the
solution shown was drawn by an IVP solver using arbitrary initial
conditions y(0) = 0, and then displaying a segment of the graph after
the transients have decayed. There is a periodic solution in (b), but
it is not stable, so we have to go backwards: The solution shown is
part of the graph of a solution calculated on the interval 15 t 0,
with initial condition y(0) = 0. Only the portion for 15 t 13
is displayed.
(a)
0.4
0.2
92 94 96 98 100
-0.2
-0.4
(b)
0.04
0.02
-0.02
-0.04
(c)
202 ORDINARY DIFFERENTIAL EQUATIONS
0.01
0.005
-0.005
-0.01
Return
SOLUTIONS MANUAL 203
7.5
2.5
-5
-7.5
-10
Return
204 ORDINARY DIFFERENTIAL EQUATIONS
-3 -2 -1 1 2 3
-2
Return
SOLUTIONS MANUAL 205
-4 -3 -2 -1 1 2 3 4
-1
-2
-3
-4
Return
206 ORDINARY DIFFERENTIAL EQUATIONS
-4 -3 -2 -1 1 2 3 4
-1
-2
-3
-4
Return
SOLUTIONS MANUAL 207
F ( x, y) = x 1/2 (y x ).
Return
208 ORDINARY DIFFERENTIAL EQUATIONS
d2 x
17. Set y = dx
dt and y0 = dt2
. Then the system
x 0 = y; y(t0 ) = y0
y0 = f (t, x, y); x (t0 ) = x0
replaces the given ODE. Let g(t, x, y) = y, then f (t, x, y) and g(t, x, y)
satisfy Lipschitz conditions. By the existence and uniqueness theo-
rems there is a unique solution of the system. Thus there is a unique
solution of the IVP.
Return
212 ORDINARY DIFFERENTIAL EQUATIONS
1
x0 = ( ag(t, x, y) c f (t, x, y))
ad bc
1
y0 = (d f (t, x, y) bg(t, x, y))
ad bc
If the functions f (t, x, y), g(t, x, y) are continuous and satisfy a Lip-
1
schitz condition then, provided that ad bc 6= 0, ad bc ( ag ( t, x, y )
1
c f (t, x, y)) and adbc (d f (t, x, y) bg(t, x, y)) are continuous and sat-
isfy a Lipschitz condition. Thus by the existence and uniqueness the-
orems the system has a unique solution with the initial conditions.
Return
SOLUTIONS MANUAL 213
1.
(a) For the Lotka Volterra equation the stable point is (d, ba ), Thus
the optimum number of predators to release is ba .
(b) The strategy is ineffective. For the solutions of the Lotka Volterra
equation are periodic functions of time with the same average
population d for pests and ba for predators. If the number of prey
is initially small, it will become even bigger at some other time.
(c) Wait until there are d pests.
Return
214 ORDINARY DIFFERENTIAL EQUATIONS
x 0 = k1 x (4000 4x y)
y0 = k2 y(12000 7x 8y)
The phase portrait has the configuration (d) of Figure 3.19. The tri-
angles ABC and CDE in the figure below are traps, and orbits within
these triangles converge to the point C = (800, 800).
4000 A
3000
2000
B
1000
C
D E
500 1000 1500 2000
Return
SOLUTIONS MANUAL 215
1500
1000
500
x 0 = x [( a R) by]
R
y0 = cy x d + .
c
Return
SOLUTIONS MANUAL 219
Return
220 ORDINARY DIFFERENTIAL EQUATIONS
Return
SOLUTIONS MANUAL 221
5.
Return
222 ORDINARY DIFFERENTIAL EQUATIONS
Return
SOLUTIONS MANUAL 223
8.
Return
SOLUTIONS MANUAL 225
9.
Return
SOLUTIONS MANUAL 227
Return
228 ORDINARY DIFFERENTIAL EQUATIONS
11.
(a)
(b)
(c)
SOLUTIONS MANUAL 229
Return
230 ORDINARY DIFFERENTIAL EQUATIONS
12. Both the linear and nonlinear versions are shown: the linear ver-
sion is in black; the nonlinear version in blue. The second figure is
an enlargement of the region inside the rectangle on left, and shows
more detail.
0.2
0.1
5 10 15 20
-0.1
-0.2
Return
SOLUTIONS MANUAL 231
3.
x0 = y
y0 = z
z0 = 2et x ty + (sin t)z + tan t,
or
x0
y
y0 = z .
z 0 t
2e x ty + (sin t)z + tan t
x 0 1 0
We can recast this as ~v0 = A~v +~b where ~v = x 0 , A = 0 0 1 ,
x 00 t
2e t sin t
0
and ~b = 0 .
tan t
Return
SOLUTIONS MANUAL 235
9.
1 3 1 2 1 2 1
~v10 (t) = 3e3t = e3t , and ~v1 = e3t =
1 3 2 1 2 1 1
1+2
e3t ; thus ~v1 (t) is a solution.
2+1
1
~v2 (t) is also a solution because ~v20 (t) = et , which is equal
1
1 2
to ~v2 (t).
2 1
We must verify that {~v1 (t), ~v2 (t)} is linearly independent. This is
1
done by noticing that ~v1 (0) = is not a scalar multiple of ~v2 (0) =
1
1
. Therefore, the general solution of the system is of the form:
1
x 3t 1 t 1
= C1 e + C2 e
y 1 1
13.
1
From Exercise 1 we know the general solution is ~v(t) = C1 e3t +
1
1
C2 et , and we need to determine values for the coefficients so
1
2 1 1 2
that ~v(0) = . We need to solve C1 + C2 = ,
0 1 1 0
which is equivalent to the pair of equations
C1 + C2 = 2
C1 C2 = 0
e + et
3t
x (t)
Thus C1 = C2 = 1, and =
y(t) e3t et
Return
238 ORDINARY DIFFERENTIAL EQUATIONS
3c1 + c2 = 1
c1 c2 = 1
x t 1
Thus c1 = 0, c2 = 1. The solution is = e .
y 1
Return
240 ORDINARY DIFFERENTIAL EQUATIONS
c1 + 3c2 = 7
c1 2c2 = 2
x t 1 2t 3
Thus c1 = 8, c2 = 5. The solution is = 8e + 5e .
y 1 2
Return
SOLUTIONS MANUAL 241
3 1
21. ~v1 (0) = and ~v2 (0) = are linearly independent;
1 1
thus the solutions are linearly independent.
Return
242 ORDINARY DIFFERENTIAL EQUATIONS
c1 + c2 = 1
2c1 = 1
t2
1 3 1 1 3 2t + 1
Thus c1 = 2 , c2 = 2 . The solution is 2 +2 =
2t 2t2 2 4t
t2 + 3t + 1
.
2t2 + 8t + 1
Return
SOLUTIONS MANUAL 243
c1 = 2
c2 = 2
x cosh t
Thus c1 = 2, c2 = 2. The solution is = (2 + t ) +
y sinh t
t
sinh t cosh(t) e
2 =t +2 .
cosh t sinh(t) et
Return
244 ORDINARY DIFFERENTIAL EQUATIONS
27. Let v = y0 . Then the linear second-order ODE (4.6) can be re-
placed with a linear system of first-order ODEs: y0 = v, v0 = q(t)y
p(t)v + r (t). The system corresponding to (4.6) is
0
y 0 1 y 0
= + .
v0 q(t) p(t) v r (t)
Return
SOLUTIONS MANUAL 245
7.
b
(a) If either b 6= 0 or r 6= a, then ~k = is a nonzero vector,
ra
and
a b b ab + rb ab rb
A~k = = =
c d ra bc + dr ad bc + dr ad
a2 ad
a 0 ad
A~k = =
c d c ac dc + dc
2
a ad ad
= =a = a~k.
ac c
Return
SOLUTIONS MANUAL 249
3 2
9. Let A = so that our system is equivalent to ~v0 = A~v.
1 2
2
Since tr ( A) = 5 and det( A) = 4, the characteristic equation is s
h
5s + 4 = 0 and the eigenvalues are 1 and 4. Let ~b1 = be an
k
eigenvector belonging to 1. Then 3h + 2k = h, h+ 2k = k. These equa-
1
tions reduce to h = k, so we can take ~b1 = Now suppose
1
h
that ~b2 = is an eigenvector belonging to 4. Then 3h + 2k =
k
~ 2
4h, h + 2k = 4k, so that h = 2k. Hence we can set b2 = . The
1
general solution to the matrix equation is
t 1 4t 2
~v = c1 e + c2 e .
1 1
Return
250 ORDINARY DIFFERENTIAL EQUATIONS
0 1
11. Let A = so that our system is equivalent to ~v0 = A~v.
0 0
Since tr ( A) = 0 and det( A) = 0, the characteristic equation is s2 = 0,
which has the double root 0.
Since A 6= 0I, the
matrix
A does not have two independent eigenvec-
0
tors. . Put ~c = . It is easy to see that A~c 6= 0c; that is, ~c is not an
1
eigenvector. Set
~b = A~c (0)~c = 1 .
0
Then ~v1 (t) = e0t~b and ~v2 (t) = e0t (t~b +~c) are independent solutions.
The general solution is
1 t
~v = c1 + c2
0 1
Return
SOLUTIONS MANUAL 251
x 1 2
13. Let ~v = and A = so that our system is equivalent
y 2 1
to v0 = A~v. Since tr ( A) = 2 and det( A) = 3, the characteristic
2
equation is s 2s 3 = 0 and the eigenvalues are 3 and 1. Let
~b1 = h be an eigenvector belonging to 3. Then h + 2k = 3h, 2h +
k
~ 1
k = 3k. These equations reduce to h = k, so we can take b1 =
1
h
Now suppose that ~b2 = is an eigenvector belonging to 1.
k
Then h+ 2k = h, 2h + k = k, so that h = k. Hence we can set
~b2 = 1
. The general solution to the matrix equation is ~v =
1
1 1
c1 e 3t + c2 e t . or x = c1 e3t + c2 et , y = c1 e3t c2 et .
1 1
Return
252 ORDINARY DIFFERENTIAL EQUATIONS
1 1
15. Let A = so that our system is equivalent to ~v0 =
1 3
A~v. Since tr ( A) = 4 and det( A) = 4, the characteristic equation is
s2 + 4s + 4 = 0 and which has the double root 2.
Since A 6= 2I, the
matrix
A does not have two independent eigen-
1
vectors. Put ~c = . It is easy to see that A~c 6= 2c; that is, ~c is not
0
an eigenvector. Set
~b = A~c (2)~c = 1 2 1
+ = .
1 0 1
Then ~v1 (t) = e2t~b and ~v2 (t) = e2t (t~b + ~c) are
independent solu-
2t 1 2t t + 1
tions. The general solution is ~v = c1 e + c2 e .
1 t
0
Substituting ~v(0) = , we have c1 + c2 = 0, c1 = 1. Thus
1
c1 = 1, c2 = 1. Therefore the solution of the IVP is
2t 1 2t t+1 2t t
~v = e +e =e .
1 t 1t
Return
SOLUTIONS MANUAL 253
5 2
17. Let A = so that our system is equivalent to ~v0 =
2 1
A~v. Since tr ( A) = 6 and det( A) = 9, the characteristic equation is
s2 6s + 9 = 0 and which has the double root 3.
Since A 6= 3I, the
matrix
A does not have two independent eigenvec-
1
tors. Put ~c = . It is easy to see that A~c 6= 3c; thus ~c is not an
0
eigenvector. Set
~b = A~c (3)~c = 5 3 = 2 .
2 0 2
Then ~v1 (t) = e3t~b and ~v2 (t) = e3t (t~b + ~c) are independent
solu-
2 2t + 1
tions. The general solution is ~v = c1 e3t + c2 e3t . Sub-
2 2t
1
stituting ~v(0) = , we have 2c1 + c2 = 1, 2c1 = 2. Thus
2
3t 2
c1 = 1, c2 = 1. Therefore the solution of the IVP is ~v = e +
2
2t + 1 2t 1
e3t = e3t . Thus the solution of the IVP is x =
2t 2t 2
(2t 1)e3t , y = (2t 2)e3t .
Return
254 ORDINARY DIFFERENTIAL EQUATIONS
y0 = v
v0 = q y p v
0 1
The coefficient matrix of the system is A = . Since the
q p
trace of A is equal to p and the determinant is equal to q, thus the
characteristic equation is s2 + ps + q = 0.
Return
SOLUTIONS MANUAL 255
1 2 i 2 i
1. 2+ i = (2+i )(2i )
= 5
Return
256 ORDINARY DIFFERENTIAL EQUATIONS
2ni ni
Suppose 6 = e2ni , then = e = cos ni + i sin ni
3. 6 =e 3 ,
3 3
1 3 1 3
for n = 0, 1, 2, 3, 4, 5. The six sixth roots are 1, + i , +i , 1,
2 2 2 2
1 3 1 3
i , and + i .
2 2 2 2
Return
SOLUTIONS MANUAL 257
5.
Return
258 ORDINARY DIFFERENTIAL EQUATIONS
1
2 21
x
7. Let ~v = and A = 1 so that our system is equiv-
y 2 21
alent to ~v0 = A~v. Since tr ( A) = 1 and det( A) = 12 , the characteristic
1 i
equation is s2 + s + 12 = 0 and the eigenvalues are s = .
2
h
To find a eigenvector ~b = (h and k will be complex numbers)
k
belonging to s = 1/2 + i/2, we need to solve
1/2 1/2 h h
= (1/2 + i/2) ,
1/2 1/2 k k
The real part and the imaginary part of this solution are themselves
solutions of the system, and in fact form a fundamental set of solu-
tions. Therefore, the general solution is
t/2 sin(t/2) t/2 cos(t/2)
~v = c1 e + c2 e
cos(t/2) sin(t/2)
c1 sin(t/2) + c2 cos(t/2)
= et/2 .
c1 cos(t/2) + c2 sin(t/2)
Return
SOLUTIONS MANUAL 259
x 4 8
9. Let ~v = and A = so that our system is equiva-
y 4 4
lent to ~v0 = A~v. Since tr ( A) = 0 and det( A) = 16, the characteristic
equation is s2 + 16 = 0 and the eigenvalues are 4i.
h
To find a eigenvector ~b = (h and k will be complex numbers)
k
4 8 h h
belonging to s = 4i, we need to solve = (4i ) ,
4 4 k k
or 4h 8k = (4i )h, 4h 4k = (4i )k. Each of these
equations reduces
1+i
to h = (1 + i )k. Thus we will put ~b = . The corresponding
1
complex-valued solution is
(4i )t~ (1 + i )(cos(4t) + i sin(4t))
e b =
cos(4t) + i sin(4t)
cos(4t) sin(4t) sin(4t) + cos(4t)
= +i
cos(4t) sin(4t)
The real part and the imaginary part of this solution are themselves
solutions of the system, and in fact form a fundamental set of solu-
tions. Therefore, the general solution is
cos(4t) sin(4t) sin(4t) + cos(4t)
~v = c1 + c2
cos(4t) sin(4t)
(c1 + c2 ) cos(4t) + (c2 c1 ) sin(4t)
= .
c1 cos(4t) + c2 sin(4t)
Return
260 ORDINARY DIFFERENTIAL EQUATIONS
11.
(a) A~b = A~b = s~b = s~b. Thus ~b is a eigenvector corresponding to s.
(b) ~b and ~b are eigenvectors corresponding to two distinct eigenval-
ues s and s respectively, thus they are linearly independent.
(c) Suppose c1~h + c2~k = 0. Because ~h = 12 (~b + ~b) and ~k = 2i (~b ~b),
it follows that
c1 ic2~ c1 + ic2~
b+ b = 0.
2 2
We know that ~b and ~b are independent; thus c1 ic2 = 0, c1 +
ic2 = 0. Solving these equations, we have c1 = 0, c2 = 0. There-
fore ~h and ~k are linearly independent.
(d) The complex-valued solution corresponding to the eigenvalue
+ i and eigenvector ~h + i~k is
The real part and the imaginary part of this solution are them-
selves solutions of the system, and in fact form a fundamental
set of solutions. Therefore, the general solution is
~v(t) = c1 et cos(t)~h sin(t)~k + c2 et sin(t)~h + cos(t)~k ,
Return
SOLUTIONS MANUAL 261
3 1
1. The characteristic equation of A = 2
1
2
3 is s2 3s + 2 = 0;
2 2
hence the characteristic
roots
are1, 2. We can use characteristic vec-
1 1
tors ~e1 = and ~e2 = belonging to 1 and 2, respectively,
1 1
t e and ~
v2 (t) = e2t~e2 . Thus
to obtain independent
t 2t
solutions ~v1 (t) = e ~ 1
e e
X (t) = is a fundamental matrix solution.
et e2t
Return
262 ORDINARY DIFFERENTIAL EQUATIONS
2 4
3. The characteristic equation of A = is s2 + 16 = 0;
5 2
hence the characteristic 4i. A characteristic vector corre-
roots are
2
sponding to 4i is ~v = . The real and imaginary parts of
1 2i
4it 2 cos(4t) + 2i sin(4t)
e v =
(1 2i )(cos(4t) + i sin(4t))
2 cos(4t) 2 sin(4t)
= +i
cos(4t) + 2 sin(4t) sin(4t) 2 cos(4t)
et e2t
5. X (t) = is a fundamental matrix solution of the as-
et e2t
sociated homogeneous system.
0 t 1
(a) Set ~v p (t) = X (t)~
w(t). It follows that X (t)~
w (t) = e , or
1
et w10 + e2t w20 = et
et w10 + e2t w20 = et .
0 0 t ~ 0 (t) =
The
solution
of this equation
w1 = 0, w2 = e , or w
is
0 0
. Thus w ~ (t) = , and we have the particular so-
et et
lution
t
e2t et
e 0
~v p (t) = = .
et e2t et et
The general solution is ~v p (t) + ~vh (t), where vh (t) = X (t)~c de-
notes the general solution of the associated homogeneous equa-
tion.
0 t 1
(b) Set ~v p (t) = X (t)~
w(t). It follows that X (t)~
w (t) = e , or
1
et w10 + e2t w20 = et
et w10 + e2t w20 = et .
The
solution of this equation
is w10 = 1, w20 = 0, or w0 (t) =
1 t
. Thus w~ (t) = , and we have the particular solution
0 0
t
e2t tet
e t
~v p (t) = = .
et e2t 0 tet
The general solution is ~v p (t) + ~vh (t), where vh (t) = X (t)~c de-
notes the general solution of the associated homogeneous equa-
tion.
t
b1 te
(c) = .
b2 0
0 t 1
Set ~v p (t) = X (t)~
w(t). It follows that X (t)~
w (t) = te , or
0
et w10 + e2t w20 = tet
et w10 + e2t w20 = 0.
264 ORDINARY DIFFERENTIAL EQUATIONS
The solution of this equation is w10 = t/2, w20 = tet /2, or w ~ 0 (t) =
t2 /4
t/2
t . Thus w~ (t) = 1 t , and we have the
te /2 2 e (1 + t )
particular solution
t2 /4
t
e2t (t2 /4 t/2 1/2)et
e
~v p (t) = = .
et e2t 12 et (1 + t) (t2 /4 t/2 1/2)et
The general solution is ~v p (t) + ~vh (t), where vh (t) = X (t)~c de-
notes the general solution of the associated homogeneous equa-
tion.
Return
SOLUTIONS MANUAL 265
2 cos(4t) 2 sin(4t)
7. X (t) = is a funda-
cos(4t) + 2 sin(4t) sin(4t) 2 cos(4t)
mental matrix solution of the associated homogeneous
system.
Set
32 cos(4t)
~v p (t) = X (t)~ w0 (t) =
w(t). It follows that X (t)~ , or
0
9. Since det(X (1)) = (2)(1) (1)(1) =1 6=0, X (1) is nonsin-
3t2
2
t3
4t 1 1 2 2t
gular. Furthermore, dX /dt = = t .
2t 3t2 1 4 t2 t3
Thus X (t) is a matrix solution. A nonsingular matrix solution is a
fundamental matrix solution.
0 t
(a) Set ~v p (t) = X (t)~
w(t). It follows that X (t)~
w (t)t = , or
2t
3t2
~ 0 (t) =
w .
5t3
3t1
Thus w ~ (t) = , and we have the particular solution
5t2 /2
7
3t1
2
t3
~v p (t) =
2t
= 2 t .
t2 t3 5t2 /2 1
2t
3
0 t
(b) Set ~v p (t) = X (t)~w(t). It follows that X (t)~w (t)t = , or
t3
Return
SOLUTIONS MANUAL 267
d1
d2
12. ~
Suppose Q = [~q1 , ~q2 , , qn ] and d =
.. .
.
dn
d1
d2
Then Qd = [~q1 , q2 , , ~qn ] = d1~q1 + d2 q2 + + dn~qn . Thus
..
.
dn
any linear combination of columns of Q can be expresses as Qd, ~ where
the components of the vector d~ are the coefficients of the linear com-
bination.
If Q is nonsingular, then Qd~ = ~0 if and only if d~ = ~0; in other words, if
and only if the only linear combination of columns that is equal to the
zero vector is the zero combination. Thus, the columns of a nonsin-
gular matrix are linearly independent. Conversely, if the columns of
Q are linearly independent, and Qd~ = ~0, then the vector d must rep-
resent the coefficients of the zero combination; in other words, d~ = ~0.
Hence Q is nonsingular.
Return
268 ORDINARY DIFFERENTIAL EQUATIONS
0 0 1 0 0 0 0 1
0 0 0 , A3 = 0 0
1 0 0
1. By matrix multiplication, A2 =
0
,
0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
k
and A = 0 for k 4. Hence
1 1
e At = I + At + ( A)2 t2 + ( A)3 t3
2 6
1 t 12 t2 61 t3
0 1 t 1 2
= 2t
0 0 1 t
0 0 0 1
Return
SOLUTIONS MANUAL 269
3.
1 i 1 j
e A eB = ( A )( B )
i =0
i! j =0
j!
1 1
= i! Ai j! B j
i =0 j =0
1
= i!j! Ai B j
i =0 j =0
k
1
= i!(k i)! Ai Bki
k =0 i =0
1 k k!
= k! i!(k i)! Ai Bki .
k =0 i =0
k
k!
( A + B)k = i!(k i)! Ai Bki .
i =0
(a)
1
e At = I + At + ( A)2 t2
2
1 at bt + 12 act2
= 0 1 ct
0 0 1
! !
(1)n 2n (1)n 2n+1
e At
= t I+ t A
n=0 (2n ) ! n=0 (2n + 1) !
cos t + sin t sin t
= cos tI + sin tA =
2 sin t cos t sin t
Return
SOLUTIONS MANUAL 273
2 2
11. Since tr A = 2 well set B = A I = , and note that
3 2
det A = 2. By the Cayley Hamilton theorem, B2 = 2I, and hence
1 1
e Bt = ( 2n ) !
B2n +
( 2n + 1 ) !
B2n+1
n =0 n =0
(2)n (2)n
= I + B
n=0 (2n ) ! n=0 (2n + 1) !
(1)n ( 2)2n 1 (1)n ( 2)2n+1
= I+ B
n =0 (2n)! 2 n =0 (2n + 1)!
1
= (cos 2t) I + (sin 2t) B
2
!
cos 2t 2sin 2t 2 sin
2t
=
32 sin 2t cos 2t + 2 sin 2t
Return
274 ORDINARY DIFFERENTIAL EQUATIONS
Therefore,
At t Bt t 1 2t 2t
e =e e =e .
2t 1 + 2t
Return
SOLUTIONS MANUAL 275
0 0 1
15. A2 = 0 0 0 ,and Ak = 0 for k 3. Hence
0 0 0
1
e At = I + At + ( A)2 t2
2
1 t 2t + 21 t2
= 0 1 t
0 0 1
Return
276 ORDINARY DIFFERENTIAL EQUATIONS
17. Write the system in the form ~v0 = A~v + ~f (t), where
et
x 1 0 ~
~v = , A= , and f (t) = .
y 1 1 cosh t
et
Z
cosh t sinh t 0
~ =
w dt
sinh t cosh t + sinh t cosh t
et (cosh t sinh t)
Z Z
1
= dt = dt
et sinh t + cosh2 t + cosh t sinh t 1
1
= t +~c
1
Return
SOLUTIONS MANUAL 277
2 1
19. Let A = and note that A2 = 0. (The trace and the
4 2
determinant of A are both 0.) Hence e At = I + At. Turning to the
method of variation of constants, set ~v = e At w~ . Our system, which is
equivalent to
0 2t 1
~v = A~v + e ,
2
0 At 2t 1
~ =e e
reduces to w , or
2
0 2t 1
~
w = e ( I At)
2
2t 1 2t t 1
= e
4t 1 + 2t 2
1
= e2t .
2
Integrating, we get
1 1 c1
~ = e2t
w +
2 2 c2
~v = e At w
~ = ( I + At)~ w
1 2t
1 + 2t t 2 e + c1
=
4t 1 2t e2t + c2
1 2t 1 1 + 2t t
= e + c1 + c2
2 2 4t 1 2t
Return
278 ORDINARY DIFFERENTIAL EQUATIONS
21.
SOLUTIONS MANUAL 279
2 1
1. A = C [1], where C = . Thus e At = eCt [et ]. To
1 0
Ct 1 1 1
determine e put B = C 2 (tr C ) I = C I = . Since
1 1
tr B = det B = 0, it follows from the Cayley-Hamilton theorem that
B2 = 0 and hence e Bt = I + Bt. Therefore,
t
tet
Ct t e (1 + t )
e = e ( I + Bt) = .
tet e t (1 t )
and
e t (1 + t ) tet
0
e At = tet e t (1 t ) 0
0 0 et
Return
280 ORDINARY DIFFERENTIAL EQUATIONS
3.
SOLUTIONS MANUAL 281
5.
282 ORDINARY DIFFERENTIAL EQUATIONS
7.
SOLUTIONS MANUAL 283
0 4
9. Decompose A as the direct sum [2] C [1], where C = .
1 0
Since tr C = 0 and det C = 4, we have
Ct 1 cos 2t 2 sin 2t
e = (cos 2t) + (sin 2t)C = 1 .
2 2 sin 2t cos 2t
Therefore
e2t
0 0 0
0 cos 2t 2 sin 2t 0
e At = [e2t ] eCt [et ] =
0 1
.
2 sin 2t cos 2t 0
0 0 0 et
Return
284 ORDINARY DIFFERENTIAL EQUATIONS
Return
SOLUTIONS MANUAL 285
0 34
1 0
0
1 0 34
.
0 0 1 1
0 0 0 0
3
4
3
We find that ~b1 =
1 . is an eigenvector of A belonging to 2 and
4
1
that the geometric multiplicity of 2 is 1. Hence A is not semisimple.
Let
6 22 16 4
4 12 8 2
B = ( A + 2I )2 =
4 12 8 2 .
4 12 8 2
0 1 41
1
0 1 1 14
R=
0
.
0 0 0
0 0 0 0
1
1
Let ~b2 = ~ ~ ~ ~
1 , and note that Rb2 = 0. Thus Bb2 = 0 too, and since
0
~ ~
S1 = {b1 , b2 } is linearly independent, S1 is a basis for the generalized
eigenspace of A belonging to 2. Notice that
6
6
( A + 2I )~b2 = ~
8 = 8b1 .
e2t 8te2t
N 2 = 0. Thus e Ht = e2t e Nt = e2t ( I + Nt) = .
0 e2t
Since K = diag (1 + i, 1 i ), we have eKt = diag (e(1+i)t , e(1i)t ).
Thus
2t
e 8te2t
0 0
0 e 2t 0 0
e Dt = e Ht eKt =
,
0 0 e(1+i)t 0
0 0 0 e(1i)t
and
e At = PeDt P1 =
cos t + 3 sin t 3 cos t 3et 11 sin t
2 sin t 4 cos t 3et 6 sin t
et
2 sin t 4 cos t 4et 6 sin t
2 sin t 4 cos t 4et 6 sin t
4(et cos t) + 8 sin t 6tet cos t et + 6tet
4(et cos t) 4 sin t 6tet cos t et + 6tet
5et 4 cos t + 4 sin t 8tet cos t et + 8tet
Return
288 ORDINARY DIFFERENTIAL EQUATIONS
x 2 1 2
15. Put ~v = y , and let A = 1 1 2 be the coefficient
z 2 2 4
matrix, so that our system is
1
~v0 = A~v + 1 .
1
Substitute ~v = e At w
~ to get
1
~ 0 + Ae At w
e At w ~ = Ae At w
~ + 1 .
1
Thus
1 2t ) 1 2t
e2t 1
1 2 (3 e 2 (e 1) 1 1
~ 0 = e At 1 =
w 1 2t
2 (e 1) 1
2 ( 3 e 2t ) 1 e2t 1 = 1 .
1
1 e 2t e2t 1 2e2t 1 1 1
t
~ = t +~c, and hence
It follows that w
t
1
~v = e At w
~ = t 1 + e At~c
1
Finally, set t = 0 for the initial condition to get ~v(0)= ~0 =e At~c. Since
1
e At is nonsingular it follows that ~c = ~0. Thus ~v = t 1 .
1
Return
SOLUTIONS MANUAL 289
x 2 1
1. Let ~v = and A = so that the IVP is equivalent
y 1 2
0 1
to ~v = Av; ~v(0) = . Since tr ( A) = 4 and det( A) = 3, the
0
2 4s + 3 = 0 and the characteristic roots
characteristic equation is s
h
are 3 and 1. Let ~b1 = be a characteristic vector belonging to
k
3. Then 2h + k = 3h, h + 2k = 3k.Each of these equations reduces to
1 h
h = k, so we can take ~b1 = Now suppose that ~b2 = is
1 k
a characteristic vector belonging to 1. Then 2h + k = h, h + 2k = k,
1
so that h = k. Hence we can set ~b2 = . The general solution
1
3t 1 t 1
to the matrix equation is ~v = c1 e + c2 e . Substituting
1 1
1
~v(0) = , we have c1 + c2 = 1, c1 c2 = 0. Thus c1 = 1/2, c2 =
0
1 3t 1 1 t 1
1/2. Therefore the solution of the IVP is ~v = 2 e + 2e ,
1 1
or x = 21 e3t + 12 et , y = 21 e3t 12 et .
Return
290 ORDINARY DIFFERENTIAL EQUATIONS
2.
x 1 2
(a) Let ~v = and A = so that our system is equiv-
y 5 1
alent to ~v0 = A~v. Since tr ( A) = 0 and det( A) = 9, the char-
acteristic equation is s2 + 9 = 0 and the characteristic roots are
3i.
~ h
To find a characteristic vector b = (h and k will be complex
k
1 2 h
numbers) belonging to s = 3i, we need to solve =
5 1 k
h
(3i ) , That is h 2k = 3ih, 5h k = 3ik. These will all re-
k
~ 3i + 1
duce to 5h = (3i + 1)k. Thus we will put b = . The
5
corresponding complex solution of ~v0 = A~v is
(3i )t~ (3i + 1)(cos(3t) + i sin(3t))
e b =
5 cos(3t) + 5i sin(3t)
cos(3t) 3 sin(3t) sin(3t) + 3 cos(3t)
= +i
5 cos(3t) 5 sin(3t)
It follows that
cos(3t) 3 sin(3t) sin(3t) + 3 cos(3t)
5 cos(3t) 5 sin(3t)
et cos(t) et sin(t)
1 2
(c) Let A = so that our system is equivalent to ~v0 = A~v.
0 1
0 2
Notice that A = I + B, where B = , that I and B com-
0 0
mute, and that B2 = 0. As with any homogeneous linear system
of ODEs of the form v0 = A~v, the matrix exponential e At is a
fundamental solution. We can use our observations about this
special matrix to compute e At as follows:
e At = e( I + B)t = et e Bt
e Bt = I + Bt
because B2 = 0. Thus
et 2tet
At t
e = e ( I + Bt) =
0 et
e 2e2t 29 e3t
t
x c1
y = 0 e2t 3e3t c2
z 0 0 e3t c3
e 2e2t 29 e3t
t
0 e2t 3e3t
0 0 e3t
Return
SOLUTIONS MANUAL 293
Return
294 ORDINARY DIFFERENTIAL EQUATIONS
4.
X (t) = V E(t)
e r1 t 0 0
0 e r2 t 0
= [~v1 , ~v2 , , vn ]
0 0 0 ern t
= e 1 ~v1 , er2 t~v2 , , ern t vn
rt
Then X (t) is the matrix for which column i is the vector eri t~vi ; we
have noted that such a matrix is a fundamental matrix solution. It
follows that
Return
SOLUTIONS MANUAL 295
5.
Let r be an eigenvalue of a nilpotent matrix M, and let ~v be corre-
sponding eigenvector. Since M is nilpotent, Mn is the zero matrix
for some n. Therefore Mn~v = ~0. But Mn~v = r n~v so it follows that
r = 0. Since all eigenvalues of M are equal to zero, and since the trace
of any matrix is the sum of its eigenvalues (counted with algebraic
multiplicity), and the determinant of any matrix is the product of its
eigenvalues, it follows that the determinant of M is also zero.
Conversely, if the trace and determinant of M are equal to zero, then
the characteristic equation of M is s2 = 0. The Cayley-Hamilton theo-
rem says that every matrix a satisfies its own characteristic equation;
hence M2 is is equal to the zero matrix.
296 ORDINARY DIFFERENTIAL EQUATIONS
a ( a + d)/2 b
6. Since tr ( A) = a + d, B = =
c d ( a + d)/2
( a d)/2 b
. Thus
c (d a)/2
1
det( B) = ( a d)2 bc
4
a2 + 2ad d2
= bc
4
a2 + 2add2
= + ad bc
4
1
= tr ( A)2 + det( A)
4
Return
SOLUTIONS MANUAL 297
3. (I). Notice first that det( A) = 2, which indicates that the eigen-
values are of opposite sign. The phase portrait is therefore a sad-
dle, which narrows the choices to (B), (F), (I), or (L). Noting that
tr ( A) = 1, the characteristic equation
is s2 +s 2 = 0, which has
1 1
roots 2, 1. The eigenvectors, and , each have positive
2 1
slope. Thus the phase portrait is (I).The stable line is y = 2x, and the
unstable line is y = x.
Return
SOLUTIONS MANUAL 299
C
A B
F
D E
I
G H
L
K
J
304 ORDINARY DIFFERENTIAL EQUATIONS
1 1
13. The characteristic equation of the coefficient matrix A =
1 1
2
is s 2s = 0, which has roots
0, 2.Hence the system is degenerate.
1 1
The eigenvectors are , . The stationary line is y = x.
1 1
The other orbits are half-lines, all with slope 1, directed away from
the stable line.
-4 -2 2 4
-2
-4
Return
SOLUTIONS MANUAL 305
( x + y) dx + x dy = 0
1 c
y= x .
2 x
The graph of this equation is a hyperbola with asymptotes x = 0 and
y = 21 x. The asymptotes each contain two orbits and the stationary
point at the origin. On the y-axis, we have y0 = y and x 0 = 0; this
indicates that the orbits on this asymptote are directed away from the
origin. On the line y = 21 x, we have x 0 = x and y0 = 12 x; thus the
orbits on this asymptote are directed toward the origin.
Return
306 ORDINARY DIFFERENTIAL EQUATIONS
2 1
17. The coefficient matrix, A = , has eigenvalues of oppo-
3 0
site
signs: 1, 3. Thus the system us a saddle. The eigenvectors are
1 1
, belonging to 1, and , belonging to 3. Thus the stable
3 1
line is y = 3x. The unstable line is y = x.
3
-3 -2 -1 1 2 3
-1
-2
-3
Return
SOLUTIONS MANUAL 307
3 5
19. The eigenvalues of the coefficient matrix, A = , are
52 2
15i
2 These have negative real part; hence the phase portrait is a sta-
ble spiral node.
4
-3 -2 -1 1 2 3
-2
-4
Return
308 ORDINARY DIFFERENTIAL EQUATIONS
1 1
21. The coefficient matrix A = has characteristic equation,
0 0
2 ~ 1
s s = 0, and eigenvalues 0, 1. The eigenvectors are b1 = , be-
1
1
longing to 0, and ~b2 = , belonging to 1. The stationary line is
0
y = x, in the direction of ~b1 , and the non-stationary orbits are hori-
zontal half-lines directed away from the stationary line.
3
-3 -2 -1 1 2 3
-1
-2
-3
Return
SOLUTIONS MANUAL 309
2 5
23. The trace of the coefficient matrix A = is 0, and
17 2
the determinant is 81 0; hence the phase portrait is a center. The
direction is counterclockwise,
as the velocity vector at a point (0, b)
5
on the positive y-axis is b , pointed southwest. We can find an
2
integral by integrating the exact equation
2.5
-4 -2 2 4
-2.5
-5
-7.5
Return
310 ORDINARY DIFFERENTIAL EQUATIONS
3 1
25. The eigenvalues of the coefficient matrix, A = , are
5 3
2, 2. Hence the phase portrait is a saddle. The stable and unstable
1
lines are determined by the eigenvectors, , belonging to 1,
5
1
and , belonging to 1. Thus the stable line is y = 5x. The
1
unstable line is y = x.
3
-3 -2 -1 1 2 3
-1
-2
-3
Return
SOLUTIONS MANUAL 311
31.
(a) If y = vx, then by the product rule, y0 = xv0 + vx 0 . The right
sides of the equations are obtained by factoring.
(c) To determine the stationary points, solve the equation bv2 +
(d a)v + c = 0. Thus, we have two stationary points if (d
a)2 + 4bc > 0, one if (d a)2 + 4bc = 0, and none if (d a)2 +
4bc < 0. In the case of two stationary points, when b > 0 the sign
of bv2 + (d a)v + c changes from to + to as v increases.
This implies a phase diagram that looks like this:
r - r
Thus the greater of the two stationary points is stable; the lesser
is unstable. If b < 0 all arrows in the phase diagram reverse, and
the lesser of the two stationary points is stable.
If there is only one stationary point then the quadratic expres-
sion bv2 + (d a)v + c does not change sign; the phase portrait
is as follows if b > 0 (arrows reversed if b < 0):
r
7.
The characteristic equation of A is (s2 + s)(s2 2s 3) = 0. It have
eigenvalues 0, 1, 1, 3. According
theorem
8.1, A is unstable. The
0
0
1 . Thus we have an unbounded
eigenvector corresponding to 3 is
1
0
0
solution v = e3t
1 .
1
SOLUTIONS MANUAL 323
1
0
0
solution v = et
1 .
1
SOLUTIONS MANUAL 325
13.
The characteristic equation of A is (s2 + 1)(s2 + 1) = 0. It has double
eigenvalues i.
0
1
It is easily checked that b = 0 is not an eigenvector, and we put
0
1
i
c = ( A i I )b = 0 , which is an eigenvector. Thus there is a
0
solution
v(t) = eit (tc + b)
This solution
is unbounded.The same may be said for its real part,
t cos(t)
cos(t) + t sin(t)
Re(v) = .
0
0
SOLUTIONS MANUAL 327
cos(t)
sin
(t)
w=
cos( 2t) .
sin( 2t)/ 2
-4 -3 -2 -1 1 2 3 4
-2
-4
-4 -3 -2 -1 1 2 3 4
-2
-4
.
Return
SOLUTIONS MANUAL 335
y (1 x 2 y2 ) = 0
x (1 x2 y2 ) = 0.
We find that the origin is a isolated stationary point, and that every
point on the unit circle x2 + y2 = 1 is stationary. We can perform
analysis of the isolated stationary point by linear approximation, but
not of the non-isolated points on the circle.
The derivative matrix is
" #
2 2 2 2
x ( y (1 x y )) y ( y (1 x y ))
A( x, y) = 2 2 2 2
x ( x (1 x y )) y ( x (1 x y ))
1 x2 3y2
2xy
= .
1 + 3x2 + y2 2xy
0 1
A(0, 0) = has eigenvalues i. Thus linear analysis is in-
1 0
conclusive for this stationary point, which could be a center or a spi-
ral. Although the linear approximation is a center, the nonlinearity
could disrupt the closed orbits of the center, as we have seen in Fig-
ure 4.16.
To analyze this stationary point, consider the ODE that is satisfied by
the orbits:
x (1 x2 y2 ) dx + y(1 x2 y2 ) dy = 0.
1.5
0.5
-0.5
-1
-1.5
.
Return
SOLUTIONS MANUAL 337
x (2 x y ) = 0
y( x y) = 0.
to obtain the stationary points (0, 0), (2, 0), (1, 1).
The derivative matrix is
" #
x x (2 x y ) y x (2 x y )
A( x, y) =
x y ( x y ) y y ( x y )
2 2x y x
= .
y x 2y
2 0
A(0, 0) = has eigenvalues 2, 0. Because A(0, 0) is singular,
0 0
linear approximation is not conclusive. However, we note that the
x- and y-axes are invariant sets. On the x-axis, the system reduces to
a single logistic ODE, x = x (2 x ), found by setting y = 0 in the
first equation. This shows that the origin is unstable, since the orbits
on the x-axis lead away from it. Similarly, the system reduces to the
ODE y0 = y2 on the y-axis; orbits are directed downward, toward
the origin on the positive y-axis, and away from it on the negative
y-axis. Therefore the origin is unstable.
2 2
A(2, 0) = has eigenvalues 2, and therefore (2, 0) is
0 2
a saddle point with attracted set tangent to the eigenvector (1, 0) be-
longing to 2 and with repelled set tangent to the eigenvector (1, 2)
belonging to 2. It is also unstable.
1 1
The characteristic equation of A(1, 1) = is s2 + 2s + 2 =
1 1
0. The roots, s = 1 i, are in the left half plane, and thus (1, 1) is
a stable and a asymptotically stable equilibrium point. Orbits spiral
toward (1,1); to determine the direction of the spiral we note that for
x = 1, we have x 0 = 1 y. Hence orbits cross the vertical line x = 1
from right to left when y > 1 and from left to right when y < 1. The
spiral is counterclockwise. The attracted set is the first quadrant. To
see this, note that no orbit can cross either axis, since the positive axes
are orbits. Therefore the any orbit that leads to the point (1,1) must
be confined to the first quadrant. The portion of the x-nullcline in the
338 ORDINARY DIFFERENTIAL EQUATIONS
-3 -2 -1 1 2 3
-1
-2
-3 .
Return
SOLUTIONS MANUAL 339
11. Notice first that the x- and y-axes are invariant. On the x-axis, the
first equation reduces to x 0 = x ( x2 10); hence the following phase
diagram appears on the x-axis
r - r r -
10 0 10
The second equation reduces to y0 = 3y on the y-axis, and hence
there is an upward arrow on the negative y-axis, and a downward
arrow on the positive y-axis.
To find all of the stationary points, solve the equations
x ( x2 + y2 10) = 0
y( xy 3) = 0.
In addition to (0, 0) and ( 10, 0), we find the stationary points
(3, 1), (1, 3) (1, 3), and (3, 1).
The derivative matrix is
" #
2 2 2 2
x x ( x + y 10) y x ( x + y 10)
A( x, y) =
x y ( xy 3) y y ( xy 3)
3x2 + y2 10
2xy
= 2 .
y 2xy 3
-4 -2 2 4
-1
-2
-3
-4 .
Return
SOLUTIONS MANUAL 341
x (1 y ) = 0
y( x 1) = 0.
(1 x )y dx + (1 y) x dy.
F ( x, y) = ln( x ) + ln(y) ( x + y) = C.
1.5
0.5
-0.5
-1 .
Return
SOLUTIONS MANUAL 343
15.
The derivative matrix is
" #
2 2 2 2
x [ y + kx (1 x y )] y [ y + kx (1 x y )]
A( x, y) = 2 2 2 2
x [ x + ky (1 x y )] y [ x + ky (1 x y )]
k 3x2 k ky2
1 2kxy
= .
1 2kxy k kx2 3y2 k
k 1
The eigenvalues of A(0, 0) = are k i. Because they de-
1 k
pend on k, the stability also depends on k. If k < 0, the origin is a sta-
ble spiral node, and if k > 0 the origin is an unstable spiral node. In
either case, the spirals are counterclockwise, because the orbits will be
directed to the left as they cross the positive y-axis. If k = 0 the eigen-
values are pure imaginary, which means that linear approximation is
inconclusive. However, when k = 0 the system is linear! Hence the
phase portrait is a center when k = 0.
We have completed the local analysis at the stationary point of this
system. We now turn to polar coordinates to see the big picture. Set
r2 = x2 + y2 ; then
-2 2 -2 2
-2 -2 .
Return
SOLUTIONS MANUAL 345
1.5
0.5
-0.5
-1
-1.5
-2 .
346 ORDINARY DIFFERENTIAL EQUATIONS
Return
SOLUTIONS MANUAL 347
1. The stationary points of the system are (0,0), (K, 0), (0, L), and,
provided that BC 6= 1, a point ( x , y ), where
x = K + BL
1 BC and y = L+CK
1 BC .
8 8
6 6
4 4
2 2
2 4 6 8 10 12 14 2 4 6 8 10 12 14
Return
348 ORDINARY DIFFERENTIAL EQUATIONS
3. There are three stationary points: The origin, where both species
are extinct, the point (C, 0), where the predator is extinct, and the prey
population is equal to the carrying capacity, and (d, y ), where y =
A
b (C d ). The axes are invariant sets, indicating that if one of the
species is extinct, it will stay extinct. If x = 0 (the prey is extinct) then
the ODE for the predator is y0 = cdy, predicting that the predator
population will decay exponentially. If y = 0 (no predators) the prey
population follows the logistic growth equation, x 0 = Ax (C x ). By
drawing the single-species phase diagram on each axis, we obtain a
framework on which to build the two-species phase portrait:
r? - r
6 (C, 0)
We can see from this diagram that the origin is a saddle point, just as
it is in the Lotka-Volterra system. This is confirmed by the derivative
matrix,
A(C 2x ) b y b x
D ( x, y) = .
cy c( x d)
Thus D (0, 0) is the diagonal matrix with entries A C and c d indicat-
ing that there is an saddle point at the origin.
For the stationary point on the x-axis,
AC bC
D (C, 0) = ,
0 c(C d)
400
300
200
100
(b) When C > d, the third stationary point, (d, y ), is in the first
quadrant. When the predator population is equal to y , there
are just enough predators to limit the prey population to d, the
minimum number needed to support any predators at all.
The eigenvalues of derivative matrix D (C, 0) are of opposite sign,
indicating that there is a saddle point at (C, 0). Furthermore, the
characteristic polynomial of
A d b d
D (d, y ) = .
c y 0
is s2 + Ad s + bcdy , which has positive real eigenvalues when
Ad
A2 d2 4bcdy = 4Acd(C d); that is, C d. Hence the
4c
stationary point (d, y ) is a stable node. In the phase portrait
that follows, the parameters have been set to be ( A, C, b, c, d) =
(0.5, 1500, 1, 0.125, 1000)
500
400
300
200
100
400
300
200
100
Return
SOLUTIONS MANUAL 351
5. Z x
a
U (x) = ax dx = x2
0 2
Return
354 ORDINARY DIFFERENTIAL EQUATIONS
7. Z x
U (x) = 1 dx = x
0
Return
SOLUTIONS MANUAL 355
9. Z x
1
U (x) = ( x2 ) dx = x3
0 3
Return
356 ORDINARY DIFFERENTIAL EQUATIONS
11. Z x
U (x) = (4x3 ) dx = x4
0
Return
SOLUTIONS MANUAL 357
13. Z x
U (x) = (3s|s|) ds = x2 | x |
0
Return
358 ORDINARY DIFFERENTIAL EQUATIONS
15.
Rx x 2 1
Rxh 1
i
1 x
U (x) = 0 ( x 2 +1)2
dx = Re 0 ( x + i )2
dx = Re x+ i = x 2 +1
Return
SOLUTIONS MANUAL 359
17. Z x
1 1
U (x) = (sin x ) dx = cos( x ) + x
0 2 2
There is a doubly infinite sequence of stationary points ( xn , 0) where
sin( xn ) = 12 . Thus, xn = . . . 11 7 1 5
6 , 6 , 6 , 6 , . . . . These stationary
points alternate between saddles and centers, with a saddle at ( 16 , 0),
a center at ( 56 , 0), and so on.
Return
360 ORDINARY DIFFERENTIAL EQUATIONS
19. Z x
2 1
U (x) = sin x x dx = cos( x ) + x2
0
has critical points at x = 0, 2 , with a local maximum at 0 and local
minima at 2 . Thus the phase portrait has a saddle at (0,0) and cen-
ters at ( 2 , 0). The attracted set of the origin is the same as the repelled
set; all orbits except those attracted to the origin are closed.
Return
SOLUTIONS MANUAL 361
1.
L0 ( x, y) = 2x (y + x3 ) + 2y( x + y3 )
= 2( x 4 + y4 )
5.
The function L( x, y) = x2 + y2 is positive definite, and
7.
The function L( x, y) = x2 + y2 is positive definite, and
L0 ( x, y) = 2x ( x3 + x + y) + 2y(2x + y)
= 2x4 + 2x2 2xy + 2y2
= 2x4 + x2 + y2 + ( x y)2
L0 ( x, y) = 2ax ( x + y) + 2cy( x y)
= 2ax2 2cy2 + (2a 2c) xy
L20 ( x, y) = (4a + 5b) x2 + (5b 8c)y2 + (2b 10a + 10c 4b) xy.
21.
(a)
L0 ( x, y) = 2( x2 + y2 )2 (1 x2 y2 )
- s s - s
1 0 1
It follows that if an orbit starts at a point other than the origin,
the radial coordinate converges to 1.
y
If we differentiate the relation tan( ) = x , we obtain
x y0 x 0 y
sec2 ( ) 0 = . (55)
x2
Noting that q = r2 (1 r2 ) in polar coordinates, we have
x y 0 x 0 y = r 2 .
r2
sec2 ( ) 0 = = sec2 ( ),
x2
from which it follows that 0 = 1. We have thus established
that all orbits spiral clockwise toward the unit circle, which is
therefore a limit cycle.
(d)
2
1.5
0.5
-0.5
-1
-1.5
-2
Return
SOLUTIONS MANUAL 373
23. The system has a limit cycle for any negative value of k. Here
are two phase portraits illustrating the limit cycle for k = 1 and for
k = 10.
k=-1 k=-10
4
20
2 10
-2 -1 1 2 -2 -1 1 2
-2 -10
-4 -20
Return
374 ORDINARY DIFFERENTIAL EQUATIONS
25.
0 0
The matrix AT = I + N, where N = is nilpotent. There-
1 0
1 0 T
fore e Nt = I+tN = and e A t = et e Nt . Now we calculate
t 1
T T 1 0 1 t
Y (t) = e A t (e A t )T = e2t
t 1 0 1
1 t
= e2t
t 1 + t2
Integrating, we get
Z
12 12 t 14
2t
S= Y (t) dt = e
0 21 t 1
4 12t2 12 t 3
4
0
1 1
= 2 4 .
1 3
4 4
1 2 3 2 1 1 1 5
L(~x ) = ~x T S~x = x + x + x1 x2 = ( x1 + x2 )2 + x22
2 1 4 2 2 2 2 8
is positive definite. Also,
1 1 1 1
T 1 0 2 4 2 4 1 1 1 0
A S + SA = 1 3 + 1 3 =
1 1 4 4 4 4
0 1 0 1
is negative definite.
Return