Chapter 16: First-Order Differential Equations
Chapter 17 is available online.
To access this chapter, visit the companion Website.

OVERVIEW Many real-world problems, when formulated mathematically, lead to differential equations. We encountered a number of these equations in previous chapters when studying phenomena such as the motion of an object along a straight line, the decay of a radioactive material, the growth of a population, and the cooling of a heated object placed within a medium of lower temperature.
Section 4.8 introduced diferential equations of the form
16.1 Solutions, Slope Fields, and Euler’s Method
We begin this section by defining general differential equations involving first derivatives. We then look at slope fields, which give a geometric picture of the solutions to such equations. Many differential equations cannot be solved by obtaining an explicit formula for the solution. However, we can often find numerical approximations to solutions. We present one such method here, called Euler’s method, which is the basis for many other numerical methods as well.
General First-Order Differential Equations and Solutions
A first-order differential equation is an equation
in which
are equivalent to Equation (1), and all three forms will be used interchangeably in the text.
A solution of Equation (1) is a differentiable function
on that interval. That is, when y x( ) and its derivative
EXAMPLE 1 Show that every member of the family of functions
is a solution of the first-order differential equation
on the interval
Solution Differentiating
We need to show that the differential equation is satisfied when we substitute into it the expressions
This last equation follows immediately by expanding the expression on the right-hand side:
Therefore, for every value of C, the function
The differential equation in Example 1 has a whole family of solutions, one for each value of C. A natural question to consider is whether this family contains all the solutions to the differential equation, or whether there are others that can somehow arise. The general solution to a first-order differential equation is the name given to an expression that contains all possible solutions. The general solution always contains an arbitrary constant, but a solution may contain an arbitrary constant without being the general solution. Establishing when a solution is the general solution is left to a more extensive development of the theory of differential equations.
As with antiderivatives, we often need a particular rather than the general solution to a first-order differential equation
EXAMPLE 2 Show that the function
is a solution to the first-order initial value problem
Solution The equation
FIGURE 16.1 Graph of the solution to the initial value problem in Example 2.

is a first-order differential equation with
On the left side of the equation:
On the right side of the equation:
The function satisfies the initial condition because
The graph of the function is shown in Figure 16.1.
Slope Fields: Viewing Solution Curves
Each time we specify an initial condition

(a)

(b)
FIGURE 16.2 (a) Slope field for
(a)


FIGURE 16.3 (a) The slope field for

FIGURE 16.5 The linearization L x( ) of
EXAMPLE 3 For the differential equation
draw line segments representing the slope field at the points (1, 2 , ) (1, 1 , ) (2, 2 , and ) (2, 1 .)
Solution
Figure 16.4 shows three slope fields, and we see how the solution curves behave by following the tangent line segments in these fields. Slope fields are useful because they display the overall behavior of the family of solution curves for a given differential equation. For instance, the slope field in Figure 16.4b reveals that every solution y x( ) to the differential equation specified in the figure satisfies
Constructing a slope field with pencil and paper can be quite tedious. Our examples were generated by computer software.

FIGURE 16.4 Slope fields (top row) and selected solution curves (bottom row). In computer renditions, slope segments are sometimes portrayed with arrows, as they are here, but they should be considered as just tangent line segments.
Euler’s Method
If we do not require or cannot find an exact solution that gives an explicit formula for an initial value problem
Given a differential equation
The function L x( ) gives a good approximation to the solution
We know the point

FIGURE 16.6 The first Euler step approximates

FIGURE 16.7 Three steps in the Euler approximation to the solution of the initial value problem
is a good approximation to the exact solution value
Using the point
This gives the next approximation
and so on. We are building an approximation to a solution by following the direction of the slope field of the differential equation.
The steps in Figure 16.7 are drawn large to illustrate the construction process, so the approximation looks crude. In practice, dx would be chosen small enough to make the red curve hug the blue one and give a better approximation.
EXAMPLE 4 Find the first three approximations
starting at
Solution We already have the starting values
Second:
The step-by-step process used in Example 4 can be continued with more points. Using equally spaced values for the independent variable in the table for the numerical solution, and generating n of them, set
Then calculate the approximations to the solution,
HISTORICAL BIOGRAPHY
Leonhard Euler
(1707–1783)
Born in Basel, Switzerland, Leonhard Euler was the dominant mathematical figure of his century and the most prolific mathematician who ever lived. He was also an astronomer, physicist, engineer, and chemist. He was the first scientist to give the function concept prominence in his work, thereby setting a strong foundation for the development of calculus and other areas of mathematics.
To know more, visit the companion Website.

FIGURE 16.8 The graph of FIGURE 16.8 The graph of
The number of steps n can be as large as we like, but errors involving the representation of numbers in software can accumulate if n is too large.
Euler’s method is easy to implement on a computer or calculator. A typical software program takes as input
Solving the separable equation in Example 4, we find that the exact solution to the initial value problem is
EXAMPLE 5 Use Euler’s method to solve
on the interval
Solution
(a) We used a computer to generate the approximate values in Table 16.1. The “error” column is obtained by subtracting the unrounded Euler values from the unrounded values found using the exact solution. All entries are then rounded to four decimal places.
TABLE 16.1 Euler solution of
| x | y (Euler) | y (exact) | Error |
| 0 | 1 | 1 | 0 |
| 0.1 | 1.2 | 1.2103 | 0.0103 |
| 0.2 | 1.42 | 1.4428 | 0.0228 |
| 0.3 | 1.662 | 1.6997 | 0.0377 |
| 0.4 | 1.9282 | 1.9836 | 0.0554 |
| 0.5 | 2.2210 | 2.2974 | 0.0764 |
| 0.6 | 2.5431 | 2.6442 | 0.1011 |
| 0.7 | 2.8974 | 3.0275 | 0.1301 |
| 0.8 | 3.2872 | 3.4511 | 0.1639 |
| 0.9 | 3.7159 | 3.9192 | 0.2033 |
| 1.0 | 4.1875 | 4.4366 | 0.2491 |
By the time we reach x = 1 (after 10 steps), the error is about 5.6% of the exact solution. A plot of the exact solution curve with the scatterplot of Euler solution points from Table 16.1 is shown in Figure 16.8.
(b) One way to try to reduce the error is to decrease the step size. Table 16.2 shows the results and their comparisons with the exact solutions when we decrease the step size to 0.05, doubling the number of steps to 20. As in Table 16.1, all computations are performed before rounding. This time when we reach x = 1, the relative error is only about 2.9%. 1
It might be tempting to reduce the step size even further in Example 5 to obtain greater accuracy. Each additional calculation, however, not only requires additional computer time but, more importantly, adds to the buildup of round-off errors due to the approximate representations of numbers inside the computer.
- y x y ′ = +
The analysis of error and the investigation of methods to reduce it when making numerical calculations are important. An area of mathematics called numerical analysis studies advanced numerical methods that are more accurate than Euler’s method.
TABLE 16.2 Euler solution of
| x | y (Euler) | y (exact) | Error |
| 0 | 1 | 1 | 0 |
| 0.05 | 1.1 | 1.1025 | 0.0025 |
| 0.10 | 1.205 | 1.2103 | 0.0053 |
| 0.15 | 1.3153 | 1.3237 | 0.0084 |
| 0.20 | 1.4310 | 1.4428 | 0.0118 |
| 0.25 | 1.5526 | 1.5681 | 0.0155 |
| 0.30 | 1.6802 | 1.6997 | 0.0195 |
| 0.35 | 1.8142 | 1.8381 | 0.0239 |
| 0.40 | 1.9549 | 1.9836 | 0.0287 |
| 0.45 | 2.1027 | 2.1366 | 0.0340 |
| 0.50 | 2.2578 | 2.2974 | 0.0397 |
| 0.55 | 2.4207 | 2.4665 | 0.0458 |
| 0.60 | 2.5917 | 2.6442 | 0.0525 |
| 0.65 | 2.7713 | 2.8311 | 0.0598 |
| 0.70 | 2.9599 | 3.0275 | 0.0676 |
| 0.75 | 3.1579 | 3.2340 | 0.0761 |
| 0.80 | 3.3657 | 3.4511 | 0.0853 |
| 0.85 | 3.5840 | 3.6793 | 0.0953 |
| 0.90 | 3.8132 | 3.9192 | 0.1060 |
| 0.95 | 4.0539 | 4.1714 | 0.1175 |
| 1.00 | 4.3066 | 4.4366 | 0.1300 |
EXERCISES 16.1
Slope Fields
In Exercises 1–4, match the differential equations with their slope fields, graphed here.

(a)

(b)

(c)

