Solving y' - ytan(x) = 2sin(x): What Went Wrong with My Integrating Factor?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
okhjonas
Messages
4
Reaction score
0
Hello, I've got a problem with a differential equation...

Homework Statement



y' - ytan(x) = 2sin(x)


The Attempt at a Solution



I've tried to multiply the equation with the integrating factor [tex]e^{-\frac{1}{cos^{2}x}}[/tex] and then express the equation as [tex]ye^{-\frac{1}{cos^{2}x}}=\int2sin(x)e^{-\frac{1}{cos^{2}x}}dx[/tex] but then I've got lost..

(excuse my bad English)..
 
Physics news on Phys.org
okhjonas said:
Hello, I've got a problem with a differential equation...

Homework Statement



y' - ytan(x) = 2sin(x)


The Attempt at a Solution



I've tried to multiply the equation with the integrating factor [tex]e^{-\frac{1}{cos^{2}x}}[/tex] and then express the equation as [tex]ye^{-\frac{1}{cos^{2}x}}=\int2sin(x)e^{-\frac{1}{cos^{2}x}}dx[/tex] but then I've got lost..

(excuse my bad English)..

Hi okhjonas! :smile:

hmm … I thought you'd got some sleep?

No, your integrating factor is wrong …

you need an f with f'/f = - tanx …

oh I see … you differentiated tanx … try integrating it! :wink: