# Cross product

In mathematics, the **cross product** or **vector product** (occasionally **directed area product** to emphasize the geometric significance) is a binary operation on two vectors in three-dimensional space and is denoted by the symbol . Given two linearly independent vectors and , the cross product, (read "a cross b"), is a vector that is perpendicular to both and and thus normal to the plane containing them. It has many applications in mathematics, physics, engineering, and computer programming. It should not be confused with the dot product (projection product).

If two vectors have the same direction (or have the exact opposite direction from one another, i.e. are *not* linearly independent) or if either one has zero length, then their cross product is zero. More generally, the magnitude of the product equals the area of a parallelogram with the vectors for sides; in particular, the magnitude of the product of two perpendicular vectors is the product of their lengths. The cross product is anticommutative (i.e., ) and is distributive over addition (i.e., ). The space together with the cross product is an algebra over the real numbers, which is neither commutative nor associative, but is a Lie algebra with the cross product being the Lie bracket.

Like the dot product, it depends on the metric of Euclidean space, but unlike the dot product, it also depends on a choice of orientation or "handedness". The product can be generalized in various ways; it can be made independent of orientation by changing the result to pseudovector, or in arbitrary dimensions the exterior product of vectors can be used with a bivector or 2-form result. Also, using the orientation and metric structure just as for the traditional 3-dimensional cross product, one can in dimensions take the product of vectors to produce a vector perpendicular to all of them. But if the product is limited to non-trivial binary products with vector results, it exists only in three and seven dimensions.^{[1]} (See § Generalizations, below, for other dimensions.)

## DefinitionEdit

The cross product of two vectors **a** and **b** is defined only in three-dimensional space and is denoted by **a** × **b**. In physics, sometimes the notation **a** ∧ **b** is used,^{[2]} though this is avoided in mathematics to avoid confusion with the exterior product.

The cross product **a** × **b** is defined as a vector **c** that is perpendicular (orthogonal) to both **a** and **b**, with a direction given by the right-hand rule and a magnitude equal to the area of the parallelogram that the vectors span.

The cross product is defined by the formula^{[3]}^{[4]}

where *θ* is the angle between **a** and **b** in the plane containing them (hence, it is between 0° and 180°), ‖**a**‖ and ‖**b**‖ are the magnitudes of vectors **a** and **b**, and **n** is a unit vector perpendicular to the plane containing **a** and **b** in the direction given by the right-hand rule (illustrated). If the vectors **a** and **b** are parallel (i.e., the angle *θ* between them is either 0° or 180°), by the above formula, the cross product of **a** and **b** is the zero vector **0**.

By convention, the direction of the vector **n** is given by the right-hand rule, where one simply points the forefinger of the right hand in the direction of **a** and the middle finger in the direction of **b**. Then, the vector **n** is coming out of the thumb (see the adjacent picture). Using this rule implies that the cross product is anti-commutative, i.e., **b** × **a** = −(**a** × **b**). By pointing the forefinger toward **b** first, and then pointing the middle finger toward **a**, the thumb will be forced in the opposite direction, reversing the sign of the product vector.

Using the cross product requires the handedness of the coordinate system to be taken into account (as explicit in the definition above). If a left-handed coordinate system is used, the direction of the vector **n** is given by the left-hand rule and points in the opposite direction.

This, however, creates a problem because transforming from one arbitrary reference system to another (e.g., a mirror image transformation from a right-handed to a left-handed coordinate system), should not change the direction of **n**. The problem is clarified by realizing that the cross product of two vectors is not a (true) vector, but rather a *pseudovector*. See cross product and handedness for more detail.

## NamesEdit

In 1881, Josiah Willard Gibbs, and independently Oliver Heaviside, introduced both the dot product and the cross product using a period (**a** . **b**) and an "x" (**a** x **b**), respectively, to denote them.^{[5]}

In 1877, to emphasize the fact that the result of a dot product is a scalar while the result of a cross product is a vector, William Kingdon Clifford coined the alternative names **scalar product** and **vector product** for the two operations.^{[5]} These alternative names are still widely used in the literature.

Both the cross notation (**a** × **b**) and the name **cross product** were possibly inspired by the fact that each scalar component of **a** × **b** is computed by multiplying non-corresponding components of **a** and **b**. Conversely, a dot product **a** ⋅ **b** involves multiplications between corresponding components of **a** and **b**. As explained below, the cross product can be expressed in the form of a determinant of a special 3 × 3 matrix. According to Sarrus's rule, this involves multiplications between matrix elements identified by crossed diagonals.

## Computing the cross productEdit

### Coordinate notationEdit

The standard basis vectors **i**, **j**, and **k** satisfy the following equalities in a right hand coordinate system:

which imply, by the anticommutativity of the cross product, that

The anticommutativity of the cross product (and the obvious lack of linear independence) also implies that

- (the zero vector).

These equalities, together with the distributivity and linearity of the cross product (but both do not follow easily from the definition given above), are sufficient to determine the cross product of any two vectors **a** and **b**. Each vector can be defined as the sum of three orthogonal components parallel to the standard basis vectors:

