In short

The cross product of two vectors \vec{a} and \vec{b} is a new vector \vec{a} \times \vec{b} that is perpendicular to both, with magnitude |\vec{a}||\vec{b}|\sin\theta. Its direction follows the right-hand rule. In component form, \vec{a} \times \vec{b} = (a_2 b_3 - a_3 b_2)\hat{i} - (a_1 b_3 - a_3 b_1)\hat{j} + (a_1 b_2 - a_2 b_1)\hat{k}. The magnitude gives the area of the parallelogram formed by the two vectors, and the direction gives the axis of rotation — making it the natural tool for torque, angular momentum, and area in three dimensions.

Hold a door by the handle and push. The door swings open — it rotates on its hinges. Now push on the hinge itself with the same force. Nothing happens. The door does not move.

The force was the same both times. The difference was where you pushed — how far from the hinge, and at what angle. The turning effect of a force depends not on the force alone, but on the force and the position together, combined in a way that cares about the angle between them.

The dot product cannot capture this. The dot product of force and position gives a number related to how much they align — but turning is about how much they don't align. A force perfectly aligned with the door (pushing along it) produces no rotation at all. A force perpendicular to the door (pushing at a right angle) produces maximum rotation. The turning effect is largest when the vectors are most different in direction.

There is an operation that does exactly this. It takes two vectors, measures how much they fail to align, and produces a result that points along the axis of rotation. It is called the cross product — and unlike the dot product, its result is a vector, not a scalar.

The definition

Cross product (vector product)

The cross product of two vectors \vec{a} and \vec{b} is the vector

\vec{a} \times \vec{b} = |\vec{a}||\vec{b}|\sin\theta\;\hat{n}

where \theta is the angle between \vec{a} and \vec{b} (with 0 \leq \theta \leq \pi), and \hat{n} is the unit vector perpendicular to both \vec{a} and \vec{b}, in the direction given by the right-hand rule.

The right-hand rule: curl the fingers of your right hand from \vec{a} toward \vec{b} through the smaller angle. Your thumb points in the direction of \hat{n}.

Two things are specified: a magnitude (|\vec{a}||\vec{b}|\sin\theta) and a direction (\hat{n}, perpendicular to both, chosen by the right-hand rule). The result is a full vector — magnitude and direction.

Compare with the dot product. The dot product uses \cos\theta and gives a scalar. The cross product uses \sin\theta and gives a vector. Where the dot product measures alignment (maximum when vectors are parallel), the cross product measures non-alignment (maximum when vectors are perpendicular, zero when they are parallel).

The cross product a cross b and the right-hand ruleTwo vectors a and b in a plane, with their cross product a cross b pointing upward, perpendicular to the plane containing a and b. The angle theta between a and b is marked. θ a⃗ b⃗ a⃗ × b⃗ plane of a⃗ and b⃗
The cross product $\vec{a} \times \vec{b}$ points perpendicularly out of the plane containing $\vec{a}$ and $\vec{b}$. Its direction follows the right-hand rule: curl from $\vec{a}$ to $\vec{b}$, and the thumb gives the direction. Its magnitude is $|\vec{a}||\vec{b}|\sin\theta$.

The component formula

The geometric definition is elegant but hard to compute with directly. You need a component formula. If \vec{a} = a_1\hat{i} + a_2\hat{j} + a_3\hat{k} and \vec{b} = b_1\hat{i} + b_2\hat{j} + b_3\hat{k}, then:

\vec{a} \times \vec{b} = (a_2 b_3 - a_3 b_2)\hat{i} - (a_1 b_3 - a_3 b_1)\hat{j} + (a_1 b_2 - a_2 b_1)\hat{k}

This formula looks intimidating until you see where it comes from. The key is the cross products of the unit vectors.

Cross products of unit vectors

