Вы находитесь на странице: 1из 19

Section 1.

1 Background 5

Although the majority of equations one is likely to encounter in practice fall into the
nonlinear category, knowing how to deal with the simpler linear equations is an important first
step (just as tangent lines help our understanding of complicated curves by providing local
approximations).

1.1 EXERCISES
In Problems 1–12, a differential equation is given along with d 2y dy
the field or problem area in which it arises. Classify each as 8. 11 - y + 2x = 0
dx2 dx
an ordinary differential equation (ODE) or a partial differen-
tial equation (PDE), give the order, and indicate the indepen- (Kidder’s equation, flow of gases through a porous
dent and dependent variables. If the equation is an ordinary medium)
differential equation, indicate whether the equation is linear d 2y dy
9. x 2+ + xy = 0
or nonlinear. dx dx
d 2x dx (aerodynamics, stress analysis)
1. 5 +4 + 9x = 2 cos 3t
dt 2 dt d 4y
10. 8 4 = x11 - x2
dx
(mechanical vibrations, electrical circuits, seismology)
(deflection of beams)
d 2y dy 0N 0 2N 1 0N
2. - 2x + 2y = 0 11. = + + kN, where k is a constant
dx 2 dx 0t 0 r2 r 0 r
(nuclear fission)
(Hermite’s equation, quantum-mechanical harmonic
d 2y
- 0.111 - y2 2
oscillator) dy
12. + 9y = 0
dx2 dx
dy y12 - 3x2 (van der Pol’s equation, triode vacuum tube)
3. =
dx x11 - 3y2
In Problems 13–16, write a differential equation that fits the
(competition between two species, ecology) physical description.
13. The rate of change of the population p of bacteria at
0 2u 0 2u
4. + = 0 time t is proportional to the population at time t.
0x2 0y2
14. The velocity at time t of a particle moving along a straight
(Laplace’s equation, potential theory, electricity, heat, line is proportional to the fourth power of its position x.
aerodynamics) 15. The rate of change in the temperature T of coffee at
time t is proportional to the difference between the tem-
dy 2
5. yc 1 + a b d = C, where C is a constant perature M of the air at time t and the temperature of the
dx coffee at time t.
(brachistochrone problem,† calculus of variations) 16. The rate of change of the mass A of salt at time t is
proportional to the square of the mass of salt present
dx at time t.
6. = k14 - x211 - x2, where k is a constant
dt
17. Drag Race. Two drivers, Alison and Kevin, are par-
(chemical reaction rates)
ticipating in a drag race. Beginning from a standing start,
dp they each proceed with a constant acceleration. Alison
7. = kp1P - p2, where k and P are constants covers the last 1>4 of the distance in 3 seconds, whereas
dt
Kevin covers the last 1>3 of the distance in 4 seconds.
(logistic curve, epidemiology, economics) Who wins and by how much time?


Historical Footnote: In 1630 Galileo formulated the brachistochrone problem 1bráxísto% = shortest, xróno% = time), that is, to determine a
path down which a particle will fall from one given point to another in the shortest time. It was reproposed by John Bernoulli in 1696 and solved
by him the following year.
46 Chapter 2 First-Order Differential Equations

2.2 EXERCISES
In Problems 1–6, determine whether the given differential differential equation, it is often helpful to use definite
equation is separable. integration (integrals with variable upper limit). For
dy dy example, consider the initial value problem
1. - sin1x + y2 = 0 2. = 4y2 - 3y + 1
dx dx dy 2
= ex y2 , y122 = 1 .
yex + y
= t ln1s2t 2 + 8t 2
ds dy dx
3. 4. =
dt dx x2 + 2 The differential equation separates if we divide by y2 and
5. 1xy2 + 3y2 2 dy - 2x dx = 0 multiply by dx. We integrate the separated equation from
ds s+1 x = 2 to x = x1 and find
6. s2 + =
dt st x = x1 x = x1
2 dy
ex dx =
In Problems 7–16, solve the equation. Lx = 2 Lx = 2 y
2

