1. Feb 3, 2008

### eeriana

1. The problem statement, all variables and given/known data
y'+ytanx = cos x y(0)=1

2. Relevant equations

3. The attempt at a solution

We are studying separable ode's and integrating factor right now, I am a little confused... If someone could steer me in the right direction, it would be greatly appreciated... This is what I have so far:

P= tanx
$$\int$$P = -ln|cosx|
$$\mu$$=e$$^{}-lncosx$$
$$\mu$$= 1/cosx

(1/cosx*y)' =$$\int$$1/cosx cosx

and this is where I get stuck... am I even on the right track?

Thanks

Eeriana
1. The problem statement, all variables and given/known data

2. Relevant equations

3. The attempt at a solution

2. Feb 3, 2008

### Hootenanny

Staff Emeritus
You are on the right track and have calculated the IF correctly and written the complete differential correctly. Note that you can simplify the integrand...

3. Feb 3, 2008

### eeriana

But isn't 1/cosx * cosx = 1 Or am I having an algebraic malfunction?

4. Feb 3, 2008

### Hootenanny

Staff Emeritus
Nope you are indeed correct.

5. Feb 3, 2008

### eeriana

I thought I was doing something wrong.... hmmm..now I am going to see if I can finish it!

Thanks for the help