

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
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.