Message Boards Message Boards

1
|
4422 Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

DSolve and 1st order diff. equations in the differential form

Posted 4 years ago

Hello,

I was wondering if there is a way to enter a differential equation (1st order) in differential form instead of derivative form in DSolve

For example: Is it possible to enter a differential equation in the following form in DSolve (x^2+3 y x^2)dx + (5 y)dy=0 instead of dy/dx=-(x^2+3 y x^2) / 5 y ?

Thanks for your help.

POSTED BY: Yeso Alde
2 Replies
Posted 4 years ago

Thank you very much.

POSTED BY: Yeso Alde

Maybe like this:

eq = (x^2 + 3*y*x^2)*dx + (5 y)*dy == 0(*equation in  differential form *)

y == First@(y /. (DSolve[(eq /. y -> y[x] /. dx -> Dt[x] /. dy -> Dt[y[x]]), y[x], x] /. y[x] -> y))

(* y == 1/3 (-1 - ProductLog[-E^((3 x^3)/5 - 9 C[1])]) *)(*Solution*)

Workaround from here.

Regards.

POSTED BY: Mariusz Iwaniuk
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract