Cross product: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Line 74: Line 74:


Then
Then
:'''a''' &times; '''b''' = (''a''<sub>1</sub>'''i''' + ''a''<sub>2</sub>'''j''' + ''a''<sub>3</sub>'''k''') &times; (''b''<sub>1</sub>'''i''' + ''b''<sub>2</sub>'''j''' + ''b''<sub>3</sub>'''k''') =
:'''a''' &times; '''b''' = (''a''<sub>1</sub>'''i''' + ''a''<sub>2</sub>'''j''' + ''a''<sub>3</sub>'''k''') &times; (''b''<sub>1</sub>'''i''' + ''b''<sub>2</sub>'''j''' + ''b''<sub>3</sub>'''k''') =

(''a''<sub>1</sub>'''i''' + ''a''<sub>2</sub>'''j''' + ''a''<sub>3</sub>'''k''') &times; ''b''<sub>1</sub>'''i''' + (''a''<sub>1</sub>'''i''' + ''a''<sub>2</sub>'''j''' + ''a''<sub>3</sub>'''k''') &times; ''b''<sub>2</sub>'''j''' + (''a''<sub>1</sub>'''i''' + ''a''<sub>2</sub>'''j''' + ''a''<sub>3</sub>'''k''') &times; ''b''<sub>3</sub>'''k''' =
(''a''<sub>1</sub>'''i''' + ''a''<sub>2</sub>'''j''' + ''a''<sub>3</sub>'''k''') &times; ''b''<sub>1</sub>'''i''' + (''a''<sub>1</sub>'''i''' + ''a''<sub>2</sub>'''j''' + ''a''<sub>3</sub>'''k''') &times; ''b''<sub>2</sub>'''j''' + (''a''<sub>1</sub>'''i''' + ''a''<sub>2</sub>'''j''' + ''a''<sub>3</sub>'''k''') &times; ''b''<sub>3</sub>'''k''' =

''a''<sub>1</sub>''b''<sub>1</sub>('''i''' &times; '''i''') + ''a''<sub>2</sub>''b''<sub>1</sub>('''j''' &times; '''i''') + ''a''<sub>3</sub>''b''<sub>1</sub>('''k''' &times; '''i''') + ''a''<sub>1</sub>''b''<sub>2</sub>('''i''' &times; '''j''') + ''a''<sub>2</sub>''b''<sub>2</sub>('''j''' &times; '''j''') + ''a''<sub>3</sub>''b''<sub>2</sub>('''k''' &times; '''j''') +
''a''<sub>1</sub>''b''<sub>1</sub>('''i''' &times; '''i''') + ''a''<sub>2</sub>''b''<sub>1</sub>('''j''' &times; '''i''') + ''a''<sub>3</sub>''b''<sub>1</sub>('''k''' &times; '''i''') + ''a''<sub>1</sub>''b''<sub>2</sub>('''i''' &times; '''j''') + ''a''<sub>2</sub>''b''<sub>2</sub>('''j''' &times; '''j''') + ''a''<sub>3</sub>''b''<sub>2</sub>('''k''' &times; '''j''') +
''a''<sub>1</sub>''b''<sub>3</sub>('''i''' &times; '''k''') + ''a''<sub>2</sub>''b''<sub>3</sub>('''j''' &times; '''k''') +
''a''<sub>1</sub>''b''<sub>3</sub>('''i''' &times; '''k''') + ''a''<sub>2</sub>''b''<sub>3</sub>('''j''' &times; '''k''') +
''a''<sub>3</sub>''b''<sub>3</sub>('''k''' &times; '''k''') =
''a''<sub>3</sub>''b''<sub>3</sub>('''k''' &times; '''k''') =

