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

  • Thread starter Thread starter Jamin2112
  • Start date Start date
  • Tags Tags
    Separable
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 2K views
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.
 
Physics news on Phys.org
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]