(d)
-
y y ′ = + 1
-
𝑦 ′ = 𝑦 2 − 𝑥 2
In Exercises 5 and 6, copy the slope fields, and sketch in some of the solution curves.

𝑦 ′ = 𝑦 ( 𝑦 + 1 ) ( 𝑦 − 1 )

Integral Equations
In Exercises 7–12, write an equivalent first-order differential equation and initial condition for y.
-
𝑦 = − 1 + ∫ 𝑥 1 ( 𝑡 − 𝑦 ( 𝑡 ) ) 𝑑 𝑡 8 . 𝑦 = ∫ 𝑥 1 1 𝑡 𝑑 𝑡 -
t dtsin𝑦 = 2 − ∫ 𝑥 0 ( 1 + 𝑦 ( 𝑡 ) ) 𝑑 𝑡 -
𝑦 = 1 + ∫ 𝑥 0 𝑦 ( 𝑡 ) 𝑑 𝑡 -
𝑦 = 𝑥 + 4 + ∫ 𝑥 − 2 𝑡 𝑒 𝑦 ( 𝑡 ) 𝑑 𝑡 -
𝑦 = l n 𝑥 + ∫ 𝑒 𝑥 √ 𝑡 2 + ( 𝑦 ( 𝑡 ) ) 2 𝑑 𝑡
In Exercises 13 and 14, consider the differential equation

Using Euler’s Method
In Exercises 15–20, use Euler’s method to calculate the first three approximations to the given initial value problem for the specified increment size. Calculate the exact solution and investigate the accuracy of your approximations. Round your results to four decimal places.
-
𝑦 ′ = 2 𝑦 𝑥 , 𝑦 ( 1 ) = − 1 , 𝑑 𝑥 = 0 . 5 -
𝑦 ′ = 𝑥 ( 1 − 𝑦 ) , 𝑦 ( 1 ) = 0 , 𝑑 𝑥 = 0 . 2 -
𝑦 ′ = 2 𝑥 𝑦 + 2 𝑦 , 𝑦 ( 0 ) = 3 , 𝑑 𝑥 = 0 . 2 -
y y x y dx 1 2 , ( 1) 1, 0.5 2 ′ = + − = = ( )
19.T
20.T
-
Use Euler’s method with dx = 0.2 to estimate y(1) if y y′ = and y(0) 1. = What is the exact value of y(1)?
-
Use Euler’s method with dx = 0.2 to estimate y(2) if
and y(1) 2.= What is the exact value of y(2)?𝑦 ′ = 𝑦 / 𝑥 -
Use Euler’s method with dx = 0.5 to estimate y(5) if
and y(1) 1.= − What is the exact value of y(5)?𝑦 ′ = 𝑦 2 / √ 𝑥 -
Use Euler’s method with dx = 1 3 to estimate y(2) if y x y ′ = sin and y(0) 1.= What is the exact value of y(2)?
-
Show that the solution of the initial value problem
is
- What integral equation is equivalent to the initial value problem
𝑦 ′ = 𝑓 ( 𝑥 ) , 𝑦 ( 𝑥 0 ) = 𝑦 0 ?
COMPUTER EXPLORATIONS
In Exercises 27–32, obtain a slope field and add to it graphs of the solution curves passing through the given points.
-
y y ′ = with a. (0, 1) b. ( 0, 2) c. ( 0, 1 − )
-
with a. (0, 1) b. (0, 4) c. (0, 5)𝑦 ′ = 2 ( 𝑦 − 4 ) -
with a. (0, 1) b. (0, 2 − ) c. (0, 1 4) d. (− −1, 1)𝑦 ′ = 𝑦 ( 𝑥 + 𝑦 ) -
y y 2 ′ = with a. (0, 1) b. ( 0, 2) c. ( 0, 1 − ) d. (0, 0)
-
c. (0, 3) d. (1, 1 − )𝑦 ′ = ( 𝑦 − 1 ) ( 𝑥 + 2 ) w i t h 𝐚 . ( 0 , − 1 ) 𝐛 . ( 0 , 1 ) -
with a. (0, 2) b. ( 0, 6 − ) c.𝑦 ′ = 𝑥 𝑦 𝑥 2 + 4 ( − 2 √ 3 , − 4 )
In Exercises 33 and 34, obtain a slope field, and graph the particular solution over the specified interval. Use your CAS DE solver to find the general solution of the differential equation.
-
A logistic equation
𝑦 ′ = 𝑦 ( 2 − 𝑦 ) , 𝑦 ( 0 ) = 1 / 2 ; 0 ≤ 𝑥 ≤ 4 , 0 ≤ 𝑦 ≤ 3 -
𝑦 ′ = ( s i n 𝑥 ) ( s i n 𝑦 ) , 𝑦 ( 0 ) = 2 ; − 6 ≤ 𝑥 ≤ 6 , − 6 ≤ 𝑦 ≤ 6
Exercises 35 and 36 have no explicit solution in terms of elementary functions. Use a CAS to explore graphically each of the differential equations.
-
A Gompertz equation
𝑦 ′ = 𝑦 ( 1 / 2 − l n 𝑦 ) , 𝑦 ( 0 ) = 1 / 3 ; 0 ≤ 𝑥 ≤ 4 , 0 ≤ 𝑦 ≤ 3 -
Use a CAS to find the solutions of
, subject to the initial condition𝑦 ′ + 𝑦 = 𝑓 ( 𝑥 ) is𝑦 ( 0 ) = 0 , i f 𝑓 ( 𝑥 )
a. 2x b. sin 2x c. 3e x 2 d. 2 cos 2 .e x−x 2
Graph all four solutions over the interval
- a. Use a CAS to plot the slope field of the differential equation
over the region
b. Separate the variables and use a CAS integrator to find the general solution in implicit form.
c. Using a CAS implicit function grapher, plot solution curves for the arbitrary constant values
d. Find and graph the solution that satisfies the initial condition y(0) 1. = −
In Exercises 39–42, use Euler’s method with the specified step size to estimate the value of the solution at the given point
-
𝑦 ′ = 2 𝑥 𝑒 𝑥 2 , 𝑦 ( 0 ) = 2 , 𝑑 𝑥 = 0 . 1 , 𝑥 ∗ = 1 -
𝑦 ′ = 2 𝑦 2 ( 𝑥 − 1 ) , 𝑦 ( 2 ) = − 1 / 2 , 𝑑 𝑥 = 0 . 1 , 𝑥 ∗ = 3 -
𝑦 ′ = √ 𝑥 / 𝑦 , 𝑦 > 0 , 𝑦 ( 0 ) = 1 , 𝑑 𝑥 = 0 . 1 , 𝑥 ∗ = 1 -
𝑦 ′ = 1 + 𝑦 2 , 𝑦 ( 0 ) = 0 , 𝑑 𝑥 = 0 . 1 , 𝑥 ∗ = 1
Use a CAS to explore graphically each of the differential equations in Exercises 43–46. Perform the following steps to help with your explorations.
a. Plot a slope field for the differential equation in the given xy-window.
b. Find the general solution of the differential equation using your CAS DE solver.
c. Graph the solutions for the values of the arbitrary constant
d. Find and graph the solution that satisfies the specified initial condition over the interval [ ] 0, . b
e. Find the Euler numerical approximation to the solution of the initial value problem with 4 subintervals of the x-interval, and plot the Euler approximation superimposed on the graph produced in part (d).
f. Repeat part (e) for 8, 16, and 32 subintervals. Plot these three Euler approximations superimposed on the graph from part (e).
g. Find the error ( y y( ) exact Euler− ( )) at the specified point x = b for each of your four Euler approximations. Discuss the improvement in the percentage error.
16.2 First-Order Linear Equations
A first-order linear differential equation is one that can be written in the form
where P and Q are continuous functions of x. Equation (1) is the linear equation’s standard form. Since the exponential growth decay equation
we see it is a linear equation with
EXAMPLE 1 Put the following equation in standard form:
Solution
Notice that
Solving Linear Equations
We solve the equation
by multiplying both sides by a positive function
Here is why multiplying by υ( ) x works:
Equation (2) expresses the solution of Equation (1) in terms of the functions
Why doesn’t the formula for
This last equation will hold if
Thus a formula for the general solution to Equation (1) is given by Equation (2), where υ( )x is given by Equation (3). However, rather than memorizing the formula, just remember how to find the integrating factor once you have the standard form so
Integrating Factors
To solve the linear equation
When you integrate the product on the left-hand side in this procedure, you always obtain the product
EXAMPLE 2 Solve the equation
HISTORICAL BIOGRAPHY
Adrien-Marie Legendre
(1752–1833)
Legendre, a French mathematician, taught at the École polytechnique and won a research prize from the Berlin Academy in 1782. He encountered and developed polynomials, today named for him, in his research on the gravitational attraction of ellipsoids. He devoted 40 years to this research to elliptic integrals.
To know more, visit the companion Website.
Solution First we put the equation in standard form (Example 1):
so
The integrating factor is
Next we multiply both sides of the standard form by υ( )x and integrate:
Solving this last equation for y gives the general solution:
EXAMPLE 3 Find the particular solution of
that satisfying
Solution With
Then the integrating factor is given by
Thus
Left-hand side is υy.
Integration by parts of the right-hand side gives
Therefore,
or, solving for
When
so
Substitution into the equation for y gives the particular solution
In solving the linear equation in Example 2, we integrated both sides of the equation after multiplying each side by the integrating factor. However, we can shorten the amount of work, as in Example 3, by remembering that the left-hand side always integrates into the product
We need only integrate the product of the integrating factor
Observe that if the function

