Sample Solution 1
Sample Solution 1
dy
1. Write down a differential equation of the form dt
= ay + b whose
solutions have the following required behavior as t → +∞.
(a). All solutions approach y = 3.
(b). All other solutions diverge from y = 3.
Answer: The original ODE can be rewritten as
dy
− ay = b (1)
dt
Multiply e−at on the both sides of (1), we have
e−at ( dy
dt
− ay) = e−at b
⇒ (e−at y)0 = e−at b
⇒ e−at y − y0 = − ab (e−at − 1)
⇒ y = y0 eat + ab (eat − 1)
4. Determine the order of the given ODE and state whether the equa-
tion is linear or nonlinear
3
(a). ddt3y + t2 dy
dt
+ (cos2 t)y = t4 − t2
2 d4 y
(b). ddt2y + sin(t + dt4
) = cos t
Answer: (a) is a 3rd order linear ODE.
3
erx (r2 + r − 6) = 0
⇒ (r − 2)(r + 3) = 0
⇒ r = 2 or r = −3
tr {r(r − 1) + 4r + 2} = 0, t > 0
⇒ (r + 1)(r + 2) = 0
⇒ r = −1 or r = −2
√
hence, y = t(1± 5)/2
and y = t2 satisfies the given ODE.
0
7. Solve ty + 2y = t2 − t + 1, y(1) = 21 , t > 0
Answer: Multiply t on both sides of the equation, we have
t2 y 0 + 2ty = t3 − t2 + t
⇒ (t2 y)0 = t3 − t2 + t
⇒ t2 y − y(1) = 41 (t4 − 1) − 13 (t3 − 1) + 12 (t2 − 1)
t2
⇒ y= 4
− 3t + 1
12t2
+ 1
2
0 2
8. Solve y + 2ty = 2te−t , y(−1) = 5
2
Answer: Multiply et on both sides of the equation, we have
2 2
et y 0 + 2tet y = 2t
2
⇒ (et y)0 = 2t
2
⇒ et y − ey(−1) = t2 − 1
2
⇒ y = e−t (t2 − 1 + 5e)
0 cos t
9. Solve ty + 2y = t
, y(π) = 21 , t > 0.
5
t2 y 0 + 2ty = cos t
⇒ (t2 y)0 = cos t
⇒ t2 y − π 2 y(π) = sin t
⇒ y = (sin t + 21 π 2 )t−2
case I: If a = λ, we have
(eat y)0 = 0
⇒ eat y = y0
⇒ y = y0 e−at
0
11. Solve ty + y = ty 2 log t, y(1) = 1
6
dy
y2
= − sin xdx
⇒ − y1 = − cos x − C
1
⇒ y= cos x+C
(1 + y 2 )dy = x2 dx
⇒ y + 13 y 3 = 13 x3 + C
⇒ y 3 + 3y + x3 + C = 0
1
dv = dx
x
13. Find the solutions to the IVP and determine the Interval of Exis-
tence
0 2x 0 2x
(a) y = 1+2y
, y(2) = 0. (b) y = y+x2 y
, y(1) = −2
(c). sin(2x)dx + cos(3y)dy = 0, y( π2 ) = π3 .
0 1+3x2
(d). y = 3y 2 −6y
, y(0) = 1.
0 3x 2
(e). y = 3y 2 −4
, y(1) = 0
Answer: (a). By separation variable method, we have
(1 + 2y)dy = 2x
⇒ y + y 2 − y(2) − y(2)2 = x2 − 4
⇒ y 2 + y = x2 − 4
√
⇒ y = 12 (−1 ± 4x2 − 15)
√
Since y(2) = 0, y = 12 (−1 + 4x2 − 15) and the existence interval is
√
15
( 2
, +∞).
(b). By separate variable method, we have
2xdx
ydy = 1+x2
1 2
⇒ 2
(y − 4) = ln(1 + x2 ) − ln 2
q
2
⇒ y = ± 2 ln 1+x
2
+4
8
2
2 ln 1+x
2
+4>0
2
⇔ ln 1+x
2
> −2
1+x2
⇔ 2
> e−2
q
2
Since y(1) = −2, y = 2 ln 1+x
2
+ 4 and the existence interval is
(−∞, ∞).
(c). By separate variable method, we have
−1 ≤ 32 (cos 2x + 1)) ≤ 1
⇔ −1 ≤ cos 2x ≤ − 31
1
⇔ 2
arccos(− 13 ) ≤ x ≤ π − 21 arccos(− 13 )
−4 < y 3 − 3y 2 < 0
⇒ −4 < x3 + x − 2 < 0
⇒ −1 < x < 1
xw0 + w = 1
2w
− 3w
2
⇒ xw0 = 1
2w
= 5w
2
2wdw dx
⇒ 1−5w2
= x
⇒ ln(1 − 5w2 ) = −5 ln x + C
1−Cx−5
⇒ w2 = 5
hence s
1 − Cx−5
w=±
s
5
x2 C
y = xw = ± − 3
5 x