dy 1 dx 1 x = x1
7. x = 3
dx y
8.
dt
= 3xt 2 = - `
y x=2
dx t dy x 1 1
= t + 2x = = - +
y1x1 2 y122
9. 10. .
dt xe dx y 21 + x
2

dv 1 - 4v2 dy sec2y If we let t be the variable of integration and replace x1 by


11. x = 12. =
dx 3v dx 1 + x2 x and y122 by 1, then we can express the solution to the

= 3x2 11 + y2 2 3/2
dy dx initial value problem by
13. 14. - x3 = x x -1
y1x2 = a 1 -
dx dt 2
et dtb .
15. 1x + xy 2 dx + e y dy = 0
2 x2
L2
16. y -1 dy + yecos x sin x dx = 0 Use definite integration to find an explicit solution to the
initial value problems in parts (a)– (c).
2
In Problems 17–26, solve the initial value problem. (a) dy>dx = ex , y102 = 0
(b) dy>dx = ex y -2 ,
2
y102 = 1
= 11 + y2 2tan x ,
dy
y102 = 23
(c) dy>dx = 21 + sin x 11 + y2 2 ,
17.
dx y102 = 1
18. y′ = x3 11 - y2 , y102 = 3 (d) Use a numerical integration algorithm (such as
Simpson’s rule, described in Appendix C) to approx-
1 dy
19. = 2y + 1 cos x , y1p2 = 0 imate the solution to part (b) at x = 0.5 to three
2 dx
decimal places.
dy 4x2 - x - 2
20. x2 = y112 = 1 28. Sketch the solution to the initial value problem
1x + 121y + 12
,
dx
1 dy y sin u dy
21. = 2 , y1p2 = 1 = 2y - 2yt , y102 = 3
u du y +1 dt
22. x2 dx + 2y dy = 0 , y102 = 2 and determine its maximum value.
dy 29. Uniqueness Questions. In Chapter 1 we indicated that
23. = 2t cos y ,
2
y102 = p/4
dt in applications most initial value problems will have a
dy unique solution. In fact, the existence of unique solutions
24. = 8x3e-2y , y112 = 0 was so important that we stated an existence and unique-
dx
ness theorem, Theorem 1, page 11. The method for sepa-
= x2 11 + y2 ,
dy
25. y102 = 3 rable equations can give us a solution, but it may not give
dx us all the solutions (also see Problem 30). To illustrate
26. 2y dx + 11 + x2 dy = 0 , y102 = 1 this, consider the equation dy>dx = y1>3.
(a) Use the method of separation of variables to show that
27. Solutions Not Expressible in Terms of Elementary
3>2
y = a + Cb
Functions. As discussed in calculus, certain indefi- 2x
2
nite integrals (antiderivatives) such as 1 ex dx cannot 3
be expressed in finite terms using elementary functions.
When such an integral is encountered while solving a is a solution.
Section 2.2 Separable Equations 47

(b) Show that the initial value problem dy>dx = (b) Use Euler’s method with a step size of 0.1 to find an
y1>3 with y102 = 0 is satisfied for C = 0 by approximation of f112.
y = 12x>32 3>2 for x Ú 0. (c) Find a formula for f1x2 and graph f1x2 on the
(c) Now show that the constant function y K 0 also direction field from part (a).
satisfies the initial value problem given in part (b). (d) What is the exact value of f112? Compare with
Hence, this initial value problem does not have a your approximation in part (b).
unique solution. (e) Using the exact solution obtained in part (c), determine
(d) Finally, show that the conditions of Theorem 1 on limx S ∞ f1x2 and compare with your guess in part (a).
page 11 are not satisfied. 33. Mixing. Suppose a brine containing 0.3 kilogram (kg)
(The solution y K 0 was lost because of the division by of salt per liter (L) runs into a tank initially filled with
zero in the separation process.) 400 L of water containing 2 kg of salt. If the brine enters
30. As stated in this section, the separation of equation (2) on at 10 L/min, the mixture is kept uniform by stirring, and
page 42 requires division by p1y2, and this may disguise the mixture flows out at the same rate. Find the mass of
the fact that the roots of the equation p1y2 = 0 are actu- salt in the tank after 10 min (see Figure 2.4). [Hint: Let
ally constant solutions to the differential equation. A denote the number of kilograms of salt in the tank at t
(a) To explore this further, separate the equation min after the process begins and use the fact that
rate of increase in A = rate of input - rate of exit.
= 1x - 321y + 12 2>3
dy
dx A further discussion of mixing problems is given in
to derive the solution, Section 3.2.]
y = - 1 + 1x2 >6 - x + C2 3 .
10 L/min A(t)
(b) Show that y K -1 satisfies the original equation 0.3 kg/L
dy>dx = 1x - 321y + 12 2>3. 400 L
(c) Show that there is no choice of the constant C that
will make the solution in part (a) yield the solution A(0) = 2 kg 10 L/min
y K - 1. Thus, we lost the solution y K - 1 when
we divided by 1y + 12 2>3. Figure 2.4 Schematic representation of a mixing problem
31. Interval of Definition. By looking at an initial value
problem dy>dx = f1x, y2 with y1x0 2 = y0, it is not
34. Newton’s Law of Cooling. According to Newton’s law
of cooling, if an object at temperature T is immersed in a
always possible to determine the domain of the solution
medium having the constant temperature M, then the rate
y1x2 or the interval over which the function y1x2 satis-
of change of T is proportional to the difference of tem-
fies the differential equation.
perature M - T. This gives the differential equation
(a) Solve the equation dy>dx = xy3.
dT>dt = k1M − T2 .
(b) Give explicitly the solutions to the initial value prob-
lem with y102 = 1; y102 = 1>2; y102 = 2. (a) Solve the differential equation for T.
(c) Determine the domains of the solutions in part (b). (b) A thermometer reading 100°F is placed in a medium
(d) As found in part (c), the domains of the solutions having a constant temperature of 70°F. After 6 min,
depend on the initial conditions. For the initial value the thermometer reads 80°F. What is the reading
problem dy>dx = xy3 with y102 = a, a 7 0, show after 20 min?
that as a approaches zero from the right the domain (Further applications of Newton’s law of cooling appear
approaches the whole real line 1 - ∞ , ∞ 2 and as in Section 3.3.)
a approaches + ∞ the domain shrinks to a single 35. Blood plasma is stored at 40°F. Before the plasma can be
point. used, it must be at 90°F. When the plasma is placed in
(e) Sketch the solutions to the initial value problem an oven at 120°F, it takes 45 min for the plasma to warm
dy>dx = xy3 with y102 = a for a = {1>2, {1, to 90°F. Assume Newton’s law of cooling (Problem 34)
and {2. applies. How long will it take for the plasma to warm
32. Analyze the solution y = f1x2 to the initial value problem to 90°F if the oven temperature is set at (a) 100°F,
(b) 140°F, and (c) 80°F?
dy
= y2 - 3y + 2 , y102 = 1.5 36. A pot of boiling water at 100°C is removed from a stove
dx
and covered at time t = 0 and left to cool in the kitchen.
using approximation methods and then compare with its After 5 min, the water temperature has decreased to 80°C,
exact form as follows. and another 5 min later it has dropped to 65°C. Assuming
(a) Sketch the direction field of the differential equation Newton’s law of cooling (Problem 34) applies, determine
and use it to guess the value of lim x S ∞ f1x2. the (constant) temperature of the kitchen.
48 Chapter 2 First-Order Differential Equations

37. Compound Interest. If P1t2 is the amount of dollars volume element of height ∆z and cross-section area
in a savings bank account that pays a yearly interest rate A equals the weight of the air enclosed (density r times
of r% compounded continuously, then volume V = A∆z times gravity g), per unit area:
dP r r1z21A∆z2g
= P, t in years. p1z + ∆z2 - p1z2 = - = -r1z2g∆z .
dt 100 A
Assume the interest is 5% annually, P102 = $1000, and
Let ∆z S 0 to derive the differential equation
no monies are withdrawn.
dp>dz = - rg. To analyze this further we must postulate
(a) How much will be in the account after 2 yr? a formula that relates pressure and density. The perfect
(b) When will the account reach $4000? gas law relates pressure, volume, mass m, and absolute
(c) If $1000 is added to the account every 12 months, temperature T according to pV = mRT>M, where R
how much will be in the account after 312 yr? is the universal gas constant and M is the molar mass
38. Free Fall. In Section 2.1, we discussed a model for an (i.e., the mass of one mole) of the air. Therefore, density
object falling toward Earth. Assuming that only air resis- and pressure are related by r := m>V = Mp>RT.
tance and gravity are acting on the object, we found that dp Mg
the velocity v must satisfy the equation (a) Derive the equation = - p and solve it
dz RT
dY for the “isothermal” case where T is constant to
m = mg − bY ,
dt obtain the barometric pressure equation
p1z2 = p1z0 2 exp[ -Mg1z - z0 2 >RT].
where m is the mass, g is the acceleration due to gravity,
(b) If the temperature also varies with altitude T = T1z2,
and b 7 0 is a constant (see Figure 2.1). If m = 100 kg,
derive the solution
g = 9.8 m>sec2, b = 5 kg>sec, and v102 = 10 m>sec,
z
solve for v1t2. What is the limiting (i.e., terminal) velocity
p1z2 = p1z0 2expe - f.
Mg dz
R L T 1z2
of the object?
39. Grand Prix Race. Driver A had been leading archrival z0
B for a while by a steady 3 miles. Only 2 miles from the (c) Suppose an engineer measures the barometric pres-
finish, driver A ran out of gas and decelerated thereafter at sure at the top of a building to be 99,000 Pa (pascals),
a rate proportional to the square of his remaining speed. and 101,000 Pa at the base 1z = z0 2. If the absolute
One mile later, driver A’s speed was exactly halved. If temperature varies as T1z2 = 288 - 0.00651z - z0 2,
driver B’s speed remained constant, who won the race? determine the height of the building. Take
40. The atmospheric pressure (force per unit area) on a sur- R = 8.31 N-m>mol-K, M = 0.029 kg>mol, and
face at an altitude z is due to the weight of the column of g = 9.8 m>sec2. (An amusing story concerning this
air situated above the surface. Therefore, the drop in air problem can be found at http://www.snopes.com/
pressure p between the top and bottom of a cylindrical college/exam/barometer.asp)

2.3 Linear Equations


A type of first-order differential equation that occurs frequently in applications is the linear
equation. Recall from Section 1.1 that a linear first-order equation is an equation that can be
expressed in the form

a1 1x2 + a0 1x2y = b1x2 ,


dy
(1)
dx
where a1 1x2, a0 1x2, and b1x2 depend only on the independent variable x, not on y.
For example, the equation

x2sin x - 1cos x2y = 1sin x2


dy
dx
54 Chapter 2 First-Order Differential Equations

The theory of linear differential equations is an important branch of mathematics not only
because these equations occur in applications but also because of the elegant structure associ-
ated with them. For example, first-order linear equations always have a general solution given by
equation (8). Some further properties of first-order linear equations are described in Problems 28
and 36. Higher-order linear equations are treated in Chapters 4, 6, and 8.

2.3 EXERCISES
In Problems 1–6, determine whether the given equation is p
22. 1sin x2 ya b = 2
dy
separable, linear, neither, or both. + y cos x = x sin x ,
dx 2
dy dx
1. x2 + sin x - y = 0 2. + xt = ex
dx dt 23. Radioactive Decay. In Example 2 assume that the rate
dy at which RA1 decays into RA2 is 40e-20t kg>sec and the
3. 1t 2 + 12
dy
= yt - y 4. 3t = et + y ln t decay constant for RA2 is k = 5/sec. Find the mass y1t2
dt dt
of RA2 for t Ú 0 if initially y102 = 10 kg.
dx dr
5. x + t 2x = sin t 6. 3r = - u3 24. In Example 2 the decay constant for isotope RA1 was
dt du
10/sec, which expresses itself in the exponent of the rate
In Problems 7–16, obtain the general solution to the equation. term 50e-10t kg>sec. When the decay constant for RA2
dy dy y is k = 2 /sec, we see that in formula (14) for y the term
7.
dx
- y - e3x = 0 8.
dx
= + 2x + 1
x 1185>42e-2t eventually dominates (has greater magni-
tude for t large).
dr dy
9. + r tan u = sec u 10. x + 2y = x -3 (a) Redo Example 2 taking k = 20/sec. Now which
du dx
term in the solution eventually dominates?
11. 1t + y + 12 dt - dy = 0 12.
dy
= x2e-4x - 4y (b) Redo Example 2 taking k = 10/sec.
dx
25. (a) Using definite integration, show that the solution to
dx the initial value problem
13. y + 2x = 5y3
dy dy
+ 2xy = 1 , y122 = 1 ,
14. x + 31y + x2 2 =
dy sin x dx
dx x can be expressed as
x
15. 1x2 + 12 y1x2 = e-x ae4 +
dy 2 2
+ xy - x = 0 et dtb .
dx L2
16. 11 - x2 2 - x2y = 11 + x2 21 - x2
dy (b) Use numerical integration (such as Simpson’s rule,
dx Appendix C) to approximate the solution at x = 3.
26. Use numerical integration (such as Simpson’s rule,
In Problems 17–22, solve the initial value problem.
Appendix C) to approximate the solution, at x = 1, to
dy y the initial value problem
17. - = xex , y112 = e - 1
dx x dy sin 2x
dy 4 + y = 1, y102 = 0 .
18. + 4y - e-x = 0 , y102 = dx 211 + sin2x2
dx 3
Ensure your approximation is accurate to three decimal
dx places.
19. t 2 + 3tx = t 4 ln t + 1 , x112 = 0
dt 27. Consider the initial value problem
dy 3y dy
20. + + 2 = 3x , y112 = 1 + 21 + sin2x y = x , y102 = 2 .
dx x
dx
21. 1cos x2
dy
+ y sin x = 2x cos2x , (a) Using definite integration, show that the integrating
dx factor for the differential equation can be written as
p -1522p2 x
ya b = m1x2 = expa 21 + sin2t dtb
4 32 L0
Section 2.3 Linear Equations 55

and that the solution to the initial value problem is (b) Solve equation (19) for v. Then make the substitution
1
x
2 v = y3 to obtain the solution to equation (18).
y1x2 = m1s2 s ds + . 31. Discontinuous Coefficients. As we will see in Chapter 3,
m1x2 L0 m1x2
occasions arise when the coefficient P1x2 in a linear
(b) Obtain an approximation to the solution at x = 1 by
equation fails to be continuous because of jump discon-
using numerical integration (such as Simpson’s rule,
tinuities. Fortunately, we may still obtain a “reasonable”
Appendix C) in a nested loop to estimate values of
solution. For example, consider the initial value problem
m1x2 and, thereby, the value of
dy
1
+ P1x2y = x , y102 = 1 ,
m1s2s ds . dx
L0
where
[Hint: First, use Simpson’s rule to approximate
0…x…2,
P1x2 J e
1,
m1x2 at x = 0.1, 0.2, . . . , 1. Then use these val-
3, x72.
ues and apply Simpson’s rule again to approximate
(a) Find the general solution for 0 … x … 2.
1 0 m1s2 s ds.]
1

(c) Use Euler’s method (Section 1.4) to approximate the (b) Choose the constant in the solution of part (a) so that
solution at x = 1, with step sizes h = 0.1 and 0.05. the initial condition is satisfied.
[A direct comparison of the merits of the two numerical (c) Find the general solution for x 7 2.
schemes in parts (b) and (c) is very complicated, since it (d) Now choose the constant in the general solution from
should take into account the number of functional evalua- part (c) so that the solution from part (b) and the
tions in each algorithm as well as the inherent accuracies.] solution from part (c) agree at x = 2. By patching
the two solutions together, we can obtain a continu-
28. Constant Multiples of Solutions.
ous function that satisfies the differential equation
(a) Show that y = e-x is a solution of the linear equation
except at x = 2, where its derivative is undefined.
dy (e) Sketch the graph of the solution from x = 0 to x = 5.
(16) +y = 0,
dx 32. Discontinuous Forcing Terms. There are occasions
and y = x -1 is a solution of the nonlinear equation when the forcing term Q1x2 in a linear equation fails to be
dy continuous because of jump discontinuities. Fortunately,
(17) + y2 = 0 . we may still obtain a reasonable solution imitating the pro-
dx
cedure discussed in Problem 31. Use this procedure to find
(b) Show that for any constant C, the function Ce-x is a the continuous solution to the initial value problem.
solution of equation (16), while Cx -1 is a solution of
dy
equation (17) only when C = 0 or 1. + 2y = Q1x2 , y102 = 0 ,
(c) Show that for any linear equation of the form dx
dy where
+ P1x2y = 0 ,
0…x…3,
Q1x2 J e
dx 2,
if yn 1x2 is a solution, then for any constant C the -2 , x73.
function C yn 1x2 is also a solution. Sketch the graph of the solution from x = 0 to x = 7.
29. Use your ingenuity to solve the equation 33. Singular Points. Those values of x for which P1x2 in
dy 1 equation (4) is not defined are called singular points of
= 4y . the equation. For example, x = 0 is a singular point of
dx e + 2x
the equation xy′ + 2y = 3x, since when the equation is
[Hint: The roles of the independent and dependent vari- written in the standard form, y′ + 12>x2y = 3, we see
ables may be reversed.] that P1x2 = 2>x is not defined at x = 0. On an interval
30. Bernoulli Equations. The equation containing a singular point, the questions of the existence
dy and uniqueness of a solution are left unanswered, since
(18) + 2y = xy -2 Theorem 1 on page 53 does not apply. To show the pos-
dx
sible behavior of solutions near a singular point, consider
is an example of a Bernoulli equation. (Further discussion
the following equations.
of Bernoulli equations is in Section 2.6.)
(a) Show that xy′ + 2y = 3x has only one solution
(a) Show that the substitution v = y3 reduces equation defined at x = 0. Then show that the initial value
(18) to the equation problem for this equation with initial condition
dv y102 = y0 has a unique solution when y0 = 0 and
(19) + 6v = 3x . no solution when y0 ≠ 0.
dx
56 Chapter 2 First-Order Differential Equations

(b) Show that xy′ - 2y = 3x has an infinite number (b) After 10 min, a leak develops in the tank and an
of solutions defined at x = 0. Then show that the additional liter per minute of mixture flows out of
initial value problem for this equation with ini- the tank (see Figure 2.7). What will be the concen-
tial condition y102 = 0 has an infinite number of tration, in kilograms per liter, of salt in the tank
solutions. 20 min after the leak develops? [Hint: Use the
34. Existence and Uniqueness. Under the assumptions of method discussed in Problems 31 and 32.]
Theorem 1, we will prove that equation (8) gives a solu-
tion to equation (4) on 1a, b2. We can then choose the 5 L/min
A(t)
constant C in equation (8) so that the initial value prob- 0.2 kg/L
lem (15) is solved. ?L
(a) Show that since P1x2 is continuous on 1a, b2, then
A(10) = ? kg 5 L/min
m1x2 defined in (7) is a positive, continuous func-
tion satisfying dm>dx = P1x2m1x2 on 1a, b2.
(b) Since
d
m1x2Q1x2dx = m1x2Q1x2 , 1 L/min
dx L
verify that y given in equation (8) satisfies equation Figure 2.7 Mixing problem with unequal flow rates
(4) by differentiating both sides of equation (8).
36. Variation of Parameters. Here is another procedure
(c) Show that when we let 1 m1x2Q1x2 dx be
for solving linear equations that is particularly useful for
the antiderivative whose value at x0 is 0 (i.e.,
1 x0 m1t2Q1t2 dt) and choose C to be y0 m1x0 2, the
x higher-order linear equations. This method is called vari-
initial condition y1x0 2 = y0 is satisfied.
ation of parameters. It is based on the idea that just by
knowing the form of the solution, we can substitute into the
(d) Start with the assumption that y1x2 is a solution
given equation and solve for any unknowns. Here we illus-
to the initial value problem (15) and argue that
trate the method for first-order equations (see Sections 4.6
the discussion leading to equation (8) implies that
and 6.4 for the generalization to higher-order equations).
y1x2 must obey equation (8). Then argue that the
initial condition in (15) determines the constant C (a) Show that the general solution to
uniquely. dy
(20) + P1x2y = Q1x2
35. Mixing. Suppose a brine containing 0.2 kg of salt dx
per liter runs into a tank initially filled with 500 L
has the form
of water containing 5 kg of salt. The brine enters
the tank at a rate of 5 L/min. The mixture, kept uni- y1x2 = Cyh 1x2 + yp 1x2 ,
form by stirring, is flowing out at the rate of 5 L/min
(see Figure 2.6). where yh ( [ 0) is a solution to equation (20) when
Q1x2 K 0, C is a constant, and yp 1x2 = v1x2yh 1x2
for a suitable function v1x2. [Hint: Show that we
can take yh = m-1 1x2 and then use equation (8).]
5 L/min A(t)
0.2 kg/L We can in fact determine the unknown function
500 L yh by solving a separable equation. Then direct sub-
stitution of vyh in the original equation will give a
A(0) = 5 kg 5 L/min simple equation that can be solved for v.
Use this procedure to find the general solution to
Figure 2.6 Mixing problem with equal flow rates dy 3
(21) + y = x2 , x70,
dx x
(a) Find the concentration, in kilograms per liter, of by completing the following steps:
salt in the tank after 10 min. [Hint: Let A denote the (b) Find a nontrivial solution yh to the separable equation
number of kilograms of salt in the tank at t minutes
dy 3
after the process begins and use the fact that (22) + y = 0, x70.
dx x
rate of increase in A = rate of input − rate of exit.
(c) Assuming (21) has a solution of the form
A further discussion of mixing problems is given in yp 1x2 = v1x2yh 1x2, substitute this into equation
Section 3.2.] (21), and simplify to obtain v′1x2 = x2 >yh 1x2.
Section 2.4 Exact Equations 57

(d) Now integrate to get v1x2. Suppose T = 0 at 9:00 a.m., the heating unit is ON
(e) Verify that y1x2 = Cyh 1x2 + v1x2yh 1x2 is a gen- from 9–10 a.m., OFF from 10–11 a.m., ON again from
eral solution to (21). 11 a.m.–noon, and so on for the rest of the day. How
37. Secretion of Hormones. The secretion of hormones warm will the classroom be at noon? At 5:00 p.m.?
into the blood is often a periodic activity. If a hormone 40. The Nobel Prize in Physiology or Medicine in 1963 was
is secreted on a 24-h cycle, then the rate of change of the shared by A. L. Hodgkin and A. F. Huxley in recogni-
level of the hormone in the blood may be represented by tion of their model for the firing of neuronal synapses.
the initial value problem As will be discussed in Chapter 12, they proposed that
the opening/closing of certain ion channels in the neuron
dx pt
= a - b cos - kx , x102 = x0 , cell was governed by a combination of probabilistic “gat-
dt 12 ing variables,” each satisfying a differential equation that
where x1t2 is the amount of the hormone in the blood at they expressed as
time t, a is the average secretion rate, b is the amount of du
daily variation in the secretion, and k is a positive constant (23) = a11 - u2 - bu
dt
reflecting the rate at which the body removes the hormone
from the blood. If a = b = 1, k = 2, and x0 = 10, with positive parameters a, b .
solve for x1t2. (a) Use a direction field diagram (Section 1.3) to show
38. Use the separation of variables technique to derive the that the solutions of equation (23) are “probabilistic”
solution (7) to the differential equation (6). in the sense that if their initial values lie between 0
39. The temperature T (in units of 100° F) of a university class- and 1, all subsequent values also lie on [0,1].
room on a cold winter day varies with time t (in hours) as (b) Solve (23) and show that all solutions approach the
value a> 1a + b2 exponentially.
1-T,
= e
dT if heating unit is ON.
dt -T , if heating unit is OFF.

2.4 Exact Equations


Suppose the mathematical function F1x, y2 represents some physical quantity, such as tem-
perature, in a region of the xy-plane. Then the level curves of F, where F1x, y2 = constant,
could be interpreted as isotherms on a weather map, as depicted in Figure 2.8.

50°
60°
70°
80°
90°

Figure 2.8 Level curves of F1x, y2

How does one calculate the slope of the tangent to a level curve? It is accomplished by
implicit differentiation: One takes the derivative, with respect to x, of both sides of the equation
F1x, y2 = C, taking into account that y depends on x along the curve:

1C2
d d
F1x,y2 = or
dx dx
0F 0F dy
(1) + = 0,
0x 0y dx
64 Chapter 2 First-Order Differential Equations

2.4 EXERCISES
In Problems 1–8, classify the equation as separable, linear, 27. For each of the following equations, find the most gen-
exact, or none of these. Notice that some equations may have eral function M1x, y2 so that the equation is exact.
more than one classification. (a) M1x, y2 dx + 1sec2y - x>y2 dy = 0
1. 1x2y + x4cos x2 dx - x3 dy = 0 (b) M1x, y2 dx + 1sin x cos y - xy - e-y 2 dy = 0
2. 1x10>3 - 2y2 dx + x dy = 0 28. For each of the following equations, find the most
3. 2- 2y - y2 dx + 13 + 2x - x2 2 dy = 0 general function N1x, y2 so that the equation is exact.
(a) 3y cos1xy2 + ex 4 dx + N1x, y2 dy = 0
4. 1yexy + 2x2 dx + 1xexy - 2y2 dy = 0
(b) 1yexy - 4x3y + 22 dx + N1x, y2 dy = 0
5. xy dx + dy = 0
29. Consider the equation
6. y2 dx + 12xy + cos y2 dy = 0
1y2 + 2xy2 dx - x2 dy = 0 .
7. 32x + y cos1xy24dx + 3x cos1xy2 - 2y4dy = 0
8. u dr + 13r - u - 12 du = 0
(a) Show that this equation is not exact.
(b) Show that multiplying both sides of the equation by
y - 2 yields a new equation that is exact.
In Problems 9–20, determine whether the equation is exact. (c) Use the solution of the resulting exact equation to
If it is, then solve it. solve the original equation.
9. 12xy + 32 dx + 1x2 - 12 dy = 0 (d) Were any solutions lost in the process?
10. 12x + y2 dx + 1x - 2y2 dy = 0 30. Consider the equation
11. 1e sin y - 3x 2 dx + 1e cos y + y
x 2 x -2>3
>32 dy = 0 15x2y + 6x3y2 + 4xy2 2 dx
12. 1cos x cos y + 2x2 dx - 1sin x sin y + 2y2 dy = 0 + 12x3 + 3x4y + 3x2y2 dy = 0 .
13. et 1y - t2 dt + 11 + et 2 dy = 0 (a) Show that the equation is not exact.
14. 1t>y2 dy + 11 + ln y2 dt = 0 (b) Multiply the equation by xnym and determine
15. cos u dr - 1r sin u - eu 2 du = 0
values for n and m that make the resulting
equation exact.
16. 1yexy - 1>y2 dx + 1xexy + x>y2 2 dy = 0 (c) Use the solution of the resulting exact equation to
17. 11>y2 dx - 13y - x>y2 2 dy = 0 solve the original equation.

18. 32x + y2 - cos1x + y24 dx 31. Argue that in the proof of Theorem 2 the function g can
+ 32xy - cos1x + y2 - ey 4 dy = 0 be taken as
y y x
0
19. a2x + b dx + a c M1s, t2 ds d dt ,
y x
- 2yb dy = 0 g1y2 = N1x, t2 dt -
1 + x2y 2
1 + x2y2 Ly0 Ly0 0t Lx0

20. c + y cos1xy2 d dx
2
which can be expressed as
21 - x2
+ 3x cos1xy2 - y -1>3 4dy = 0
y x
g1y2 = N1x, t2 dt - M1s, y2 ds
Ly0 Lx0
In Problems 21–26, solve the initial value problem. x
+ M1s, y0 2 ds .
21. 11>x + 2y x2 dx + 12yx - cos y2 dy = 0 ,
2 2
Lx0
y112 = p
This leads ultimately to the representation
22. 1yexy - 1>y2 dx + 1xexy + x>y2 2 dy = 0 ,
y x
y112 = 1 (18) F1x, y2 = N1x, t2 dt + M1s, y0 2 ds .
23. 1ety + tety2 dt + 1tet + 22 dy = 0 , y102 = -1 Ly0 Lx0

24. 1etx + 12 dt + 1et - 12 dx = 0 , x112 = 1 Evaluate this formula directly with x0 = 0, y0 = 0 to


25. 1y sin x2 dx + 11>x - y>x2 dy = 0 ,
rework
2
y1p2 = 1
(a) Example 1.
26. 1tan y - 22 dx + 1x sec y + 1>y2 dy = 0 ,
2
(b) Example 2.
y102 = 1 (c) Example 3.
Section 2.4 Exact Equations 65

32. Orthogonal Trajectories. A geometric problem occur- (c) Show that the orthogonal trajectories to the family of
ring often in engineering is that of finding a family of hyperbolas xy = k are the hyperbolas x2 - y2 = k
curves (orthogonal trajectories) that intersects a given (see Figure 2.11).
family of curves orthogonally at each point. For example,
we may be given the lines of force of an electric field and y
want to find the equation for the equipotential curves.
Consider the family of curves described by F1x, y2 = k,
where k is a parameter. Recall from the discussion of
equation (2) that for each curve in the family, the slope
is given by

eF eF
n
dy
= − .
dx ex ey x

(a) Recall that the slope of a curve that is orthogonal


(perpendicular) to a given curve is just the negative
reciprocal of the slope of the given curve. Using this
fact, show that the curves orthogonal to the family
F1x, y2 = k satisfy the differential equation

eF eF
1x, y2 dx − 1x, y2 dy = 0 .
ey ex Figure 2.11 Families of orthogonal hyperbolas

(b) Using the preceding differential equation, show that 33. Use the method in Problem 32 to find the orthogonal tra-
the orthogonal trajectories to the family of circles jectories for each of the given families of curves, where
x2 + y2 = k are just straight lines through the origin k is a parameter.
(see Figure 2.10). (a) 2x2 + y2 = k (b) y = kx4
(c) y = e kx
(d) y2 = kx
y [Hint: First express the family in the form F1x, y2 = k .]
34. Use the method described in Problem 32 to show that
the orthogonal trajectories to the family of curves
x2 + y2 = kx, k a parameter, satisfy
12yx -1 2 dx + 1y2x -2 - 12 dy = 0 .
Find the orthogonal trajectories by solving the above
equation. Sketch the family of curves, along with their
x orthogonal trajectories. [Hint: Try multiplying the equa-
tion by xmyn as in Problem 30.]
35. Using condition (5), show that the right-hand side
of (10) is independent of x by showing that its partial
derivative with respect to x is zero. [Hint: Since the par-
tial derivatives of M are continuous, Leibniz’s theorem
allows you to interchange the operations of integration
and differentiation.]
Figure 2.10 Orthogonal trajectories for 36. Verify that F1x, y2 as defined by (9) and (10) satisfies
concentric circles are lines through the center conditions (4).
Section 2.5 Special Integrating Factors 69

Because (12) is not exact, we compute


0M>0y - 0N>0x 1 - 12xy - 12 211 - xy2 -2
= = = .
N xy-x2 -x11 - xy2 x

We obtain a function of only x, so an integrating factor for (12) is given by formula (8). That is,

-2
m1x2 = expa dxb = x -2 .
L x
When we multiply (12) by m = x -2, we get the exact equation
12 + yx -2 2 dx + 1y - x -1 2 dy = 0 .
Solving this equation, we ultimately derive the implicit solution
y2
(13) 2x - yx -1 + = C.
2
Notice that the solution x K 0 was lost in multiplying by m = x -2. Hence, (13) and x K 0 are
solutions to equation (12). ◆

There are many differential equations that are not covered by Theorem 3 but for which an
integrating factor nevertheless exists. The major difficulty, however, is in finding an explicit
formula for these integrating factors, which in general will depend on both x and y.

2.5 EXERCISES
In Problems 1–6, identify the equation as separable, linear, 15. (a) Show that if 10N>0x - 0M>0y2 > 1xM - yN2 depends
exact, or having an integrating factor that is a function of only on the product xy, that is,
either x alone or y alone.
0N>0x - 0M>0y
1. 12x + yx -1 2 dx + 1xy - 12 dy = 0 = H1xy2 ,
xM - yN
2. 12y3 + 2y2 2 dx + 13y2x + 2xy2 dy = 0
3. 12x + y2 dx + 1x - 2y2 dy = 0 then the equation M1x, y2 dx + N1x, y2 dy = 0 has
4. 1y2 + 2xy2 dx - x2 dy = 0 an integrating factor of the form m1xy2. Give the
5. 1x2sin x + 4y2 dx + x dy = 0
general formula for m1xy2.
6. 12y2x - y2 dx + x dy = 0
(b) Use your answer to part (a) to find an implicit
solution to

13y + 2xy2 2 dx + 1x + 2x2y2 dy = 0 ,


In Problems 7–12, solve the equation.
7. 12xy2 dx + 1y2 - 3x2 2 dy = 0
8. 13x2 + y2 dx + 1x2y - x2 dy = 0 satisfying the initial condition y112 = 1.
9. 1x4 - x + y2 dx - x dy = 0 16. (a) Prove that Mdx + N dy = 0 has an integrating factor
10. 12y2 + 2y + 4x2 2 dx + 12xy + x2 dy = 0 that depends only on the sum x + y if and only if the
11. 1y2 + 2xy2 dx - x2 dy = 0 expression
12. 12xy3 + 12 dx + 13x2y2 - y -1 2 dy = 0 0N>0x - 0M>0y
In Problems 13 and 14, find an integrating factor of the form M-N
xnym and solve the equation.
depends only on x + y.
13. 12y2 - 6xy2 dx + 13xy - 4x2 2 dy = 0 (b) Use part (a) to solve the equation
14. 112 + 5xy2 dx + 16xy -1 + 3x2 2 dy = 0 13 + y + xy2dx + 13 + x + xy2dy = 0.
70 Chapter 2 First-Order Differential Equations

17. (a) Find a condition on M and N that is necessary and (a) Use the method described in Problem 32 of Exer-
sufficient for Mdx + Ndy = 0 to have an integrating cises 2.4 to show that the velocity potentials satisfy
factor that depends only on the product x2y. dx + 1x - y2 dy = 0.
(b) Use part (a) to solve the equation [Hint: First express the family y = x - 1 + ke-x in the
12x + 2y + 2x3y + 4x2y2 2 dx
form F1x, y2 = k.]
(b) Find the velocity potentials by solving the equation
+ 12x + x4 + 2x3y2 dy = 0 . obtained in part (a).
20. Verify that when the linear differential equation
3P1x2y - Q1x24 dx + dy = 0 is multiplied by m1x2 =
18. If xM1x, y2 + yN1x, y2 K 0, find the solution to the
equation M1x, y2 dx + N1x, y2 dy = 0.
e 1P1x2 dx, the result is exact.
19. Fluid Flow. The streamlines associated with a cer-
tain fluid flow are represented by the family of curves
y = x - 1 + ke-x. The velocity potentials of the flow are
just the orthogonal trajectories of this family.

2.6 Substitutions and Transformations


When the equation
M1x, y2 dx + N1x, y2 dy = 0
is not a separable, exact, or linear equation, it may still be possible to transform it into one that
we know how to solve. This was in fact our approach in Section 2.5, where we used an inte-
grating factor to transform our original equation into an exact equation.
In this section we study four types of equations that can be transformed into either a sepa-
rable or linear equation by means of a suitable substitution or transformation.

Substitution Procedure
(a) Identify the type of equation and determine the appropriate substitution or
transformation.
(b) Rewrite the original equation in terms of new variables.
(c) Solve the transformed equation.
(d) Express the solution in terms of the original variables.

Homogeneous Equations
Homogeneous Equation
Definition 4. If the right-hand side of the equation
dy
(1) = f1x, y2
dx
can be expressed as a function of the ratio y>x alone, then we say the equation
is homogeneous.
76 Chapter 2 First-Order Differential Equations

The last equation is homogeneous, so we let z = v>u. Then dv>du = z + u1dz>du2, and sub-
stituting for v>u yields
dz 2z - 2
z+u = .
du 1 - 3z
Separating variables gives
1 - 3z 1
dz = du ,
L 3z + z - 2
2
Lu
from which, after utilizing a partial fraction expansion of the first integrand, we find
4 1
- ln z + 1  - ln 3z - 2  = ln u  + C1 .
5 5
It follows after exponentiating that
 z + 1  4  3z - 2  = C u  -5 ,
and when we substitute back in for z, u and v, we obtain
v v
 + 1  4  3 - 2  = C u -5 ,
u u
 u + v  4  2u - 3v  = C ,
1x + y - 12 4 12x - 3y - 72 = C .
The last equation gives an implicit solution to (16), with C any real constant. ◆

2.6 EXERCISES
In Problems 1–8, identify (do not solve) the equation as dy x2 - y2 dy y1ln y - ln x + 12
homogeneous, Bernoulli, linear coefficients, or of the form 15. = 16. =
dx 3xy dx x
y′ = G1ax + by2.
1. 2tx dx + 1t 2 - x2 2 dt = 0 Use the method discussed under “Equations of the Form
2. 1y - 4x - 12 2 dx - dy = 0
dy>dx = G1ax + by2” to solve Problems 17–20.
3. dy>dx + y>x = x3y2 17. dy>dx = 2x + y - 1 18. dy>dx = 1x + y + 22 2
4. 1t + x + 22 dx + 13t - x - 62 dt = 0 19. dy>dx = 1x - y + 52 2 20. dy>dx = sin1x - y2
5. u dy - y du = 2uy du
6. 1ye-2x + y3 2 dx - e-2x dy = 0
Use the method discussed under “Bernoulli Equations” to
solve Problems 21–28.
7. cos1x + y2 dy = sin1x + y2 dx dy y
8. 1y3 - uy2 2 du + 2u 2y dy = 0 21. + = x2y2
dx x
Use the method discussed under “Homogeneous Equations” dy
to solve Problems 9–16. 22. - y = e2xy3
dx
9. 1xy + y2 2 dx - x2 dy = 0 dy 2y
10. 13x2 - y2 2 dx + 1xy - x3y -1 2 dy = 0 23.
dx
=
x
- x2y2
11. 1y2 - xy2 dx + x2 dy = 0 dy y
12. 1x2 + y2 2 dx + 2xy dy = 0
24. + = 51x - 22y1>2
dx x - 2
dx x2 + t2t 2 + x2 dy u sec1y>u2 + y dx x dy
13. = 14. = 25. + tx3 + = 0 26. + y = exy -2
dt tx du u dt t dx
Section 2.6 Substitutions and Transformations 77

dr r 2 + 2ru dy individual solutions x1t2, y1t2. For this purpose, divide


27. = 28. + y3x + y = 0
du u2 dx the first equation by the second to obtain

Use the method discussed under “Equations with Linear dy ax + by


(17) = .
Coefficients” to solve Problems 29–32. dx ax + by
29. 1x + y - 12 dx + 1y - x - 52 dy = 0
30. 1 -4x - y - 12 dx + 1x + y + 32 dy = 0
This new equation is homogeneous, so we can solve it
via the substitution v = y>x. We refer to the solutions
31. 12x - y2 dx + 14x + y - 32 dy = 0 of (17) as integral curves. Determine the integral curves
32. 12x - y + 42 dx + 1x - 2y - 22 dy = 0 for the system
In Problems 33 – 40, solve the equation given in: dy
33. Problem 1. 34. Problem 2. = -4x - y ,
dt
35. Problem 3. 36. Problem 4. dx
37. Problem 5. 38. Problem 6. = 2x - y .
dt
39. Problem 7. 40. Problem 8.
46. Magnetic Field Lines. As described in Problem 20 of
41. Use the substitution v = x - y + 2 to solve equation (8). Exercises 1.3, the magnetic field lines of a dipole satisfy
42. Use the substitution y = vx2 to solve
dy 3xy
= 2 .
+ cos1y>x2 2 .
dy 2y
= dx 2x - y2
dx x
Solve this equation and sketch several of these lines.
43. (a) Show that the equation dy>dx = ƒ1x, y2 is homoge-
47. Riccati Equation. An equation of the form
neous if and only if ƒ1tx, ty2 = ƒ1x, y2. [Hint: Let
t = 1>x.] dy
(b) A function H1x, y2 is called homogeneous of order (18) = P1x2y2 + Q1x2y + R1x2
dx
n if H1tx, ty2 = t nH1x, y2. Show that the equation
M1x, y2 dx + N1x, y2 dy = 0 is called a generalized Riccati equation.†
(a) If one solution—say, u1x2—of (18) is known, show
is homogeneous if M1x, y2 and N1x, y2 are both that the substitution y = u + 1>v reduces (18) to a
homogeneous of the same order. linear equation in v.
44. Show that equation (13) reduces to an equation of the (b) Given that u1x2 = x is a solution to
form
= x3 1y - x2 2 + ,
dy y
dy
= G1ax + by2 , dx x
dx
when a1b2 = a2b1. [Hint: If a1b2 = a2b1, then use the result of part (a) to find all the other solutions to
a2 >a1 = b2 >b1 = k, so that a2 = ka1 and b2 = kb1.] this equation. (The particular solution u1x2 = x can be
found by inspection or by using a Taylor series method;
45. Coupled Equations. In analyzing coupled equations of
see Section 8.1.)
the form
48. Derive the following general formula for the solution to
dy the Bernoulli equation (9):
= ax + by ,
dt
dx
= ax + by , 11 - n2 1 e11 - n2 1P1x2dx Q1x2dx + C1 1>11 - n2

dt c d for n ≠ 1
y = d e11 - n2 1P1x2dx
where a, b, a, and b are constants, we may wish to de-
C2 e 1 3Q1x2 - P1x24dx for n = 1 .
termine the relationship between x and y rather than the


Historical Footnote: Count Jacopo Riccati studied a particular case of this equation in 1724 during his investigation
of curves whose radii of curvature depend only on the variable y and not the variable x.
100 Chapter 3 Mathematical Models and Numerical Methods Involving First-Order Equations

By averaging the right-hand side of (21) over all the data, we obtain the estimate p0 ≈ 4.107.
Finally, the insertion of these estimates for the parameters in equation (15) leads to the predic-
tions listed in column six of Table 3.1.
Note that this model yields p1 ≈ 341.4 million as the limit on the future population of the
United States.

3.2 EXERCISES
1. A brine solution of salt flows at a constant rate of at the same rate, when will the air in the room be 0.01%
8 L/min into a large tank that initially held 100 L of brine carbon monoxide?
solution in which was dissolved 0.5 kg of salt. The solu- 7. Beginning at time t = 0, fresh water is pumped at the
tion inside the tank is kept well stirred and flows out of rate of 3 gal/min into a 60-gal tank initially filled with
the tank at the same rate. If the concentration of salt in brine. The resulting less-and-less salty mixture overflows
the brine entering the tank is 0.05 kg/L, determine the at the same rate into a second 60-gal tank that initially
mass of salt in the tank after t min. When will the con- contained only pure water, and from there it eventually
centration of salt in the tank reach 0.02 kg/L? spills onto the ground. Assuming perfect mixing in both
2. A brine solution of salt flows at a constant rate of 6 L/min tanks, when will the water in the second tank taste saltiest?
into a large tank that initially held 50 L of brine solution And exactly how salty will it then be, compared with the
in which was dissolved 0.5 kg of salt. The solution inside original brine?
the tank is kept well stirred and flows out of the tank at 8. A tank initially contains s0 lb of salt dissolved in 200 gal
the same rate. If the concentration of salt in the brine of water, where s0 is some positive number. Starting
entering the tank is 0.05 kg/L, determine the mass of salt at time t = 0, water containing 0.5 lb of salt per gallon
in the tank after t min. When will the concentration of enters the tank at a rate of 4 gal/min, and the well-stirred
salt in the tank reach 0.03 kg/L? solution leaves the tank at the same rate. Letting c (t)
3. A nitric acid solution flows at a constant rate of 6 L/min be the concentration of salt in the tank at time t, show
into a large tank that initially held 200 L of a 0.5% nitric that the limiting concentration—that is, limt S ∞ c(t)—is
acid solution. The solution inside the tank is kept well 0.5 lb/gal.
stirred and flows out of the tank at a rate of 8 L/min. If 9. In 1990 the Department of Natural Resources released
the solution entering the tank is 20% nitric acid, determine 1000 splake (a crossbreed of fish) into a lake. In 1997 the
the volume of nitric acid in the tank after t min. When will population of splake in the lake was estimated to be 3000.
the percentage of nitric acid in the tank reach 10%? Using the Malthusian law for population growth, estimate
4. A brine solution of salt flows at a constant rate of 4 L/min the population of splake in the lake in the year 2020.
into a large tank that initially held 100 L of pure water. 10. Use a sketch of the phase line (see Project B, Chapter 1,
The solution inside the tank is kept well stirred and flows page 33) to argue that any solution to the mixing problem
out of the tank at a rate of 3 L/min. If the concentration model
of salt in the brine entering the tank is 0.2 kg/L, deter-
dx
mine the mass of salt in the tank after t min. When will = a - bx ; a, b 7 0 ,
the concentration of salt in the tank reach 0.1 kg/L? dt
5. A swimming pool whose volume is 10,000 gal contains approaches the equilibrium solution x1t2 K a>b as t
water that is 0.01% chlorine. Starting at t = 0, city water approaches + ∞ ; that is, a>b is a sink.
containing 0.001% chlorine is pumped into the pool at a 11. Use a sketch of the phase line (see Project B, Chapter 1)
rate of 5 gal/min. The pool water flows out at the same to argue that any solution to the logistic model
rate. What is the percentage of chlorine in the pool after
= 1a - bp2p ; p1t0 2 = p0 ,
dp
1 h? When will the pool water be 0.002% chlorine?
dt
6. The air in a small room 12 ft by 8 ft by 8 ft is 3% car-
bon monoxide. Starting at t = 0, fresh air containing where a, b, and p0 are positive constants, approaches
no carbon monoxide is blown into the room at a rate of the equilibrium solution p1t2 K a>b as t approaches
100 ft3/min. If air in the room flows out through a vent + ∞.
Section 3.2 Compartmental Analysis 101

12. For the logistic curve (15), assume pa J p1ta 2 and 18. Using the U.S. census data in Table 3.1 for 1900, 1920,
pb J p1tb 2 are given with tb = 2ta 1ta 7 02. Show that and 1940 to determine parameters in the logistic equa-
tion model, what populations does the model predict for
pa pb − 2p0 pb + p0 pa
p1 = c d pa , 2000 and 2010? Compare your answers with the census
p2a − p0 pb data for those years.
pb 1pa − p0 2
d .
1 19. The initial mass of a certain species of fish is 7 million
A=
p0 1pb − pa 2
lnc
p1ta tons. The mass of fish, if left alone, would increase at a
rate proportional to the mass, with a proportionality con-
[Hint: Equate the expressions (21) for p0 at times ta and
tb. Set x = exp 1 - Ap1ta 2 and x2 = exp 1 - Ap1tb 2 and
stant of 2/yr. However, commercial fishing removes fish
mass at a constant rate of 15 million tons per year. When
solve for x. Insert into one of the earlier expressions and will all the fish be gone? If the fishing rate is changed so
solve for p1.] that the mass of fish remains constant, what should that
13. In Problem 9, suppose we have the additional information rate be?
that the population of splake in 2004 was estimated to be 20. From theoretical considerations, it is known that light
5000. Use a logistic model to estimate the population of from a certain star should reach Earth with intensity I0.
splake in the year 2020. What is the predicted limiting However, the path taken by the light from the star to
population? [Hint: Use the formulas in Problem 12.] Earth passes through a dust cloud, with absorption coef-
14. In 1980 the population of alligators on the Kennedy ficient 0.1/light-year. The light reaching Earth has inten-
Space Center grounds was estimated to be 1500. In 2006 sity 1>2 I0. How thick is the dust cloud? (The rate of
the population had grown to an estimated 6000. Using the change of light intensity with respect to thickness is pro-
Malthusian law for population growth, estimate the alli- portional to the intensity. One light-year is the distance
gator population on the Kennedy Space Center grounds traveled by light during 1 yr.)
in the year 2020. 21. A snowball melts in such a way that the rate of change
15. In Problem 14, suppose we have the additional informa- in its volume is proportional to its surface area. If
tion that the population of alligators on the grounds of the snowball was initially 4 in. in diameter and after
the Kennedy Space Center in 1993 was estimated to be 30 min its diameter is 3 in., when will its diameter be
4100. Use a logistic model to estimate the population of 2 in.? Mathematically speaking, when will the snowball
alligators in the year 2020. What is the predicted limiting disappear?
population? [Hint: Use the formulas in Problem 12.] 22. Suppose the snowball in Problem 21 melts so that the
16. Show that for a differentiable function p1t2, we have rate of change in its diameter is proportional to its sur-
p1t + h2 - p1t - h2 face area. Using the same given data, determine when its
lim = p′1t2 , diameter will be 2 in. Mathematically speaking, when
hS0 2h
will the snowball disappear?
which is the basis of the centered difference approxima-
tion used in (20).
In Problems 23–27, assume that the rate of decay of a
17. (a) For the U.S. census data, use the forward difference
radioactive substance is proportional to the amount of
approximation to the derivative, that is,
the substance present. The half-life of a radioactive sub-
1 p1t + 102 - p1t2
1t2 ≈
1 dp stance is the time it takes for one-half of the substance to
, disintegrate.
p1t2 dt p1t2 10
23. If initially there are 50 g of a radioactive substance and
to recompute column 5 of Table 3.1 on page 97.
after 3 days there are only 10 g remaining, what percent-
(b) Using the data from part (a), determine the constants
age of the original amount remains after 4 days?
A, p1 in the least-squares fit
24. If initially there are 300 g of a radioactive substance and
1 dp after 5 yr there are 200 g remaining, how much time
≈ Ap1 - Ap
p dt must elapse before only 10 g remain?
(see Appendix E). 25. Carbon dating is often used to determine the age of a fos-
(c) With the values for A and p1 found in part (b), deter- sil. For example, a humanoid skull was found in a cave
mine p0 by averaging formula (21) over the data. in South Africa along with the remains of a campfire.
(d) Substitute A, p1, and p0 as determined above into the Archaeologists believe the age of the skull to be the same
logistic formula (15) and calculate the populations age as the campfire. It is determined that only 2% of the
predicted for each of the years listed in Table 3.1. original amount of carbon-14 remains in the burnt wood
(e) Compare this model with that of the centered differ- of the campfire. Estimate the age of the skull if the half-
ence-based model in column 6 of Table 3.1. life of carbon-14 is about 5600 years.
102 Chapter 3 Mathematical Models and Numerical Methods Involving First-Order Equations

26. To see how sensitive the technique of carbon dating of of 2/yr, and inertium decays into the nonradioactive iso-
Problem 25 is, tope of bunkum (symbol Bu) with a decay constant of
(a) Redo Problem 25 assuming the half-life of car- 1/yr. An initial mass of 1 kg of hohum is put into a non-
bon-14 is 5550 yr. radiaoctive container, with no other source of hohum,
(b) Redo Problem 25 assuming 3% of the original mass inertium, or bunkum. How much of each of the three ele-
remains. ments is in the container after t yr? (The decay constant
27. The only undiscovered isotopes of the two unknown ele- is the constant of proportionality in the statement that the
ments hohum and inertium (symbols Hh and It) are radio- rate of loss of mass of the element at any time is propor-
active. Hohum decays into inertium with a decay constant tional to the mass of the element at that time.)

3.3 Heating and Cooling of Buildings


Our goal is to formulate a mathematical model that describes the 24-hr temperature profile
inside a building as a function of the outside temperature, the heat generated inside the build-
ing, and the furnace heating or air conditioner cooling. From this model we would like to
answer the following three questions:
(a) How long does it take to change the building temperature substantially?
(b) How does the building temperature vary during spring and fall when there is no
furnace heating or air conditioning?
(c) How does the building temperature vary in summer when there is air conditioning or
in the winter when there is furnace heating?
A natural approach to modeling the temperature inside a building is to use compartmental
analysis. Let T1t2 represent the temperature inside the building at time t and view the building
as a single compartment. Then the rate of change in the temperature is determined by all the
factors that generate or dissipate heat.
We will consider three main factors that affect the temperature inside the building. First
is the heat produced by people, lights, and machines inside the building. This causes a rate of
increase in temperature that we will denote by H1t2. Second is the heating (or cooling) sup-
plied by the furnace (or air conditioner). This rate of increase (or decrease) in temperature
will be represented by U1t2. In general, the additional heating rate H1t2 and the furnace (or
air conditioner) rate U1t2 are described in terms of energy per unit time (such as British ther-
mal units per hour). However, by multiplying by the heat capacity of the building (in units of
degrees temperature change per unit heat energy), we can express the two quantities H1t2 and
U1t2 in terms of temperature per unit time.
The third factor is the effect of the outside temperature M1t2 on the temperature inside the
building. Experimental evidence has shown that this factor can be modeled using Newton’s
law of cooling. This law states that the rate of change in the temperature T1t2 is proportional
to the difference between the outside temperature M1t2 and the inside temperature T1t2. That
is, the rate of change in the building temperature due to M1t2 is
K 3 M1t2 - T1t2 4 .
The positive constant K depends on the physical properties of the building, such as the num-
ber of doors and windows and the type of insulation, but K does not depend on M, T, or t.
Hence, when the outside temperature is greater than the inside temperature, M1t2 - T1t2 7 0
and there is an increase in the building temperature due to M1t2. On the other hand, when the
Section 3.3 Heating and Cooling of Buildings 107

respectively, by the constants K1, B2, and B1. Hence, the solution to the differential equation (9)
will be the same as the temperature solution in Example 2, except that the three constant terms
are changed. Thus,

(12) T1t2 = B2 - B1F1 1t2 + C exp1 -K1t2 ,

where

cos vt + 1v>K1 2sin vt


F1 1t2 J
1 + 1v>K1 2 2
.

The constant C is chosen so that at time t = 0 the value of the temperature T equals T0. Thus,

C = T0 - B2 + B1F1 102 . ◆

In the above example, the time constant for equation (9) is 1>P = 1>K1, where
K1 = K + KU . Here 1>K1 is referred to as the time constant for the building with heating
and air-conditioning. For a typical heating and cooling system, KU is somewhat less than 2;
for a typical building, the constant K is between 1>2 and 1>4. Hence, the sum gives a value for
K1 of about 2, and the time constant for the building with heating and air-conditioning is about
1>2 hr.
When the heating or cooling is turned on, it takes about 30 min for the exponential term in
(12) to die off. If we neglect this exponential term, the average temperature inside the building
is B2. Since K1 is much larger than K and H0 is small, it follows from (11) that B2 is roughly
TD, the desired temperature. In other words, after a certain period of time, the temperature
inside the building is roughly TD, with a small sinusoidal variation. (The outside average M0
and inside heating rate H0 have only a small effect.) Thus, to save energy, the heating or cool-
ing system may be left off during the night. When it is turned on in the morning, it will take
roughly 30 min for the inside of the building to attain the desired temperature. These observa-
tions provide an answer to question (c), regarding the temperature inside the building during
summer and winter, that was posed at the beginning of this section.
The assumption made in Example 3 that the amount of heating or cooling is U1t2 =
KU 3 TD - T1t2 4 may not always be suitable. We have used it here and in the exercises to illus-
trate the use of the time constant. More adventuresome readers may want to experiment with
other models for U1t2, especially if they have available the numerical techniques discussed in
Sections 3.6 and 3.7.

3.3 EXERCISES
1. A cup of hot coffee initially at 95°C cools to 80°C in 5 min 3. A white wine at room temperature 70°F is chilled in ice
while sitting in a room of temperature 21°C. Using just (32°F). If it takes 15 min for the wine to chill to 60°F,
Newton’s law of cooling, determine when the tempera- how long will it take for the wine to reach 56°F?
ture of the coffee will be a nice 50°C. 4. A red wine is brought up from the wine cellar, which is
2. A cold beer initially at 35°F warms up to 40°F in 3 min a cool 10°C, and left to breathe in a room of temperature
while sitting in a room of temperature 70°F. How warm 23°C. If it takes 10 min for the wine to reach 15°C, when
will the beer be if left out for 20 min? will the temperature of the wine reach 18°C?
108 Chapter 3 Mathematical Models and Numerical Methods Involving First-Order Equations

5. It was noon on a cold December day in Tampa: 16°C. the building is 1>K = 2 hr and that for the building
Detective Taylor arrived at the crime scene to find the along with its heating system is 1>K1 = 1>2 hr. Assum-
sergeant leaning over the body. The sergeant said there ing that the outside temperature remains constant,
were several suspects. If they knew the exact time of what will be the temperature inside the lecture hall at
death, then they could narrow the list. Detective Taylor 8:00 a.m.? When will the temperature inside the hall
took out a thermometer and measured the temperature of reach 65°F?
the body: 34.5°C. He then left for lunch. Upon returning 11. During the summer the temperature inside a van reaches
at 1:00 p.m., he found the body temperature to be 33.7°C. 55°C, while that outside is a constant 35°C. When the
When did the murder occur? [Hint: Normal body tem- driver gets into the van, she turns on the air conditioner
perature is 37°C.] with the thermostat set at 16°C. If the time constant for
6. On a mild Saturday morning while people are work- the van is 1>K = 2 hr and that for the van with its air
ing inside, the furnace keeps the temperature inside the conditioning system is 1>K1 = 1>3 hr, when will the tem-
building at 21°C. At noon the furnace is turned off, and perature inside the van reach 27°C?
the people go home. The temperature outside is a con- 12. Two friends sit down to talk and enjoy a cup of coffee.
stant 12°C for the rest of the afternoon. If the time con- When the coffee is served, the impatient friend immedi-
stant for the building is 3 hr, when will the temperature ately adds a teaspoon of cream to his coffee. The relaxed
inside the building reach 16°C? If some windows are left friend waits 5 min before adding a teaspoon of cream
open and the time constant drops to 2 hr, when will the (which has been kept at a constant temperature). The
temperature inside reach 16°C? two now begin to drink their coffee. Who has the hotter
7. On a hot Saturday morning while people are work- coffee? Assume that the cream is cooler than the air
ing inside, the air conditioner keeps the temperature and has the same heat capacity per unit volume as the
inside the building at 24°C. At noon the air conditioner coffee, and that Newton’s law of cooling governs the
is turned off, and the people go home. The temperature heat transfer.
outside is a constant 35°C for the rest of the afternoon. 13. A solar hot-water-heating system consists of a hot-water
If the time constant for the building is 4 hr, what will tank and a solar panel. The tank is well insulated and has
be the temperature inside the building at 2:00 p.m.? At a time constant of 64 hr. The solar panel generates 2000
6:00 p.m.? When will the temperature inside the building Btu/hr during the day, and the tank has a heat capacity of
reach 27°C? 2°F per thousand Btu. If the water in the tank is initially
8. A garage with no heating or cooling has a time con- 110°F and the room temperature outside the tank is 80°F,
stant of 2 hr. If the outside temperature varies as a what will be the temperature in the tank after 12 hr of
sine wave with a minimum of 50°F at 2:00 a.m. and a sunlight?
maximum of 80°F at 2:00 p.m., determine the times at 14. In Problem 13, if a larger tank with a heat capacity of
which the building reaches its lowest temperature and 1°F per thousand Btu and a time constant of 72 hr is used
its highest temperature, assuming the exponential term instead (with all other factors being the same), what will
has died off. be the temperature in the tank after 12 hr?
9. A warehouse is being built that will have neither 15. Stefan’s law of radiation states that the rate of change of
heating nor cooling. Depending on the amount of insu- temperature of a body at T degrees Kelvin in a medium
lation, the time constant for the building may range at M degrees Kelvin is proportional to M 4 - T 4. That is,
from 1 to 5 hr. To illustrate the effect insulation will
= k1M 4 - T 4 2 ,
have on the temperature inside the warehouse, assume dT
the outside temperature varies as a sine wave, with dt
a minimum of 16°C at 2:00 a.m. and a maximum of
32°C at 2:00 p.m. Assuming the exponential term where k is a positive constant. Solve this equation using
(which involves the initial temperature T0) has died off, separation of variables. Explain why Newton’s law and

and M is constant. 3 Hint: Factor M 4 - T 4. 4


what is the lowest temperature inside the building if Stefan’s law are nearly the same when T is close to M
the time constant is 1 hr? If it is 5 hr? What is the high-
est temperature inside the building if the time constant 16. Show that C1 cos vt + C2 sin vt can be written in the
is 1 hr? If it is 5 hr? form A cos1vt - f2, where A = 2C 21 + C 22 and
10. Early Monday morning, the temperature in the lecture tan f = C2 >C1. [Hint: Use a standard trigonometric
hall has fallen to 40°F, the same as the temperature identity with C1 = A cos f, C2 = A sin f.] Use this
outside. At 7:00 a.m., the janitor turns on the furnace fact to verify the alternate representation (8) of F1t2
with the thermostat set at 70°F. The time constant for discussed in Example 2 on page 104.

Вам также может понравиться