DiffEq - Initial Value Problem / Integration help

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 4K views
twiztidmxcn
Messages
43
Reaction score
0
This question is an initial value problem for diffeq. We are asked to solve explicitly for y.

(1+cos(x))dy = ((e^(-y))+1)*sin(x)dx , y(0) = 0


I attempted a separation of variables and ended up with the following:

dy / ((e^(-y))+1) = (sin(x) / (1 + cos(x))) dx

I know that my next step is to integrate both sides and then solve using the given initial value, but I am unsure as to how I am supposed to integrate either side.

For the right side, I believe I can integrate using u-substitution, where:

u = cos(x) + 1
du / dx = -sin(x)

So that the right side becomes -1/u, integrates to -ln(u), then -ln(1+cos(x)).

For the left side, I've tried using partial fraction decomposition but end up either with my original equation or the natural logarithm of a negative number.
This is where I need help, is in the integration of the left hand side.

thank you
-twiztidmxcn
 
Physics news on Phys.org
IF you mutiply dy/((e^-y)+1) by (e^y)/(e^y) before intetgrating, can you then use integration by substitution?