Module 1 of 1 · Lesson 11 of 14

Cross Products and Geometry in Space

A product that returns a vector, and the areas, volumes and distances it measures.

What you will be able to do

Given vectors in R 3 , the learner can compute a cross product and verify its perpendicularity, use its length as an area, compute a scalar triple product as a volume and as a coplanarity test, and apply the distance formulas for a point to a line and to a plane.

Orientation

The dot product of two vectors is a number saying how much they agree. It cannot tell you which plane they span, or how much area they enclose.

In three dimensions a second product does both. The cross product returns a vector: its direction is perpendicular to both inputs, naming their plane, and its length is the area of the parallelogram they span. Dotting that against a third vector then gives a volume, and a volume of zero says the three vectors lie in a plane.

From those two operations come closed-form answers to questions that otherwise need calculus or coordinates chosen by hand: the distance from a point to a line, the distance from a point to a plane, the area of a triangle in space, the equation of a plane through three points. Each is one formula, and each is the determinant machinery from the previous units wearing geometric clothes.

Definition

The sign pattern, and why three dimensions only

Each component of u × v omits one coordinate and takes a 2 × 2 determinant of the other two:

( u × v ) 1 = u 2 v 3 − u 3 v 2 , ( u × v ) 2 = u 3 v 1 − u 1 v 3 , ( u × v ) 3 = u 1 v 2 − u 2 v 1 .

The middle component is the one that catches people out: its indices run 3 , 1 then 1 , 3 rather than 1 , 3 then 3 , 1 . The pattern is cyclic, 1 → 2 → 3 → 1 , and writing it as the formal determinant with e 1 , e 2 , e 3 along the top row generates the alternating sign automatically, which is why that mnemonic is worth using.

Why only in R 3 . The construction needs a single vector perpendicular to both inputs. In R 3 the space orthogonal to two independent vectors is one-dimensional, so up to length there are exactly two candidates and the right-hand rule picks one. In R 4 that orthogonal space is two-dimensional and no single vector names it; in R 2 there is no room at all. The dot product has no such restriction because its output is a scalar.

The right-hand rule is a convention. It fixes which of the two normals is taken, and nothing mathematical forces the choice. Adopting the opposite convention would negate every cross product and every triple product consistently, leaving all areas and volumes, which are absolute values, unchanged.

Not associative. ( u × v ) × w and u × ( v × w ) are generally different vectors. With u = v = e 1 and w = e 2 : the first is 0 × e 2 = 0 , the second is e 1 × ( e 1 × e 2 ) = e 1 × e 3 = − e 2 . So parentheses are never optional, and an expression written u × v × w is not well defined.

Cross product against outer product. u × v is a vector in R 3 ; u v T is a 3 × 3 matrix of rank 1. They share a word and nothing else. The outer product is what the singular value decomposition expands a matrix into, and it is defined for vectors of any two lengths, including different ones.

Figure

Cross product, normal direction, and parallelogram area

The parallelogram spanned, and the normal whose length is its area

u and v span a parallelogram; u × v stands perpendicular to it.

Both properties the formula asserts are visible at once. The direction is normal to the plane of u and v , which is why both dot products vanish. The worked example performs that check arithmetically. The length is the parallelogram's area, so the product shrinks to nothing exactly as the vectors become parallel.

Swapping the factors reverses the normal along the same line, which is anticommutativity. This is one of the few genuinely three-dimensional facts in the subject: a plane has no room for a normal direction, so there is no cross product in two dimensions.

Procedure

Computing, and the four geometric recipes

Cross product. Write the formal determinant with e 1 , e 2 , e 3 on the top row, u on the second and v on the third, and expand along the first row. Then check: ( u × v ) ⋅ u and ( u × v ) ⋅ v must both be zero. Two dot products, and they catch almost every sign error.

Area of a parallelogram on u and v : ‖ u × v ‖ . Area of a triangle on the same two edges: half that.

Volume of a parallelepiped on u , v , w : | u ⋅ ( v × w ) | , equal to | det | of the matrix with those rows. Volume of a tetrahedron on the same three edges: one sixth of it.

Coplanarity test. The three vectors lie in a common plane exactly when u ⋅ ( v × w ) = 0 , equivalently when the determinant vanishes, the vectors are dependent, and the matrix is singular.

Distance from a point Q to a line through A with direction d :

‖ ( Q − A ) × d ‖ ‖ d ‖ .

The numerator is the area of the parallelogram on the displacement and the direction; dividing by the base length leaves the height.

Distance from a point Q to a plane through P 0 with normal n :

| ( Q − P 0 ) ⋅ n | ‖ n ‖ .

This is the length of the projection of the displacement onto the normal. Forgetting to divide by ‖ n ‖ is the standard error, and it is invisible when n happens to be a unit vector.

