I was working through some physics equations and came to a dead stop when I couldn't get the Derivative
operator to work on equations with 2 variables. An example I striped the problem down to is below. What subtle coding principal am I missing about symbolics? I have the documentation open on the other screen and it's not exactly clear how to work with pairs as inputs to functions. I looked at everything with Fullform
and didn't see anything too unexpected. Is there an explanation as to what's going on?
h[h_] := h^2 + 2 h +3
h'[u]
2+2 u
(returns as expected)
f[{x_,y_}] := x^4 + y^4
Derivative[1][f][{x,y}]
f'[{x,y}]
f′[{x,y}]
f′[{x,y}]
D
for total derivatives, e.g.D[f[{x, y}], {{x, y}, 1}]
andD[f[{x, y}], {{x, y}, 2}]
. $\endgroup$