''a''<sub>1</sub>''b''<sub>1</sub>('''0''') + ''a''<sub>2</sub>''b''<sub>1</sub>('''-k''') + ''a''<sub>3</sub>''b''<sub>1</sub>('''j''') + ''a''<sub>1</sub>''b''<sub>2</sub>('''k''') + ''a''<sub>2</sub>''b''<sub>2</sub>('''0''') + ''a''<sub>3</sub>''b''<sub>2</sub>('''-i''') + ''a''<sub>1</sub>''b''<sub>3</sub>('''-j''') + ''a''<sub>2</sub>''b''<sub>3</sub>('''i''') + ''a''<sub>3</sub>''b''<sub>3</sub>('''0''') =
''a''<sub>1</sub>''b''<sub>1</sub>('''0''') + ''a''<sub>2</sub>''b''<sub>1</sub>('''-k''') + ''a''<sub>3</sub>''b''<sub>1</sub>('''j''') + ''a''<sub>1</sub>''b''<sub>2</sub>('''k''') + ''a''<sub>2</sub>''b''<sub>2</sub>('''0''') + ''a''<sub>3</sub>''b''<sub>2</sub>('''-i''') + ''a''<sub>1</sub>''b''<sub>3</sub>('''-j''') + ''a''<sub>2</sub>''b''<sub>3</sub>('''i''') + ''a''<sub>3</sub>''b''<sub>3</sub>('''0''') =
(''a''<sub>2</sub>''b''<sub>3</sub> - ''a''<sub>3</sub>''b''<sub>2</sub>)'''i''' + (''a''<sub>3</sub>''b''<sub>1</sub> - ''a''<sub>1</sub>''b''<sub>3</sub>)'''j''' + (''a''<sub>1</sub>''b''<sub>2</sub> - ''a''<sub>2</sub>''b''<sub>1</sub>)'''k'''.
(''a''<sub>2</sub>''b''<sub>3</sub> - ''a''<sub>3</sub>''b''<sub>2</sub>)'''i''' + (''a''<sub>3</sub>''b''<sub>1</sub> - ''a''<sub>1</sub>''b''<sub>3</sub>)'''j''' + (''a''<sub>1</sub>''b''<sub>2</sub> - ''a''<sub>2</sub>''b''<sub>1</sub>)'''k'''.



Revision as of 08:17, 30 May 2006

In mathematics, the cross product is a binary operation on vectors in a three-dimensional Euclidean space. It is also known as the vector product or outer product. It differs from the dot product in that it results in a vector rather than in a scalar. Its main use lies in the fact that the cross product of two vectors is orthogonal to both of them.

Definition

The cross product of the two vectors a and b is denoted by a × b (in longhand some mathematicians write ab to avoid confusion with the letter x - this should not be confused with the logical "and" operator, ). It is defined as the vector which is perpendicular to both a and b with a magnitude equal to the area of the parallelogram they span. The corresponding formula is

where θ is the measure of the angle between a and b (0° ≤ θ ≤ 180°) on the plane defined by the span of the vectors, and n is a unit vector perpendicular to both a and b.

The problem with this definition is that there are two unit vectors perpendicular to both a and b: if n is perpendicular, then so is −n.

Which vector is the "correct" one by convention depends upon the orientation of the vector space—i.e., on the handedness of the given orthogonal coordinate system (i, j, k). The cross product a × b is defined in such a way that (a, b, a × b) becomes right-handed if (i, j, k) is right-handed, or left-handed if (i, j, k) is left-handed.

An easy way to compute the direction of the resultant vector is the "right-hand rule." If the coordinate system is right-handed, one simply points the forefinger of the right hand in the direction of the first operand and the middle finger in the direction of the second operand. Then, the resultant vector is coming out of the thumb.

Because the cross product depends on the choice of coordinate system, its result is referred to as a pseudovector. Fortunately, in nature, measurable quantities involve pairs of cross products, so that the “handedness” of the coordinate system is undone by a second cross product, and the measurement doesn't depend on an arbitrary choice of coordinates.

The cross product can be represented graphically, with respect to a right-handed coordinate system, as shown in the picture below.

Properties

Geometric meaning

The length of the cross product can be interpreted as the area of the parallelogram having a and b as sides:

This means that the magnitude of the triple product gives the volume V of the parallelepiped formed by a, b, and c:

Algebraic properties

The cross product is anticommutative,

a × b = -b × a,

distributive over addition,

a × (b + c) = a × b + a × c,

and compatible with scalar multiplication so that

(ra) × b = a × (rb) = r(a × b).

It is not associative, but satisfies the Jacobi identity:

a × (b × c) + b × (c × a) + c × (a × b) = 0.

It does not obey the cancellation law:

If a × b = a × c and a0 then we can write:
(a × b) - (a × c) = 0 and, by the distributive law above:
a × (b - c) = 0
Now, if a is parallel to (b - c), then even if a0 it is possible that (b - c) ≠ 0 and therefore that bc.

However, if both a · b = a · c and a × b = a × c, then we can conclude that b = c. This is because if (b - c) ≠ 0, then it obviously cannot be both parallel and perpendicular to another nonzero vector a.

The distributivity, linearity and Jacobi identity show that R3 together with vector addition and cross product forms a Lie algebra.

Further, two non-zero vectors a and b are parallel iff a × b = 0.

Matrix notation

The unit vectors i, j, and k from the given orthogonal coordinate system satisfy the following equalities:

