Problem 7: XX XX X XX XX X XX XX X
Problem 7: XX XX X XX XX X XX XX X
6 - Problem 7 Page 1 of 3
Problem 7
In each of Problems 5 through 12, find the general solution of the given differential equation. In
Problems 11 and 12, g is an arbitrary continuous function.
Solution
Because this ODE is linear, the general solution can be expressed as a sum of the complementary
solution yc (t) and the particular solution yp (t).
This is a homogeneous ODE with constant coefficients, so the solution is of the form yc = ert .
[c00 (t)e−2t − 2c0 (t)e−2t − 2c0 (t)e−2t + 4c(t)e−2t ] + 4[c0 (t)e−2t − 2c(t)e−2t ] + 4[c(t)e−2t ] = 0
c00 (t)e−2t − 0
(t)e−2t − 0
(t)e−2t + 4c(t)e
XX−2t + 4c
0
−2t XX−2t + 4c(t)e
XX−2t = 0
− 8c(t)e
X X X
2c 2c X (t)e
X X
X X
X
c00 (t)e−2t = 0
Multiply both sides by e2t .
c00 (t) = 0
Integrate both sides with respect to t.
c0 (t) = C1
Integrate both sides with respect to t once more.
c(t) = C1 t + C2
www.stemjock.com
Boyce & DiPrima ODEs 10e: Section 3.6 - Problem 7 Page 2 of 3
As a result,
yc (t) = c(t)e−2t
= (C1 t + C2 )e−2t
= C1 te−2t + C2 e−2t .
[C1 (t)te−2t + C2 (t)e−2t ]00 + 4[C1 (t)te−2t + C2 (t)e−2t ]0 + 4[C1 (t)te−2t + C2 (t)e−2t ] = t−2 e−2t
[C100 (t)te−2t +C10 (t)e−2t −2C10 (t)te−2t +C10 (t)e−2t −2C1 (t)e−2t −2C10 (t)te−2t −2C1 (t)e−2t +4C1 (t)te−2t
+ C200 (t)e−2t − 2C20 (t)e−2t − 2C20 (t)e−2t + 4C2 (t)e−2t ]
+ 4[C10 (t)te−2t + C1 (t)e−2t − 2C1 (t)te−2t + C20 (t)e−2t − 2C2 (t)e−2t ]
+ 4[C1 (t)te−2t + C2 (t)e−2t ] = t−2 e−2t
www.stemjock.com
Boyce & DiPrima ODEs 10e: Section 3.6 - Problem 7 Page 3 of 3
The aim now is to solve this system of equations. Solve equation (2) first for C1 (t). Divide both
sides of it by t.
2
C100 (t) + C10 (t) = 0
t
Use an integrating factor I1 to solve it.
ˆ t
2 2
I1 = exp ds = e2 ln t = eln t = t2
s
The left side can be written as d/dt[I1 C10 (t)] by the product rule.
d 2 0
[t C1 (t)] = 0
dt
Integrate both sides with respect to t, setting the integration constant to zero.
t2 C10 (t) = 0
C1 (t) = 0
Now solve equation (3) for C2 (t). Integrate both sides of it with respect to t, setting the
integration constant to zero.
C20 (t) = −t−1
Integrate both sides of it with respect to t once more, setting the integration constant to zero.
C2 (t) = − ln t
Therefore,
www.stemjock.com