

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The answer key for quiz 6, section a, which deals with solving differential equations. The steps to find the solution of the given equation and two different methods to obtain the same result. Useful for students studying differential equations at the university level.
Typology: Exercises
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Answer Key for Quiz 6 (section A)
x^2 = A + Bx−^1 + Cx−^2 , then
dy dx = 0 + B(−1)x−^2 + C(−2)x−^3 = − B x^2
x^3
Substituting these expressions for y and dydx into the differential equation we get
1 = x^4 dy dx
= x^4
x^2
x^3
x
x^2
= −Bx^2 − 2 Cx + Ax^2 + Bx + C = (A − B)x^2 + (B − 2 C)x + C.
If this expression equals 1 for all x, then C must be 1 and the x and x^2 terms must cancel. Since C = 1 and
B − 2 C = 0 we have B = 2, and since A − B = 0 we also have A = 2. Therefore y = 2 +^1 x
x^2 is the only
solution of x^4 dy dx
In fact, every solution of the equation has the form
y = 2 +
x
x^2
for some constant C. It is possible to show this by rewriting the equation as
dy dx
y x^2
x^4
then multiplying both sides by e−^1 x^ and integrating.
(2x − 1)dx =⇒ ln |y − 2 | = x^2 − x + C.
To finish the problem we need to find C, get rid of the absolute values, and solve for y, not necessarily in that order.
Method 1: plug in x = 1 and y = 5 to get
ln | 5 − 2 | = 1^2 − 1 + C = C which implies C = ln 3.
Also, since y − 2 is positive when x = 1 it must stay positive—it could not switch from positive to negative without ln |y − 2 | becoming infinite. Therefore we can take the absolute values off, and we now have
ln(y − 2) = x^2 − x + ln 3.
Exponentiating both sides we get
eln(y−2)^ = ex (^2) −x+ln 3 = ex (^2) −x eln 3^ which implies y − 2 = 3ex (^2) −x .
So we finally have y = 2 + 3ex (^2) −x .
Method 2: Exponentiate right away and plug in later. We have
eln^ |y−^2 |^ = ex (^2) −x+C = ex (^2) −x eC^ which implies |y − 2 | = Kex (^2) −x
where K = eC^ is a positive arbitrary constant. Plugging in x = 1 and y = 5 we get ln 3 = Ke^0 = K, so we have |y − 2 | = 3ex (^2) −x , which means that either y − 2 = 3ex (^2) −x or y − 2 = − 3 ex (^2) −x .
But the second one can’t be right, because then y wouldn’t be 5 when x = 1. So we conclude again that y − 2 = 3ex (^2) −x .
Method 3: Continue with method 2 up to the point of renaming eC^ as K, but allow K to be completely arbitrary (not necessarily positive), and use that flexibility to take the absolute values off of y − 2. This gives y − 2 = Kex (^2) −x , and plugging in as before we get that K = 3.