FIGURE 16.9 The RL circuit in Example 4.

FIGURE 16.10 The growth of the current in the RL circuit in Example 4. I is the current’s steady-state value. The number
RL Circuits
The diagram in Figure 16.9 represents an electrical circuit whose total resistance is a constant R ohms and whose self-inductance, shown as a coil, is L henries, also a constant. There is a switch whose terminals at a and b can be closed to connect a constant electrical source of V volts.
Ohm’s Law,
where i is the current in amperes and t is the time in seconds. By solving this equation, we can predict how the current will flow after the switch is closed.
EXAMPLE 4 The switch in the RL circuit in Figure 16.9 is closed at time
Solution Equation (5) is a first-order linear differential equation for i as a function of t. Its standard form is
and the corresponding solution, given that
(We leave the calculation of the solution to Exercise 28.) Since R and L are positive,
At any given time, the current is less than
Equation (7) expresses the solution of Equation (6) as the sum of two terms: a steady-state solution
EXERCISES 16.2
First-Order Linear Equations
Solve the differential equations in Exercises 1–14.
-
𝑥 𝑑 𝑦 𝑑 𝑥 + 𝑦 = 𝑒 𝑥 , 𝑥 > 0 -
𝑒 𝑥 𝑑 𝑦 𝑑 𝑥 + 2 𝑒 𝑥 𝑦 = 1 -
𝑥 𝑦 ′ + 3 𝑦 = s i n 𝑥 𝑥 2 , 𝑥 > 0 -
y x y x x tan cos , 2 2 2 ′ + = − < < ( ) π π
-
𝑥 𝑑 𝑦 𝑑 𝑥 + 2 𝑦 = 1 − 1 𝑥 , 𝑥 > 0 -
( 1 + 𝑥 ) 𝑦 ′ + 𝑦 = √ 𝑥 -
2 𝑦 ′ = 𝑒 𝑥 / 2 + 𝑦 -
𝑒 2 𝑥 𝑦 ′ + 2 𝑒 2 𝑥 𝑦 = 2 𝑥 -
𝑥 𝑦 ′ − 𝑦 = 2 𝑥 l n 𝑥 -
𝑥 𝑑 𝑦 𝑑 𝑥 = c o s 𝑥 𝑥 − 2 𝑦 , 𝑥 > 0 -
( 𝑡 − 1 ) 3 𝑑 𝑠 𝑑 𝑡 + 4 ( 𝑡 − 1 ) 2 𝑠 = 𝑡 + 1 , 𝑡 > 1
ds 1 12. t 1( )+ dt s t 2 3 1 ( ) + = + + t 1 2 ( )+ t 1 > −
-
drsin θ cos tan , 0 2 r + = < < ( ) θ θ θ π dθ
-
t a n 𝜃 𝑑 𝑟 𝑑 𝜃 + 𝑟 = s i n 2 𝜃 , 0 < 𝜃 < 𝜋 / 2
Solving Initial Value Problems
Solve the initial value problems in Exercises 15–20.
-
𝑑 𝑦 𝑑 𝑡 + 2 𝑦 = 3 , 𝑦 ( 0 ) = 1 -
𝑡 𝑑 𝑦 𝑑 𝑡 + 2 𝑦 = 𝑡 3 , 𝑡 > 0 , 𝑦 ( 2 ) = 1 -
𝜃 𝑑 𝑦 𝑑 𝜃 + 𝑦 = s i n 𝜃 , 𝜃 > 0 , 𝑦 ( 𝜋 / 2 ) = 1 -
dyθ 2 sec tan , 0, 3 2y y3 − = > =θ θ θ θ π( ) dθ
-
( 𝑥 + 1 ) 𝑑 𝑦 𝑑 𝑥 − 2 ( 𝑥 2 + 𝑥 ) 𝑦 = 𝑒 𝑥 2 𝑥 + 1 , 𝑥 > − 1 , 𝑦 ( 0 ) = 5 -
𝑑 𝑦 𝑑 𝑥 + 𝑥 𝑦 = 𝑥 , 𝑦 ( 0 ) = − 6 -
Solve the exponential growth/decay initial value problem for y as a function of t by thinking of the differential equation as a firstorder linear equation with
𝑃 ( 𝑥 ) = − 𝑘 a n d 𝑄 ( 𝑥 ) = 0 ;
- Solve the following initial value problem for u as a function of t:
k m ( and positive constants),𝑑 𝑢 𝑑 𝑡 + 𝑘 𝑚 𝑢 = 0 𝑢 ( 0 ) = 𝑢 0
a. as a first-order linear equation.
b. as a separable equation.
Theory and Examples
- Is either of the following equations correct? Give reasons for your answers.
a.
b.
- Is either of the following equations correct? Give reasons for your answers.
a.
b.
-
Current in a closed RL circuit How many seconds after the switch in an RL circuit is closed will it take the current i to reach half of its steady-state value? Notice that the time depends on R and
not on how much voltage is applied.𝐿 , -
Current in an open RL circuit If the switch is thrown open after the current in an RL circuit has built up to its steady-state value
, the decaying current (see accompanying figure) obeys the equation𝐼 = 𝑉 / 𝑅
which is Equation (5) with
a. Solve the equation to express i as a function of t.
b. How long after the switch is thrown will it take the current to fall to half its original value?
c. Show that the value of the current when

