Find the general solution of the DE equation in comments
\[y'=(\frac{ \sin x }{ y })^2\]
Square the top and bottom. It's seperable
so i would have sin^2(x)/y^2?
Yup
then multiply both sides by y^2 correct?
Yup
how do i find the integral of sin^2(x) dx?
it wouldn't be just -cos^2(x) right
No. Remember sin^2(x) = (sin(x))^2 which you can't integrate directly. Differentiate -cos^2(x) to see you don't get the right answer. Use the power reduction identity sin^2(x) = (1-cos(2x))/2
so i get \[\frac{ y^3 }{ 3 }=\frac{ 1 }{ 2 } \int\limits 1-\cos(2x)dx\]
what about that integral?
Yes. It would be nicer to put the parens in \[\frac{1}{2}\int\limits(1-\cos(2x))dx\] You can split it across the subtraction \[\frac{1}{2}\int\limits(1-\cos(2x))dx = \frac{1}{2}\int\limits1\ dx - \frac{1}{2}\int\limits \cos(2x)dx\]
i get \[\frac{ y^3 }{ 3 }= \frac{ 1 }{ 2 }(x-\frac{ 1 }{ 2 }\sin(2x))+C\] is that correct?
Looks good
why does wolframalpha have the answer as \[\frac{ 1 }{ 2 }(x-\sin(x)\cos(x))+C\]
Because sin(2x)=sin(x+x)=sin(x)cos(x)+sin(x)cos(x)=2sin(x)cos(x)
so its the same answer either way?
Yes.
Alright. Thanks a lot!
Sure thing
Join our real-time social learning platform and learn together with your friends!