Start from the definition. The unit vectors \hat{i}, \hat{j}, \hat{k} are mutually perpendicular and each has magnitude 1. So for \hat{i} and \hat{j}: the angle between them is \pi/2, giving |\hat{i}||\hat{j}|\sin(\pi/2) = 1. The result is a unit vector perpendicular to both \hat{i} and \hat{j} — and by the right-hand rule (curl fingers from \hat{i} toward \hat{j}), that direction is \hat{k}.

\hat{i} \times \hat{j} = \hat{k}, \qquad \hat{j} \times \hat{k} = \hat{i}, \qquad \hat{k} \times \hat{i} = \hat{j}
Cyclic order of unit vector cross productsThree labels i, j, k arranged in a triangle with arrows showing the cyclic order. Going clockwise i to j to k gives positive cross products. Going anticlockwise reverses the sign. î ĵ follow arrows: positive; reverse: negative
The cyclic order of unit vector cross products. Following the arrows: $\hat{i} \times \hat{j} = \hat{k}$, $\hat{j} \times \hat{k} = \hat{i}$, $\hat{k} \times \hat{i} = \hat{j}$. Going against the arrows reverses the sign.

These cycle: i \to j \to k \to i. Going the other way reverses the sign (the right-hand rule gives the opposite direction):

\hat{j} \times \hat{i} = -\hat{k}, \qquad \hat{k} \times \hat{j} = -\hat{i}, \qquad \hat{i} \times \hat{k} = -\hat{j}

And any vector crossed with itself gives zero (since \sin 0 = 0):

\hat{i} \times \hat{i} = \hat{j} \times \hat{j} = \hat{k} \times \hat{k} = \vec{0}

Deriving the component formula

Now expand \vec{a} \times \vec{b} using distributivity (which will be proved below):

\vec{a} \times \vec{b} = (a_1\hat{i} + a_2\hat{j} + a_3\hat{k}) \times (b_1\hat{i} + b_2\hat{j} + b_3\hat{k})

Distribute to get nine terms:

= a_1 b_1(\hat{i} \times \hat{i}) + a_1 b_2(\hat{i} \times \hat{j}) + a_1 b_3(\hat{i} \times \hat{k})
+ a_2 b_1(\hat{j} \times \hat{i}) + a_2 b_2(\hat{j} \times \hat{j}) + a_2 b_3(\hat{j} \times \hat{k})
+ a_3 b_1(\hat{k} \times \hat{i}) + a_3 b_2(\hat{k} \times \hat{j}) + a_3 b_3(\hat{k} \times \hat{k})

Three terms vanish (\hat{i} \times \hat{i}, \hat{j} \times \hat{j}, \hat{k} \times \hat{k} are all \vec{0}). The remaining six, using the unit vector products above:

= a_1 b_2(\hat{k}) + a_1 b_3(-\hat{j}) + a_2 b_1(-\hat{k}) + a_2 b_3(\hat{i}) + a_3 b_1(\hat{j}) + a_3 b_2(-\hat{i})

Collecting by component:

= (a_2 b_3 - a_3 b_2)\hat{i} + (a_3 b_1 - a_1 b_3)\hat{j} + (a_1 b_2 - a_2 b_1)\hat{k}

This is the component formula.

The determinant shortcut

The component formula has a compact form as a 3 \times 3 determinant:

\vec{a} \times \vec{b} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ a_1 & a_2 & a_3 \\ b_1 & b_2 & b_3 \end{vmatrix}

Expand along the first row:

= \hat{i}(a_2 b_3 - a_3 b_2) - \hat{j}(a_1 b_3 - a_3 b_1) + \hat{k}(a_1 b_2 - a_2 b_1)

This is the same formula, but the determinant layout makes it easier to remember. Each component is a 2 \times 2 determinant of the remaining entries: the \hat{i}-component comes from the j and k entries, the \hat{j}-component (with a minus sign) from the i and k entries, and the \hat{k}-component from the i and j entries.

Properties of the cross product

The cross product has clean algebraic rules, but they differ from the dot product's rules in one critical way: the cross product is not commutative.

