CrossProduct

As of Version 9.0, vector analysis functionality is built into the Wolfram Language

CrossProduct[v1,v2]
gives the cross product of the two 3-vectors v1, v2 in the default coordinate system.

CrossProduct[v1,v2,coordsys]
gives the cross product of v1 and v2 in the coordinate system coordsys.

DetailsDetails

  • To use CrossProduct, you first need to load the Vector Analysis Package using Needs["VectorAnalysis`"].
  • CrossProduct[v1,v2,coordsys] is computed by converting v1 and v2 to Cartesian coordinates, forming the cross product, and then converting back from Cartesian coordinates.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

In[1]:=
Click for copyable input

Find the cross product of a pair of vectors:

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

Verify an identity involving the cross product and the dot product of vectors:

In[5]:=
Click for copyable input
Out[5]=
Translate this page: