On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Algebra Fundamentals · Grade 9-12

Cross Product

The cross product takes two 3D vectors and produces a third vector perpendicular to both, with length equal to the area of the parallelogram they form.

a×b=⟨a2b3−a3b2,  a3b1−a1b3,  a1b2−a2b1⟩. Magnitude: ∥a×b∥=∥a∥∥b∥sin⁡θ.

Quick Answer

The cross product takes two 3D vectors and produces a third vector perpendicular to both, with length equal to the area of the parallelogram they form. Use it when you need a direction at right angles to two given directions, such as the normal to a flat surface, or the area of the parallelogram two vectors span. Unlike the dot product, it works only in three dimensions and gives a vector, not a number. Order matters: b×a points the opposite way from a×b, with the direction set by the right-hand rule.

Why This Matters

Many 3D problems need a direction that the given vectors do not supply directly: the normal to a roof for working out how sunlight strikes it, the axis a wrench turns a bolt around, or the area of a triangle in space. The cross product builds that direction, and its length gives the area, in one calculation. Without it, finding a vector perpendicular to two others means solving two equations in three unknowns.

Intuitive Explanation

Two arrows lying flat on a table span a parallelogram. The cross product a×b is an arrow standing straight up out of the table, or straight down into it, with length equal to that parallelogram's area. For a=⟨2,0,0⟩ and b=⟨0,3,0⟩ the parallelogram is a 2 by 3 rectangle, and a×b=⟨0,0,6⟩: straight up, length 6.

The component formula is ⟨a2b3−a3b2, a3b1−a1b3, a1b2−a2b1⟩. Each component skips its own coordinate and crosses the other two. For a=⟨1,2,0⟩ and b=⟨3,1,2⟩ it gives ⟨2⋅2−0⋅1, 0⋅3−1⋅2, 1⋅1−2⋅3⟩=⟨4,−2,−5⟩. Check: ⟨4,−2,−5⟩⋅⟨1,2,0⟩=4−4+0=0 and ⟨4,−2,−5⟩⋅⟨3,1,2⟩=12−2−10=0, so it is perpendicular to both.

There are two perpendicular directions, up and down. To choose, point the fingers of your right hand along a and curl them toward b; your thumb points along a×b. Swap the order and your hand flips, so b×a=−(a×b). Parallel vectors span no area, so their cross product is the zero vector.

The dot product also takes two vectors, but it returns one number and is largest when the vectors are parallel, exactly where the cross product is zero. In two dimensions there is no cross product vector; the 2×2 determinant a1b2−a2b1 gives the signed area instead, and it is the third component of the 3D formula.

Think of it like this. Tightening a bolt with a wrench is a cross product: the handle and your push are two vectors, and the bolt turns about an axis at right angles to both. Pushing the other way loosens it, as b×a=−(a×b), and a longer handle turns harder. The picture needs three dimensions; flat paper has no third direction.

Core idea. The cross product of two 3D vectors returns a new vector perpendicular to both, whose length is the area of the parallelogram they span.


When to Use

Use it when you have two 3D vectors and need a perpendicular vector, such as the normal to a plane through three points, or the area of the parallelogram or triangle they span. Torque and magnetic force in physics are cross products. If you want a number describing how the vectors line up, or the angle between them, use the dot product. If the vectors are 2D and you only need an area, the 2×2 determinant is enough.

Tip. Ask: Do I have two 3D vectors and need a new vector perpendicular to both (or the area they span)?

How to Recognize It

Before taking a cross product, check that both vectors have three components and what the answer is for: a direction, an area, or a turning effect.

  1. Do both vectors have three components?

    The cross product is defined only in three dimensions. For 2D vectors, the 2×2 determinant of their components gives the signed parallelogram area without needing a third direction.

  2. Is the result supposed to be a vector, such as the normal to a plane?

    Yes fits the cross product. If the result is one number about how two vectors line up, such as the angle between them, use the dot product.

  3. Are you given three points of a plane or triangle?

    Subtract to get two edge vectors from one corner, then cross them; the result is normal to the plane, and half its length is the triangle's area. Two points alone fix only a line, not a plane.

  4. Does the story involve something turning, like a wrench, a door or a spinning wheel?

    Turning effects, such as torque τ=r×F, are cross products. Straight-line effects, like the work a force does along a path, are dot products.

Cross Product compared with Dot product, Vector addition, and Determinant (2x2)

These rows all take two vectors and produce something, and the cross product and the 2×2 determinant measure the same parallelogram. Ask whether you need a perpendicular vector in 3D, an alignment number, a resultant, or only a signed area in the plane.

Cross Product

