how do I differentiate an implicit equation [closed]

asked 2020-06-26 22:49:56 +0200

lolora gravatar image

I'm trying to differentiate an implicit expression

$x e^{y} = x -y$

This is my sagemath code

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

Sagemath Answer is $\left( x, y \right) \ {\mapsto} \ \left(e^{y} - 1,\,x e^{y} + 1\right)$

But the actual answer is $\frac{1 - e^{y}}{x e^{y} + 1}$

How do I get the actual answer using sagemath?

edit retag flag offensive reopen merge delete

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