MATLAB Answers

How can we get the solution for an 'exact differential equation' dy/dx=(x^2-y^2)/2*x*y in matlab

97 views (last 30 days)
abcdr on 30 Sep 2018
Commented: madhan ravi on 11 Oct 2018
'exact differential equation'dy/dx=(x^2-y^2)/2*x*y'


Star Strider
Star Strider on 30 Sep 2018
You seem to have omitted the LHS.
dxdt = (x^2-y^2)/2*x*y
dydt = (x^2-y^2)/2*x*y
dxdy = (x^2-y^2)/2*x*y
dydx = (x^2-y^2)/2*x*y
or something else?
abcdr on 30 Sep 2018
My bad. The equation is 2*x*y*(dy/dx)=(x^2)-(y^2). This is an exact equation. How do we find the solution of an exact differential equation in matlab

Sign in to comment.

Accepted Answer

madhan ravi
madhan ravi on 1 Oct 2018
syms y(x)


Show 2 older comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by