Vector Product (Cross Product)- Calculation and Use
What Is the Vector Product (Cross Product)?
The vector product, also called the cross product, is a binary operation between two vectors in three-dimensional space. Unlike the dot product, which gives you a scalar, the cross product gives you another vector.
This new vector is perpendicular to both original vectors. That's the whole point of it.
Mathematically:
a × b = c
Where c stands perpendicular to the plane containing a and b.
The Cross Product Formula
Given two vectors:
a = (a₁, a₂, a₃)
b = (b₁, b₂, b₃)
Their cross product is:
a × b = (a₂b₃ - a₃b₂, a₃b₁ - a₁b₃, a₁b₂ - a₂b₁)
Most people memorize this using the determinant method. It's easier to remember that way.
The Determinant Method
Write the cross product as a 3×3 determinant:
a × b = | i j k |
| a₁ a₂ a₃ |
| b₁ b₂ b₃ |
Expand along the first row and you get the same formula. This is the standard way engineers and physicists do it.
Key Properties of the Cross Product
The cross product has specific behaviors you need to know:
- Anti-commutativity: a × b = -(b × a) — flipping the order changes the sign
- Not associative: (a × b) × c ≠ a × (b × c)
- Distributive: a × (b + c) = a × b + a × c
- Scalar multiplication works: (ka) × b = k(a × b)
- Result is zero if vectors are parallel or one vector is zero
The anti-commutativity property trips people up. Always watch your order.
Magnitude of the Cross Product
The magnitude (length) of a × b equals:
|a × b| = |a| |b| sin(θ)
Where θ is the angle between the two vectors.
This is useful because:
- When vectors are perpendicular (θ = 90°), sin(90°) = 1, so magnitude equals |a| × |b|
- When vectors are parallel (θ = 0°), sin(0°) = 0, so the cross product is zero
The magnitude also equals the area of the parallelogram formed by the two vectors. That's a geometric interpretation worth remembering.
Direction: The Right-Hand Rule
The cross product doesn't just give you a vector — it gives you a vector with a specific direction. You find this direction using the right-hand rule.
Point your index finger in the direction of a. Point your middle finger in the direction of b. Your thumb points in the direction of a × b.
This is how you determine "up" versus "down" in 3D space when working with planes and surfaces.
Cross Product vs Dot Product
Students confuse these constantly. Here's the actual difference:
| Property | Cross Product (×) | Dot Product (·) |
|---|---|---|
| Result type | Vector | Scalar |
| Formula | |a||b|sin(θ) | |a||b|cos(θ) |
| Zero when | Vectors are parallel | Vectors are perpendicular |
| Max value | |a||b| (at 90°) | |a||b| (at 0°) |
| Used for | Area, torque, rotation | Projection, work, angle |
The dot product tells you about alignment. The cross product tells you about perpendicularity. Different tools for different problems.
How to Calculate the Cross Product: Step-by-Step
Let's work through a real example.
Given: a = (2, 1, 3) and b = (1, 4, 5)
Step 1: Set up the determinant
| i j k |
| 2 1 3 |
| 1 4 5 |
Step 2: Expand along the first row
a × b = i(1·5 - 3·4) - j(2·5 - 3·1) + k(2·4 - 1·1)
Step 3: Calculate each component
i component: (1×5) - (3×4) = 5 - 12 = -7
j component: (2×5) - (3×1) = 10 - 3 = 7 → becomes -7
k component: (2×4) - (1×1) = 8 - 1 = 7
Step 4: Write the result
a × b = (-7, -7, 7)
That's it. Practice this until it's automatic.
Common Applications
Physics: Torque
Torque (τ) is a cross product: τ = r × F
Where r is the position vector from the pivot point, and F is the applied force. The resulting torque vector points in the direction of the axis of rotation.
Physics: Angular Momentum
Angular momentum (L) uses the same pattern: L = r × p
Where p is linear momentum. This is why spinning objects resist changes to their rotation.
Computer Graphics: Surface Normals
In 3D graphics, you find the normal vector to a surface by crossing two edge vectors. The normal tells you which way a polygon faces — critical for lighting calculations.
If you have vertices A, B, and C, the normal is:
n = (B - A) × (C - A)
Engineering: Finding Perpendicular Directions
When you need a vector perpendicular to a given plane, the cross product gives it to you. Machine tool paths, antenna orientation, structural analysis — all use this.
Cross Product in 2D? Here's the Trick
The cross product technically requires 3D vectors. But if you're working in 2D and need to find a perpendicular direction, you can embed your 2D vectors in 3D space by setting the z-component to zero.
For a = (a₁, a₂) and b = (b₁, b₂), treat them as (a₁, a₂, 0) and (b₁, b₂, 0).
The result will be (0, 0, a₁b₂ - a₂b₁) — pointing straight in or out of your 2D plane. The scalar a₁b₂ - a₂b₁ is also the 2D cross product or "wedge product," useful for determining clockwise versus counterclockwise orientation.
Quick Reference Table
| Input Vectors | Cross Product Result | Notes |
|---|---|---|
| a = (1, 0, 0), b = (0, 1, 0) | (0, 0, 1) | Standard basis vectors |
| a = (1, 0, 0), b = (0, 0, 1) | (0, 1, 0) | Cycles through axes |
| a = (1, 1, 0), b = (1, 1, 0) | (0, 0, 0) | Parallel vectors give zero |
| a = (2, 3, 1), b = (4, 1, 5) | (14, -6, -10) | Calculate to verify |
Common Mistakes to Avoid
- Forgetting the order matters. a × b ≠ b × a. The result has opposite signs.
- Confusing cross product with dot product. Cross gives vector, dot gives scalar.
- Not using the right-hand rule when determining direction in 3D space.
- Assuming associativity. (a × b) × c is not equal to a × (b × c).
- Forgetting the minus sign on the j-component when expanding the determinant.
When to Use the Cross Product
Use it when you need:
- A vector perpendicular to two given vectors
- The area of a parallelogram defined by two vectors
- Direction of rotation or torque
- Surface normals for lighting or collision detection
- Any physics quantity involving rotational effects
Don't use it when you just need to know how much two vectors point in the same direction — that's a dot product problem.
Bottom Line
The cross product is a tool. It gives you a vector perpendicular to two other vectors, with magnitude equal to |a||b|sin(θ). The determinant method is the most practical way to calculate it by hand. The right-hand rule tells you which way the result points.
Know when to use it. Know how to compute it. That's all you need.