how do I differentiate an implicit equation [closed]

asked 4 years ago

lolora gravatar image

I'm trying to differentiate an implicit expression

xey=xy

This is my sagemath code

x = var('x')
f(x,y)= x*e**y - x + y
show(diff(f))

Sagemath Answer is (x,y)  (ey1,xey+1)

But the actual answer is 1eyxey+1

How do I get the actual answer using sagemath?

Preview: (hide)

Closed for the following reason duplicate question by Juanjo
close date 2020-06-28 03:09:00.087393