Cross product
The cross product, or vector product, is a type of vector multiplication in the Euclidean spaces, and is widely used in many areas of mathematics and physics. In there is another type of multiplication called the dot product ( or scalar product), but it is only defined and makes sense in general for this particular vector space. Both the dot product and the cross product are widely used in in the study of optics, mechanics, electromagnetism, and gravitational fields, for example.
Definition
Given two vectors, A = (A1, ... ,An) and B = (B1, ... ,Bn) in with , the cross product is defined as the vector product of the magnitude of A, the magnitude of B, the sine of the smaller angle between them, and a unit vector (aN) that is perpendicular (or normal to) the plane containing vectors A and B and which follows the right-hand rule (see below).
A x B = aN |A||B|sinθAB
where and are, respectively, the magnitudes of A and B.
Reversing the order of the vectors A and B results in a unit vector in the opposite direction, meaning that the cross product is not commutative, and thus:
B x A = -(A x B)
Another formulation
Rather than determining the angle and perpendicular unit vector to solve the cross product, the form below is often used to solve the cross product in .
A x B = (AyBz - AzBy)ax + (AzBx - AxBz)ay + (AxBy - AyBx)az