Vector Operations
10 solvers available
Fundamentals
Products
Geometric Relations
Cross Product Calculator
Find the cross product a × b for 3D vectors. The result is perpendicular to both inputs, calculated using the determinant method.
Learn About Cross Product
Understanding the concepts behind calculations.
📑 Quick Navigation
What is Cross Product?
The cross product is a binary operation on two vectors in three-dimensional space that produces a third vector perpendicular to both of the original vectors. Unlike the dot product (which gives a scalar), the cross product gives another vector.
Core Idea: Given two vectors a and b in 3D space, their cross product a × b is a vector that is:
- ✅ Perpendicular to both a and b
- ✅ Has magnitude equal to the area of the parallelogram formed by a and b
- ✅ Direction given by the right-hand rule
⚠️ Important: The cross product is ONLY defined in 3 dimensions. For 2D vectors, you must add a zero third component (z = 0) or use the magnitude formula.
The Formula
For vectors in 3D, the cross product is computed component-wise using a determinant:
Where i, j, k are the unit vectors along the x, y, and z axes.
Expanded Form
For vectors a = (a₁, a₂, a₃) and b = (b₁, b₂, b₃):
Memory Trick: Think of it as "crossing" components:
- x = (down-left) - (right-up) after excluding x
- y = (down-right) - (left-up) after excluding y (note sign!)
- z = (left-down) - (right-up) after excluding z
💡 Mnemonic: "xyz → yz, zx, xy with alternating signs"
Or remember the pattern: a × b = ( (a₂b₃ - a₃b₂), (a₃b₁ - a₁b₃), (a₁b₂ - a₂b₁) )
The Right-Hand Rule
The direction of a × b is determined by the right-hand rule:
How to apply:
- Point your fingers in the direction of a
- Curl them toward b (through the smaller angle)
- Your thumb points in the direction of a × b
Standard basis example:
Index finger = x-axis (i)
Middle finger = y-axis (j)
Thumb = z-axis (k)
📐 Important Consequence: The cross product is anti-commutative:
Swapping the order reverses the direction!
Geometric Interpretation
Magnitude = Area of Parallelogram
The magnitude of the cross product equals the area of the parallelogram formed by the two vectors:
- θ = angle between a and b (0 ≤ θ ≤ π)
- When vectors are parallel (θ = 0° or 180°):
a × b = 0 - When vectors are perpendicular (θ = 90°):
‖a × b‖ = ‖a‖·‖b‖
Example: Unit vectors i and j
The parallelogram (a square) has area = 1.
Perpendicularity
The cross product is always perpendicular to both original vectors:
This makes it incredibly useful for finding normal vectors to surfaces!
Properties of Cross Product
✅ Anti-Commutative
✅ Distributive
✅ Scalar Multiplication
❌ NOT Commutative
(Instead, a × b = -(b × a))
❌ NOT Associative
Instead, they satisfy the Jacobi identity.
Key Identities
Step-by-Step Examples
Example 1: Basic Cross Product
Problem: Find a × b where a = (1, 2, 3) and b = (4, 5, 6)
Step 1: Write vectors as column vectors
Step 2: Compute x-component (a₂b₃ - a₃b₂)
Step 3: Compute y-component (a₃b₁ - a₁b₃)
Step 4: Compute z-component (a₁b₂ - a₂b₁)
Step 5: Combine components
Solution: a × b = (-3, 6, -3)
Check perpendicularity: Dot with a: -3(1) + 6(2) + (-3)(3) = -3 + 12 - 9 = 0 ✓
Example 2: Perpendicular Vectors
Problem: Find i × j (unit vectors along x and y axes)
Step 1: Write vectors
Step 2: Compute components
Solution: i × j = (0, 0, 1) = k
This shows the right-hand rule in action!
Example 3: Parallel Vectors (Zero Result)
Problem: Find a × b where a = (2, 4, 6) and b = (1, 2, 3)
Step 1: Notice b = ½·a, so vectors are parallel
Solution: a × b = (0, 0, 0) (zero vector)
Geometric meaning: Area of parallelogram = 0 (vectors are collinear)
Example 4: 2D Vectors (Add Zero Component)
Problem: Find cross product of 2D vectors a = (2, 3) and b = (4, 1)
Step 1: Convert to 3D by adding z = 0
Step 2: Compute components
Solution: a × b = (0, 0, -10)
Interpretation: The cross product points in the ±z direction with magnitude = area of parallelogram in the xy-plane.
Real-World Applications
🔧 Physics: Torque
Torque (rotational force) is the cross product of position vector and force:
Example: Wrench turning a bolt — torque vector points along the rotation axis.
🌀 Physics: Angular Momentum
Angular momentum is the cross product of position and momentum:
Conserved quantity in rotational motion (e.g., spinning ice skater).
🧲 Physics: Magnetic Force
Force on a charged particle in a magnetic field:
Direction is perpendicular to both velocity and magnetic field.
📐 Geometry: Normal Vectors
Cross product gives a vector perpendicular to a plane defined by two vectors:
Used in computer graphics for lighting calculations and surface orientation.
🎮 Game Development: Rotations
Cross product is used for:
- Finding rotation axes
- Determining if an object is turning left or right
- Implementing camera controls
⚡ Electromagnetism: Poynting Vector
Energy flow in electromagnetic waves:
Points in the direction of wave propagation.
Common Mistakes to Avoid
- ❌ Using cross product in 2D without adding z-component: Add z=0 to both vectors first!
- ❌ Forgetting the negative sign in y-component: The formula is
a₃b₁ - a₁b₃, nota₁b₃ - a₃b₁. - ❌ Assuming commutativity:
a × b ≠ b × a; they are negatives of each other. - ❌ Mixing up order: The magnitude formula uses
sin θ, notcos θ(that's dot product). - ❌ Forgetting that a × a = 0: Any vector cross itself gives zero.
- ❌ Thinking cross product works in higher dimensions: Only defined in 3D (7D has a generalization but it's complex).
⚠️ Common Error Example:
Wrong: Computing a × b for a = (2,3) and treating it as 2D without adding z-component.
Correct: Add z = 0: a = (2,3,0), b = (4,1,0), then compute cross product.
Frequently Asked Questions
Q: Is cross product defined in 2D?
A: Not directly. However, you can treat 2D vectors as 3D vectors with z = 0, and the result will be a vector pointing in the ±z direction. The magnitude gives the area of the parallelogram.
Q: What does the cross product represent geometrically?
A: The magnitude is the area of the parallelogram formed by the two vectors. The direction is perpendicular to both vectors, following the right-hand rule.
Q: When is the cross product zero?
A: When the vectors are parallel (θ = 0° or 180°), or when either vector is zero. This includes cases where one is a scalar multiple of the other.
Q: Is cross product associative?
A: No! (a × b) × c ≠ a × (b × c) in general. They satisfy the Jacobi identity instead.
Q: How do I remember the cross product formula?
A: Use the determinant mnemonic or the cycle pattern: x = y×z, y = z×x, z = x×y with alternating signs.
Q: What's the relationship between dot product and cross product?
A: They're complementary: dot product gives the cosine of the angle (parallel component), cross product gives the sine (perpendicular component). The identity ‖a × b‖² = ‖a‖²‖b‖² - (a·b)² connects them.
Practice Problems
Beginner
-
Find
a × bfora = (1, 0, 0),b = (0, 1, 0) -
Find
a × bfora = (2, 0, 0),b = (0, 3, 0) -
Find
i × k(where i = (1,0,0), k = (0,0,1))
Intermediate
-
Find
a × bfora = (1, 2, 3),b = (2, 3, 4) -
Find the area of the parallelogram formed by
a = (3, 0, 0)andb = (1, 4, 0) -
Find a unit vector perpendicular to both
a = (1, 1, 0)andb = (0, 1, 1)
Advanced
-
Prove that
a × (b × c) = (a·c)b - (a·b)c(vector triple product identity) -
Find the torque applied if
r = (2, 3, 0)meters andF = (10, 0, 0)Newtons. -
For what value of
karea = (2, k, 1)andb = (4, 6, 2)parallel?
Click to reveal solutions
1. (0, 0, 1) = k
2. (0, 0, 6)
3. (-1, 0, 0) = -i
4. (-1, 2, -1)
5. Area = 12 square units
6. (1, -1, 1) (normalized: (1/√3, -1/√3, 1/√3))
7. This is the BAC-CAB identity
8. τ = (0, 0, -20) N·m
9. k = 3 (makes b = 2·a)
Summary
🎯 Key Takeaways
- Cross product a × b produces a vector perpendicular to both a and b
- Formula:
(a₂b₃ - a₃b₂, a₃b₁ - a₁b₃, a₁b₂ - a₂b₁) - Magnitude:
‖a × b‖ = ‖a‖·‖b‖·sinθ= area of parallelogram - Direction: Given by the right-hand rule
- Key property:
a × b = -(b × a)(anti-commutative) - Zero when: vectors are parallel or either is zero
- Only defined in 3D (2D vectors need z=0)
💡 Pro Tip: Remember the cyclic pattern: i × j = k, j × k = i, k × i = j. Moving forward gives positive, backward gives negative!
Try It Yourself!
Use the calculator above to practice cross products:
- Enter your vectors as 3D coordinates (e.g.,
1,2,3for a = (1,2,3)) - Click "Calculate" to see:
- Component-wise cross product computation
- Magnitude of the result
- Verification that result is perpendicular to both inputs
- Area of the parallelogram formed by the vectors
Test these examples:
- Basis vectors:
(1,0,0)×(0,1,0)→(0,0,1) - 2D vectors:
(2,3,0)×(4,1,0)→(0,0,-10) - Parallel vectors:
(2,4,6)×(1,2,3)→(0,0,0) - General 3D:
(1,2,3)×(4,5,6)→(-3,6,-3)
📐 Pro Tip: After computing, check that the dot product of the result with each original vector equals zero — this verifies perpendicularity!