TensorExpand

TensorExpand[texpr]
expands out tensor-related products in the symbolic tensor expression texpr.

Details and OptionsDetails and Options

  • TensorExpand expands sums and products by scalars in tensorial arguments.
  • Expressions involving Dot and Cross are expanded by converting products of pairs of Cross subexpressions into linear combinations of Dot products.
  • Symbolic arguments of Cross are assumed to represent vectors of adequate dimensionality.
  • Symbolic arguments of MatrixPower and Inverse are assumed to represent invertible square matrices.

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

Tensor products of linear combinations are not expanded automatically:

In[1]:=
Click for copyable input
Out[1]=

Expand the product:

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

Expand a scalar product of two cross products:

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