solve the differential equation \[\frac{\text dy}{\text dx}-y=xy^{1/2}\]
\[\frac{\text dy}{\text dx}-y=xy^{1/2}\] \[\text{let }v=y^{1-1/2}=y^{1/2}\]\[\text dv=\frac 1{2y^{1/2}}\text dy\]\[\text dy={2v}\text dv\] \[2v\frac{\text dv}{\text dx}-v^2=xv\]\[\frac{\text dv}{\text dx}-\frac 12 v=\frac x2\] \[R(x)=e^{\int -\frac 12\text dx}=e^{-\frac x2}\] \[\frac{\text d}{\text dx}\left(ve^{-\frac x2}\right)=\frac{xe^{-\frac x2}}2\]\[ve^{-\frac x2}=\int\frac{xe^{-\frac x2}}2\text dx\]
sqrt(y(x))+2+x-exp((1/2)*x)*_C1 = 0
how did you ?
@timo86m did you use any of my working ? how did you get that result/
\[ve^{-\frac12}=\frac 12\int xe^{-\frac x2}\text dx\]
It's correct:)
i guess i have to integrate by parts now
Yeah:) use by parts
\(\int uv'=\left.uv\right|-\int vu'\)
Yeah:D you're doing great
\[u=x\qquad u'=1\]\[v'=e^{-x/2}\qquad v=\frac{-e^{-x/2}}{2}\]
\[ve^{-\frac x2}=\left.-\frac{xe^{-x/2}}{2}\right|+\int \frac{e^{-x/2}}2\text dx\]\[ve^{-\frac x2}=\left.\frac{-xe^{-x/2}}{2}\right|-{e^{-x/2}}+c\]
correction .. \[\large{}v' =e^{-\frac{x}{2}} \] \[\large{v=-\frac{e^{-\frac{x}{2}}}{\frac{1}{2}}}=-2e^{-\frac{x}{2}}\]
Ah!
Thank YOU
:D
\[ve^{-\frac x2}=\left.-{2}{xe^{-x/2}}\right|+2\int {e^{-x/2}}\text dx\] \[ve^{-\frac x2}=\left.-2xe^{-x/2}\right|-4{e^{-x/2}}+c\]
yes and v=sqrt(y)
what to i do with the limit \(\left. \right|\)
\[\sqrt y={-2x}-4+ce^{x/2}\]
This is the answer in the back of the book _______________________\[\sqrt y=-2-x+ce^{x/2}\]_______________________
can u give me a min i want to try
v=sqrt(y) dv=1/(2sqrt(y)) \[v'-\frac{v}{2}=\frac{x}{2}\] \[\large{I=e^{\int\limits{-\frac{1}{2}}dx}}=e^{-\frac{x}{2}}\]multiplying the DE by I \[e^{-\frac{x}{2}}v'-\frac{e^{-\frac{x}{2}}}{2}v=\frac{xe^{-\frac{x}{2}}}{2}\]\[ve^{-\frac{x}{2}}=\frac{1}{2} \int\limits{xe^{-\frac{x}{2}}dx}\]now integrating u=x dv=e^(-x/2)dx du=dx v=-2e^(-x/2) \[ve^{-\frac{x}{2}}=\frac{1}{2}(-2xe^{-\frac{x}{2}}+2\int\limits\limits\limits{e^{-\frac{x}{2}}dx})\]\[ve^{-\frac{x}{2}}=\frac{1}{2}(-2xe^{-\frac{x}{2}}-4e^{-\frac{x}{2}}+C)\]now divide everything by e^(-x/2) \[v=\frac{1}{2}(-2x-4+ce^{\frac{x}{2}})\]\[v=-x-2+\frac{c}{2}e^{\frac{x}{2}}\]
c/2 is any constant so it can be just C
no need for any limits in integration ,,, and u forgot the 1/2 u put at the beginning
@UnkleRhaukus
so the answer is \[\sqrt{y}=-x-2+ce^{\frac{x}{2}}\]
yeah forgot about the \(\frac 12\) when i integrated by parts thanks for all your work
anytime
in the integration by parts bit we are ment to drop the limit because we are adding the arbitrary constant of integration/ is this right? \(\int\limits_a^b uv'=\left.uv\right|_a^b-\int\limits_a^b vu'\) \(\int uv'=uv-\int\limits_a^b vu'+c\)
?
yes its an indefinite integral
Join our real-time social learning platform and learn together with your friends!