Problem 14
Problem 14
Problem 14
6 - Problem 14 Page 1 of 3
Problem 14
In each of Problems 13 through 20, verify that the given functions y1 and y2 satisfy the
corresponding homogeneous equation; then find a particular solution of the given
nonhomogeneous equation. In Problems 19 and 20, g is an arbitrary continuous function.
Solution
Verify that the first solution satisfies the associated homogeneous equation.
?
t2 y100 − t(t + 2)y10 + (t + 2)y1 = 0
?
t2 (t)00 − t(t + 2)(t)0 + (t + 2)(t) = 0
?
−t(t + 2)(1) + (t + 2)(t) = 0
0=0
Now verify that the second solution satisfies the associated homogeneous equation.
?
t2 y200 − t(t + 2)y20 + (t + 2)y2 = 0
?
t2 (tet )00 − t(t + 2)(tet )0 + (t + 2)(tet ) = 0
?
t2 (et + tet )0 − t(t + 2)(et + tet ) + (t + 2)(tet ) = 0
?
t2 (et + et + tet ) − tet (t + 2) − t2 et (t + 2) + tet (t + 2) = 0
?
2t2 et + t3 et − tet (t + 2) − t3 et − 2t2 et + tet (t + 2) = 0
0=0
Because the ODE is linear, the general solution can be expressed as a sum of the complementary
solution yc (t) and the particular solution yp (t).
yc (t) = C1 t + C2 tet
According to the method of variation of parameters, the particular solution is found by allowing
the parameters in yc (t) to vary.
yp (t) = C1 (t)t + C2 (t)tet
It satisfies the following ODE.
www.stemjock.com
Boyce & DiPrima ODEs 10e: Section 3.6 - Problem 14 Page 2 of 3
t2 [C1 (t)t + C2 (t)tet ]00 − t(t + 2)[C1 (t)t + C2 (t)tet ]0 + (t + 2)[C1 (t)t + C2 (t)tet ] = 2t3
t2 [C10 (t)t+C1 (t)+C20 (t)tet +C2 (t)et +C2 (t)tet ]0 −t(t+2)[C10 (t)t+C1 (t)+C20 (t)tet +C2 (t)et +C2 (t)tet ]
+ (t + 2)[C1 (t)t + C2 (t)tet ] = 2t3
t2 [C100 (t)t+C10 (t)+C10 (t)+C200 (t)tet +C20 (t)et +C20 (t)tet +C20 (t)et +C2 (t)et +C20 (t)tet +C2 (t)et +C2 (t)tet ]
− t(t + 2)[C10 (t)t + C1 (t) + C20 (t)tet + C2 (t)et + C2 (t)tet ]
+ (t + 2)[C1 (t)t + C2 (t)tet ] = 2t3
C100 (t)t3 +2t2 C10 (t)+C200 (t)t3 et +C20 (t)t2 et +C20 (t)t3 et +C20 (t)t2 et +C2 (t)t2 et +C20 (t)t3 et +C2 (t)t2 et +C2 (t)t3 et
−C10 (t)t3 −C1 (t)t2 −C20 (t)t3 et −C2 (t)t2 et −C2 (t)t3 et −2C10 (t)t2 −2C1 (t)t−2C20 (t)t2 et −2C2 (t)tet −2C2 (t)t2 et
+ C1 (t)t2 + C2 (t)t2 et + 2C1 (t)t + 2C2 (t)tet = 2t3
The aim now is to solve this system of equations for C1 (t) and C2 (t). Use an integrating factor I1
to solve equation (1). ˆ t
I1 = exp (−1) ds = e−t
The left side can be written as d/dt[I1 C10 (t)] by the product rule.
d −t 0
[e C1 (t)] = 0
dt
Integrate both sides with respect to t, setting the integration constant to zero.
www.stemjock.com
Boyce & DiPrima ODEs 10e: Section 3.6 - Problem 14 Page 3 of 3
Integrate both sides with respect to t once more, setting the integration constant to zero.
C1 (t) = 0
Divide both sides of equation (2) by et .
C200 (t) + C20 (t) = 2e−t
Use an integrating factor I2 to solve it.
ˆ t
I2 = exp ds = et
= 2(−te−t − e−t )
= −2e−t (t + 1)
The particular solution is then
yp (t) = C1 (t)y1 (t) + C2 (t)y2 (t)
= C1 (t)t + C2 (t)tet
= −2t(t + 1)
= −2t2 − 2t.
Therefore, the general solution is
y(t) = C1 t + C2 tet − 2t2 − 2t
= (C1 − 2)t + C2 tet − 2t2
= C3 t + C2 tet − 2t2 ,
where a new constant C3 was used for C1 − 2.
www.stemjock.com