CrossProduct
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
Examples
Basic Examples
See Also
Tech Notes
Related Guides
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)
Needs["VectorAnalysis`"]Find the cross product of a pair of vectors:
a = {1, 3, 5};b = {-4, 7, 1};CrossProduct[a, b]Verify an identity involving the cross product and the dot product of vectors:
Norm[CrossProduct[a, b]] ^ 2 + Norm[a.b] ^ 2 - Norm[a] ^ 2 * Norm[b] ^ 2