Calculus Help Fan + Medal
dy/dx = xy/3 , y>0 Find the particular solution y = f(x) to the given differential equation with the initial condition f(0) = 4
\[\frac{ dy }{ dx } = \frac{ xy }{ 3 } , y>0\]
I think we can re-arrange and integrate both sides. \[\frac{ dy }{ dx } = \frac{ xy }{ 3 }\] \[\frac{ 3~dy }{ y } = x*dx \]
I feel the next step would probably be to just integrate both sides. \[3*\int\limits \frac{ dy }{ y } = \int\limits x*dx \]
How would you integrate dy/y ?
ln |y| ?
\[\int\limits \frac{ 1 }{ x } dx = \ln|x|+C\]
you familiar with that identity right?
Yes. I figured it out. It would be \[\ln |y| = \frac{ x^2 }{ 2 } + C\]
don't forget the 3 outside the integral
\[3\ln(y) = \frac{ x^{2} }{ 2 } + C \]
\[\ln|y|= \frac{ x^{2} }{ 6 } + \frac{ C }{ 3 }\]
I'm wondering though if we can just get rid of the ln and just take both sides to the e^
I dont see why not.
It might get kinda messy, tho right?
\[e^{\ln|y|} = e^{\frac{ x^{2} }{ 6 }} + e^{\frac{ C }{ 3 }}\]
Yup we could.
dunno lol I just don't like ln that's why
I guess this would make our lives a bit easier. \[y = e^{\frac{ x^{2} }{ 6 }} + e^{\frac{ C }{ 3 }}\] now we plug in f(0) and try to solve
\[y = e^{\frac{ 0 }{ 6 }} + e^{\frac{ c }{ 3 }}\] \[4 = 1+e^{\frac{ c }{ 3 }}\]
I was jjust typing that out. awesome
:)
\[3 = e^{\frac{ c }{ 3 }}\] so what now?
solve for C.
C= 3ln(3) or 3.296
@Photon336
yep let's put it together.
so \[y = e^{\frac{ x^{2} }{ 6 }} + e^{\frac{ 3\ln(3) }{ 3 }}\]
\[(e^{0} = 1)+e^{\frac{ \cancel\3\ln(3) }{ \cancel\3 }} ~ e^{\ln(3)} = 3 + 1 = 4 \]
Yay. We got it. Thank you!!
Most importantly always check the result when you can.
the idea was just using algebra and rearranging in the first part so that we could integrate both sides and build our function.
Join our real-time social learning platform and learn together with your friends!