How can you solve for y in a difficult separable equation?

  • Thread starter Jamin2112
  • Start date
  • Tags Tags
    Separable
6 replies · 2K views · last reply
Jamin2112
Messages
973
Reaction score
12

Homework Statement



dy/dx = (y cos x) / (1+y2)

Homework Equations



Meh

The Attempt at a Solution



I've made it to this point:

ln(y) + y2/2 = sinx + C.

But we can't figure out to solve for y. It seems impossible with the ln(y) hanging around.
 
As far as the differential equation goes, you've solved it. Does your problem statement requre you do express the solution as y=f(x) ?
 
Theoretically, you can solve for y using the Lambert W function, defined as the inverse function to x*e^(x). But I doubt they'd make you do that.
 
Char. Limit said:
Theoretically, you can solve for y using the Lambert W function, defined as the inverse function to x*e^(x). But I doubt they'd make you do that.

Is their another way, brah?
 
PAllen said:
As far as the differential equation goes, you've solved it. Does your problem statement requre you do express the solution as y=f(x) ?

PAllen = Paul Allen?
 
Jamin2112 said:
Is their another way, brah?

Not really. I checked wolframalpha, and that's the only way.

[tex]log(y^2)+y^2 = 2 sin(x) + 2C[/tex]

[tex]e^{log(y^2)+y^2} = e^{2 sin(x) + 2C}[/tex]

[tex]y^2 e^{y^2} = e^{2 sin(x)+ 2C}[/tex]

[tex]y^2 = W\left( e^{2 sin(x)+2C}\right)[/tex]

[tex]y= \pm \sqrt{W\left( e^{2 sin(x)+2C}\right)}[/tex]