i × j = k           j × k = i           k × i = j.

With these rules, the coordinates of the cross product of two vectors can be computed easily, without the need to determine any angles: Let

a = a1i + a2j + a3k = [a1, a2, a3]

and

b = b1i + b2j + b3k = [b1, b2, b3].

Then

a × b = (a1i + a2j + a3k) × (b1i + b2j + b3k) =

(a1i + a2j + a3k) × b1i + (a1i + a2j + a3k) × b2j + (a1i + a2j + a3k) × b3k =

a1b1(i × i) + a2b1(j × i) + a3b1(k × i) + a1b2(i × j) + a2b2(j × j) + a3b2(k × j) + a1b3(i × k) + a2b3(j × k) + a3b3(k × k) =

a1b1(0) + a2b1(-k) + a3b1(j) + a1b2(k) + a2b2(0) + a3b2(-i) + a1b3(-j) + a2b3(i) + a3b3(0) =

(a2b3 - a3b2)i + (a3b1 - a1b3)j + (a1b2 - a2b1)k.

So

a × b = [a2b3 − a3b2, a3b1 − a1b3, a1b2 − a2b1].

The above component notation can also be written formally as the determinant of a matrix:

The determinant of three vectors can be recovered as

det (a, b, c) = a · (b × c).

Intuitively, the cross product can be described by Sarrus's scheme. Consider the table

For the first three unit vectors, multiply the elements on the diagonal to the right (e.g. the first diagonal would contain i, a2, and b3). For the last three unit vectors, multiply the elements on the diagonal to the left and then negate the product (e.g. the last diagonal would contain k, a2, and b1). The cross product would be defined by the sum of these products:

Although written here in terms of coordinates, it follows from the geometrical definition above that the cross product is invariant under rotations about the axis defined by , and inverses under swapping and .

The cross product can also be described in terms of quaternions. Notice for instance that 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 we represent a vector [a1, a2, a3] as the quaternion a1i + a2j + a3k, we obtain the cross product of two vectors 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). More about the connection between quaternion multiplication, vector operations and geometry can be found at quaternions and spatial rotation.

Index notation

The cross product can alternatively be defined in terms of the Levi-Civita tensor

where the Einstein summation convention is used and the indices correspond, as in the previous section, to orthogonal vector components.

Lagrange's formula

While this is not strictly a property of the cross-product, it is an identity involving the cross-product which is very useful. It is written as

a × (b × c) = b(a · c) − c(a · b),

which is easier to remember as “BAC minus CAB”. This formula is very useful in simplifying vector calculations in physics. A special case, regarding gradients and useful in vector calculus, is given below.

This is a special case of the more general Laplace-de Rham operator .

Another useful identity of Lagrange is

This is a special case of the multiplicativity of the norm in the quaternion algebra.

Applications

The cross product occurs in the formula for the vector operator curl. It is also used to describe the Lorentz force experienced by a moving electrical charge in a magnetic field. The definitions of torque and angular momentum also involve the cross product.

The cross product can also be used to calculate the normal for a triangle or polygon.

Given a point p and a line through a and b in a plane, all with z coordinate zero, then the z component of (p-a) × (b-a) will be positive or negative, depending on which side of the line p is.

Higher dimensions

A cross product for 7-dimensional vectors can be obtained in the same way by using the octonions instead of the quaternions. See seven dimensional cross product for the main article. The nonexistence of cross products in other dimensions is related to the result that the only normed division algebras are the ones with dimension 1, 2, 4, and 8.

In general dimension, there is no direct analogue of the binary cross product. There is however the wedge product, which has similar properties, except that the wedge product of two vectors is now a 2-vector instead of an ordinary vector. The cross product can be interpreted as the wedge product in three dimensions after using Hodge duality to identify 2-vectors with vectors.

One can also construct an n-ary analogue of the cross product in Rn+1 given by

This formula is identical in structure to the determinant formula for the normal cross product in R3 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 (v1,...,vn,Λ(v1,...,vn)) have a positive orientation with respect to (e1,...,en+1). If n is even, this modification leaves the value unchanged, so this convention agrees with the normal definition of the binary product. In the case that n is odd, however, the distinction must be kept. This n-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.

The wedge product and dot product can be combined to form the Clifford product.

In the context of multilinear algebra, it is possible to define a generalized cross product in terms of parity such that the generalized cross product between two vectors of dimension n is a tensor of rank n−2. This is a different concept than what is discussed above.

Symbol

The cross-product symbol, ×, is represented by:

See also

External links