Plane through three points P , Q , R . Form n = ( Q − P ) × ( R − P ) , then the plane is n ⋅ ( X − P ) = 0 . Expanding gives n 1 x + n 2 y + n 3 z = n ⋅ P . Verify by substituting all three points. Each must satisfy it.

Order matters everywhere. Swapping the arguments of a cross product negates it, so ( Q − A ) × d and d × ( Q − A ) differ by a sign. Distances are unaffected because they take a magnitude, but a normal vector's direction and a triple product's sign both flip, which matters whenever orientation is part of the answer.

Worked example

A cross product, an area, a volume

Take u = ( 1 , 2 , 3 ) , v = ( 4 , 5 , 6 ) , w = ( 2 , − 1 , 1 ) .

The cross product. Expanding the formal determinant along the top row:

u × v = ( 2 ( 6 ) − 3 ( 5 ) , 3 ( 4 ) − 1 ( 6 ) , 1 ( 5 ) − 2 ( 4 ) ) = ( − 3 , 6 , − 3 ) .

Check by orthogonality. ( u × v ) ⋅ u = − 3 + 12 − 9 = 0 and ( u × v ) ⋅ v = − 12 + 30 − 18 = 0 . Both vanish, so the result really is perpendicular to the plane of u and v .

Check by anticommutativity. v × u = ( 3 , − 6 , 3 ) = − ( u × v ) , which is what swapping the rows of the determinant does.

The area. ‖ u × v ‖ 2 = 9 + 36 + 9 = 54 , so the parallelogram on u and v has area 54 = 3 6 ≈ 7.348 , and the triangle on those edges has area ≈ 3.674 .

Cross-check by Lagrange's identity. ‖ u ‖ 2 = 14 , ‖ v ‖ 2 = 77 , u ⋅ v = 4 + 10 + 18 = 32 , so

‖ u ‖ 2 ‖ v ‖ 2 − ( u ⋅ v ) 2 = 14 ( 77 ) − 1024 = 1078 − 1024 = 54

And by the angle. cos ⁡ θ = 32 / 14 ⋅ 77 ≈ 0.9746 , so sin ⁡ θ ≈ 0.2238 and ‖ u ‖ ‖ v ‖ sin ⁡ θ ≈ 3.7417 × 8.7750 × 0.2238 ≈ 7.348 . Three independent routes to the same area.

The volume. First v × w = ( 5 ( 1 ) − 6 ( − 1 ) , 6 ( 2 ) − 4 ( 1 ) , 4 ( − 1 ) − 5 ( 2 ) ) = ( 11 , 8 , − 14 ) , so

u ⋅ ( v × w ) = 1 ( 11 ) + 2 ( 8 ) + 3 ( − 14 ) = 11 + 16 − 42 = − 15 .

Check against the determinant.

det ( 1 2 3 4 5 6 2 − 1 1 ) = 1 ( 5 + 6 ) − 2 ( 4 − 12 ) + 3 ( − 4 − 10 ) = 11 + 16 − 42 = − 15

The parallelepiped has volume | − 15 | = 15 , and the tetrahedron on the same three edges has volume 15 / 6 = 2.5 . The negative sign says u , v , w form a left-handed frame.

Cyclic invariance. v ⋅ ( w × u ) = − 15 and w ⋅ ( u × v ) = − 15 as well, rotating the three vectors leaves the value alone, since it permutes the determinant's rows cyclically, an even permutation.

A coplanar case. Replace w by u + v = ( 5 , 7 , 9 ) . Then

u ⋅ ( v × ( u + v ) ) = 0 ,

because the three vectors are dependent by construction. The third lies in the plane of the first two. Zero volume, zero determinant, dependent columns and coplanar vectors are the same fact stated four ways.

Theorem

Lagrange's identity and the scalar triple product

