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?
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?
Maple understand each (non-predefined) expression of the form abcde as one variable. It also works for Mathematica where abcde means one variable while a b c d e is understood as a product of $5$ variables. Spaces does not work for Maple formulas typed in plain text, so you have to use * each time you want to multiply (works as well for Mathematica).
x y as multiplication if it is entered as 2D Math input, which is one of the two input forms recognized by its Standard GUI. The implicit multiplication of x y is not recognized when entered in (1D, plaintext) Maple Notation.
– acer
Nov 23 '11 at 17:21
xyinstead ofx*y, so Maple thinks (!) thatxyis another variable rather than the product of two – SBF Nov 23 '11 at 13:19