Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The code

x = var('x')
y = function("y")(x)
eq = x*e**y == x - y
dy = diff(y,x)
sol = solve(diff(eq), dy)
show(dy.subs(sol))

yields $$-\frac{e^{y\left(x\right)} - 1}{x e^{y\left(x\right)} + 1}$$ as expected