I define a vector with 4 components, indicating their dependencies:
A = {At[t, x, y, z], Ax[t, x, y, z], Ay[t, x, y, z], Az[t, x, y, z]}
Then I tell it to take the partial derivative of the first element with respect to t:
\!\(
\*SubscriptBox[\(\[PartialD]\), \(t\)]\(A[[\(1\)\(]\)]\)\)
It gives the correct answer as a superscript:
\!\(\*SuperscriptBox[\(At\),
TagBox[
RowBox[{"(",
RowBox[{"1", ",", "0", ",", "0", ",", "0"}], ")"}],
Derivative],
MultilineFunction->None]\)[t, x, y, z]
But when I ask it to evaluate that derivative for a concrete case, it gives nonsense:
\!\(\*SuperscriptBox[\((
\*SuperscriptBox[\(t\), \(2\)] +
\*SuperscriptBox[\(x\), \(3\)] +
\*SuperscriptBox[\(y\), \(4\)] +
\*SuperscriptBox[\(z\), \(5\)])\),
TagBox[
RowBox[{"(",
RowBox[{"1", ",", "0", ",", "0", ",", "0"}], ")"}],
Derivative],
MultilineFunction->None]\)[t, x, y, z]
See attached screenshot as the symbolism doesn't show well what I am doing.
Attachments: