VectorAnalysis`
VectorAnalysis`

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.

Details and Options

  • 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.

Examples

Basic Examples  (1)

Find the cross product of a pair of vectors:

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