# Can I define a “total Curl” operator similar to a “total derivative (Dt)” operator? [duplicate]

I am trying to take the curl of a vector field.

A={A1,A2,A3}
B=Curl[A,{x,y,z}]


This yields

{0,0,0}


because Mathematica thinks that the vector is a constant. I would like for Mathematica to assume that the vector A varies as a function of position, so I make A1, A2, and A3 functions of [x,y,z] like so:

A={A1[x,y,z],A2[x,y,z],A3[x,y,z]}
B=Curl[A,{x,y,z}]


Now the output looks like this:

which is correct, but I would like to get rid of the [x,y,z] on all of the output terms which clutters up the output and makes it difficult to read.

• Does B /. f_[x, y, z] :> f give what you need? – kglr Feb 4 '15 at 20:07
• See 15153 – bbgodfrey Feb 4 '15 at 20:12
• Yes, that works very nicely. Thank you! – Charlie Feb 4 '15 at 20:46

B /. f_[x, y, z] :> f will get rid of the [x,y,z,t] on the functions.