Quiz 6 Solution: Differential Equations, Exercises of Calculus

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

2012/2013

Uploaded on 03/16/2013

ranga
ranga 🇮🇳

3.3

(7)

239 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Answer Key for Quiz 6 (section A)
1. If y=A+B
x+C
x2=A+Bx1+C x2, then
dy
dx = 0 + B(1)x2+C(2)x3=B
x22C
x3.
Substituting these expressions for yand dy
dx into the differential equation we get
1 = x4dy
dx +x2y
=x4µB
x22C
x3+x2µA+B
x+C
x2
=Bx22C x +Ax2+Bx +C
= (AB)x2+ (B2C)x+C.
If this expression equals 1 for all x, then Cmust be 1 and the xand x2terms must cancel. Since C= 1 and
B2C= 0 we have B= 2, and since AB= 0 we also have A= 2. Therefore y= 2 + 1
x+1
x2is the only
solution of x4dy
dx +x2y= 1 of the desired form.
In fact, every solution of the equation has the form
y= 2 + 1
x+1
x2+Ce 1
x
for some constant C. It is possible to show this by rewriting the equation as
dy
dx +y
x2=1
x4,
then multiplying both sides by e1
xand integrating.
2. Separate variables to get dy
y2= (2x1)dx, and then integrate both sides:
Zdy
y2=Z(2x1)dx =ln |y2|=x2x+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 |52|= 121 + C=Cwhich implies C= ln 3.
Also, since y2 is positive when x= 1 it must stay positive—it could not switch from positive to negative
without ln |y2|becoming infinite. Therefore we can take the absolute values off, and we now have
ln(y2) = x2x+ ln 3.
Exponentiating both sides we get
eln(y2) =ex2x+ln 3 =ex2xeln 3 which implies y2 = 3ex2x.
So we finally have y= 2 + 3ex2x.
pf2

Partial preview of the text

Download Quiz 6 Solution: Differential Equations and more Exercises Calculus in PDF only on Docsity!

Answer Key for Quiz 6 (section A)

  1. If y = A + B x

+ C

x^2 = A + Bx−^1 + Cx−^2 , then

dy dx = 0 + B(−1)x−^2 + C(−2)x−^3 = − B x^2

− 2 C

x^3

Substituting these expressions for y and dydx into the differential equation we get

1 = x^4 dy dx

  • x^2 y

= x^4

B

x^2

2 C

x^3

  • x^2

A +

B

x

C

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

+^1

x^2 is the only

solution of x^4 dy dx

  • x^2 y = 1 of the desired form.

In fact, every solution of the equation has the form

y = 2 +

x

x^2

  • Ce x^1

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.

  1. Separate variables to get dy y − 2 = (2x − 1)dx, and then integrate both sides: ∫ dy y − 2

(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.