- Time constants Engineers call the number
the time constant of the RL circuit in Figure 16.10. The significance of the time constant is that the current will reach 95% of its final value within 3 time constants of the time the switch is closed (Figure 16.10). Thus, the time constant gives a built-in measure of how rapidly an individual circuit will reach equilibrium.𝐿 / 𝑅
a. Find the value of i in Equation (7) that corresponds to
b. Approximately what percentage of the steady-state current will be flowing in the circuit 2 time constants after the switch is closed (i.e., when
- Derivation of Equation (7) in Example 4
a. Show that the solution of the equation
is
b. Then use the initial condition
c. Show that
A Bernoulli differential equation is of the form
Observe that, if
HISTORICAL BIOGRAPHY
Jakob Bernoulli
(1654–1705)
Jakob Bernoulli was born in Switzerland and received his degree in 1671 after studying philosophy and theology at the request of his father and mathematics and astronomy against the will of his father. Working on problems in optics and mechanics, Bernoulli contributed to important developments in infinitesimal geometry and calculus.
To know more, visit the companion Website.
For example, in the equation
we have
Substitution into the original equation gives
or, equivalently,
This last equation is linear in the (unknown) dependent variable u.
Solve the Bernoulli equations in Exercises 29–32.
16.3 Applications
We now look at four applications of first-order differential equations. The first application analyzes an object moving along a straight line while subject to a force opposing its motion. The second is a model of population growth. The third application considers a curve or curves intersecting each curve in a second family of curves orthogonally (that is, at right angles). The final application analyzes chemical concentrations entering and leaving a container. The various models involve separable or linear first-order equations.
Motion with Resistance Proportional to Velocity
In some cases it is reasonable to assume that the resistance encountered by a moving object, such as a car coasting to a stop, is proportional to the object’s velocity. The faster the object moves, the more its forward progress is resisted by the air through which it passes. Picture the object as a mass m moving along a coordinate line with position function s and velocity υ at time t. From Newton’s second law of motion, the resisting force opposing the motion is
If the resisting force is proportional to velocity, we have
This is a separable differential equation representing exponential change. The solution to the equation with initial condition
What can we learn from Equation (1)? For one thing, we can see that if m is something large, like the mass of a 20,000-ton ore boat in Lake Erie, it will take a long time for the velocity to approach zero (because t must be large in the exponent of the equation in order to make kt m large enough for υ to be small). We can learn even more if we integrate Equation (1) to find the position s as a function of time t.
Suppose that an object is coasting to a stop and the only force acting on it is a resistance proportional to its speed. How far will it coast? To find out, we start with Equation (1) and solve the initial value problem
Integrating with respect to t gives
Substituting
The body’s position at time t is therefore
To find how far the body will coast, we find the limit of s( ) ast
Thus,
The number
EXAMPLE 1 For a 90-kg ice skater, the k in Equation (1) is about 5
Solution We answer the first question by solving Equation (1) for t:
We answer the second question with Equation (3):
Inaccuracy of the Exponential Population Growth Model
In Section 7.2 we modeled population growth with the Law of Exponential Change:
where P is the population at time
To assess the model, notice that the exponential growth differential equation says that
is constant. This rate is called the relative growth rate. We can use this to predict total future world population based on historical data. Table 16.3 gives the world population at midyear for the years 1980 to 19816. Taking

FIGURE 16.11 The value of the solution

FIGURE 16.12 An orthogonal trajectory intersects the family of curves at right angles, or orthogonally.

FIGURE 16.13 Every straight line through the origin is orthogonal to the family of circles centered at the origin.
TABLE 16.3 World population (midyear)
| Year | Population (millions) | |
| 1980 | 4454 | 76/4454 ≈ 0.0171 |
| 1981 | 4530 | 80/4530 ≈ 0.0177 |
| 1982 | 4610 | 80/4610 ≈ 0.0174 |
| 1983 | 4690 | 80/4690 ≈ 0.0171 |
| 1984 | 4770 | 81/4770 ≈ 0.0170 |
| 1985 | 4851 | 82/4851 ≈ 0.0169 |
| 1986 | 4933 | 85/4933 ≈ 0.0172 |
| 1987 | 5018 | 87/5018 ≈ 0.0173 |
| 1988 | 5105 | 85/5105 ≈ 0.0167 |
| 1989 | 5190 |
The solution to this initial value problem gives the population function
Orthogonal Trajectories
An orthogonal trajectory of a family of curves is a curve that intersects each curve of the family at right angles, or orthogonally (Figure 16.12). For instance, each straight line through the origin is an orthogonal trajectory of the family of circles
EXAMPLE 2 Find the orthogonal trajectories of the family of curves
Solution The curves xy a = form a family of hyperbolas having the coordinate axes as asymptotes. First we find the slopes of each curve in this family, or their

FIGURE 16.14 Each curve is orthogonal to every curve it meets in the other family (Example 2).
Thus the slope of the tangent line at any point
This differential equation is separable, and we solve it as in Section 7.2:
where
Mixture Problems
Suppose a chemical in a liquid solution (or dispersed in a gas) runs into a container holding the liquid (or the gas) with, possibly, a specified amount of the chemical dissolved as well. The mixture is kept uniform by stirring and flows out of the container at a known rate. In this process, it is often important to know the concentration of the chemical in the container at any given time. The differential equation describing the process is based on the formula
If
Accordingly, Equation (6) becomes
If, say, y is measured in kilograms, V in liters, and t in minutes, the units in Equation (8) are
EXAMPLE 3 In an oil refinery, a storage tank contains 10,000 L of gasoline that initially has 50 kg of an additive dissolved in it. In preparation for winter weather, gasoline containing 0.2 kg of additive per liter is pumped into the tank at a rate of 200 L/min.
The well-mixed solution is pumped out at a rate of 220 L/min. How much of the additive is in the tank 20 min after the pumping process begins (Figure 16.15)?

FIGURE 16.15 The storage tank in Example 3 mixes input
liquid with stored liquid to produce an output liquid.
Solution Let y be the amount (in kilograms) of additive in the tank at time t. We know that
Therefore,
Also,
The differential equation modeling the mixture process is
in kilograms per minute.
To solve this differential equation, we first write it in standard linear form:
Thus,
Multiplying both sides of the standard equation by υ( )t and integrating both sides gives
The general solution is
Because
The particular solution of the initial value problem is
The amount of additive in the tank 20 min after the pumping begins is
EXERCISES 16.3
Motion Along a Line
- Coasting bicycle A 66-kg cyclist on a 7-kg bicycle starts coasting on level ground at 9 m s. The k in Equation (1) is about
3 . 9 k g / s
a. About how far will the cyclist coast before reaching a complete stop?
b. How long will it take the cyclist’s speed to drop to 1
- Coasting battleship An Iowa class battleship has mass around 51,000 metric tons (51,000,000 kg) and a k value in Equation (1) of about 59, 000 kg s. Assume that the ship loses power when it is moving at a speed of 9 m s.
a. About how far will the ship coast before it is dead in the water?
b. About how long will it take the ship’s speed to drop to 1 m s?
- The data in Table 16.4 were collected with a motion detector and a CBL™ by Valerie Sharritts, then a mathematics teacher at St. Francis DeSales High School in Columbus, Ohio. The table shows the distance s (meters) coasted on inline skates in t s by her daughter Ashley when she was 10 years old. Find a model for Ashley’s position given by the data in Table 16.4 in the form of
TABLE 16.4 Ashley Sharritts skating data
| t (s) | s (m) | t (s) | s (m) | t (s) | s (m) |
| 0 | 0 | 2.24 | 3.05 | 4.48 | 4.77 |
| 0.16 | 0.31 | 2.40 | 3.22 | 4.64 | 4.82 |
| 0.32 | 0.57 | 2.56 | 3.38 | 4.80 | 4.84 |
| 0.48 | 0.80 | 2.72 | 3.52 | 4.96 | 4.86 |
| 0.64 | 1.05 | 2.88 | 3.67 | 5.12 | 4.88 |
| 0.80 | 1.28 | 3.04 | 3.82 | 5.28 | 4.89 |
| 0.96 | 1.50 | 3.20 | 3.96 | 5.44 | 4.90 |
| 1.12 | 1.72 | 3.36 | 4.08 | 5.60 | 4.90 |
| 1.28 | 1.93 | 3.52 | 4.18 | 5.76 | 4.91 |
| 1.44 | 2.09 | 3.68 | 4.31 | 5.92 | 4.90 |
| 1.60 | 2.30 | 3.84 | 4.41 | 6.08 | 4.91 |
| 1.76 | 2.53 | 4.00 | 4.52 | 6.24 | 4.90 |
| 1.92 | 2.73 | 4.16 | 4.63 | 6.40 | 4.91 |
| 2.08 | 2.89 | 4.32 | 4.69 | 6.56 | 4.91 |
Equation (2). Her initial velocity was
- Coasting to a stop Table 16.5 shows the distance s (meters) coasted on inline skates in terms of time t (seconds) by Kelly Schmitzer. Find a model for her position in the form of Equation (2). Her initial velocity was
, her mass𝑣 0 = 0 . 8 0 m / s and her total coasting distance was 1.32 m.𝑚 = 4 9 . 9 0 k g .
TABLE 16.5 Kelly Schmitzer skating data
| t (s) | s (m) | t (s) | s (m) | t (s) | s (m) |
| 0 | 0 | 1.5 | 0.89 | 3.1 | 1.30 |
| 0.1 | 0.07 | 1.7 | 0.97 | 3.3 | 1.31 |
| 0.3 | 0.22 | 1.9 | 1.05 | 3.5 | 1.32 |
| 0.5 | 0.36 | 2.1 | 1.11 | 3.7 | 1.32 |
| 0.7 | 0.49 | 2.3 | 1.17 | 3.9 | 1.32 |
| 0.9 | 0.60 | 2.5 | 1.22 | 4.1 | 1.32 |
| 1.1 | 0.71 | 2.7 | 1.25 | 4.3 | 1.32 |
| 1.3 | 0.81 | 2.9 | 1.28 | 4.5 | 1.32 |
Orthogonal Trajectories
In Exercises 5–10, find the orthogonal trajectories of the family of curves. Sketch several members of each family.
-
2 𝑥 2 + 𝑦 2 = 𝑐 2 10.9 . 𝑦 = 𝑐 𝑒 − 𝑥 𝑦 = 𝑒 𝑘 𝑥 -
Show that the curves
and2 𝑥 2 + 3 𝑦 2 = 5 are orthogonal.𝑦 2 = 𝑥 3 -
Find the family of solutions of the given differential equation and the family of orthogonal trajectories. Sketch both families.
a.
b.
Mixture Problems
- Salt mixture A tank initially contains 400 L of brine in which 20 kg/L of salt are dissolved. A brine containing 0.2 kg/L of salt runs into the tank at the rate of 20 L/min. The mixture is kept uniform by stirring and flows out of the tank at the rate of
1 6 L / m i n .
a. At what rate (kilograms per minute) does salt enter the tank at time t?
b. What is the volume of brine in the tank at time t?
c. At what rate (kilograms per minute) does salt leave the tank at time t?
d. Write down and solve the initial value problem describing the mixing process.
e. Find the concentration of salt in the tank 25 min after the process starts.
- Mixture problem A 800-L tank is half full of distilled water. At time t = 0, a solution containing 50 grams/L of concentrate enters the tank at the rate of 20 L/min, and the well-stirred mixture is withdrawn at the rate of 12 L/min.
a. At what time will the tank be full?
b. At the time the tank is full, how many kilograms of concentrate will it contain?
-
Fertilizer mixture A tank contains 400 L of fresh water. A solution containing 0.1 kg/L of soluble lawn fertilizer runs into the tank at the rate of 4 L/min, and the mixture is pumped out of the tank at the rate of 12 L/min. Find the maximum amount of fertilizer in the tank and the time required to reach the maximum.
-
Carbon monoxide pollution An executive conference room of a corporation contains 120 m 3 of air initially free of carbon monoxide. Starting at time t = 0, cigarette smoke containing 4% carbon monoxide is blown into the room at the rate of 0.008 m min 3 . A ceiling fan keeps the air in the room well circulated and the air leaves the room at the same rate of 0.008 m min3 . Find the time when the concentration of carbon monoxide in the room reaches 0.01%.
16.4 Graphical Solutions of Autonomous Equations
In Chapter 4 we learned that the sign of the first derivative tells where the graph of a function is increasing and where it is decreasing. The sign of the second derivative tells the concavity of the graph. We can build on our knowledge of how derivatives determine the shape of a graph to solve differential equations graphically. We will see that the ability to discern physical behavior from graphs is a powerful tool in understanding real-world systems. The starting ideas for a graphical solution are the notions of phase line and equilibrium value. We arrive at these notions by investigating, from a point of view quite different from that studied in Chapter 4, what happens when the derivative of a differentiable function is zero.
Equilibrium Values and Phase Lines
When we differentiate implicitly the equation
we obtain
Solving for
A differential equation for which
DEFINITION
is an autonomous differential equation, then the values of I f 𝑑 𝑦 / 𝑑 𝑥 = 𝑔 ( 𝑦 ) for which 𝑦 are called equilibrium values or rest points. 𝑑 𝑦 / 𝑑 𝑥 = 0
Thus, equilibrium values are those at which no change occurs in the dependent variable, so y is at rest. The emphasis is on the value of y where
are
To construct a graphical solution to an autonomous differential equation, we first make a phase line for the equation, a plot on the y-axis that shows the equation’s equilibrium values along with the intervals where
EXAMPLE 1 Draw a phase line for the equation
and use it to sketch solutions to the equation.
Solution
- Draw a number line for y and mark the equilibrium values
where𝑦 = − 1 𝑎 𝑛 𝑑 𝑦 = 2 . 𝑑 𝑦 / 𝑑 𝑥 = 0

- Identify and label the intervals where
and𝑦 ′ > 0 . This step resembles what we did in Section 4.3, only now we are marking the y-axis instead of the x-axis.𝑦 ′ < 0

We can encapsulate the information about the sign of

FIGURE 16.16 Graphical solutions from Example 1 include the horizontal lines

Similarly,
For
In short, solution curves below the horizontal line
- Calculate
and mark the intervals where𝑦 ′ ′ and𝑦 ′ ′ > 0 . To find𝑦 ′ ′ < 0 we differentiate𝑦 ′ ′ , with respect to x, using implicit differentiation.𝑦 ′

From this formula, we see that

- Sketch an assortment of solution curves in the xy-plane. The horizontal lines
, and𝑦 = − 1 , 𝑦 = 1 / 2 partition the plane into horizontal bands in which we know the signs of𝑦 = 2 and𝑦 ′ . In each band, this information tells us whether the solution curves rise or fall and how they bend as x increases (Figure 16.16).𝑦 ′ ′ .
The “equilibrium lines”
As predicted in Step 2, solutions in the middle and lower bands approach the equilibrium value
Stable and Unstable Equilibria
Look at Figure 16.16 once more, in particular at the behavior of the solution curves near the equilibrium values. Once a solution curve has a value near
Now that we know what to look for, we can already see this behavior on the initial phase line (the second diagram in Step 2 of Example 1). The arrows lead away from

FIGURE 16.17 First step in constructing the phase line for Newton’s Law of Cooling. The temperature tends toward the equilibrium (surrounding-medium) value in the long run.

FIGURE 16.18 The complete phase line for Newton’s Law of Cooling.

FIGURE 16.19 Temperature versus time. Regardless of initial temperature, the object’s temperature H t( ) tends toward
We now present several applied examples for which we can sketch a family of solution curves to the differential equation models using the method in Example 1.
Newton’s Law of Cooling
In Section 7.2 we solved analytically the differential equation
modeling Newton’s Law of Cooling. Here H is the temperature of an object at time t, and
Suppose that the surrounding medium (say, a room in a house) has a constant Celsius temperature of
(minus k to give a negative derivative when
Since
We determine the concavity of the solution curves by differentiating both sides of Equation (1) with respect to t:
Since −k is negative, we see that
The completed phase line shows that if the temperature of the object is above the equilibrium value of
From the upper solution curve in Figure 16.19, we see that as the object cools down, the rate at which it cools slows down because
A Falling Body Encountering Resistance
Newton observed that the rate of change of the momentum of a moving object is equal to the net force applied to it. In mathematical terms,

FIGURE 16.20 An object falling under the propulsion due to gravity, with a resistive force assumed to be proportional to the velocity.

FIGURE 16.21 Initial phase line for the falling body encountering resistance.

FIGURE 16.22 The completed phase line for the falling body.

FIGURE 16.23 Typical velocity curves for a falling body encountering resistance. The value
where
using the Derivative Product Rule. In many situations, however, m is constant,
which is known as Newton’s second law of motion (see Section 16.3).
In free fall, the constant acceleration due to gravity is denoted by
the force due to gravity. If, however, we think of a real body falling through the air—say, a penny from a great height or a parachutist from an even greater height—we know that at some point air resistance is a factor in the speed of the fall. A more realistic model of free fall would include air resistance, shown as a force
For low speeds well below the speed of sound, physical experiments have shown that
giving
We can use a phase line to analyze the velocity functions that solve this differential equation.
The equilibrium point, obtained by setting the right-hand side of Equation (4) equal to zero, is
If the body is initially moving faster than this,
We determine the concavity of the solution curves by differentiating both sides of Equation (4) with respect to t:
We see that

FIGURE 16.24 The initial phase line for logistic growth (Equation 6).

FIGURE 16.25 The completed phase line for logistic growth (Equation 6).
Figure 16.23 shows two typical solution curves. Regardless of the initial velocity, we see the body’s velocity tending toward the limiting value
The Logistic Model for Population Growth
In Section 16.3 we examined population growth using the model of exponential change. That is, if P represents the number of individuals and we neglect departures and arrivals, then
where
Because the natural environment has only a limited number of resources to sustain life, it is reasonable to assume that only a maximum population M can be accommodated. As the population approaches this limiting population or carrying capacity, resources become less abundant and the growth rate k decreases. A simple relationship exhibiting this behavior is
where
The model given by Equation (6) is referred to as logistic growth.
We can forecast the behavior of the population over time by analyzing the phase line for Equation (6). The equilibrium values are
We determine the concavity of the population curves by differentiating both sides of Equation (6) with respect to t:
If
The lines

FIGURE 16.26 Population curves for logistic growth.
The Logistic Equation in Neural Networks and Machine Learning
While Figure 16.26 gives a general idea of the behavior of solutions to the Logistic Equation (6), we have not yet found explicit solutions. Exact formulas for solutions of first order differential equations cannot always be found, but they can be derived for the case of the Logistic Equation, where the solutions are called logistic functions. In Example 2 we find the solutions lying between
EXAMPLE 2 Find the solutions to the Logistic Equation
Solution To solve the differential equation we use the method of separation of variables introduced in Section 7.2.
Partial fractions
y y y y= − = −and 1 1 , since
Combine constants,
Exponentiate.
Use algebra to solve for y.
Divide through by
This gives an explicit formula for all the solutions whose graphs lie strictly between
When a solution crosses the line
So the solution graph crosses at the point
Figure 16.27 shows the graph of a logistic function with

FIGURE 16.27 The constants r and C determine the steepness and horizontal displacement of a solution to the logistic equation. In this example
Logistic functions have applications in many areas beyond the study of population growth. A field of Computer Science called Machine Learning develops methods to use a large collection of experimental data, called a training set, to construct a predictor function. The training set might consist of thousands of images of signs, for example, and the predictor function might decide whether a newly obtained image represents a Stop sign.
One highly successful approach to Machine Learning is the method of Neural Networks, which creates predictor functions based on a model of interacting neurons. Neural network models are built by taking repeated compositions of linear and logistic functions. Linear functions, such as
Exercises 16.4
Phase Lines and Solution Curves
In Exercises 1–8,
a. Identify the equilibrium values. Which are stable and which are unstable?
b. Construct a phase line. Identify the signs of y′ and
c. Sketch several solution curves.
-
𝑑 𝑦 𝑑 𝑥 = ( 𝑦 + 2 ) ( 𝑦 − 3 ) 𝟐 . 𝑑 𝑦 𝑑 𝑥 = 𝑦 2 − 4 -
𝑑 𝑦 𝑑 𝑥 = 𝑦 3 − 𝑦 -
𝑑 𝑦 𝑑 𝑥 = 𝑦 2 − 2 𝑦 -
𝑦 ′ = √ 𝑦 , 𝑦 > 0 -
𝑦 ′ = 𝑦 − √ 𝑦 , 𝑦 > 0 -
𝑦 ′ = ( 𝑦 − 1 ) ( 𝑦 − 2 ) ( 𝑦 − 3 ) 8 . 𝑦 ′ = 𝑦 3 − 𝑦 2 -
𝑑 𝑃 𝑑 𝑡 = 1 − 2 𝑃 -
𝑑 𝑃 𝑑 𝑡 = 𝑃 ( 1 − 2 𝑃 ) -
𝑑 𝑃 𝑑 𝑡 = 2 𝑃 ( 𝑃 − 3 ) -
𝑑 𝑃 𝑑 𝑡 = 3 𝑃 ( 1 − 𝑃 ) ( 𝑃 − 1 2 ) -
Catastrophic change in logistic growth Suppose that a healthy population of some species is growing in a limited environment and that the current population
is fairly close to the carrying capacity𝑃 0 You might imagine a population of fish living in a freshwater lake in a wilderness area. Suddenly a catastrophe such as the Mount St. Helens volcanic eruption contaminates the lake and destroys a significant part of the food and oxygen on which the fish depend. The result is a new environment with a carrying capacity𝑀 0 . considerably less than𝑀 1 and, in fact, less than the current population𝑀 0 Starting at some time before the catastrophe, sketch a “before-and-after” curve that shows how the fish population responds to the change in environment.𝑃 0 . -
Controlling a population The fish and game department in a certain state is planning to issue hunting permits to control the deer population (one deer per permit). It is known that if the deer population falls below a certain level m, the deer will become extinct. It is also known that if the deer population rises above the carrying capacity M, the population will decrease back to M through disease and malnutrition.
a. Discuss the reasonableness of the following model for the growth rate of the deer population as a function of time:
where
b. Explain how this model differs from the logistic model
c. Show that if
d. What happens if
e. Discuss the solutions to the differential equation. What are the equilibrium points of the model? Explain the dependence of the steady-state value of P on the initial values of P. About how many permits should be issued?
Applications and Examples
- Skydiving If a body of mass m falling from rest under the action of gravity encounters an air resistance proportional to the square of velocity, then the body’s velocity t seconds into the fall satisfies the equation
where k is a constant that depends on the body’s aerodynamic properties and the density of the air. (We assume that the fall is too short to be affected by changes in the air’s density.)
a. Draw a phase line for the equation.
b. Sketch a typical velocity curve.
c. For a 45-kg skydiver
Models of Population Growth
The autonomous differential equations in Exercises 16–12 represent models for population growth. For each exercise, use a phase line analysis to sketch solution curves for
-
Resistance proportional to
A body of mass m is projected vertically downward with initial velocity√ 𝑣 Assume that the resisting force is proportional to the square root of the velocity, and find the terminal velocity from a graphical analysis.𝑣 0 . -
Sailing A sailboat is running along a straight course with the wind providing a constant forward force of 200 N. The only other force acting on the boat is resistance as the boat moves through the water. The resisting force is numerically equal to five times the boat’s speed, and the initial velocity is
What is the maximum velocity in meters per second of the boat under this wind?1 m / s . -
The spread of information Sociologists recognize a phenomenon called social diffusion, which is the spreading of a piece of information, technological innovation, or cultural fad among a population. The members of the population can be divided into two classes: those who have the information and those who do not. In a fixed population whose size is known, it is reasonable to assume that the rate of diffusion is proportional to the number who have the information times the number yet to receive it. If X denotes the number of individuals who have the information in a population of N people, then a mathematical model for social diffusion is given by
where t represents time in days and k is a positive constant.
a. Discuss the reasonableness of the model.
b. Construct a phase line identifying the signs of
c. Sketch representative solution curves.
d. Predict the value of X for which the information is spreading most rapidly. How many people eventually receive the information?
- Current in an RL circuit The accompanying diagram represents an electrical circuit whose total resistance is a constant R ohms and whose self-inductance, shown as a coil, is L henries, also a constant. There is a switch whose terminals at a and b can be closed to connect a constant electrical source of V volts. From Section 16.2, we have
where i is the current in amperes and t is the time in seconds.

Use a phase line analysis to sketch the solution curve assuming that the switch in the RL circuit is closed at time
- A pearl in shampoo Suppose that a pearl is sinking in a thick fluid, like shampoo, subject to a frictional force opposing its fall and proportional to its velocity. Suppose that there is also a resistive buoyant force exerted by the shampoo. According to Archimedes’ principle, the buoyant force equals the weight of the fluid displaced by the pearl. Using m for the mass of the pearl and P for the mass of the shampoo displaced by the pearl as it descends, complete the following steps.
a. Draw a schematic diagram showing the forces acting on the pearl as it sinks, as in Figure 16.20.
b. Using υ( )t for the pearl’s velocity as a function of time t, write a differential equation modeling the velocity of the pearl as a falling body.
c. Construct a phase line displaying the signs of
d. Sketch typical solution curves.
e. What is the terminal velocity of the pearl?
Logistic Functions
-
Write the formula for a logistic function that has values between
and𝑦 = 0 , crosses the line𝑦 = 1 , at𝑦 = 1 / 2 , and has slope 5 at this point.𝑥 = 0 . -
Write the formula for a logistic function that has values between
and𝑦 = 0 , crosses the line𝑦 = 1 , at𝑦 = 1 / 2 , and has slope𝑥 = 0 at this point.1 / 5
Systems of Equations and Phase Planes
In some situations we are led to consider not one, but several, first-order differential equations. Such a collection is called a system of differential equations. In this section we present an approach to understanding systems through a graphical procedure known as a phase-plane analysis. We present this analysis in the context of modeling the populations of trout and bass living in a common pond.
Phase Planes
A general system of two first-order differential equations may take the form
In this system we often think of t as representing time and take
We cannot look at just one of these equations in isolation to find solutions
A Competitive-Hunter Model
Imagine two species of fish, say trout and bass, competing for the same limited resources (such as food and oxygen) in a certain pond. We let x( ) represent the number of trout andt y t( ) the number of bass living in the pond at time t. In reality, x( ) and t y t( ) are always integer valued, but we will approximate them with real-valued differentiable functions. This allows us to apply the methods of differential equations.
Several factors affect the rates of change of these populations. As time passes, each species breeds, so we assume its population increases proportionally to its size. Taken by itself, this would lead to exponential growth in each of the two populations. However, there is a countervailing effect from the fact that the two species are in competition. A large number of bass tends to cause a decrease in the number of trout, and vice versa. Our model takes the size of this effect to be proportional to the frequency with which the two species interact, which in turn is proportional to xy, the product of the two populations. These considerations lead to the following model for the growth of the trout and bass in the pond:
Here
We now examine the nature of the phase plane in the trout-bass population model. We will be interested in the 1st quadrant of the xy-plane, where
This pair of simultaneous equations has two solutions:
Next, we note that if

(a)

(b)

(c)
FIGURE 16.28 Rest points in the competitive-hunter model given by Equations (1a) and (1b).

FIGURE 16.29 To the left of the line

FIGURE 16.30 Above the line

FIGURE 16.31 Composite graphical analysis of the trajectory directions in the four regions determined by
In setting up our competitive-hunter model, we do not generally know precise values of the constants a, b, m, n. Nonetheless, we can analyze the system of Equations (1) to learn the nature of its solution trajectories. We begin by determining the signs of
We saw that
Next, we examine what happens near the two equilibrium points. The trajectories near
It turns out that in each of the half-planes above and below the line


FIGURE 16.32 Motion along the trajectories near the rest points (0, 0) and
FIGURE 16.33 Qualitative results of analyzing the competitive-hunter model. There are exactly two trajectories approaching the point
Our graphical analysis leads us to conclude that, under the assumptions of the competitivehunter model, it is unlikely that both species will reach equilibrium levels. This is because it would be almost impossible for the fish populations to move exactly along one of the two approaching trajectories for all time. Furthermore, the initial populations point

Limitations of the Phase-Plane Analysis Method
FIGURE 16.34 Trajectory direction near the rest point ( 0, 0 .)
Unlike the situation for the competitive-hunter model, it is not always possible to determine the behavior of trajectories near a rest point. For example, suppose we know that the trajectories near a rest point, chosen here to be the origin (0, 0 , behave as in Figure 16.34.) The information provided by Figure 16.34 is not sufficient to distinguish among the three possible trajectories shown in Figure 16.35. Even if we could determine that a trajectory near an equilibrium point resembles that of Figure 16.35c, we would still not know how the other trajectories behave. It could happen that a trajectory closer to the origin behaves like the motions displayed in Figure 16.35a or 16.35b. The spiraling trajectory in Figure 16.35c can never actually reach the rest point in a finite time period.



FIGURE 16.35 Three possible trajectory motions: (a) periodic motion, (b) motion toward an asymptotically stable rest point, and (c) motion near an unstable rest point.
Another Type of Behavior

The system
FIGURE 16.36 The solution
(2b)
can be shown to have only one equilibrium point at (0, 0 . Yet any trajectory starting on the) unit circle traverses it clockwise because, when
Exercises 16.5
-
List three of the important considerations that are ignored in the competitive-hunter model as presented in the text.
-
For the system (2a) and (2b), show that any trajectory starting on the unit circle
will traverse the unit circle in a periodic solution. First introduce polar coordinates and rewrite the system as𝑥 2 + 𝑦 2 = 1 𝑑 𝑟 / 𝑑 𝑡 = 𝑟 ( 1 − 𝑟 2 ) a n d − 𝑑 𝜃 / 𝑑 𝑡 = − 1 -
Develop a model for the growth of trout and bass, assuming that in isolation trout demonstrate exponential decay [so that
in Equations (1a) and (1b)] and that the bass population grows logistically with a population limit M. Analyze graphically the motion in the vicinity of the rest points in your model. Is coexistence possible?𝑎 < 0 -
How might the competitive-hunter model be validated? Include a discussion of how the various constants a,
and n might be estimated. How could state conservation authorities use the model to ensure the survival of both species?𝑏 , 𝑚 , -
Consider another competitive-hunter model defined by
where x and y represent trout and bass populations, respectively.
a. What assumptions are implicitly being made about the growth of trout and bass in the absence of competition?
b. Interpret the constants a, b, m,
c. Perform a graphical analysis:
i) Find the possible equilibrium levels.
ii) Determine whether coexistence is possible.
iii) Pick several typical starting points, and sketch typical trajectories in the phase plane.
iv) Interpret the outcomes predicted by your graphical analysis in terms of the constants
Note: When you get to part (iii), you should realize that five cases exist. You will need to analyze all five cases.
- An economic model Consider the following economic model. Let P be the price of a single item on the market. Let
be the quantity of the item available on the market. Both P and Q are functions of time. If one considers price and quantity as two interacting species, the following model might be proposed:\ b o l d s y m b o l 𝑄
where
a. If
b. Perform a graphical stability analysis to determine what will happen to the levels of P and Q as time increases.
c. Give an economic interpretation of the curves that determine the equilibrium points.
- Two trajectories approach equilibrium Show that the two trajectories leading to
shown in Figure 16.33 are unique by carrying out the following steps.( 𝑚 / 𝑛 , 𝑎 / 𝑏 )
a. From system (1a) and (1b) apply the Chain Rule to derive the following equation:
b. Separate the variables, integrate, and exponentiate to obtain
where K is a constant of integration.
c. Let