Their cross product **a** × **b** can be expanded using distributivity:

This can be interpreted as the decomposition of **a** × **b** into the sum of nine simpler cross products involving vectors aligned with **i**, **j**, or **k**. Each one of these nine cross products operates on two vectors that are easy to handle as they are either parallel or orthogonal to each other. From this decomposition, by using the above-mentioned equalities and collecting similar terms, we obtain:

meaning that the three scalar components of the resulting vector **s** = *s*_{1}**i** + *s*_{2}**j** + *s*_{3}**k** = **a** × **b** are

Using column vectors, we can represent the same result as follows:

### Matrix notationEdit

The cross product can also be expressed as the formal determinant:^{[note 1]}

This determinant can be computed using Sarrus's rule or cofactor expansion. Using Sarrus's rule, it expands to

Using cofactor expansion along the first row instead, it expands to^{[6]}

which gives the components of the resulting vector directly.

## PropertiesEdit

### Geometric meaningEdit

The magnitude of the cross product can be interpreted as the positive area of the parallelogram having **a** and **b** as sides (see Figure 1):

Indeed, one can also compute the volume *V* of a parallelepiped having **a**, **b** and **c** as edges by using a combination of a cross product and a dot product, called scalar triple product (see Figure 2):

Since the result of the scalar triple product may be negative, the volume of the parallelepiped is given by its absolute value. For instance,

Because the magnitude of the cross product goes by the sine of the angle between its arguments, the cross product can be thought of as a measure of *perpendicularity* in the same way that the dot product is a measure of *parallelism*. Given two unit vectors, their cross product has a magnitude of 1 if the two are perpendicular and a magnitude of zero if the two are parallel. The dot product of two unit vectors behaves just oppositely: it is zero when the unit vectors are perpendicular and 1 if the unit vectors are parallel.

Unit vectors enable two convenient identities: the dot product of two unit vectors yields the cosine (which may be positive or negative) of the angle between the two unit vectors. The magnitude of the cross product of the two unit vectors yields the sine (which will always be positive).

### Algebraic propertiesEdit

If the cross product of two vectors is the zero vector (i.e. **a** × **b** = **0**), then either one or both of the inputs is the zero vector, (**a** = **0** or **b** = **0**) or else they are parallel or antiparallel (**a** ∥ **b**) so that the sine of the angle between them is zero (*θ* = 0° or *θ* = 180° and sin*θ* = 0).

The self cross product of a vector is the zero vector:

The cross product is anticommutative,

distributive over addition,

and compatible with scalar multiplication so that

It is not associative, but satisfies the Jacobi identity:

Distributivity, linearity and Jacobi identity show that the **R**^{3} vector space together with vector addition and the cross product forms a Lie algebra, the Lie algebra of the real orthogonal group in 3 dimensions, SO(3).
The cross product does not obey the cancellation law: that is, **a** × **b** = **a** × **c** with **a** ≠ **0** does not imply **b** = **c**, but only that:

This can be the case where **b** and **c** cancel, but additionally where **a** and **b** − **c** are parallel; that is, they are related by a scale factor *t*, leading to:

for some scalar *t*.

If, in addition to **a** × **b** = **a** × **c** and **a** ≠ **0** as above, it is the case that **a** ⋅ **b** = **a** ⋅ **c** then

As **b** − **c** cannot be simultaneously parallel (for the cross product to be **0**) and perpendicular (for the dot product to be 0) to **a**, it must be the case that **b** and **c** cancel: **b** = **c**.

From the geometrical definition, the cross product is invariant under proper rotations about the axis defined by **a** × **b**. In formulae:

- , where is a rotation matrix with .

More generally, the cross product obeys the following identity under matrix transformations:

where is a 3-by-3 matrix and is the transpose of the inverse and is the cofactor matrix. It can be readily seen how this formula reduces to the former one if is a rotation matrix.

The cross product of two vectors lies in the null space of the 2 × 3 matrix with the vectors as rows:

For the sum of two cross products, the following identity holds:

### DifferentiationEdit

The product rule of differential calculus applies to any bilinear operation, and therefore also to the cross product:

where **a** and **b** are vectors that depend on the real variable *t*.

### Triple product expansionEdit

The cross product is used in both forms of the triple product. The scalar triple product of three vectors is defined as

It is the signed volume of the parallelepiped with edges **a**, **b** and **c** and as such the vectors can be used in any order that's an even permutation of the above ordering. The following therefore are equal:

The vector triple product is the cross product of a vector with the result of another cross product, and is related to the dot product by the following formula

The mnemonic "BAC minus CAB" is used to remember the order of the vectors in the right hand member. This formula is used in physics to simplify vector calculations. A special case, regarding gradients and useful in vector calculus, is

where ∇^{2} is the vector Laplacian operator.

Other identities relate the cross product to the scalar triple product:

where *I* is the identity matrix.

### Alternative formulationEdit