Meaning
Use this when you need a vector perpendicular to two given 3D vectors, or the area/normal they determine.
Key test
Do I have two 3D vectors and need a new vector perpendicular to both (or the area they span)?
Formula
a×b=⟨a2b3−a3b2,  a3b1−a1b3,  a1b2−a2b1⟩. Magnitude: ∥a×b∥=∥a∥∥b∥sin⁡θ.
Example
Find a vector perpendicular to both a=⟨1,0,0⟩ and b=⟨0,1,0⟩.

Dot product

Meaning
Returns a scalar measuring directional agreement.
Key test
Use when you need the angle, a perpendicularity test, or a projection.
Formula
a⋅b=a1b1+a2b2+a3b3
Example
Checking if two vectors meet at a right angle

Vector addition

Meaning
Combines two vectors tip-to-tail into a resultant in the same plane.
Key test
Use when totaling displacements or forces, not finding a perpendicular.
Formula
a+b=⟨a1+b1,… ⟩
Example
Net displacement of two walks

Determinant (2x2)

Meaning
Returns the signed area scalar of two 2D vectors.
Key test
Use in 2D when you only need the area number, not a perpendicular vector.
Formula
det⁡=a1b2−a2b1
Example
Area of a triangle in the plane

Formula & Notation

a×b=⟨a2b3−a3b2,  a3b1−a1b3,  a1b2−a2b1⟩. Magnitude: ∥a×b∥=∥a∥∥b∥sin⁡θ.
For a,b∈R3: a×b=(a2b3−a3b2,  a3b1−a1b3,  a1b2−a2b1). Properties: anti-commutative (a×b=−b×a), bilinear, ∥a×b∥=∥a∥∥b∥sin⁡θ, and (a×b)⊥a and (a×b)⊥b.

How to read it: a×b uses the multiplication sign. Can also be computed as a 3×3 determinant: a×b=det⁡[ijka1a2a3b1b2b3].

Worked Examples

Example 1 — Normal to two vectors

Easy

Find a vector perpendicular to both a=⟨1,0,0⟩ and b=⟨0,1,0⟩.
Show the steps and the answer
  1. List the components: a1=1, a2=0, a3=0 and b1=0, b2=1, b3=0.

    Each component of the cross product uses two coordinates from each vector.

  2. First component: a2b3−a3b2=0⋅0−0⋅1=0.

    The x-component skips the x-coordinates and crosses the y and z ones.

  3. Second and third: a3b1−a1b3=0−0=0 and a1b2−a2b1=1⋅1−0⋅0=1.

    Only the third component survives, because both inputs lie in the xy-plane.

  4. Check: ⟨0,0,1⟩ has zero dot product with ⟨1,0,0⟩ and with ⟨0,1,0⟩, and curling from x toward y points the right thumb up the z-axis.

    The zero dot products confirm perpendicularity, and the length 1 matches the area of the unit square.

Answer: a×b=⟨0,0,1⟩

Takeaway: Two vectors in the xy-plane have a cross product along the z-axis, with length equal to the area they span.

Example 2 — Just need the angle

Standard

Given a=⟨1,0,0⟩ and b=⟨0,1,0⟩, find the angle between them.
Show the steps and the answer
  1. Read what is asked: an angle, which is a single number.

    A cross product gives a whole vector, more than this question needs.

  2. Use the dot product: a⋅b=1⋅0+0⋅1+0⋅0=0.

    The dot product links straight to the angle through cos⁡θ.

  3. Solve: cos⁡θ=01⋅1=0, so θ=90∘.

    Both vectors have length 1, and between 0∘ and 180∘ the cosine is 0 only at 90∘.

Answer: θ=90∘

Takeaway: For an angle, use the dot product; save the cross product for a perpendicular vector or an area.

Example 3 — Find the mistake: the middle component's sign

Application

Find a×b for a=⟨2,1,3⟩ and b=⟨1,4,0⟩. Eli writes: "⟨1⋅0−3⋅4, 2⋅0−3⋅1, 2⋅4−1⋅1⟩=⟨−12,−3,7⟩." Find the mistake and correct it.
Show the steps and the answer
  1. Test Eli's vector against a: ⟨−12,−3,7⟩⋅⟨2,1,3⟩=−24−3+21=−6.

    A cross product must be perpendicular to both inputs, so this dot product should be 0.

  2. Find the faulty component: the second should be a3b1−a1b3=3⋅1−2⋅0=3, but Eli computed a1b3−a3b1=−3.

    In the determinant expansion the j term carries a minus sign, which reverses the order of that difference.

  3. Correct it: a×b=⟨−12,3,7⟩.

    Eli's first and third components were right.

  4. Check: ⟨−12,3,7⟩⋅⟨2,1,3⟩=−24+3+21=0 and ⟨−12,3,7⟩⋅⟨1,4,0⟩=−12+12+0=0.

    Both dot products are 0, so the corrected vector is perpendicular to both inputs.

Answer: a×b=⟨−12,3,7⟩

