How do I differentiate an implicit function in sagemath?
I'm trying to differentiate an implicit expression
xey=x−y
This is my sagemath code
x = var('x')
f(x,y)= x*e**y - x + y
show(diff(f))
Sagemath Answer is (x,y) ↦ (ey−1,xey+1)
But the actual answer is 1−eyxey+1
How do I get the actual answer using sagemath?
Initially asked as