answered question.
$$\frac{dy}{dx}=(ay)(1-by)\\\frac1{ay(1-by)}dy=dx$$?
Is that what you're saying?
no master i need to prove that the answer is y= 1over b+C e^-ax
Okay I get that but I mean the first line -- is that the equation?$$\frac{dy}{dx}=(ay)(1-by)$$
yes
Okay!
$$\frac{dy}{dx}=ay(1-by)\\\frac1{ay(1-by)}dy=dx$$Note we can break our first using partial fractions:$$\frac1{ay(1-by)}=\frac{A}{ay}+\frac{B}{1-by}=\frac{A(1-by)+B(ay)}{ay(1-by)}$$
So we have:$$A(1-by)+B(ay)=1$$If we let \(y=0\) we observe \(A=1\). If we allow \(y=1/b\), we have:$$B(a/b)=1$$therefore \(B=b/a\). Therefore we can rewrite:$$\frac1{ay(1-by)}=\frac1{ay}+\frac{b/a}{1-by}$$
$$\left(\frac1{ay}+\frac{b/a}{1-by}\right)dy=dx\\\left(\frac1{ay}-\frac{b/a}{by-1}\right)dy=dx\\\frac1a\left(\frac{b}{by-1}-\frac1y\right)dy=-dx\\\int\frac1a\left(\frac{b}{by-1}-\frac1y\right)dy=\int -dx\\\frac1a(\log(by-1)-\log y)=-x+C\\\log(by-1)-\log y=-ax+C\\\log\frac{by-1}y=-ax+C\\\frac{by-1}y=Ce^{-ax}\\b-\frac1y=Ce^{-ax}\\-\frac1y=-b+Ce^{-ax}\\\frac1y=b-Ce^{-ax}=b+Ce^{-ax}\\y=\frac1{b+Ce^{-ax}}$$
Note we had to play with it a little bit so that it'd come out like they wanted...
thanks :D
hey master can i use the ln there
Well I used \(\log\) to mean natural logarithm so yes
I meant \(\log x=\ln x\) -- it's already using the natural logarithm.
Join our real-time social learning platform and learn together with your friends!