Curl

As of version 9.0, vector analysis functionality is built into Mathematica

Curl[f]
gives the curl, , of the vector field f in the default coordinate system.


gives the curl of f in the coordinate system coordsys.

DetailsDetails

  • To use , you first need to load the Vector Analysis Package using Needs["VectorAnalysis`"].
  • The vector field f should be a 3-element list where each element is a function of the coordinates of the appropriate coordinate system.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

In[1]:=
Click for copyable input

Compute the curl of a vector field:

In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=

Find the parameter values for which the vector field is irrotational:

In[4]:=
Click for copyable input
Out[4]=
New to Mathematica? Find your learning path »
Have a question? Ask support »