1. Anti-commutative: \vec{a} \times \vec{b} = -(\vec{b} \times \vec{a})

Swapping the order reverses the direction. From the definition: curling your right hand from \vec{b} to \vec{a} instead of from \vec{a} to \vec{b} points your thumb in the opposite direction. The magnitude |\vec{a}||\vec{b}|\sin\theta stays the same.

From the component formula: swapping \vec{a} and \vec{b} swaps the rows in the determinant, which changes the sign of every component.

\vec{b} \times \vec{a} = (b_2 a_3 - b_3 a_2)\hat{i} - (b_1 a_3 - b_3 a_1)\hat{j} + (b_1 a_2 - b_2 a_1)\hat{k}
= -(a_2 b_3 - a_3 b_2)\hat{i} + (a_1 b_3 - a_3 b_1)\hat{j} - (a_1 b_2 - a_2 b_1)\hat{k} = -(\vec{a} \times \vec{b})

2. Distributive over addition: \vec{a} \times (\vec{b} + \vec{c}) = \vec{a} \times \vec{b} + \vec{a} \times \vec{c}

Expand using the component formula. If \vec{b} + \vec{c} = (b_1 + c_1)\hat{i} + (b_2 + c_2)\hat{j} + (b_3 + c_3)\hat{k}, then the \hat{i}-component of \vec{a} \times (\vec{b} + \vec{c}) is:

a_2(b_3 + c_3) - a_3(b_2 + c_2) = (a_2 b_3 - a_3 b_2) + (a_2 c_3 - a_3 c_2)

This is the \hat{i}-component of \vec{a} \times \vec{b} plus the \hat{i}-component of \vec{a} \times \vec{c}. The same argument applies to the \hat{j} and \hat{k} components.

3. Scalar multiplication: (k\vec{a}) \times \vec{b} = k(\vec{a} \times \vec{b}) = \vec{a} \times (k\vec{b})

(k\vec{a}) \times \vec{b}: the \hat{i}-component is (ka_2)b_3 - (ka_3)b_2 = k(a_2 b_3 - a_3 b_2). Each component picks up a factor of k, so (k\vec{a}) \times \vec{b} = k(\vec{a} \times \vec{b}).

4. Cross product with itself: \vec{a} \times \vec{a} = \vec{0}

\sin 0 = 0, so |\vec{a}||\vec{a}|\sin 0 = 0. The cross product of any vector with itself is the zero vector.

From the component formula: a_2 a_3 - a_3 a_2 = 0, and similarly for the other components.

5. Not associative: \vec{a} \times (\vec{b} \times \vec{c}) \neq (\vec{a} \times \vec{b}) \times \vec{c} in general

Here is a specific counterexample. Take \vec{a} = \hat{i}, \vec{b} = \hat{j}, \vec{c} = \hat{j}.

\vec{a} \times (\vec{b} \times \vec{c}) = \hat{i} \times (\hat{j} \times \hat{j}) = \hat{i} \times \vec{0} = \vec{0}
(\vec{a} \times \vec{b}) \times \vec{c} = (\hat{i} \times \hat{j}) \times \hat{j} = \hat{k} \times \hat{j} = -\hat{i}

So \vec{0} \neq -\hat{i}. The cross product is not associative. Parentheses matter.

Geometric interpretation: area of a parallelogram

The magnitude of the cross product has a beautiful geometric meaning. If \vec{a} and \vec{b} are two sides of a parallelogram, its area is:

\text{Area} = |\vec{a} \times \vec{b}| = |\vec{a}||\vec{b}|\sin\theta

Why? Draw the parallelogram with sides \vec{a} and \vec{b}. Its base is |\vec{a}|, and its height is |\vec{b}|\sin\theta — the perpendicular distance from the tip of \vec{b} to the line of \vec{a}. Base times height is |\vec{a}||\vec{b}|\sin\theta, which is exactly the magnitude of the cross product.

