How to solve this differential equation: (1+x)*2 dy/dx+y*2=1
looks separable to me ....
i take it you used * instead of ^, but meant ^
Yes.
do you know how to do separable stuff?
Yes, but I just want to check my steps whether its correct.
show me what you got, ill see if its proper
\[f(x)\frac{dy}{dx}+g(y)=c\] \[f(x)\frac{dy}{dx}=c-g(y)\] \[f(x)dy=[c-g(y)]dx\] \[\frac{dy}{c-g(y)}=\frac{dx}{f(x)}\] is what i see it as
I got until here and then I'm stuck. \[\int\limits_{}^{} 1/1+y*2 dy = \int\limits_{}^{} 1/(1+x)*2 dx\]
the rest is just integrating tho ...
your swapping things about looks good ... except that should be a -y^2 over there
I forgot how to integrate this type of function and I can't find any examples in my books.
the right side, the xs is just a power rule the left side looks triggy to me
or since its a difference of squares, it might have to go .... whats the term for splitting the denom?
partial fraction decomp
\[1-y^2=(1+y)(1-y)\]
\[\frac{1}{1-y^2}=\frac{a}{1-y}+\frac{b}{1+y}\] \[1=a(1+y)+b(1-y)\] \[1=a+ay+b-by\] \[1=(a-b)y + (a+b)\] a-b=0 a+b=1 ------ 2a = 1 ; a=1/2 b has to be -1/2 \[\frac{1}{1-y^2}=\frac{1}{2(1-y)}-\frac{1}{2(1+y)}\]
hmm, i think b = 1/2 not -1/2 :)
Yes, b= 1/2.
then after that its back to simple integration
\[\int(\frac{1}{2(1-y)}+\frac{1}{2(1+y)})dy\]
partial fraction decomp is what everyone moaned and groaned about in class last semester :)
I still groan and moan about it till now even though it was last semester's work cause it is related to this semester's topic.
Hey if y=0 and x=0 then how do I solve it ?
\[-\frac{1}{2}ln(1-y)+\frac{1}{2}ln(1+y)\] \[\frac{1}{2}[ln(1+y)-ln(1-y)]\] \[\frac{1}{2}ln(\frac{1+y}{1-y})=-\frac{1}{1+x}+C\] \[x=y=0\] \[\frac{1}{2}ln(1)=-1+C\] \[0=-1+C\] \[1=C\]
once youve integrated; just plug in y and x to determine "C"
In your fist step, how did you get\[-1/2\ln (1-y)\]. How did you get the (-) sign ? Shouldn't it be a positive value ?
Can someone please answer me.
\[u=1-y\implies du=-dy\implies dy=-du\]
\[\int\frac{dy}{1-y}=-\int\frac{du}u=-\ln u=-\ln|1-y|+C\]
Ok, thanks.
i got trapped by the downtime :)
Join our real-time social learning platform and learn together with your friends!