7.7. Estructura Organizacional
7.7.1. Orgánico Funcional
The other vector product, known as thecross productorouter product, applies to 3D vectors only. Unlike the dot product, which yields a scalar and is commutative, the vector cross product yields a 3D vector and is not commutative.
5.11.1 Official Linear Algebra Rules
Like the dot product, the term “cross product” comes from the symbol used in the notation:a×b. We always write the cross symbol, rather than omitting it like we do with scalar multiplication. The equation for the cross product is given by:
An example:
The cross product enjoys the same level of operator precedence as the dot product; multiplication occurs before addition and subtraction. When dot product and cross product are used together, the cross product takes precedence:a·b×c=a·(b×c). Because the dot product returns a scalar, (a·b)×c is undefined since you cannot take the cross product of a scalar and a vector. The operationa·b×c is known as thetriple product. We will learn some special properties of this computation in Sec- tion 9.1.
As was mentioned earlier, the vector cross product is not commutative. In fact, it is anticommutative:a×b =–(b×a). Cross product is not associative, either. In general, (a×b)×c¹ a×(b×c). More vector algebra laws concerning the cross product will be given in Section 5.12.
5.11.2 Geometric Interpretation
The cross product yields a vector that is perpendicular to the original two vectors, as illustrated in Figure 5.13:
62
Chapter 5: Operations on VectorsEquation 5.20: Cross product
In this diagram, vectorsaandbare laying in a flat plane with the vector labeleda×bpointing straight up out of the plane, perpendicular toaandb.
The length ofa×bis equal to the product of the magnitudes ofaandband the sine of the angle betweenaandb:
As it turns out, this is also equal to the area of the parallelogram formed on two sides byaandb. Let’s see if we can’t verify why this is true. Examine Figure 5.14 below:
We know from classical geometry that the area of the parallelogram isbh, the product of the base and the height. We can verify that this is true by “clipping” off a triangle from one end and moving it to the other end, forming a rectangle, as shown in the following illustration:
Figure 5.13: Vector cross product
Equation 5.21: The magnitude of the cross product is related to the sine of the angle between the vectors
Figure 5.14: The cross product and the area of a parallelogram
The area of a rectangle is given by its length and width. In this case, the area is the productbh. Since the area of the rectangle is equal to the area of the parallelogram, the area of the parallelo- gram must also bebh.
Back to Figure 5.14. Letaandbbe the lengths ofaandb, respectively. Note that sinq=h/a:
If eitheraorbis parallel, or ifaorbis the zero vector, thena×b = 0. The cross product interprets the zero vector as being parallel to every other vector. Notice that this is different from the dot product, which interprets the zero vector as beingperpendicularto every other vector. (Of course, it is ill-defined to describe the zero vector as being perpendicular or parallel to any vector, since the zero vector has no direction.)
We have stated thata×bis perpendicular toaandb. But there are two directions that are per- pendicular to a andb. Which of these two directions does a×bpoint? We can determine the direction ofa×bby placing the tail ofbat the head ofaand examining whether we make a clock- wise or counterclockwise turn fromatob. In a left-handed coordinate system,a×bpoints toward you if the vectorsaandbmake a clockwise turn from your viewpoint. It points away from you ifa and bmake a counterclockwise turn. In a right-handed coordinate system, the exact opposite occurs. Ifaandbmake a counterclockwise turn,a×bpoints toward you, and ifaandbmake a clockwise turn,a×bpoints away from you.
The following figures show clockwise and counterclockwise turns:
64
Chapter 5: Operations on VectorsNotice that to make the clockwise or counterclockwise determination, we must align the head ofa with the tail ofb. Compare this to Figure 5.13, where the tails are aligned. The tail-to-tail align- ment shown in Figure 5.13 is the correct way to position the vectors to measure the angle between them. However, to judge clockwise or counterclockwise turns, the vectors should be aligned head-to-tail, as shown above.
One of the most important uses of the cross product is to create a vector that is perpendicular to a plane (see Section 12.5), triangle (Section 12.6), or polygon (Section 12.7).