Parallelogram formed by vectors a and b with area equal to the cross product magnitudeA parallelogram with sides a and b. The base is the vector a along the bottom. The height is b sin theta, shown as a dashed perpendicular line from the tip of b to the line of a. The area of the parallelogram equals the magnitude of a cross b. θ a⃗ (base) b⃗ |b⃗| sin θ Area = |a⃗ × b⃗|
The parallelogram formed by $\vec{a}$ and $\vec{b}$. The base is $|\vec{a}|$ and the height is $|\vec{b}|\sin\theta$. The area — base times height — is $|\vec{a} \times \vec{b}|$. The cross product's magnitude is literally the area of the parallelogram.

For a triangle with two sides \vec{a} and \vec{b}, the area is half the parallelogram:

\text{Area of triangle} = \frac{1}{2}|\vec{a} \times \vec{b}|

This gives you a coordinate formula for the area of a triangle in 3D space — something that is surprisingly hard to compute by other methods. You just need the cross product of two side vectors, then take half the magnitude.

A useful corollary: if \vec{a} \times \vec{b} = \vec{0} (and neither vector is zero), then \sin\theta = 0, so \theta = 0 or \theta = \pi — the vectors are parallel (or anti-parallel). The cross product vanishes exactly when the two vectors lie along the same line. Zero area, zero parallelogram, zero non-alignment.

Physical interpretation: moment of a force (torque)

Back to the door. You push at a point whose position from the hinge is \vec{r}, with a force \vec{F}. The moment (or torque) about the hinge is:

\vec{\tau} = \vec{r} \times \vec{F}

The magnitude is |\vec{r}||\vec{F}|\sin\theta — the force times the perpendicular distance from the hinge to the line of force. This is exactly the "turning effect" that your intuition demands: it is zero when you push along the door (parallel, \sin\theta = 0) and maximum when you push perpendicular to the door (\sin\theta = 1).

The direction of \vec{\tau} is along the axis of rotation — the hinge — given by the right-hand rule. If you curl your fingers from \vec{r} toward \vec{F}, your thumb points along the axis around which the door rotates. This is how torque becomes a vector, not just a number: the direction encodes which axis the rotation is around.

Torque as cross product of position and forceA door viewed from above. The hinge is on the left. The position vector r goes from the hinge to the point where the force is applied. The force F is applied at an angle to the door. The torque vector tau equals r cross F and points upward out of the page, along the hinge axis. hinge r⃗ F⃗ τ⃗ = r⃗ × F⃗ (out of page) |F⃗| sin θ
A door viewed from above, with the hinge on the left. The torque $\vec{\tau} = \vec{r} \times \vec{F}$ points along the hinge axis (out of the page). Its magnitude is $|\vec{r}||\vec{F}|\sin\theta$ — the force times the perpendicular distance from the hinge to the line of action of the force.

The same cross product describes angular momentum (\vec{L} = \vec{r} \times \vec{p}, where \vec{p} is momentum) and the magnetic force on a moving charge (\vec{F} = q\vec{v} \times \vec{B}). In each case, the physical quantity depends on the angle between two vectors and points along the axis of rotation or the perpendicular direction. The cross product is the natural mathematical language for all of these.

Computing the cross product — first example

Example 1: Cross product and area of a parallelogram

Find \vec{a} \times \vec{b} where \vec{a} = 2\hat{i} + 3\hat{j} + \hat{k} and \vec{b} = \hat{i} - \hat{j} + 2\hat{k}. Then find the area of the parallelogram with sides \vec{a} and \vec{b}.

Step 1. Set up the determinant.

\vec{a} \times \vec{b} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 2 & 3 & 1 \\ 1 & -1 & 2 \end{vmatrix}

Why: the determinant form organizes the computation. The first row is the unit vectors, the second row is the components of \vec{a}, the third row is the components of \vec{b}.

Step 2. Expand along the first row.

