From a scalar product to an oriented normal
The dot product measures how much two vectors point in the same direction. Its output is a scalar. In three-dimensional geometry we also need an operation that produces a vector perpendicular to two given directions. Such a vector specifies a normal to their plane; its length can record the area they span. The cross product supplies both pieces of information at once.
Throughout this note all vectors belong to . We use the standard right-handed orthonormal basis , , . The norm denotes length, while is the zero vector. The cross product introduced here is an operation in three dimensions; its coordinate formula is not a definition for arbitrary . Its order also matters, unlike the order of a dot product.
Definition and the coordinate rule
Definition
Cross product in three dimensions
For and , define
This is a vector, not a scalar. A convenient expansion mnemonic is
Expand the first row with signs plus, minus, plus. In particular, the middle component is ; forgetting that minus sign changes the answer. The displayed array with basis vectors is shorthand for the coordinate formula. The ordinary scalar determinant will appear later when all its entries are real numbers.
The formula gives , , and . Each basis vector crossed with itself is . These identities fix the positive orientation used throughout.
Worked example
Compute a cross product and check its output
Take and . Then
As a check, its dot products with the inputs are
Both vanish, as a normal vector should. This check can expose a sign error, although perpendicularity alone would not determine the required length or choose between opposite normal directions.
Algebraic rules and their proofs
Theorem
Cross-product algebra
For and ,
Swapping the inputs reverses each coordinate difference. For example, , and the other two coordinates behave identically. This proves anticommutativity. For distributivity, the first coordinate on the left expands to
The second and third coordinates have the same distributive expansion, proving the vector equality. A scalar multiplying either input factors out of every coordinate difference, proving the last rule even for . Distributivity in the first input follows by reversing order, distributing in the second, and reversing order again. Thus the coordinate definition establishes the rules without assuming them from the geometric picture.
Counterexample mode
Cross products do not commute
The tempting claim fails for , : the two answers are and . The correct rule has a minus sign. Reversing order preserves area but reverses the oriented normal. Equality in both orders occurs only when the cross product is , since a real vector equal to its negative must be zero.
Perpendicularity, magnitude, and orientation
Theorem
Geometric meaning of the cross product
The vector is perpendicular to both inputs. For nonzero inputs let be their angle. Then
If the vectors are not parallel, its direction is the right-handed normal from toward . If either input is zero or the two nonzero inputs are parallel, their cross product is .
Perpendicularity follows directly by cancellation:
Interchanging the inputs and using anticommutativity gives perpendicularity to as well. To check the magnitude, expand squares to obtain
In this identity the diagonal square terms cancel after subtraction; the remaining square terms and mixed terms are exactly those in the three squared coordinate differences. For nonzero inputs substitute . Taking the nonnegative square root yields the claimed formula because on the stated interval.
The coordinate convention selects the right-hand rule: curl the fingers of your right hand from the first vector toward the second through their angle; the thumb gives the normal direction. The basis case fixes which orientation is positive. For zero or parallel inputs there is no nonzero cross-product direction to choose. No angle is assigned to the zero vector. For nonzero inputs the magnitude vanishes exactly when or .
Worked example
Read area and unit normals from the same calculation
For the preceding pair, , so
The parallelogram spanned by the two vectors has this area: its base length is and its perpendicular height is . The triangle spanned by them has half the area, . The ordered pair chooses unit normal
The opposite vector is also a unit normal to the plane, but it corresponds to the reverse input order. Division by the cross-product norm is legitimate here because the computed norm is nonzero; a degenerate cross product cannot be normalized this way.
Scalar triple product and determinant
Definition
Scalar triple product
For three vectors in , their scalar triple product is
The cross product is taken first. Its output is a vector, so the final dot product produces a real scalar.
Substituting the coordinate formula gives
The last equality is expansion of the determinant along its third row. Consequently cyclic permutations preserve the scalar triple product, whereas interchanging any two vectors changes its sign. A cyclic permutation is two row interchanges, so its two minus signs cancel. Row order must therefore match the order used in the geometric interpretation.
Theorem
Signed and ordinary volume
The scalar triple product is the signed volume of the parallelepiped spanned by the ordered vectors. Its ordinary volume is
The triple product is zero exactly when the three vectors lie in a common plane through the origin, including all degenerate cases.
If , use its unit normal . The scalar is the signed height above the base plane. Hence
Base area times signed height proves the signed-volume statement. Ordinary height is , giving the absolute value. For nonzero , if is its angle with the chosen normal, then . Heights are negative when . If , height is zero directly, without defining this angle.
With a nondegenerate base, zero height means precisely that is in its plane. If the base cross product is zero, its area and the triple product are both zero; the first two vectors span at most a line, and adding the third vector still leaves all three in a common plane. No unit normal needs to be formed in that case.
Concept lensGeometric
A determinant measures height as well as base area
Keep the first two rows fixed. Their cross product records the oriented base area. Taking its dot product with the third row retains only the third vector's normal component: moving that vector within the base plane does not change the volume. The determinant is thus one scalar combining area and signed height. Its absolute value forgets orientation, while the cross product itself retains the chosen normal direction. This also explains why changing the third vector's length need not change the volume: only its projection onto the normal direction contributes.
Worked example
A side-two cube in explicit coordinates
Choose cube vertices , , , , and . Thus is the base square and lies above . Then
The first cross product is , giving
The horizontal components of do not contribute. Its signed vertical height is , and the base area is . Reversing and makes the signed answer , while the ordinary volume stays .
Set up the geometry before computing
In a diagram, first turn directed segments into vectors by subtracting the initial point from the terminal point. The order is part of the data: , whereas . The base vectors and already share a starting point. The vector can be drawn with its tail at that same point without changing its components. The volume formula then concerns the parallelepiped spanned by these three vectors; it does not require all three original arrows to start at one cube vertex.
There is also a direct algebraic reason that the horizontal displacement in the cube example is harmless. Put . For any real numbers , perpendicularity gives
Thus sliding the third vector's endpoint parallel to the base leaves the signed height, and hence the triple product, unchanged. This conclusion uses the full vector identity and works for every choice of the real coefficients, not only for the particular coordinates of the cube.
Common mistake
The sloping edge length is not the height
In the cube calculation, , but the height above the base plane is . Multiplying the base area by the sloping length would give , which is not the volume. The dot product with the unit normal performs the missing projection. Use the full length as height only when the third vector is perpendicular to the base; use an absolute value as well if ordinary rather than signed volume is requested. A negative signed answer indicates orientation, not a negative amount of space.
Maximize a determinant under a length constraint
Worked example
Find both the bound and the equality case
Let , , and with . We have
Writing the determinant as a triple product gives
If is the angle between the nonzero normal and , then . Therefore . The maximum signed value occurs when the vectors point in the same direction. Enforcing the length constraint gives
This vector has squared norm , and substitution gives . Its negative gives . Thus the maximum absolute value is , attained at exactly . A bound without an attaining vector would not establish that the maximum is reached.
Quick checks
Checkpoint
What type of object is a cross product, and what type is a scalar triple product?
Follow the output of each operation.
Solution · Answer
The cross product is a vector in . Dotting it with the third vector produces a real scalar.
Checkpoint
Does a zero cross product imply that one input is zero?
Consider two nonzero vectors on the same line.
Solution · Answer
No. For example, . Both inputs are nonzero and parallel. The cross product also vanishes if an input is zero.
Checkpoint
What changes when the first two rows of a triple-product determinant are exchanged?
Distinguish signed volume from ordinary volume.
Solution · Answer
The signed triple product changes sign. Its absolute value, and therefore ordinary volume, remains the same.
Exercises
- Recompute the cross product of and in reverse order.
- Use distributivity to compute .
- For and , find the area of their parallelogram and both unit normals to their plane.
- In the specified cube, replace by . Find the signed triple product and ordinary volume.
- Prove that adding to the third vector leaves unchanged for every real .
- Under the determinant example's constraint, find the minimum signed value, the maximum signed value, and every vector attaining the maximum absolute value.
Guided solutions
Solution · Model solution 1
Anticommutativity gives , the negative of the original answer.
Solution · Model solution 2
.
Solution · Model solution 3
The area is . Dividing by this nonzero norm gives unit normals .
Solution · Model solution 4
, so . The ordinary volume is .
Solution · Model solution 5
Dot-product distributivity gives . The last term is zero by perpendicularity, including a degenerate base.
Solution · Model solution 6
The range is . The minimum occurs at , the maximum at , and these two vectors are exactly the maximizers of because requires parallel directions.