Takeaway: The middle component is a3b1−a1b3; dotting the result with both inputs catches a sign slip at once.

Where You'll See It

  • Area of a triangular roof panel

    A roof panel has corners at (0,0,0), (4,0,0) and (0,3,2) in metres. The edge vectors ⟨4,0,0⟩ and ⟨0,3,2⟩ have cross product ⟨0,−8,12⟩, of length 64+144=208≈14.4. The triangle is half the parallelogram, about 7.2 m².

  • Torque on a wrench

    Pushing with force ⟨0,50,0⟩ N on a wrench whose handle reaches r=⟨0.3,0,0⟩ m from the bolt gives torque r×F=⟨0,0,15⟩ N·m, pointing along the bolt's axis. A slanted push gives less, since only the part of the force at right angles to the handle turns the bolt.

  • Shading triangles in 3D games

    A game finds which way each triangle of a 3D model faces by crossing two of its edge vectors. That normal is then compared with the direction of the light, using a dot product, to decide how brightly to draw the triangle.

Common Mistakes

  1. The slip: Returning a scalar

    Instead: the cross product is a vector; build all three components ⟨a2b3−a3b2, a3b1−a1b3, a1b2−a2b1⟩

  2. The slip: Reversing the order without flipping sign

    Instead: b×a=−(a×b), so order matters

  3. The slip: Forgetting the middle component's sign pattern

    Instead: the determinant expansion makes the j term negative; the formula already bakes this in as a3b1−a1b3


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Compute ⟨1,2,3⟩×⟨4,5,6⟩.

    Hint: Use ⟨a2b3−a3b2, a3b1−a1b3, a1b2−a2b1⟩.

  2. Compute ⟨2,0,1⟩×⟨1,3,0⟩ and check that the result is perpendicular to both vectors.

    Hint: After computing, take the dot product with each original vector.

  3. Find the area of the parallelogram spanned by ⟨3,0,0⟩ and ⟨0,2,4⟩.

    Hint: The area is the length of the cross product.

  4. If a×b=⟨2,−1,5⟩, what is b×a?

    Hint: What happens when you reverse the order?

  5. To check whether ⟨1,2,2⟩ and ⟨2,−1,0⟩ are perpendicular, use the cross product or the dot product?

    Hint: Which product equals 0 exactly when the angle is 90∘?

  6. Computing ⟨1,0,2⟩×⟨0,1,3⟩, a student writes the middle component as a1b3−a3b1=3. Find the mistake.

    Hint: Look at the order of the two products in the middle component.

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

What does it mean when the cross product is the zero vector?

The two vectors are parallel, or one of them is zero. Their parallelogram is squashed flat, so its area is 0, and no single direction is perpendicular to both, since a whole plane of directions qualifies. For example, ⟨1,2,3⟩×⟨2,4,6⟩=⟨0,0,0⟩\langle1,2,3\rangle\times\langle2,4,6\rangle=\langle0,0,0\rangle because the second vector is twice the first. This makes the cross product a quick parallel test in 3D.

How does the right-hand rule work?

Point the fingers of your right hand along a\mathbf{a}, curl them toward b\mathbf{b} through the smaller angle, and your thumb points along a×b\mathbf{a}\times\mathbf{b}. With i\mathbf{i} pointing east and j\mathbf{j} north on a table, i×j\mathbf{i}\times\mathbf{j} points straight up out of the table, which is k\mathbf{k}. Using your left hand by mistake gives the opposite direction, one of the most common sign errors.

Is a×(b×c) the same as (a×b)×c?

Usually not: the cross product is not associative. For example, i×(i×j)=i×k=−j\mathbf{i}\times(\mathbf{i}\times\mathbf{j})=\mathbf{i}\times\mathbf{k}=-\mathbf{j}, but (i×i)×j=0×j=0(\mathbf{i}\times\mathbf{i})\times\mathbf{j}=\mathbf{0}\times\mathbf{j}=\mathbf{0}. So brackets matter, and you must work out the inner product first. It is a second way the cross product differs from ordinary multiplication, alongside the sign flip when the order is swapped.

Why does the cross product only work in three dimensions?

In 3D, two non-parallel directions leave exactly one line of directions at right angles to both, so there is one natural answer. In 2D there is no room for a perpendicular direction at all, and in 4D a whole plane of directions is perpendicular to two given vectors, so no single answer stands out. Apart from an unusual version in seven dimensions, advanced math replaces it with the wedge product, which works in any dimension.

Learning Path

You need the Dot Product (to check perpendicularity), Vector Addition, Subtraction, and Scalar Multiplication, and the Determinant (the cross product follows a 3×3 determinant pattern) first. This concept adds a product of two 3D vectors that is itself a vector, perpendicular to both, with length equal to the area they span. Next, Surface Area uses cross products to find the areas of slanted faces and curved surfaces.

See Also