Professional Documents
Culture Documents
2 + ex−3y + 6xy 0 = 0
Py − Qx −3ex−3y − 6 ex−3y + 2
= =− ,
Q 6x 2x
which is not independent of y. We have
I 0 (y) Qx − Py
= = 3.
I(y) P
ln |I(y)| = 3y
(we don’t have to worry about the arbitrary constant when finding an integrating factor). Thus
I(y) = e3y is an integrating factor (we also don’t have to worry about the absolute value).
25r2 − 20r + 4 = 0.
This factors as (5r − 2)2 = 0, and so we have one real root r = 52 (we could have used the
2
quadratic formula instead of factoring). Thus two linearly independent solutions are y1 = e 5 x
2
and y2 = xe 5 x . The general solution is
2 2 2
y = c1 e 5 x + c2 xe 5 x = e 5 x (c1 + c2 x).
r2 − 4r − 5 = 0.
1
This factors as (r − 5)(r + 1) = 0, and so we have two real roots r1 = 5 and r2 = −1 (we could
have used the quadratic formula instead of factoring). Two linearly independent solutions are
y1 = e5x and y2 = e−x . The general solution is
y = c1 e5x + c2 e−x .
Using the fact that y(0) = 0 yields c1 + c2 = 0. Thus c2 = −c1 , and the solution becomes
y = c1 (e5x − e−x ). Then y 0 = c1 (5e5x + e−x ). Using the fact that y 0 (0) = 60 yields c1 (5 + 1) = 60.
Thus c1 = 10 and so c2 = −10. The solution to the initial value problem is
y = 10e5x − 10e−x .
6. (5 marks) Given the fact that the homogeneous equation y 00 − 10y 0 + 25y = 0 has general solution
y = c1 e5x + c2 xe5x , use the method of undetermined coefficients to find a particular solution yp
for the equation
y 00 − 10y 0 + 25y = 50e−5x .
You do not need to give the general solution.
Solution: Since g(x) = 50e−5x is not a solution to the associated homogeneous equation, we use
yp = Ae−5x . Then yp0 = −5Ae−5x and yp00 = 25Ae−5x . Substituting these in to the equation yields
25Ae−5x − 10(−5Ae−5x ) + 25(Ae−5x ) = 50e−5x
25A + 50A + 25A = 50
100A = 50
1
A= .
2
1 −5x
Thus a particular solution is yp = 2 e .