Theorem (Lagrange's identity). For u , v ∈ R 3 ,

‖ u × v ‖ 2 = ‖ u ‖ 2 ‖ v ‖ 2 − ( u ⋅ v ) 2 .

Proof. Both sides expand into polynomials in the six components. The left side is ( u 2 v 3 − u 3 v 2 ) 2 + ( u 3 v 1 − u 1 v 3 ) 2 + ( u 1 v 2 − u 2 v 1 ) 2 ; the right side is ( ∑ i u i 2 ) ( ∑ j v j 2 ) − ( ∑ i u i v i ) 2 . Expanding the right side, the terms u i 2 v i 2 cancel against the diagonal of the squared dot product, leaving ∑ i ≠ j u i 2 v j 2 − 2 ∑ i < j u i v i u j v j , which regroups into exactly the three squares on the left. ◼

Corollary (the area). Writing u ⋅ v = ‖ u ‖ ‖ v ‖ cos ⁡ θ ,

‖ u × v ‖ 2 = ‖ u ‖ 2 ‖ v ‖ 2 ( 1 − cos 2 ⁡ θ ) = ( ‖ u ‖ ‖ v ‖ sin ⁡ θ ) 2 ,

and taking the nonnegative root gives ‖ u × v ‖ = ‖ u ‖ ‖ v ‖ sin ⁡ θ , the parallelogram's base times its height. So the area claim is not a separate definition but a consequence of the component formula.

Corollary. u × v = 0 exactly when sin ⁡ θ = 0 or one vector is zero, that is, exactly when u and v are parallel.

Theorem (triple product as determinant).

u ⋅ ( v × w ) = det ( u 1 u 2 u 3 v 1 v 2 v 3 w 1 w 2 w 3 ) .

Proof. Expanding the determinant along its first row gives u 1 ( v 2 w 3 − v 3 w 2 ) − u 2 ( v 1 w 3 − v 3 w 1 ) + u 3 ( v 1 w 2 − v 2 w 1 ) , and the three brackets are precisely the components of v × w , with the middle sign absorbed by the component's own index order. ◼

Corollaries, all inherited from the determinant unit. The triple product is unchanged by a cyclic permutation of u , v , w , a cyclic row permutation is even, and changes sign under a transposition. It vanishes exactly when the rows are dependent, which is what coplanarity means. Its absolute value is the volume of the parallelepiped, because the determinant is the volume scaling factor applied to the unit cube.

Why this unifies the two readings. The determinant unit established that | det | scales volume; this theorem says the same number is reachable by an area-times-height argument. The agreement is why a single computation answers both a question about independence and a question about geometry.

Example

Standard basis products, and a plane through three points

The basis vectors cycle. e 1 × e 2 = e 3 , e 2 × e 3 = e 1 , e 3 × e 1 = e 2 , and each reversed pair gives the negative. The cyclic pattern 1 → 2 → 3 → 1 is the same one governing the component formula, and checking a computed cross product against it catches a systematic sign error faster than checking orthogonality.

Each of e i × e i is zero, as it must be: a vector is parallel to itself, and the parallelogram on a single direction has no area.

A plane through three points. Take P = ( 1 , 0 , 2 ) , Q = ( 2 , 1 , 0 ) , R = ( 0 , 3 , 1 ) .

Form two edge vectors from P :

P Q = Q − P = ( 1 , 1 , − 2 ) , P R = R − P = ( − 1 , 3 , − 1 ) .

Their cross product is the normal:

n = P Q × P R = ( 1 ( − 1 ) − ( − 2 ) ( 3 ) , ( − 2 ) ( − 1 ) − 1 ( − 1 ) , 1 ( 3 ) − 1 ( − 1 ) ) = ( 5 , 3 , 4 ) .

Check. n ⋅ P Q = 5 + 3 − 8 = 0 and n ⋅ P R = − 5 + 9 − 4 = 0 .

The plane is n ⋅ ( X − P ) = 0 , that is 5 ( x − 1 ) + 3 y + 4 ( z − 2 ) = 0 , or

5 x + 3 y + 4 z = 13 .

Verify on all three points. P : 5 + 0 + 8 = 13 . Q : 10 + 3 + 0 = 13 . R : 0 + 9 + 4 = 13 .

Areas and volumes from the same data. ‖ n ‖ 2 = 25 + 9 + 16 = 50 , so the parallelogram on P Q and P R has area 50 ≈ 7.071 and the triangle P Q R has area 50 / 2 ≈ 3.536 .

Adding a fourth point S = ( 4 , 4 , 4 ) , the displacement P S = ( 3 , 4 , 2 ) gives the triple product

P Q ⋅ ( P R × P S ) = 35 ,

so the parallelepiped on the three edges has volume 35 and the tetrahedron P Q R S has volume 35 / 6 ≈ 5.833 .

And the distance from S to the plane. P S ⋅ n = 15 + 12 + 8 = 35 , so

dist = 35 50 ≈ 4.950 .

The same number 35 appears as the triple product and as the numerator here, which is not a coincidence: volume equals base area times height, and 50 × 4.950 = 35 .

What one computation supplied. A normal, a plane equation, a triangle area, a tetrahedron volume and a point-to-plane distance all came from one cross product and one dot product.

Non-example

Five errors in space

Treating the cross product as commutative. Writing u × v = v × u . For u = ( 1 , 2 , 3 ) and v = ( 4 , 5 , 6 ) the two are ( − 3 , 6 , − 3 ) and ( 3 , − 6 , 3 ) , opposite vectors. Any normal computed in the wrong order points the wrong way, which reverses an orientation even though it leaves an area or a distance unchanged.

Dropping the parentheses. Writing u × v × w . With u = v = e 1 and w = e 2 , ( e 1 × e 1 ) × e 2 = 0 while e 1 × ( e 1 × e 2 ) = e 1 × e 3 = − e 2 . The expression has two different values, so it names nothing.

Getting the middle component's signs wrong. Computing the second component as u 1 v 3 − u 3 v 1 instead of u 3 v 1 − u 1 v 3 . The result is a vector that fails the orthogonality check, for the example above it would give ( − 3 , − 6 , − 3 ) , whose dot product with u is − 3 − 12 − 9 = − 24 ≠ 0 . Two dot products catch this immediately, which is why the check is part of the procedure.

Forgetting to normalise a distance. Reporting | ( Q − P 0 ) ⋅ n | as the distance to a plane. That is the distance multiplied by ‖ n ‖ . For n = ( 2 , − 1 , 2 ) with ‖ n ‖ = 3 and ( Q − P 0 ) ⋅ n = 10 , the distance is 10 / 3 ≈ 3.33 , not 10. The error is invisible whenever the normal happens to be a unit vector, which is exactly why it survives.

Confusing the cross product with the outer product. Expecting u × v and u v T to be related. The first is a vector in R 3 ; the second is a 3 × 3 matrix of rank 1, defined for vectors of any lengths including different ones. They share the word product and nothing else, and the outer product is the one appearing in the singular value decomposition.

What unites them. The first three mistake the cross product for something better behaved than it is, commutative, associative, symmetric in its indices. The last two drop a normalisation or conflate two operations. All five are caught by two cheap habits: check perpendicularity after every cross product, and check that a distance has the units of a length.

Optional enrichment (1)

Application

Torque, surface normals, and orientation tests

Torque and angular momentum. A force F applied at displacement r from a pivot produces torque τ = r × F . Every feature of the cross product carries physical meaning here: the magnitude ‖ r ‖ ‖ F ‖ sin ⁡ θ says a force along the lever arm produces no turning, the direction names the axis of rotation, and the anticommutativity records that swapping the roles of position and force would reverse the sense of rotation.

The same construction gives angular momentum L = r × p and the magnetic force F = q v × B . In each case a quantity that is about a plane is encoded as a vector perpendicular to it, which is only possible in three dimensions, and is why these laws are written differently in higher-dimensional formulations.

Surface normals in graphics. A triangle with vertices P , Q , R has normal ( Q − P ) × ( R − P ) , computed exactly as in the example block. Renderers use it twice: normalised, it feeds the lighting calculation that decides how bright the face appears; unnormalised, its sign against the viewing direction decides whether the face points toward the camera.

That second use is backface culling, and it depends on the vertex ordering being consistent across a mesh. Reversing the order of two vertices flips the normal, so a single triangle wound the wrong way renders as a hole. The anticommutativity that looks like a technicality in the algebra is the bug report in practice.

Orientation tests. The sign of a triple product answers "which side?" questions exactly. Whether a point lies above or below a plane, whether three vectors form a right- or left-handed frame, whether a polygon's vertices run clockwise. Each is the sign of a determinant, computed as a triple product.

Computational geometry rests on these predicates, and their failure mode is instructive: near-degenerate configurations give triple products close to zero, where floating-point error can flip the sign and produce a topologically impossible answer, such as a point reported on both sides of a plane. Robust implementations use exact arithmetic for the predicate rather than the coordinates.

What the formulas do not decide. The right-hand rule is a convention, so a torque vector's direction is a bookkeeping choice rather than a physical direction. Nothing spins along the torque axis. Quantities defined this way are pseudovectors, and they behave differently from ordinary vectors under a reflection: reflecting a system negates true vectors but leaves pseudovectors pointing the same way. The distinction matters whenever a mirror symmetry is part of the problem.

Next step

Practice Cross Products and Geometry in Space

Practice records what support you used, so the evidence reflects how you actually performed.

Practice this lessonSkip to Complex Numbers

Results update as you type. Use the up and down arrow keys to move between results, Enter to open one, and Escape to close.

Type to search.

Settings

Appearance

Interface density

Your record

Your progress is stored in this browser and nowhere else: an identifier, the answers you have given, the mastery states and review schedule derived from them, and the lesson you last opened. Clearing it makes you a new learner on this device. It cannot be undone, and it will not affect your appearance or density settings.

Focus timer

Focus--minutes remaining

Phase

Kept in this browser only, and used to label the session in your own history.

Today

Nothing recorded yet. Finish a focus session and it will appear here.

Settings

Focus sessions between long breaks.

Sessions you are aiming for in a day.

Notifications

Your history

Sessions are stored in this browser and nowhere else. They are not evidence and never reach your mastery record.