FIGURE 16.37 Graphs of the functions
d. Consider what happens as
or
e. Show that only one trajectory can approach
This in turn implies that
Figure 16.37 tells you that for
f. Use a similar argument to show that the solution trajectory leading to

FIGURE 16.38 For any
- Show that the second-order differential equation
can be reduced to a system of two first-order differential equations𝑦 ′ ′ = 𝐹 ( 𝑥 , 𝑦 , 𝑦 ′ )
Can something similar be done to the nth-order differential equation
Lotka-Volterra Equations for a Predator-Prey Model
In 1925 Lotka and Volterra introduced the predator-prey equations, a system of equations that models the populations of two species, one of which preys on the other. Let x( ) represent the number of rabbitst living in a region at time t, and y t( ) the number of foxes in the same region. As time passes, the number of rabbits increases at a rate proportional to their population, and decreases at a rate proportional to the number of encounters between rabbits and foxes. The foxes, which compete for food, increase in number at a rate proportional to the number of encounters with rabbits but decrease at a rate proportional to the number of foxes. The number of encounters between rabbits and foxes is assumed to be proportional to the product of the two populations. These assumptions lead to the autonomous system
where
-
What happens to the rabbit population if there are no foxes present?
-
What happens to the fox population if there are no rabbits present?
-
Show that (0, 0 and)
are equilibrium points. Explain the meaning of each of these points.( 𝑐 / 𝑑 , 𝑎 / 𝑏 ) -
Show, by differentiating, that the function
is constant when x( ) and t y t( ) are positive and satisfy the predatorprey equations.
While x and y may change over time, C t( ) does not. Thus, C is a conserved quantity and its existence gives a conservation law. A trajectory that begins at a point ( , ) at timex y

