(secx)dy/dx=e^(y+sinx), please help me solve the differential equation. Thanks :)
move secx to the other side
then moved dx to the other side, then integrate it. THAT"S ALL
\[\large \sec x\frac{dy}{dx}=e^{(y+\sin x)}\] Recall a rule of exponents:\[\large e^{a+b}=e^a\cdot e^b\]
\[\large \sec x\frac{dy}{dx}=e^{(y+\sin x)} \qquad \rightarrow \qquad \large \sec x\frac{dy}{dx}=e^{y}\cdot e^{\sin x}\]So that would be our first step right?
Yes.
and then it would be \[e^y/secx \times e^{sinx}/secx\]
First order Seperable differential equation. You can think of it as "cross multiplying" Even though that's what it seems like, its not. but you could think of it as doing just that. You're getting dy w/ y's and dx with x's.
Yes. Next move the e^y to the side containing dy.
Woops the way you wrote it joker, it looks like your denominator is sec^2x. Careful. There should only be 1 secx on the bottom on the right side of our equation.
so \[\frac{ 1 }{ e^y }dy=e^{sinx}/secxdx\]?
\[\huge e^{-y}dy\qquad =\qquad \frac{e^{\sin x}}{\sec x}dx\] Yes very good. We can simplify the 1/sec x. Remember what that will give us in terms of sines or cosines?
\[e^{-y}dy=e ^{sinx}times cosx\]
1/secx becomes cosx
\[\huge e^{-y}dy\qquad =\qquad (\cos x) e^{\sin x}dx\] Ok good :) From here you can integrate.
do I use natural log?
You will use a `U substitution` to get through these integrals. If your problem is asking for an `explicit` solution, then yes we'll have to use natural log after we integrate.
\[\frac{ 1 }{ \sec(x) } = \cos(x)\]
so then its u=sinx, du=cosx dx
\[e^{-y} dy=e^udu\]?
k looks good so far.
after taking the log \[-ydy=udu\]
No don't take the log right now. Integrate first.
after integrating \[-e^{-y}=e^u\]
\[\large -e^{-y}=e^u+C\] Ok good.
Make sure to move that negative over before applying the natural log.
so then it becomes \[e^{-y}=-e^u ?\]
Don't forget your C, it's quite important in this problem.
\[\large e^{-y}=C-e^u\]
\[-y=C-u\]
so is the final answer \[y=sinx+c\] ?
Taking the natural log of both sides,\[\large \ln(e^{-y})=\ln(C-e^u)\]Giving us,\[\large -y=\ln(C-e^u) \qquad \rightarrow \qquad y=-\ln(C-e^{u})\]
Im not sure what happened to your natural log on the right side. It doesn't disappear like it does on the left.
oh, right, forgot the natural log on the other side. :) Thanks so much zepdrix! :)
np c:
Join our real-time social learning platform and learn together with your friends!