The cross product and the dot product are related by:

The right-hand side is the Gram determinant of **a** and **b**, the square of the area of the parallelogram defined by the vectors. This condition determines the magnitude of the cross product. Namely, since the dot product is defined, in terms of the angle *θ* between the two vectors, as:

the above given relationship can be rewritten as follows:

Invoking the Pythagorean trigonometric identity one obtains:

which is the magnitude of the cross product expressed in terms of *θ*, equal to the area of the parallelogram defined by **a** and **b** (see definition above).

The combination of this requirement and the property that the cross product be orthogonal to its constituents **a** and **b** provides an alternative definition of the cross product.^{[8]}

### Lagrange's identityEdit

The relation:

can be compared with another relation involving the right-hand side, namely Lagrange's identity expressed as:^{[9]}

where **a** and **b** may be *n*-dimensional vectors. This also shows that the Riemannian volume form for surfaces is exactly the surface element from vector calculus. In the case where *n* = 3, combining these two equations results in the expression for the magnitude of the cross product in terms of its components:^{[10]}

The same result is found directly using the components of the cross product found from:

In **R**^{3}, Lagrange's equation is a special case of the multiplicativity |**vw**| = |**v**||**w**| of the norm in the quaternion algebra.

It is a special case of another formula, also sometimes called Lagrange's identity, which is the three dimensional case of the Binet–Cauchy identity:^{[11]}^{[12]}

If **a** = **c** and **b** = **d** this simplifies to the formula above.

### Infinitesimal generators of rotationsEdit

The cross product conveniently describes the infinitesimal generators of rotations in **R**^{3}. Specifically, if **n** is a unit vector in **R**^{3} and *R*(*φ*, **n**) denotes a rotation about the axis through the origin specified by **n**, with angle φ (measured in radians, counterclockwise when viewed from the tip of **n**), then

for every vector **x** in **R**^{3}. The cross product with **n** therefore describes the infinitesimal generator of the rotations about **n**. These infinitesimal generators form the Lie algebra **so**(3) of the rotation group SO(3), and we obtain the result that the Lie algebra **R**^{3} with cross product is isomorphic to the Lie algebra **so**(3).

## Alternative ways to compute the cross productEdit

### Conversion to matrix multiplicationEdit

The vector cross product also can be expressed as the product of a skew-symmetric matrix and a vector:^{[11]}

where superscript ^{T} refers to the transpose operation, and [**a**]_{×} is defined by:

The columns [**a**]_{×,i} of the skew-symmetric matrix for a vector **a** can be also obtained by calculating the cross product with unit vectors, i.e.:

or

where is the outer product operator.

Also, if **a** is itself expressed as a cross product:

then

Proof by substitution Evaluation of the cross product gives Hence, the left hand side equals

Now, for the right hand side,

And its transpose is

Evaluation of the right hand side gives

Comparison shows that the left hand side equals the right hand side.

This result can be generalized to higher dimensions using geometric algebra. In particular in any dimension bivectors can be identified with skew-symmetric matrices, so the product between a skew-symmetric matrix and vector is equivalent to the grade-1 part of the product of a bivector and vector.^{[13]} In three dimensions bivectors are dual to vectors so the product is equivalent to the cross product, with the bivector instead of its vector dual. In higher dimensions the product can still be calculated but bivectors have more degrees of freedom and are not equivalent to vectors.^{[13]}

This notation is also often much easier to work with, for example, in epipolar geometry.

From the general properties of the cross product follows immediately that

- and

and from fact that [**a**]_{×} is skew-symmetric it follows that

The above-mentioned triple product expansion (bac–cab rule) can be easily proven using this notation.

As mentioned above, the Lie algebra **R**^{3} with cross product is isomorphic to the Lie algebra **so(3)**, whose elements can be identified with the 3×3 skew-symmetric matrices. The map **a** → [**a**]_{×} provides an isomorphism between **R**^{3} and **so(3)**. Under this map, the cross product of 3-vectors corresponds to the commutator of 3x3 skew-symmetric matrices.

Matrix conversion for cross product with canonical base vectors Denoting with the -th canonical base vector, the cross product of a generic vector with is given by: , where These matrices share the following properties:

- (skew-symmetric);
- Both trace and determinant are zero;
- ;
- (see below);

The orthogonal projection matrix of a vector is given by . The projection matrix onto the orthogonal complement is given by , where is the identity matrix. For the special case of , it can be verified that

For other properties of orthogonal projection matrices, see projection (linear algebra).

### Index notation for tensorsEdit

The cross product can alternatively be defined in terms of the Levi-Civita symbol *ε _{ijk}* and a dot product

*η*(= δ

^{mi}^{mi}for an orthonormal basis), which are useful in converting vector notation for tensor applications:

where the indices correspond to vector components. This characterization of the cross product is often expressed more compactly using the Einstein summation convention as

in which repeated indices are summed over the values 1 to 3. This representation is another form of the skew-symmetric representation of the cross product:

