Hello,
I understand that you are trying to solve a differential equation using “dsolve” but you are getting an empty sym.
This is because the system you have provided has no solution. If you are expecting a solution, then maybe your equation missed a bracket and is (instead of x-1/y) as follows:
eqn=diff(y,x)==(x-1)/y;
This equation has solutions, and they are:
ySol(x) =
(x^2 - 2*x + C1)^(1/2)
-(x^2 - 2*x + C1)^(1/2)
You can refer to the below documentation to learn more about “dsolve”:
Thanks,
Charan