Diff equation: xy' = y + 1 My answer is: y = +/- xe^c - 1 is this correct?
before evaluation the integral i have dy/(y+1) = dx/x
subtract y on both sides \[xy'-y=1 \] divide both sides by x \[y'-\frac{1}{x}y=\frac{1}{x}\] integrating factor is \[v=e^{\int\limits_{}^{}\frac{-1}{x} dx}=e^{-\ln(x)} =\frac{1}{x} , x>0\] \[\frac{1}{x}y'-\frac{1}{x^2}y=\frac{1}{x^2}\] now we can write \[(\frac{1}{x}y)'=\frac{1}{x^2}\] now integrate both sides
yeah, i was looking for a way to get rid of the x klingon lol
\[\frac{1}{x}y=\frac{-1}{x}+C\]
seperation of variables would work as well, yes
yes separation of variables works too
xy' = y + 1 dy/dx x = (y+1) dy/(y+1) x = dx dy/(y+1) = dx/x ; int the whole thing ln|y+1| = ln|x| + C
so far so good @ amistre64
e^ both sides then y+1 = e^(ln|x|+C) y+1 = e^(ln|x|) * e^C y+1 = x * C y = Cx - 1 looks about right to me
e^C is just a constant so we can rewrite it as C
but is it +/- Cx - 1
I think the generic constant C makes up for any +- business
the wolf agrees i think
ahh oke.. but i hadn't simplified it to C so this is correct? y = +/- xe^c - 1 :)
thats "correct" yes; but i dont think its simplified as much
e^c gives us positive constant actually
it could be more generic that is
e^c is never negative
"e^c gives us a positive constant" he responded in a snitty tone. lol
he?
yes, im a he ;)
you're weird
lol
ofcourse! e^x is always positive so i can leave the negative sign out :)
yep, leave of the negative sign
okee thank you guys =D and yeaahhh i got an answer correctly ^^
but why would you want to say plus or minus to begin with?
prolly just to cover the bases
because |y+1| were absolute
oh i did my a different way
and i want to have y+1
thats why i added the plus and minus signs
ok
Join our real-time social learning platform and learn together with your friends!