Ask your own question, for FREE!
Mathematics 21 Online
OpenStudy (wade123):

can someone please help me with solving differential equations?

OpenStudy (wade123):

@ganeshie8 @phi can you please help me when you get a chance?!

OpenStudy (phi):

can you "separate the variables"?

OpenStudy (wade123):

im doing really bad with solving them, and i dont really understand what my teacher is saying

OpenStudy (wade123):

like (y/1)(cosx/y^2)?

OpenStudy (phi):

\[ \frac{dy}{dx}= \frac{y \cos x }{1+y^2} \] multiply both sides by (1+y^2)/y what do you get ?

OpenStudy (phi):

or do it in steps. first multiply both sides by 1/y

OpenStudy (phi):

then multiply both sides by (1+y^2)

OpenStudy (wade123):

if im following this right, it should be 1+y^2/y=cosx?

OpenStudy (phi):

except you don't leave out dy/dx you get \[ \frac{dy}{dx}= \frac{y \cos x }{1+y^2} \\ \frac{(1+y^2)}{y}\frac{dy}{dx}= \cos x \] now multiply both sides by dx

OpenStudy (phi):

the idea is you get dy and *all* the y variables on one side ditto for x and dx on the other side

OpenStudy (wade123):

ohh wow i did that by accident, totally forgot about it haha

OpenStudy (phi):

after multiplying you get ?

OpenStudy (wade123):

(1+y^2)/ydy=cosxdx?

OpenStudy (phi):

yes. \[ \frac{(1+y^2)}{y}\ dy= \cos x \ dx\] we could divide the y into each term up top, and re-write it as \[ \frac{1}{y} + y \ dy = \cos x \ dx \] and though we generally don't write in the parens the left side is really \[ \left( \frac{1}{y} + y\right) \ dy = \cos x \ dx \]

OpenStudy (phi):

now integrate \[ \int \left( \frac{1}{y} + y\right) \ dy = \int \cos x \ dx \]

OpenStudy (phi):

for the left side, integrate term by term. for the right side, you have to know your integral of cos (memorize)

OpenStudy (phi):

can you do the integration ?

OpenStudy (wade123):

yess, ill do it now

OpenStudy (phi):

don't forget the constant of integration.

OpenStudy (wade123):

ln(y)+y^2/2+C for the first side? @phi @ganeshie8 @hartnn

OpenStudy (wade123):

and the second side sin(x)+C @ganeshie8 @hartnn can you please chck since phi had to go?

OpenStudy (wade123):

@phi

OpenStudy (phi):

yes, but you only have one constant. (If you have C1 on the left side, and C2 on the right side) you can combine them to get one constant

OpenStudy (wade123):

except for the constant C, i accidently addded it

OpenStudy (wade123):

oh hahahah

OpenStudy (phi):

now replace x with 0 and y with 1 and solve for C

OpenStudy (wade123):

C= ln+1?

OpenStudy (phi):

ln(y)+y^2/2+C = sin x ln(1) + 1/2 + C = sin(0)

OpenStudy (phi):

you should know the values for ln(1) and sin(0) but a calculator will tell you. (But I would learn these values)

OpenStudy (wade123):

ohh i did it over 1 by accident

OpenStudy (wade123):

C=-1/2

OpenStudy (phi):

yes. so the final answer is \[ \ln y + \frac{1}{2} y^2 - \frac{1}{2} = \sin x \]

OpenStudy (phi):

or some variation, as we can write it in a few different (equivalent) ways.

OpenStudy (wade123):

thank you(:

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!