= \hat{i}(3 \cdot 2 - 1 \cdot (-1)) - \hat{j}(2 \cdot 2 - 1 \cdot 1) + \hat{k}(2 \cdot (-1) - 3 \cdot 1)
= \hat{i}(6 + 1) - \hat{j}(4 - 1) + \hat{k}(-2 - 3)
= 7\hat{i} - 3\hat{j} - 5\hat{k}

Why: each component is a 2 \times 2 determinant of the remaining entries. The \hat{j}-component gets a minus sign from the cofactor expansion.

Step 3. Verify perpendicularity with both original vectors.

(\vec{a} \times \vec{b}) \cdot \vec{a} = (7)(2) + (-3)(3) + (-5)(1) = 14 - 9 - 5 = 0 \;\checkmark
(\vec{a} \times \vec{b}) \cdot \vec{b} = (7)(1) + (-3)(-1) + (-5)(2) = 7 + 3 - 10 = 0 \;\checkmark

Why: the cross product must be perpendicular to both input vectors. Zero dot products confirm this. Always check — it catches sign errors.

Step 4. Compute the area of the parallelogram.

|\vec{a} \times \vec{b}| = \sqrt{49 + 9 + 25} = \sqrt{83}
\text{Area} = \sqrt{83} \approx 9.11 \text{ square units}

Why: the magnitude of the cross product equals the area of the parallelogram formed by the two vectors.

Result: \vec{a} \times \vec{b} = 7\hat{i} - 3\hat{j} - 5\hat{k}. The parallelogram area is \sqrt{83} \approx 9.11 square units.

The parallelogram formed by $\vec{a}$ and $\vec{b}$ (projected onto the $xy$-plane, ignoring $z$-components for visualization). The area of the full 3D parallelogram is $\sqrt{83} \approx 9.11$, computed entirely from the cross product without measuring any angles.

The cross product gave both the area and a perpendicular direction in one computation. The perpendicularity check (zero dot products with both input vectors) is a reliable way to catch arithmetic mistakes.

Torque — second example

Example 2: Torque on a bolt

A spanner (wrench) applies a force \vec{F} = -3\hat{j} + 4\hat{k} newtons at a point whose position from the bolt is \vec{r} = 2\hat{i} + \hat{j} metres. Find the torque about the bolt and its magnitude.

Step 1. Set up the determinant for \vec{\tau} = \vec{r} \times \vec{F}.

\vec{\tau} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 2 & 1 & 0 \\ 0 & -3 & 4 \end{vmatrix}

Why: torque is the cross product of position and force, in that order. The position vector is in the second row, the force vector in the third.

Step 2. Expand.

= \hat{i}(1 \cdot 4 - 0 \cdot (-3)) - \hat{j}(2 \cdot 4 - 0 \cdot 0) + \hat{k}(2 \cdot (-3) - 1 \cdot 0)
= \hat{i}(4) - \hat{j}(8) + \hat{k}(-6)
= 4\hat{i} - 8\hat{j} - 6\hat{k}

Why: straightforward cofactor expansion. The zero components in \vec{r} and \vec{F} simplify several of the sub-determinants.

Step 3. Compute the magnitude.

|\vec{\tau}| = \sqrt{16 + 64 + 36} = \sqrt{116} = 2\sqrt{29} \approx 10.77 \text{ N·m}

Why: the magnitude gives the "strength" of the turning effect, in newton-metres.

Step 4. Verify perpendicularity.

\vec{\tau} \cdot \vec{r} = (4)(2) + (-8)(1) + (-6)(0) = 8 - 8 = 0 \;\checkmark
\vec{\tau} \cdot \vec{F} = (4)(0) + (-8)(-3) + (-6)(4) = 0 + 24 - 24 = 0 \;\checkmark

Why: the torque vector should be perpendicular to both the position and the force. Both checks pass.

