When I input this function in Maple:
f := (x, y) -> exp(x+xy-2*y)
And take the derivative:
diff(f(x, y), x);
I receive:
exp(x + xy - 2 y)
But I would have expected it to be:
(1+y)exp(x+xy-2y)
Does anyone have an explanation for this?