« View all new features in Mathematica 9  previous  |  next 
New in Mathematica 9Built-in Symbolic Tensors

Vector Laplacian Identity 

The Laplacian of a vector field in d-dimensional flat space can be computed via the formula grad div v + (-1)^dcurl curl v. This formula is well known in three dimensions.
In[1]:=
Click for copyable input
X
Out[1]=

The following creates a table that automates the verification of the identity in different dimensions and coordinate systems.

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