can someone please help me with solving differential equations?
@ganeshie8 @phi can you please help me when you get a chance?!
can you "separate the variables"?
im doing really bad with solving them, and i dont really understand what my teacher is saying
like (y/1)(cosx/y^2)?
\[ \frac{dy}{dx}= \frac{y \cos x }{1+y^2} \] multiply both sides by (1+y^2)/y what do you get ?
or do it in steps. first multiply both sides by 1/y
then multiply both sides by (1+y^2)
if im following this right, it should be 1+y^2/y=cosx?
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
the idea is you get dy and *all* the y variables on one side ditto for x and dx on the other side
ohh wow i did that by accident, totally forgot about it haha
after multiplying you get ?
(1+y^2)/ydy=cosxdx?
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 \]
now integrate \[ \int \left( \frac{1}{y} + y\right) \ dy = \int \cos x \ dx \]
for the left side, integrate term by term. for the right side, you have to know your integral of cos (memorize)
can you do the integration ?
yess, ill do it now
don't forget the constant of integration.
ln(y)+y^2/2+C for the first side? @phi @ganeshie8 @hartnn
and the second side sin(x)+C @ganeshie8 @hartnn can you please chck since phi had to go?
@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
except for the constant C, i accidently addded it
oh hahahah
now replace x with 0 and y with 1 and solve for C
C= ln+1?
ln(y)+y^2/2+C = sin x ln(1) + 1/2 + C = sin(0)
you should know the values for ln(1) and sin(0) but a calculator will tell you. (But I would learn these values)
ohh i did it over 1 by accident
C=-1/2
yes. so the final answer is \[ \ln y + \frac{1}{2} y^2 - \frac{1}{2} = \sin x \]
or some variation, as we can write it in a few different (equivalent) ways.
thank you(:
Join our real-time social learning platform and learn together with your friends!