FIGURE 16.39 Some trajectories along which C is conserved.
- Using a procedure similar to that in the text for the competitivehunter model, show that each trajectory is traversed in a counterclockwise direction as time t increases.
Along each trajectory, both the rabbit and fox populations fluctuate between their maximum and minimum levels. The maximum and minimum levels for the rabbit population occur where the trajectory intersects the horizontal line

FIGURE 16.40 The fox and rabbit populations oscillate periodically, with the maximum fox population lagging the maximum rabbit population.
CHAPTER 16 Questions to Guide Your Review
-
What is a first-order differential equation? When is a function a solution of such an equation?
-
At some time during a trajectory cycle, a wolf invades the rabbit– fox territory, eats some rabbits, and then leaves. Does this mean that the fox population will from then on have a lower maximum value? Explain your answer.
-
What is a general solution? What is a particular solution?
-
What is the slope field of a differential equation
What can we learn from such fields?𝑦 ′ = 𝑓 ( 𝑥 , 𝑦 ) ? -
Describe Euler’s method for solving the initial value problem
numerically. Give an example. Comment on the method’s accuracy. Why might you want to solve an initial value problem numerically?𝑦 ′ = 𝑓 ( 𝑥 , 𝑦 ) , 𝑦 ( 𝑥 0 ) = 𝑦 0 -
How do you solve linear first-order differential equations?
-
What is an orthogonal trajectory of a family of curves? Describe how one is found for a given family of curves.
-
What is an autonomous differential equation? What are its equilibrium values? How do they differ from critical points? What is a stable equilibrium value? Unstable?
-
How do you construct the phase line for an autonomous differential equation? How does the phase line help you produce a graph that qualitatively depicts a solution to the differential equation?
-
Why is the exponential model unrealistic for predicting long-term population growth? How does the logistic model correct for the deficiency in the exponential model for population growth? What is the logistic differential equation? What is the form of its solution? Describe the graph of the logistic solution.
-
What is an autonomous system of differential equations? What is a solution to such a system? What is a trajectory of the system?
CHAPTER 16 Practice Exercises
In Exercises 1–22, solve the differential equation.
-
𝑦 ′ = 𝑥 𝑒 𝑦 √ 𝑥 − 2 -
𝑦 ′ = 𝑥 𝑦 𝑒 𝑥 2 -
s e c 𝑥 𝑑 𝑦 + 𝑥 c o s 2 𝑦 𝑑 𝑥 = 0 -
2 𝑥 2 𝑑 𝑥 − 3 √ 𝑦 c s c 𝑥 𝑑 𝑦 = 0 -
𝑦 ′ = 𝑒 𝑦 𝑥 𝑦 -
𝑦 ′ = 𝑥 𝑒 𝑥 − 𝑦 c s c 𝑦 -
𝑥 ( 𝑥 − 1 ) 𝑑 𝑦 − 𝑦 𝑑 𝑥 = 0 -
𝑦 ′ = ( 𝑦 2 − 1 ) 𝑥 − 1 -
2 𝑦 ′ − 𝑦 = 𝑥 𝑒 𝑥 / 2 -
𝑦 ′ 2 + 𝑦 = 𝑒 − 𝑥 s i n 𝑥 -
𝑥 𝑦 ′ + 2 𝑦 = 1 − 𝑥 − 1 -
𝑥 𝑦 ′ − 𝑦 = 2 𝑥 l n 𝑥 -
( 1 + 𝑒 𝑥 ) 𝑑 𝑦 + ( 𝑦 𝑒 𝑥 + 𝑒 − 𝑥 ) 𝑑 𝑥 = 0 -
𝑒 − 𝑥 𝑑 𝑦 + ( 𝑒 − 𝑥 𝑦 − 4 𝑥 ) 𝑑 𝑥 = 0 -
( 𝑥 + 3 𝑦 2 ) 𝑑 𝑦 + 𝑦 𝑑 𝑥 = 0 ( 𝐻 𝑖 𝑛 𝑡 : 𝑑 ( 𝑥 𝑦 ) = 𝑦 𝑑 𝑥 + 𝑥 𝑑 𝑦 ) -
𝑥 𝑑 𝑦 + ( 3 𝑦 − 𝑥 − 2 c o s 𝑥 ) 𝑑 𝑥 = 0 , 𝑥 > 0 -
𝑦 ′ = s i n 3 𝑥 c o s 2 𝑦 -
𝑥 𝑑 𝑦 − ( 𝑥 4 − 𝑦 ) 𝑑 𝑥 = 0
-
𝑦 ′ = 𝑥 𝑦 l n 𝑥 l n 𝑦 -
𝑥 𝑦 ′ + 2 𝑦 l n 𝑥 = l n 𝑥
Initial Value Problems
In Exercises 23–28, solve the initial value problem.
-
( 𝑥 + 1 ) 𝑑 𝑦 𝑑 𝑥 + 2 𝑦 = 𝑥 , 𝑥 > − 1 , 𝑦 ( 0 ) = 1 -
𝑥 𝑑 𝑦 𝑑 𝑥 + 2 𝑦 = 𝑥 2 + 1 , 𝑥 > 0 , 𝑦 ( 1 ) = 1 -
𝑑 𝑦 𝑑 𝑥 + 3 𝑥 2 𝑦 = 𝑥 2 , 𝑦 ( 0 ) = − 1 -
𝑥 𝑑 𝑦 + ( 𝑦 − c o s 𝑥 ) 𝑑 𝑥 = 0 , 𝑦 ( 𝜋 2 ) = 0 -
𝑥 𝑦 ′ + ( 𝑥 − 2 ) 𝑦 = 3 𝑥 3 𝑒 − 𝑥 , 𝑦 ( 1 ) = 0
Euler’s Method
In Exercises 29 and 30, use Euler’s method to solve the initial value problem on the given interval starting at
29.T
30.T
In Exercises 31 and 32, use Euler’s method with
31.T
32.T
In Exercises 33 and 34, use Euler’s method to solve the initial value problem graphically, starting at
a.
33.T
34.T
Slope Fields
In Exercises 35–38, sketch part of the equation’s slope field. Then add to your sketch the solution curve that passes through the point
-
𝑦 ′ = 𝑥 -
𝑦 ′ = 𝑥 𝑦
Autonomous Differential Equations and Phase Lines In Exercises 39 and 40:
a. Identify the equilibrium values. Which are stable and which are unstable?
b. Construct a phase line. Identify the signs of y′ and
c. Sketch a representative selection of solution curves.
Applications
- Escape velocity The gravitational attraction F exerted by an airless moon on a body of mass m at a distance s from the moon’s center is given by the equation
, where𝐹 = − 𝑚 𝑔 𝑅 2 𝑠 − 2 is the acceleration of gravity at the moon’s surface and R is the moon’s radius (see accompanying figure). The force F is negative because it acts in the direction of decreasing s.𝑔

