Solving a Separable ODE: y'+ytanx=cosx with Initial Condition y(0)=1

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 2K views
eeriana
Messages
15
Reaction score
0

Homework Statement


y'+ytanx = cos x y(0)=1


Homework Equations





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
[tex]\int[/tex]P = -ln|cosx|
[tex]\mu[/tex]=e[tex]^{}-lncosx[/tex]
[tex]\mu[/tex]= 1/cosx

(1/cosx*y)' =[tex]\int[/tex]1/cosx cosx

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

Thanks

Eeriana
 
Physics news on Phys.org
But isn't 1/cosx * cosx = 1 Or am I having an algebraic malfunction?
 
I thought I was doing something wrong... hmmm..now I am going to see if I can finish it!

Thanks for the help