Solution: Elementary Differential Equations, Section 02, Prof. Loftin, Test 2
Solution: Elementary Differential Equations, Section 02, Prof. Loftin, Test 2
Solution: Elementary Differential Equations, Section 02, Prof. Loftin, Test 2
SOLUTION
1. (30 pts) Compute the general solution to each of the following equations. Show your
work.
(a) y 00 + 2y 0 + y = 0.
Solution: If y = ert , the characteristic equation is r2 + 2r + 1 = 0. This factors
to (r + 1)2 = 0, and so −1 is a double root. So the general solution is
c1 e−t + c2 te−t .
(b) y 00 + 2y 0 + 2y = 0.
Solution: For y = ert , we have r2 + 2r + 2 = 0, with solutions
p
−2 ± 22 − 4(1)(2)
r= = −1 ± i,
2
and so the general solution is
c1 x3 + c2 x4 .
2. (10 pts) Find the first five terms of the power series solution (up to the a4 x4 term)
around x = 0 to the initial value problem
y = a0 + a1 x + a2 x 2 + a3 x 3 + a4 x 4 + · · ·
y 0 = a1 + 2a2 x + 3a3 x2 + 4a4 x3 + · · ·
y 00 = 2a2 + 6a3 x + 12a4 x2 + · · ·
1
It helps to rewrite our equation as y 00 + 2y 0 + xy 0 − y = x2 + 5, which becomes
The initial conditions imply a0 = y(0) = 1 and a1 = y 0 (0) = 3. Then the constant
terms imply
y = a0 + a1 x + a2 x 2 + · · · an x n + · · ·
y 00 = 2a2 + · · · + n(n − 1)an xn−2 + · · ·
= 2a2 + · · · + (n + 2)(n + 1)an+2 xn + · · ·
x2 y = a0 x2 + · · · + an xn+2 + · · ·
= a0 x2 + · · · + an−2 xn + · · ·
4. (10 pts)
y 000 − 4y 0 = et .
2
Show your work.
Solution: Let the solution Y = Aet , and compute Y 0 = Aet , Y 00 = Aet , Y 000 =
Aet . Plug in to find
1
Aet − 4Aet = et , −3A = 1, A=− ,
3
and the solution is Y = − 31 et .
(b) Find the general solution to
y 000 − 4y 0 = et .
Show your work.
Solution: The general solution to this nonhomogeneous equation is the particular
solution from part (a) plus the general solution to the homogeneous equation
y 000 − 4y 0 = 0. For this, let y = ert , and find the characteristic equation
c1 + c2 e2t + c3 e−2t ,
5. (5 pts) Use Abel’s Theorem to determine the Wronskian of two solutions to the equation
xy 00 + x2 y 0 + y = 0.
y 00 + xy 0 + x−1 y = 0.
for p(x) = x. Abel’s Theorem then states that the Wronskian for any two solutions is
equal to Z Z
1 2
c exp − p dx = c exp − x dx = c e− 2 x
for a constant c.