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

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
 
on Phys.org
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...
 
But isn't 1/cosx * cosx = 1 Or am I having an algebraic malfunction?
 
eeriana said:
But isn't 1/cosx * cosx = 1 Or am I having an algebraic malfunction?
Nope you are indeed correct.
 
I thought I was doing something wrong... hmmm..now I am going to see if I can finish it!

Thanks for the help
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
11
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
7K
Replies
3
Views
2K
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
8K