Académique Documents
Professionnel Documents
Culture Documents
A first-order linear differential equation is one that can be put into the form
dy
Pxy Qx
dx
where P and Q are continuous functions on a given interval. This type of equation occurs
frequently in various sciences, as we will see.
An example of a linear equation is xy y 2x because, for x 0, it can be written
in the form
y
1
y2
x
Notice that this differential equation is not separable because its impossible to factor the
expression for y as a function of x times a function of y. But we can still solve the equation by noticing, by the Product Rule, that
xy y xy
and so we can rewrite the equation as
xy 2x
If we now integrate both sides of this equation, we get
xy x 2 C
or
C
x
yx
If we had been given the differential equation in the form of Equation 2, we would have
had to take the preliminary step of multiplying each side of the equation by x.
It turns out that every first-order linear differential equation can be solved in a similar
fashion by multiplying both sides of Equation 1 by a suitable function Ix called an
integrating factor. We try to find I so that the left side of Equation 1, when multiplied by
Ix, becomes the derivative of the product Ixy:
Ixy Pxy Ixy
yx
1
Ix
y
IxQx dx C
dI
y Px dx
I
ln I y Px dx
I Ae x Px dx
where A e C. We are looking for a particular integrating factor, not the most general
one, so we take A 1 and use
Ix e x Px dx
Thus, a formula for the general solution to Equation 1 is provided by Equation 4, where I
is given by Equation 5. Instead of memorizing this formula, however, we just remember
the form of the integrating factor.
To solve the linear differential equation y Pxy Qx, multiply both sides by
the integrating factor Ix e x Px dx and integrate both sides.
dy
3x 2 y 6x 2.
dx
SOLUTION The given equation is linear since it has the form of Equation 1 with
dx
ex
ex
dy
3
3
3x 2e x y 6x 2e x
dx
6
C=2
d x3
3
e y 6x 2e x
dx
or
C=1
C=0
C=_1
_1.5
1.8
3
e x y y 6x 2e x dx 2e x C
C=_2
_3
y 2 Cex
FIGURE 1
x 2 y xy 1
x0
y1 2
SOLUTION We must first divide both sides by the coefficient of y to put the differential
equation into standard form:
6
y
1
1
y 2
x
x
x0
xy y
ln x C
x
y
and so
1
x
1
dx ln x C
x
xy y
Then
xy
or
(1,2)
0
2
ln 1 C
C
1
ln x 2
x
y
FIGURE 2
e x 2x dx e x
we get
e x y 2xe x y e x
2
(e x y) e x
or
Even though the solutions of the differential
equation in Example 3 are expressed in terms of
an integral, they can still be graphed by a computer algebra system (Figure 3).
e x y y e x dx C
Therefore
2
Recall from Section 5.8 that x e x dx cant be expressed in terms of elementary functions.
Nonetheless, its a perfectly good function and we can leave the answer as
2.5
y ex
C=2
_2.5
2.5
ye
dx Cex
C=_2
y ex
_2.5
FIGURE 3
x2
e t dt Cex
switch
In Section 7.2 we considered the simple electric circuit shown in Figure 4: An electromotive force (usually a battery or generator) produces a voltage of Et volts (V) and a current of It amperes (A) at time t . The circuit also contains a resistor with a resistance of
R ohms () and an inductor with an inductance of L henries (H).
Ohms Law gives the drop in voltage due to the resistor as RI . The voltage drop due to
the inductor is LdIdt. One of Kirchhoffs laws says that the sum of the voltage drops is
equal to the supplied voltage Et. Thus, we have
FIGURE 4
7
dI
RI Et
dt
which is a first-order linear differential equation. The solution gives the current I at time t .
EXAMPLE 4 Suppose that in the simple circuit of Figure 4 the resistance is 12 and the
inductance is 4 H. If a battery gives a constant voltage of 60 V and the switch is closed
when t 0 so the current starts with I0 0, find (a) It, (b) the current after 1 s, and
(c) the limiting value of the current.
SOLUTION
The differential equation in Example 4 is
both linear and separable, so an alternative
method is to solve it as a separable equation
(Example 4 in Section 7.3). If we replace the
battery by a generator, however, we get an
equation that is linear but not separable
(Example 5).
or
dI
12I 60
dt
I0 0
dI
3I 15
dt
I0 0
dI
3e 3tI 15e 3t
dt
d 3t
e I 15e 3t
dt
e 3tI y 15e 3t dt 5e 3t C
It 5 Ce3t
y=5
(c)
tl
5 5 lim e3t
2.5
tl
tl
505
FIGURE 5
dI
12I 60 sin 30t
dt
or
dI
3I 15 sin 30t
dt
dI
d 3t
e I e 3t
3e 3tI 15e 3t sin 30t
dt
dt
0
2.5
_2
FIGURE 6
e 3t
3 sin 30t 30 cos 30t C
909
5
I 101
sin 30t 10 cos 30t Ce3t
so
50
Exercises
A Click here for answers.
14
1. y e x y x 2 y 2
3. xy ln x x 2 y 0
514
du
1 nPxu 1 nQx
dx
2. y sin x x 3y
4. y cos y tan x
2426
5. y 2y 2e
6. y x 5y
7. xy 2y x 2
10. 1 xy xy
dy
x sin 2x y tan x,
dx
2 x 2
1520
17.
15. y x y,
16. t
t 0,
y1 0
C
dv
2
2tv 3t 2e t , v0 5
dt
x 0,
dy
y
x,
dx
x1
20. x
y4 20
y 0
y1 0,
x0
; 2122
Solve the differential equation and use a graphing calculator or computer to graph several members of the family of
solutions. How does the solution curve change as C varies?
y0 2
dy
2y t 3,
dt
dr
r te t
dt
du
u 1 t, t 0
13. 1 t
dt
14. t ln t
2
y3
y 2
x
x
dy
2xy x 2
11.
dx
12.
25. y
26. y y xy 3
8. x 2 y 2xy cos 2 x
9. xy y sx
equation.
x0
RI
Q
Et
C
dQ
1
Q Et
dt
C
and Et 10 sin 60t. Find the charge and the current at time t.
processed 25 units during the first hour and 45 units during the
second hour. Mark processed 35 units during the first hour and
50 units the second hour. Using the model of Exercise 31 and
assuming that P0 0, estimate the maximum number of
units per hour that each worker is capable of processing.
33. In Section 7.3 we looked at mixing problems in which the
mt
1 ectm
c
Answers
1. No
5. y 3 e x Ce2x
2
3. Yes
7. y x 2 ln x Cx 2
11.
13.
15.
19.
21.
25.
27.
29.
31.
x
9. y 3 sx Cx
2
1 x
2
y x Ce e x e dx
u t 2 2t 2C2t 1
2
2
y x 1 3e x
17. v t 3e t 5e t
y x cos x x
y sin x cos xx Cx
6
1
2
P(0)
0
C=2
C=1
C=0.2
C=_1
C=_2
_4
y0 + (x) y =
ln x
, which is in the standard linear
x
and the integrating factor is I(x) = e P (x)dx = e 2 dx = e2x . Multiplying the differential equation by I(x) gives
0
R
e2x y 0 + 2e2x y = 2e3x e2x y = 2e3x e2x y = 2e3x dx e2x y = 23 e3x + C
y = 23 ex + Ce2x .
0
7. xy 2y = x
I(x) = e
[divide by x]
P (x) dx
=e
(2/x) dx
2
y +
x
0
y = x ().
2
= e2 ln|x| = eln|x|
2
1
1 0
y 3y=
x2
x
x
x2
x
x2
9. Since P (x) is the derivative of the coefficient of y0 [P (x) = 1 and the coefficient is x], we can write the
y = 23 x + C/x.
R
11. I(x) = e
y = ex
13. (1 + t)
2x dx
hR
i
h
R
2
2
2
x2 ex dx + C = ex 12 xex
1 x2
e
2
du
+ u = 1 + t, t > 0 [divide by 1 + t]
dt
i
2
2 R
dx + C = 12 x + Cex ex
1 x2
e
2
dx.
du
1
+
u = 1 (), which has the form
dt
1+t
P (t) dt
=e
[1/(1+t)] dt
= eln(1+t) = 1 + t.
Multiplying () by I(t) gives us our original equation back. We rewrite it as [(1 + t) u]0 = 1 + t. Thus,
(1 + t) u =
15. y 0 = x + y
(1 + t) dt = t + 12 t2 + C
t + 12 t2 + C
t2 + 2t + 2C
or u =
.
1+t
2 (t + 1)
dv = ex dx]
17.
u=
y = x 1 + Cex . y(0) = 2
1 + C = 2 C = 3, so y = x 1 + 3ex .
R
2
2
dv
2tv = 3t2 et , v (0) = 5. I(t) = e (2t)dt = et . Multiply the differential equation by I(t) to get
dt
2 0
R
2 dv
2
2
2
2
et
2tet v = 3t2
et v = 3t2 et v = 3t2 dt = t3 + C v = t3 et + Cet .
dt
2
5 = v(0) = 0 1 + C 1 = C, so v = t3 et + 5et .
R
1
1
1
y = x sin x. I(x) = e (1/x) dx = e ln x = eln x = .
x
x
0
1
1
1
1
1
y = sin x
y = cos x + C
Multiplying by gives y0 2 y = sin x
x
x
x
x
x
y0
21. y 0 +
1
1
y=
x cos x dx + C = [x sin x + cos x + C]
x
x
= sin x +
C
cos x
+
x
x
The solutions are asymptotic to the y-axis (except for C = 1). In fact, for C > 1, y as x 0+ , whereas
for C < 1, y as x 0+ . As x gets larger, the solutions approximate y = sin x more closely. The
graphs for larger C lie above those for smaller C. The distance between the graphs lessens as x increases.
23. Setting u = y 1n ,
equation becomes
dy
du
dy
yn du
un/(1n) du
= (1 n) y n
or
=
=
. Then the Bernoulli differential
dx
dx
dx
1 n dx
1 n dx
un/(1n) du
du
+ P (x)u1/(1n) = Q(x)un/(1n) or
+ (1 n)P (x)u = Q(x)(1 n).
1 n dx
dx
y3
1
2
2
2
4u
y = 2 . Here n = 3, P (x) = , Q(x) = 2 and setting u = y 2 , u satisfies u0
= 2.
x
x
x
x
x
x
Z
R
2
2
2
Then I(x) = e (4/x)dx = x4 and u = x4
6 dx + C = x4
+
C
= Cx4 +
.
x
5x5
5x
25. y 0 +
1/2
2
Thus, y = Cx4 +
.
5x
27. (a) 2
R
dI
dI
+ 10I = 40 or
+ 5I = 20. Then the integrating factor is e
dt
dt
dI
+ 5Ie5t = 20e5t
dt
5 dt
= 20e5t
R
dQ
+ 20Q = 60 with Q(0) = 0 C. Then the integrating factor is e
dt
dQ
+ 4e4t Q = 12e4t
dt
4 dt
= 12e4t
31.
R
dP
+ kP = kM , so I(t) = e k dt = ekt . Multiplying the differential
dt
dP
equation by I(t) gives ekt
+ kP ekt = kM ekt
dt
kt 0
e P = kM ekt
R
0.4
kg
L
L
min
=2
kg
. Since solution is drained from the tank at a
min
rate of 3 L/min, but salt solution is added at a rate of 5 L/min, the tank, which starts out with 100 L of water,
contains (100 + 2t) L of liquid after t min. Thus, the salt concentration at time t is
y(t) kg
100 + 2t L
y(t) kg
. Salt therefore
100 + 2t L
3y
kg
. Combining the rates at which salt enters
100 + 2t min
dy
3y
dy
3
and leaves the tank, we get
=2
. Rewriting this equation as
+
y = 2, we see that
dt
100 + 2t
dt
100 + 2t
Z
3 dt
it is linear. I(t) = exp
= exp 32 ln(100 + 2t) = (100 + 2t)3/2 . Multiplying the differential
100 + 2t
leaves the tank at a rate of
(100 + 2t)3/2 y
i0
L
3
min
dy
+ 3(100 + 2t)1/2 y = 2(100 + 2t)3/2
dt
= 2(100 + 2t)3/2
1
y = 25 (100 + 2t) + C(100 + 2t)3/2 . Now 0 = y(0) = 25 (100) + C 1003/2 = 40 + 1000
C
i
h
C = 40,000, so y = 25 (100 + 2t) 40,000(100 + 2t)3/2 kg. From this solution (no pun intended), we
y(t)
calculate the salt concentration at time t to be C(t) =
=
100 + 2t
"
40,000
5/2
(100 + 2t)
2
+
5
kg
. In particular,
L
40,000
2
kg
+ 0.2275
and y(20) = 25 (140) 40,000(140)3/2 31.85 kg.
1405/2
5
L
R
c
dv
+ v = g and I(t) = e (c/m)dt = e(c/m)t , and multiplying the differential equation by I(t) gives
35. (a)
dt
m
h
i0
dv
vce(c/m)t
e(c/m)t
+
= ge(c/m)t e(c/m)t v = ge(c/m)t . Hence,
dt
i
hRm
v(t) = e(c/m)t ge(c/m)t dt + K = mg/c + Ke(c/m)t . But the object is dropped from rest, so v(0) = 0
i
h
and K = mg/c. Thus, the velocity at time t is v(t) = (mg/c) 1 e(c/m)t .
C(20) =
h
i
v(t) dt = (mg/c) t + (m/c)e(c/m)t + c1 where c1 = s(0) m2 g/c2 . s(0) is the initial position,
i
h
so s(0) = 0 and s(t) = (mg/c) t + (m/c)e(c/m)t m2 g/c2 .
(c) s(t) =