DiffEq - Initial Value Problem / Integration help

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?
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top