JOVANA
Explore Library Glossary Getting Started Three Levels Fields How it works Mission
Join the mission
All guides

The Cross Product: Area and Direction

The dot product fed two vectors in and gave back a number. The cross product does something only three-dimensional space allows: it feeds two vectors in and gives back a third vector — one perpendicular to both, whose length is the area of the parallelogram they span. This guide shows where that vector points, how long it is, and why it is the right tool for normals, areas, and torque.

A product that returns a vector, not a number

In the previous guide the dot product u . v took two vectors and handed back a single number, a scalar — it measured how much the two arrows agreed in direction. That number told you about angle and projection, but it threw away all sense of orientation in space. Now we want the opposite kind of tool: one that remembers space. The cross product u x v takes the same two vectors and returns a brand-new vector — and crucially, that result vector points out of the plane the two arrows live in. Two products, two personalities: the dot product collapses to a number, the cross product builds up to a vector.

Here is an honest caveat to state up front, because it shapes everything that follows: the cross product is a genuinely three-dimensional creature. In the flat plane there is no room for a vector to stick out perpendicular to two others, so the cross product as a vector simply does not exist in 2D — there is no fourth direction in 4D that is uniquely 'the' perpendicular either, so it does not generalize cleanly above three dimensions. The dot product works in every dimension; the cross product, in this exact form, is a gift peculiar to three-dimensional space. That is not a limitation to apologize for — it is the reason the cross product is so good at describing the 3D world we actually live in.

How long, and which way: the geometric definition

The cross product is defined by two facts, one about length and one about direction. First the length: |u x v| = |u| * |v| * sin theta, where theta is the angle between the two vectors (the same theta the dot product found). Compare this with the dot product, which used cos theta. The pairing is beautiful — the dot product is biggest when the arrows are parallel (cos 0 = 1) and zero when they are perpendicular, while the cross product is exactly the reverse: zero when parallel (sin 0 = 0) and biggest when perpendicular. They measure complementary things, agreement versus spread.

Now the direction. The result u x v is perpendicular to both u and v — it stands straight out of the plane those two arrows define. But a plane has two perpendicular directions, up and down; which one? The choice is fixed by the right-hand rule: point the fingers of your right hand along u, then curl them toward v through the angle theta, and your thumb points along u x v. Try it with your hand flat on a table: fingers pointing east (u), curling north (v), and your thumb rises straight up off the table — that is the direction of east-cross-north. This rule is a convention, a human choice of which way to call 'positive,' but once chosen it is applied consistently everywhere.

Why the length is an area

The formula |u x v| = |u| * |v| * sin theta is not a random combination — it is exactly the area of the parallelogram with sides u and v. Recall the elementary area of a parallelogram: base times height. Take |u| as the base. The height is the perpendicular distance from the tip of v down to the line of u, and basic trigonometry gives that height as |v| * sin theta — the side v leans at angle theta, and the part of it that rises perpendicular to the base is its length times sin theta. Multiply base by height and you get |u| * |v| * sin theta. The length of the cross product literally is that area.

This is the single most useful way to picture u x v: it is a vector whose length encodes an area and whose direction encodes the orientation of that patch of plane in space. Think of it as an 'area vector' — a tiny flag planted perpendicular to the parallelogram, longer when the patch is bigger. This is why cutting the area in half gives a triangle's area: the triangle on sides u and v is exactly half the parallelogram, so its area is (1/2) * |u x v|, which is the spatial cousin of the sine area formula you met for triangles, area = (1/2) * a * b * sin C.

Computing it from components

Just as the dot product had a clean component formula, so does the cross product — though it is a little busier, because the answer has three coordinates to fill. If u = (u_1, u_2, u_3) and v = (v_1, v_2, v_3), then u x v is the vector below. Each component is a small criss-cross subtraction, and the pattern cycles: the first component uses the indices 2 and 3, the next uses 3 and 1, the last uses 1 and 2. Notice the middle component has its terms in the 'wrong' order (3,1 not 1,3); that sign flip is genuinely part of the formula, not a typo, and it is the most common place to slip.

u x v = ( u_2*v_3 - u_3*v_2 ,
          u_3*v_1 - u_1*v_3 ,
          u_1*v_2 - u_2*v_1 )

example:  u = (1, 0, 0),  v = (0, 1, 0)
          u x v = (0*0 - 0*1, 0*0 - 1*0, 1*1 - 0*0) = (0, 0, 1)
The component formula, with the worked case east x north = up.

The worked example at the bottom is worth dwelling on, because it makes the abstract concrete. The vector (1, 0, 0) points east, (0, 1, 0) points north, and the formula returns (0, 0, 1) — pointing straight up. That matches the right-hand rule from the table exactly, and the length is 1, the area of the unit square those two unit vectors span. A single small computation has confirmed all three claims at once: perpendicular direction, right-hand orientation, and area-as-length. When learning, always sanity-check a cross product this way — does the answer look perpendicular to both inputs?

It cares about order: anticommutativity

The cross product breaks a habit you have had since arithmetic: order matters. For the dot product, u . v = v . u, swapping makes no difference. For the cross product, swapping flips the sign: v x u = -(u x v). This is forced by the right-hand rule — if you curl your fingers from v to u instead of u to v, you sweep the angle the other way and your thumb points down instead of up. The two answers have the same length (same parallelogram, same area) but opposite direction. A product where swapping negates the result is called anticommutative.

Two more honest consequences follow. First, u x u = 0 for any vector — a vector is parallel to itself, sin 0 = 0, and the 'parallelogram' on a vector and itself is a degenerate sliver of zero area. Second, do not expect the cross product to be associative the way ordinary multiplication is: in general (u x v) x w is not equal to u x (v x w), so you must keep the grouping you are given and never silently rearrange a chain of cross products. Being clear-eyed about what the cross product does not obey is as important as knowing what it does.

What it is for: normals, areas, and beyond

The cross product's perpendicularity is its killer application. Suppose you have three points in space and you want the flat plane through them. Form two vectors lying in that plane (from one point to each of the others), take their cross product, and you instantly have a vector perpendicular to the plane — its normal vector. The plane's equation is built directly from that normal, which is exactly how the next guide pins down planes in coordinates. No other single operation hands you a perpendicular direction so cheaply.

The area meaning is the other big payoff. To find the area of a triangle with vertices A, B, C in space — where the distance formula alone would be clumsy — form the edge vectors AB and AC, cross them, and take half the length: area = (1/2) * |AB x AC|. The same idea scales up: the cross product is the foundation of the scalar triple product, coming in the last guide of this rung, which measures the volume of the box spanned by three vectors. And beyond pure geometry, in physics the cross product is exactly torque (r x F) and the magnetic force on a moving charge — quantities that are inherently about a turning direction in space.

  1. Goal: the area of the triangle with A = (0, 0, 0), B = (1, 0, 0), C = (0, 2, 0).
  2. Form the two edge vectors from A: AB = (1, 0, 0) and AC = (0, 2, 0).
  3. Cross them with the component formula: AB x AC = (0*0 - 0*2, 0*0 - 1*0, 1*2 - 0*0) = (0, 0, 2).
  4. Take half the length: |(0, 0, 2)| = 2, so the area is (1/2)*2 = 1 — matching the base-1, height-2 triangle, which has area 1.