In classical mechanics: representing the cross product by using the Levi-Civita symbol can cause mechanical symmetries to be obvious when physical systems are isotropic. (An example: consider a particle in a Hooke's Law potential in three-space, free to oscillate in three dimensions; none of these dimensions are "special" in any sense, so symmetries lie in the cross-product-represented angular momentum, which are made clear by the abovementioned Levi-Civita representation).^{[citation needed]}

### MnemonicEdit

The word "xyzzy" can be used to remember the definition of the cross product.

If

where:

then:

The second and third equations can be obtained from the first by simply vertically rotating the subscripts, *x* → *y* → *z* → *x*. The problem, of course, is how to remember the first equation, and two options are available for this purpose: either to remember the relevant two diagonals of Sarrus's scheme (those containing * i*), or to remember the xyzzy sequence.

Since the first diagonal in Sarrus's scheme is just the main diagonal of the above-mentioned 3×3 matrix, the first three letters of the word xyzzy can be very easily remembered.

### Cross visualizationEdit

Similarly to the mnemonic device above, a "cross" or X can be visualized between the two vectors in the equation. This may be helpful for remembering the correct cross product formula.

If

then:

If we want to obtain the formula for we simply drop the and from the formula, and take the next two components down:

When doing this for the next two elements down should "wrap around" the matrix so that after the z component comes the x component. For clarity, when performing this operation for , the next two components should be z and x (in that order). While for the next two components should be taken as x and y.

For then, if we visualize the cross operator as pointing from an element on the left to an element on the right, we can take the first element on the left and simply multiply by the element that the cross points to in the right hand matrix. We then subtract the next element down on the left, multiplied by the element that the cross points to here as well. This results in our formula –

We can do this in the same way for and to construct their associated formulas.

## ApplicationsEdit

The cross product has applications in various contexts: e.g. it is used in computational geometry, physics and engineering. A non-exhaustive list of examples follows.

### Computational geometryEdit

The cross product appears in the calculation of the distance of two skew lines (lines not in the same plane) from each other in three-dimensional space.

The cross product can be used to calculate the normal for a triangle or polygon, an operation frequently performed in computer graphics. For example, the winding of a polygon (clockwise or anticlockwise) about a point within the polygon can be calculated by triangulating the polygon (like spoking a wheel) and summing the angles (between the spokes) using the cross product to keep track of the sign of each angle.

In computational geometry of the plane, the cross product is used to determine the sign of the acute angle defined by three points and . It corresponds to the direction (upward or downward) of the cross product of the two coplanar vectors defined by the two pairs of points and . The sign of the acute angle is the sign of the expression

which is the signed length of the cross product of the two vectors.

In the "right-handed" coordinate system, if the result is 0, the points are collinear; if it is positive, the three points constitute a positive angle of rotation around from to , otherwise a negative angle. From another point of view, the sign of tells whether lies to the left or to the right of line

The cross product is used in calculating the volume of a polyhedron such as a tetrahedron or parallelepiped.

### Angular momentum and torqueEdit

The angular momentum of a particle about a given origin is defined as:

where is the position vector of the particle relative to the origin, is the linear momentum of the particle.

In the same way, the moment of a force applied at point B around point A is given as:

In mechanics the *moment of a force* is also called *torque* and written as

Since position , linear momentum and force are all *true* vectors, both the angular momentum and the moment of a force are *pseudovectors* or *axial vectors*.

### Rigid bodyEdit

The cross product frequently appears in the description of rigid motions. Two points *P* and *Q* on a rigid body can be related by:

where is the point's position, is its velocity and is the body's angular velocity.

Since position and velocity are *true* vectors, the angular velocity is a *pseudovector* or *axial vector*.

### Lorentz forceEdit

The cross product is used to describe the Lorentz force experienced by a moving electric charge :

Since velocity , force and electric field are all *true* vectors, the magnetic field is a *pseudovector*.

### OtherEdit

In vector calculus, the cross product is used to define the formula for the vector operator curl.

The trick of rewriting a cross product in terms of a matrix multiplication appears frequently in epipolar and multi-view geometry, in particular when deriving matching constraints.

## Cross product as an external productEdit

The cross product can be defined in terms of the exterior product. It can be generalized to an external product in other than three dimensions.^{[14]} This view^{[which?]} allows for a natural geometric interpretation of the cross product. In exterior algebra the exterior product of two vectors is a bivector. A bivector is an oriented plane element, in much the same way that a vector is an oriented line element. Given two vectors *a* and *b*, one can view the bivector *a* ∧ *b* as the oriented parallelogram spanned by *a* and *b*. The cross product is then obtained by taking the Hodge star of the bivector *a* ∧ *b*, mapping 2-vectors to vectors:

This can be thought of as the oriented multi-dimensional element "perpendicular" to the bivector. Only in three dimensions is the result an oriented one-dimensional element – a vector – whereas, for example, in four dimensions the Hodge dual of a bivector is two-dimensional – a bivector. So, only in three dimensions can a vector cross product of *a* and *b* be defined as the vector dual to the bivector *a* ∧ *b*: it is perpendicular to the bivector, with orientation dependent on the coordinate system's handedness, and has the same magnitude relative to the unit normal vector as *a* ∧ *b* has relative to the unit bivector; precisely the properties described above.

## Cross product and handednessEdit

When measurable quantities involve cross products, the *handedness* of the coordinate systems used cannot be arbitrary. However, when physics laws are written as equations, it should be possible to make an arbitrary choice of the coordinate system (including handedness). To avoid problems, one should be careful to never write down an equation where the two sides do not behave equally under all transformations that need to be considered. For example, if one side of the equation is a cross product of two vectors, one must take into account that when the handedness of the coordinate system is *not* fixed a priori, the result is not a (true) vector but a pseudovector. Therefore, for consistency, the other side must also be a pseudovector.^{[citation needed]}

More generally, the result of a cross product may be either a vector or a pseudovector, depending on the type of its operands (vectors or pseudovectors). Namely, vectors and pseudovectors are interrelated in the following ways under application of the cross product:

- vector × vector = pseudovector
- pseudovector × pseudovector = pseudovector
- vector × pseudovector = vector
- pseudovector × vector = vector.

So by the above relationships, the unit basis vectors **i**, **j** and **k** of an orthonormal, right-handed (Cartesian) coordinate frame **must** all be pseudovectors (if a basis of mixed vector types is disallowed, as it normally is) since **i** × **j** = **k**, **j** × **k** = **i** and **k** × **i** = **j**.

Because the cross product may also be a (true) vector, it may not change direction with a mirror image transformation. This happens, according to the above relationships, if one of the operands is a (true) vector and the other one is a pseudovector (e.g., the cross product of two vectors). For instance, a vector triple product involving three (true) vectors is a (true) vector.

A handedness-free approach is possible using exterior algebra.

## GeneralizationsEdit

There are several ways to generalize the cross product to the higher dimensions.

### Lie algebraEdit

The cross product can be seen as one of the simplest Lie products, and is thus generalized by Lie algebras, which are axiomatized as binary products satisfying the axioms of multilinearity, skew-symmetry, and the Jacobi identity. Many Lie algebras exist, and their study is a major field of mathematics, called Lie theory.

For example, the Heisenberg algebra gives another Lie algebra structure on In the basis the product is

### QuaternionsEdit

The cross product can also be described in terms of quaternions, and this is why the letters **i**, **j**, **k** are a convention for the standard basis on **R**^{3}. The unit vectors **i**, **j**, **k** correspond to "binary" (180 deg) rotations about their respective axes (Altmann, S. L., 1986, Ch. 12), said rotations being represented by "pure" quaternions (zero real part) with unit norms.

For instance, the above given cross product relations among **i**, **j**, and **k** agree with the multiplicative relations among the quaternions *i*, *j*, and *k*. In general, if a vector [*a*_{1}, *a*_{2}, *a*_{3}] is represented as the quaternion *a*_{1}*i* + *a*_{2}*j* + *a*_{3}*k*, the cross product of two vectors can be obtained by taking their product as quaternions and deleting the real part of the result. The real part will be the negative of the dot product of the two vectors.

Alternatively, using the above identification of the 'purely imaginary' quaternions with **R**^{3}, the cross product may be thought of as half of the commutator of two quaternions.

### OctonionsEdit

A cross product for 7-dimensional vectors can be obtained in the same way by using the octonions instead of the quaternions. The nonexistence of nontrivial vector-valued cross products of two vectors in other dimensions is related to the result from Hurwitz's theorem that the only normed division algebras are the ones with dimension 1, 2, 4, and 8.

### Exterior productEdit

In general dimension, there is no direct analogue of the binary cross product that yields specifically a vector. There is however the exterior product, which has similar properties, except that the exterior product of two vectors is now a 2-vector instead of an ordinary vector. As mentioned above, the cross product can be interpreted as the exterior product in three dimensions by using the Hodge star operator to map 2-vectors to vectors. The Hodge dual of the exterior product yields an (*n* − 2)-vector, which is a natural generalization of the cross product in any number of dimensions.

The exterior product and dot product can be combined (through summation) to form the geometric product in geometric algebra.

### External productEdit

As mentioned above, the cross product can be interpreted in three dimensions as the Hodge dual of the exterior product. In any finite *n* dimensions, the Hodge dual of the exterior product of *n* − 1 vectors is a vector. So, instead of a binary operation, in arbitrary finite dimensions, the cross product is generalized as the Hodge dual of the exterior product of some given *n* − 1 vectors. This generalization is called **external product**.^{[15]}

### Commutator productEdit

Interpreting the three-dimensional vector space of the algebra as the 2-vector (not the 1-vector) subalgebra of the three-dimensional geometric algebra, where , , and , the cross product corresponds exactly to the commutator product in geometric algebra and both use the same symbol . The commutator product is defined for 2-vectors and in geometric algebra as:

where is the geometric product.^{[16]}

The commutator product could be generalised to arbitrary multivectors in three dimensions, which results in a multivector consisting of only elements of grades 1 (1-vectors/true vectors) and 2 (2-vectors/pseudovectors). While the commutator product of two 1-vectors is indeed the same as the exterior product and yields a 2-vector, the commutator of a 1-vector and a 2-vector yields a true vector, corresponding instead to the left and right contractions in geometric algebra. The commutator product of two 2-vectors has no corresponding equivalent product, which is why the commutator product is defined in the first place for 2-vectors. Furthermore, the commutator triple product of three 2-vectors is the same as the vector triple product of the same three pseudovectors in vector algebra. However, the commutator triple product of three 1-vectors in geometric algebra is instead the negative of the vector triple product of the same three true vectors in vector algebra.

Generalizations to higher dimensions is provided by the same commutator product of 2-vectors in higher-dimensional geometric algebras, but the 2-vectors are no longer pseudovectors. Just as the commutator product/cross product of 2-vectors in three dimensions correspond to the simplest Lie algebra, the 2-vector subalgebras of higher dimensional geometric algebra equipped with the commutator product also correspond to the Lie algebras.^{[17]} Also as in three dimensions, the commutator product could be further generalised to arbitrary multivectors.

### Multilinear algebraEdit

In the context of multilinear algebra, the cross product can be seen as the (1,2)-tensor (a mixed tensor, specifically a bilinear map) obtained from the 3-dimensional volume form,^{[note 2]} a (0,3)-tensor, by raising an index.

In detail, the 3-dimensional volume form defines a product by taking the determinant of the matrix given by these 3 vectors. By duality, this is equivalent to a function (fixing any two inputs gives a function by evaluating on the third input) and in the presence of an inner product (such as the dot product; more generally, a non-degenerate bilinear form), we have an isomorphism and thus this yields a map which is the cross product: a (0,3)-tensor (3 vector inputs, scalar output) has been transformed into a (1,2)-tensor (2 vector inputs, 1 vector output) by "raising an index".

Translating the above algebra into geometry, the function "volume of the parallelepiped defined by " (where the first two vectors are fixed and the last is an input), which defines a function , can be *represented* uniquely as the dot product with a vector: this vector is the cross product From this perspective, the cross product is *defined* by the scalar triple product,

In the same way, in higher dimensions one may define generalized cross products by raising indices of the *n*-dimensional volume form, which is a -tensor.
The most direct generalizations of the cross product are to define either:

- a -tensor, which takes as input vectors, and gives as output 1 vector – an -ary vector-valued product, or
- a -tensor, which takes as input 2 vectors and gives as output skew-symmetric tensor of rank
*n*− 2 – a binary product with rank*n*− 2 tensor values. One can also define -tensors for other*k*.

These products are all multilinear and skew-symmetric, and can be defined in terms of the determinant and parity.

The -ary product can be described as follows: given vectors in define their generalized cross product as:

- perpendicular to the hyperplane defined by the
- magnitude is the volume of the parallelotope defined by the which can be computed as the Gram determinant of the
- oriented so that is positively oriented.

This is the unique multilinear, alternating product which evaluates to , and so forth for cyclic permutations of indices.

In coordinates, one can give a formula for this -ary analogue of the cross product in **R**^{n} by:

This formula is identical in structure to the determinant formula for the normal cross product in **R**^{3} except that the row of basis vectors is the last row in the determinant rather than the first. The reason for this is to ensure that the ordered vectors (**v**_{1}, ..., **v**_{n−1}, Λ^{n–1}_{i=0}**v**_{i}) have a positive orientation with respect to (**e**_{1}, ..., **e**_{n}). If *n* is odd, this modification leaves the value unchanged, so this convention agrees with the normal definition of the binary product. In the case that *n* is even, however, the distinction must be kept. This -ary form enjoys many of the same properties as the vector cross product: it is alternating and linear in its arguments, it is perpendicular to each argument, and its magnitude gives the hypervolume of the region bounded by the arguments. And just like the vector cross product, it can be defined in a coordinate independent way as the Hodge dual of the wedge product of the arguments.

### Skew-symmetric matrixEdit

If the cross product is defined as a binary operation, it takes as *input* exactly two vectors. If its *output* is not required to be a vector or a pseudovector but instead a *matrix*, then it can be generalized in an arbitrary number of dimensions.^{[18]}^{[19]}^{[20]}

In mechanics, for example, the angular velocity can be interpreted either as a pseudovector or as an anti-symmetric matrix or skew-symmetric tensor . In the latter case, the velocity law for a rigid body looks:

where Ω is formally defined from the rotation matrix associated to body's frame: In three-dimensions holds:

In quantum mechanics the angular momentum is often represented as an anti-symmetric matrix or tensor operator. More precisely, it is the result of cross product involving position and linear momentum :

Since both and can have an arbitrary number of components, that kind of cross product can be extended to any dimension, holding the "physical" interpretation of the operation.

See § Alternative ways to compute the cross product for numerical details.

## HistoryEdit

In 1773, Joseph-Louis Lagrange introduced the component form of both the dot and cross products in order to study the tetrahedron in three dimensions.^{[21]} In 1843, William Rowan Hamilton introduced the quaternion product, and with it the terms "vector" and "scalar". Given two quaternions [0, **u**] and [0, **v**], where **u** and **v** are vectors in **R**^{3}, their quaternion product can be summarized as [−**u** ⋅ **v**, **u** × **v**]. James Clerk Maxwell used Hamilton's quaternion tools to develop his famous electromagnetism equations, and for this and other reasons quaternions for a time were an essential part of physics education.

In 1878 William Kingdon Clifford published his Elements of Dynamic which was an advanced text for its time. He defined the product of two vectors^{[22]} to have magnitude equal to the area of the parallelogram of which they are two sides, and direction perpendicular to their plane.

Oliver Heaviside and Josiah Willard Gibbs also felt that quaternion methods were too cumbersome, often requiring the scalar or vector part of a result to be extracted. Thus, about forty years after the quaternion product, the dot product and cross product were introduced — to heated opposition. Pivotal to (eventual) acceptance was the efficiency of the new approach, allowing Heaviside to reduce the equations of electromagnetism from Maxwell's original 20 to the four commonly seen today.^{[23]}

Largely independent of this development, and largely unappreciated at the time, Hermann Grassmann created a geometric algebra not tied to dimension two or three, with the exterior product playing a central role. In 1853 Augustin-Louis Cauchy, a contemporary of Grassmann, published a paper on algebraic keys which were used to solve equations and had the same multiplication properties as the cross product.^{[24]}^{[25]} Clifford combined the algebras of Hamilton and Grassmann to produce Clifford algebra, where in the case of three-dimensional vectors the bivector produced from two vectors dualizes to a vector, thus reproducing the cross product.

The cross notation and the name "cross product" began with Gibbs. Originally they appeared in privately published notes for his students in 1881 as *Elements of Vector Analysis*. The utility for mechanics was noted by Aleksandr Kotelnikov. Gibbs's notation and the name "cross product" later reached a wide audience through Vector Analysis, a textbook by Edwin Bidwell Wilson, a former student. Wilson rearranged material from Gibbs's lectures, together with material from publications by Heaviside, Föpps, and Hamilton. He divided vector analysis into three parts:

First, that which concerns addition and the scalar and vector products of vectors. Second, that which concerns the differential and integral calculus in its relations to scalar and vector functions. Third, that which contains the theory of the linear vector function.

Two main kinds of vector multiplications were defined, and they were called as follows:

- The
**direct**,**scalar**, or**dot**product of two vectors - The
**skew**,**vector**, or**cross**product of two vectors

Several kinds of triple products and products of more than three vectors were also examined. The above-mentioned triple product expansion was also included.

## See alsoEdit

- Bivector
- Cartesian product – A product of two sets
- Dot product
- Exterior algebra
- Geometric algebra: Rotating systems
- Multiple cross products – Products involving more than three vectors
- Pseudovector
- × (the symbol)

## NotesEdit

**^**Here, "formal" means that this notation has the form of a determinant, but does not strictly adhere to the definition; it is a mnemonic used to remember the expansion of the cross product.**^**By a volume form one means a function that takes in*n*vectors and gives out a scalar, the volume of the parallelotope defined by the vectors: This is an*n*-ary multilinear skew-symmetric form. In the presence of a basis, such as on this is given by the determinant, but in an abstract vector space, this is added structure. In terms of*G*-structures, a volume form is an -structure.

## ReferencesEdit

**^**Massey, William S. (December 1983). "Cross products of vectors in higher dimensional Euclidean spaces" (PDF).*The American Mathematical Monthly*.**90**(10): 697–701. doi:10.2307/2323537. JSTOR 2323537.If one requires only three basic properties of the cross product ... it turns out that a cross product of vectors exists only in 3-dimensional and 7-dimensional Euclidean space.

CS1 maint: ref=harv (link)**^**Jeffreys, H; Jeffreys, BS (1999).*Methods of mathematical physics*. Cambridge University Press. OCLC 41158050.**^**Wilson 1901, p. 60–61**^**Dennis G. Zill; Michael R. Cullen (2006). "Definition 7.4: Cross product of two vectors".*Advanced engineering mathematics*(3rd ed.). Jones & Bartlett Learning. p. 324. ISBN 0-7637-4591-X.- ^
^{a}^{b}*A History of Vector Analysis*by Michael J. Crowe, Math. UC Davis **^**Dennis G. Zill; Michael R. Cullen (2006). "Equation 7:**a**×**b**as sum of determinants".*cited work**. Jones & Bartlett Learning. p. 321. ISBN 0-7637-4591-X.***^**M. R. Spiegel; S. Lipschutz; D. Spellman (2009).*Vector Analysis*. Schaum's outlines. McGraw Hill. p. 29. ISBN 978-0-07-161545-7.**^**WS Massey (Dec 1983). "Cross products of vectors in higher dimensional Euclidean spaces".*The American Mathematical Monthly*. The American Mathematical Monthly, Vol. 90, No. 10.**90**(10): 697–701. doi:10.2307/2323537. JSTOR 2323537.CS1 maint: ref=harv (link)**^**Vladimir A. Boichenko; Gennadiĭ Alekseevich Leonov; Volker Reitmann (2005).*Dimension theory for ordinary differential equations*. Vieweg+Teubner Verlag. p. 26. ISBN 3-519-00437-2.**^**Pertti Lounesto (2001).*Clifford algebras and spinors*(2nd ed.). Cambridge University Press. p. 94. ISBN 0-521-00551-5.- ^
^{a}^{b}Shuangzhe Liu; Gõtz Trenkler (2008). "Hadamard, Khatri-Rao, Kronecker and other matrix products" (PDF).*Int J Information and Systems Sciences*. Institute for scientific computing and education.**4**(1): 160–177.CS1 maint: ref=harv (link) **^**by Eric W. Weisstein (2003). "Binet-Cauchy identity".*CRC concise encyclopedia of mathematics*(2nd ed.). CRC Press. p. 228. ISBN 1-58488-347-2.- ^
^{a}^{b}Lounesto, Pertti (2001).*Clifford algebras and spinors*. Cambridge: Cambridge University Press. pp. 193. ISBN 978-0-521-00551-7. **^**Greub, W (1978).*Multilinear Algebra*.**^**Hogben, L, ed. (2007).*Handbook of Linear Algebra*.^{[page needed]}**^**Arthur, John W. (2011).*Understanding Geometric Algebra for Electromagnetic Theory*. IEEE Press. p. 49. ISBN 978-0470941638.**^**Doran, Chris; Lasenby, Anthony (2003).*Geometric Algebra for Physicists*. Cambridge University Press. pp. 401–408. ISBN 978-0521715959.**^**A. W. McDavid; C. D. McMullen (2006). "Generalizing Cross Products and Maxwell's Equations to Universal Extra Dimensions" (PDF). arXiv:hep-ph/0609260. Bibcode:2006hep.ph....9260M. Cite journal requires`|journal=`

(help)**^**C. A. Gonano (2011).*Estensione in N-D di prodotto vettore e rotore e loro applicazioni*(PDF). Politecnico di Milano, Italy.**^**C. A. Gonano; R. E. Zich (2014). "Cross product in N Dimensions – the doublewedge product" (PDF). Cite journal requires`|journal=`

(help)**^**Lagrange, JL (1773). "Solutions analytiques de quelques problèmes sur les pyramides triangulaires".*Oeuvres*. vol 3.**^**William Kingdon Clifford (1878) Elements of Dynamic^{[permanent dead link]}, Part I, page 95, London: MacMillan & Co; online presentation by Cornell University*Historical Mathematical Monographs***^**Nahin, Paul J. (2000).*Oliver Heaviside: the life, work, and times of an electrical genius of the Victorian age*. JHU Press. pp. 108–109. ISBN 0-8018-6909-9.**^**Crowe, Michael J. (1994).*A History of Vector Analysis*. Dover. p. 83. ISBN 0-486-67910-1.**^**Cauchy, Augustin-Louis (1900).*Ouvres*.**12**. p. 16.

- Cajori, Florian (1929).
*A History Of Mathematical Notations Volume II*. Open Court Publishing. p. 134. ISBN 978-0-486-67766-8.CS1 maint: ref=harv (link) - E. A. Milne (1948) Vectorial Mechanics, Chapter 2: Vector Product, pp 11 –31, London: Methuen Publishing.
- Wilson, Edwin Bidwell (1901).
*Vector Analysis: A text-book for the use of students of mathematics and physics, founded upon the lectures of J. Willard Gibbs*. Yale University Press.CS1 maint: ref=harv (link) - T. Levi-Civita; U. Amaldi (1949).
*Lezioni di meccanica razionale*(in Italian). Bologna: Zanichelli editore.

## External linksEdit

- "Cross product",
*Encyclopedia of Mathematics*, EMS Press, 2001 [1994] - Weisstein, Eric W. "Cross Product".
*MathWorld*. - A quick geometrical derivation and interpretation of cross products
- Gonano, Carlo Andrea; Zich, Riccardo Enrico (21 July 2014). "Cross product in N Dimensions – the doublewedge product". arXiv:1408.5799 [math.GM]. Polytechnic University of Milan, Italy.
- Silagadze, Zurab K. (30 April 2002). "Multi-dimensional vector product".
*Journal of Physics A: Mathematical and General*.**35**(23): 4949–4953. arXiv:math/0204357. Bibcode:2002JPhA...35.4949S. doi:10.1088/0305-4470/35/23/310. (it is only possible in 7-D space) - An interactive tutorial created at Syracuse University – (requires java)
- W. Kahan (2007). Cross-Products and Rotations in Euclidean 2- and 3-Space. University of California, Berkeley (PDF).