solve ysec2x y'=-x(1-y^2)
I'm going to assume this is an IVP? Correct?
\[y \sec2x \frac{ dy }{ dx}=-x \sqrt{1-y ^{2})}\]
Separate the x's and y's on each side and take the integral of each
\[\int\limits \frac{y }{ 1+y^2} dy = \int\limits \frac{ x }{ \sec(2x)}dx\]
If you aren't given any initial conditions, then you can leave your answer in the form f(y) = g(x) + c
why did the 1-y^2 turn to 1+y^2
Typo. My bad homie It should be: 1-y^2
i am coming up with \[y=\sqrt{1-(\frac{ x }{2}}\sin 2x +1/4\cos2x+c)^{2}\]
would you think that is realistic?
no.
Is this the problem you are solving for: \[y \sec(2x)\frac{ dy }{ dx } = x (1-y^2)\] correct?
What you have there is a nonlinear first order differential equation. and since you aren't given any initial conditions, you can leave your answer in implicit form.
i am given \[y(\pi)=1\]
That means that y = 1 and x = π So just substitute and solve for 'C' once you have your C, plug it back into your general solution to get your explicit solution. Did you figure out your general solution?
what i typed ealier is what i am getting for y
i am getting c as -1/4
I don't see how you got that. Your implicit solution should be: \[\frac{ 1 }{ 2 }\ln(y^2-1) = -[ xsin(x)+\cos(x)+c] \]
when i separate them this is what i got\[\int\limits_{}^{}\frac{ y }{\sqrt{(1-y^2}}dy=\int\limits_{}^{}xcos2xdx\]
I didn't know there was a square root. My answer is wrong then Let me re-work it. Give me a minute.
but that looks correct. the way you separated them!
Solution: \[-\sqrt{1-y^2}= \frac{ 1 }{ 4 }(-2xsin(2x)-\cos(2x))\]
C = -1
we can multiply by -1 through out? and you forgot the c
Yeah. I 4got to add +C. Good catch! So your solution should be: \[-\sqrt{1-y^2} = \frac{ 1 }{ 4 }[-2xsin(2x)-\cos(2x)-1]\]
this is what i got before i further simplified
\[\sqrt{1-y ^{2}}=\frac{ x }{ 2 }\sin2x +\frac{ 1 }{ 4 }\cos2x+c\]
That's correct.
sub x=pi and y=1 RHS=0 sin2x term becomes zero leaving 1/4+c=0
You're correct. I 4got abt the 1/4. My bad. Haha. But you get it better than me, since u caught my mistakes :)
no, it took a while to do it and u was doin it as we were talkin so u r better
and u juss confirmed my answers. thx
no prb. best of luck.
Join our real-time social learning platform and learn together with your friends!