a. If the body is projected vertically upward from the moon’s surface with an initial velocity
Thus, the velocity remains positive as long as
b. Show that if
- Coasting to a stop Table 16.6 shows the distance s (meters) coasted on inline skates in t s by Johnathon Krueger. Find a model for his position in the form of Equation (2) of Section 16.3. His initial velocity was
, his mass𝑣 0 = 0 . 8 6 m / s and his total coasting distance was 0.97 m.𝑚 = 3 0 . 8 4 k g
TABLE 16.6 Johnathon Krueger skating data
| t(s) | s(m) | t(s) | s(m) | t(s) | s(m) |
| 0 | 0 | 0.93 | 0.61 | 1.86 | 0.93 |
| 0.13 | 0.08 | 1.06 | 0.68 | 2.00 | 0.94 |
| 0.27 | 0.19 | 1.20 | 0.74 | 2.13 | 0.95 |
| 0.40 | 0.28 | 1.33 | 0.79 | 2.26 | 0.96 |
| 0.53 | 0.36 | 1.46 | 0.83 | 2.39 | 0.96 |
| 0.67 | 0.45 | 1.60 | 0.87 | 2.53 | 0.97 |
| 0.80 | 0.53 | 1.73 | 0.90 | 2.66 | 0.97 |
Mixture Problems
In Exercises 43 and 44, let S represent the kilograms of salt in a tank at time t minutes. Set up a differential equation representing the given information and the rate at which S changes. Then solve for S and answer the particular questions.
- A mixture containing
kg of salt per liter flows into a tank at the rate of 241 4 and the well-stirred mixture flows out of the tank at the rate of 16 L/min. The tank initially holds 600 liters of solution containing 6 kilograms of salt.L / m i n ,
a. How many liters of solution are in the tank after 1 minute? after 10 minutes? after 1 hour?
b. How many kilograms of salt are in the tank after 1 minute? after 10 minutes? after 1 hour?
- Pure water flows into a tank at the rate of
, and the wellstirred mixture flows out of the tank at the rate of 20 L/min. The tank initially holds 800 liters of solution containing 25 kilograms of salt.1 6 L / m i n
a. How many liters of solution are in the tank after 1 minute? after 10 minutes? after 200 minutes?
b. How many kilograms of salt are in the tank after 1 minute? after 30 minutes?
c. When will the tank have exactly 5 kilograms of salt, and how many liters of solution will be in the tank?
CHAPTER 16 Additional and Advanced Exercises
Theory and Applications
- Transport through a cell membrane Under some conditions, the result of the movement of a dissolved substance across a cell’s membrane is described by the equation
In this equation, y is the concentration of the substance inside the cell, and
a. Solve the equation for
b. Find the steady-state concentration, lim
- Height of a rocket If an external force F acts upon a system whose mass varies with time, Newton’s law of motion is
In this equation, m is the mass of the system at time
- a. Assume that
and𝑃 ( 𝑥 ) are continuous over the interval𝑄 ( 𝑥 ) . Use the Fundamental Theorem of Calculus, Part 1, to show that any function y satisfying the equation[ 𝑎 , 𝑏 ]
for
b. If
- (Continuation of Exercise 3.) Assume the hypotheses of Exercise 3, and assume that
and𝑦 1 ( 𝑥 ) are both solutions to the first-order linear equation satisfying the initial condition𝑦 2 ( 𝑥 ) 𝑦 ( 𝑥 0 ) = 𝑦 0 .
a. Verify that
b. For the integrating factor
Conclude that
c. From part (a), we have
Homogeneous Equations
A first-order diferential equation of the form
is called homogeneous. It can be transformed into an equation whose variables are separable by defining the new variable
Substituting into the original diferential equation and collecting terms with like variables then give the separable equation
After solving this separable equation, we obtain the solution of the original equation when we replace υ by
Solve the homogeneous equations in Exercises 5–10. First put the equation in the form of a homogeneous equation.
( 𝑥 2 + 𝑦 2 ) 𝑑 𝑥 + 𝑥 𝑦 𝑑 𝑦 = 0
( 𝑥 s i n 𝑦 𝑥 − 𝑦 c o s 𝑦 𝑥 ) 𝑑 𝑥 + 𝑥 c o s 𝑦 𝑥 𝑑 𝑦 = 0
CHAPTER 16 Technology Application Projects
Mathematica/Maple Projects
Projects can be found within MyLab Math.
• Drug Dosages: Are They Effective? Are They Safe? Formulate and solve an initial value model for the absorption of a drug in the bloodstream.
• First-Order Differential Equations and Slope Fields Plot slope fields and solution curves for various initial conditions to selected first-order differential equations.
This page is intentionally left blank