Result: The torque is \vec{\tau} = 4\hat{i} - 8\hat{j} - 6\hat{k} N·m, with magnitude 2\sqrt{29} \approx 10.77 N·m.

The position vector $\vec{r}$ from the bolt to the point of force application, and the force $\vec{F}$ (showing the $yz$-components only). The torque $\vec{\tau} = \vec{r} \times \vec{F}$ points along the axis of rotation that the bolt would turn around.

The torque magnitude of roughly 10.77 N·m tells you the "twisting strength." The direction 4\hat{i} - 8\hat{j} - 6\hat{k} tells you which axis the bolt would rotate around — perpendicular to both the spanner and the applied force.

Common confusions

Going deeper

If you came here to understand the cross product, compute it, and apply it to area and torque, you have it — you can stop here. The rest is for readers who want the deeper structure: the Lagrange identity, the connection to oriented area, and why the cross product only works in three dimensions.

The Lagrange identity

The fact noted in the confusions section — |\vec{a} \times \vec{b}|^2 + (\vec{a} \cdot \vec{b})^2 = |\vec{a}|^2|\vec{b}|^2 — is the Lagrange identity for vectors. It says that the dot product and cross product together carry all the information about two vectors: you can recover both the angle and the magnitudes from them.

In component form, this becomes:

(a_2 b_3 - a_3 b_2)^2 + (a_3 b_1 - a_1 b_3)^2 + (a_1 b_2 - a_2 b_1)^2 + (a_1 b_1 + a_2 b_2 + a_3 b_3)^2
= (a_1^2 + a_2^2 + a_3^2)(b_1^2 + b_2^2 + b_3^2)

This is a purely algebraic identity — it can be verified by expanding both sides — but the vector interpretation makes it almost obvious: it is just \sin^2\theta + \cos^2\theta = 1 multiplied by |\vec{a}|^2|\vec{b}|^2.

Oriented area and the sign of the cross product

The cross product does not just give the area — it gives the oriented area. The direction of \vec{a} \times \vec{b} tells you which side of the parallelogram you are looking at. If you walk around the parallelogram from \vec{a} to \vec{b} (counterclockwise as seen from the direction of \vec{a} \times \vec{b}), the interior is on your left.

This notion of oriented area is essential in physics (for surface integrals, where you need to know which side of a surface a flux is going through) and in computer graphics (for determining whether a triangle faces toward or away from the camera). The cross product provides this information naturally.

Why three dimensions?

The cross product of two vectors produces a vector perpendicular to both. In three dimensions, given any two linearly independent vectors, there is exactly one direction (up to sign) perpendicular to both. In two dimensions, there is no direction perpendicular to two independent vectors within the plane. In four or more dimensions, there are infinitely many directions perpendicular to two given vectors.

This is why the cross product, as defined here, works only in three dimensions: it is the unique dimension where "the perpendicular direction to two vectors" is a well-defined line. The generalization to higher dimensions is the exterior product (or wedge product), which produces not a vector but a different kind of object called a bivector. The exterior product exists in any number of dimensions, but it requires more sophisticated algebraic machinery. For the purposes of physics and JEE mathematics, the three-dimensional cross product is sufficient.

The scalar triple product, previewed

If you take the cross product of \vec{b} and \vec{c}, and then take the dot product of the result with \vec{a}, you get a scalar:

[\vec{a}\;\vec{b}\;\vec{c}] = \vec{a} \cdot (\vec{b} \times \vec{c})

This is the scalar triple product. Its absolute value gives the volume of the parallelepiped (the 3D analogue of a parallelogram) formed by the three vectors. Just as the cross product's magnitude gives area in 2D, the scalar triple product gives volume in 3D. If the scalar triple product is zero, the three vectors are coplanar — they all lie in the same plane, and the parallelepiped has zero volume.

Where this leads next

You now have both vector products: the dot product (measuring alignment) and the cross product (measuring non-alignment). Together, they handle most of the vector algebra in physics and coordinate geometry. The next destinations: