What Is the Product of Vectors?
The product of vectors is the operation of multiplying two vectors together, and it takes one of two forms depending on what you need to know. The dot product (also called the scalar product) multiplies two vectors and returns a single number. The cross product (also called the vector product) multiplies two vectors and returns a new vector perpendicular to both.
There is no third "ordinary" multiplication of vectors and no division of vectors at all. The reason is that a vector carries both size and direction, so "multiply" has to decide what to do with the directions. The dot product collapses the two directions into one number through the cosine of the angle between them; the cross product builds a brand-new direction out of them through the sine. Everything else in this article is detail hanging off that one fork.
What Are the Two Types of Product of Vectors?
The two types are the dot product and the cross product. They differ in three ways at once — the operator symbol, the trig function inside, and the type of answer that comes out.
Feature | Dot product (scalar product) | Cross product (vector product) |
|---|---|---|
Symbol | $\vec{a} \cdot \vec{b}$ | $\vec{a} \times \vec{b}$ |
Formula | $|\vec{a}||\vec{b}|\cos\theta$ | $|\vec{a}||\vec{b}|\sin\theta , \hat{n}$ |
Result | a scalar (number) | a vector (perpendicular to both) |
Commutative? | yes, $\vec{a}\cdot\vec{b} = \vec{b}\cdot\vec{a}$ | no, $\vec{a}\times\vec{b} = -(\vec{b}\times\vec{a})$ |
Zero when | vectors are perpendicular | vectors are parallel |
Defined in | 2D and 3D (any dimension) | 3D (and 7D) only |
Notice the last two rows mirror each other. The dot product vanishes exactly when the cross product is largest (perpendicular vectors), and the cross product vanishes exactly when the dot product is largest (parallel vectors). They are reading two complementary halves of the same geometric relationship.
The dot product, in brief
The dot product takes $\vec{a}$ and $\vec{b}$ and returns $|\vec{a}||\vec{b}|\cos\theta$ — a number measuring how much one vector points along the other. In component form, for $\vec{a} = (a_1, a_2, a_3)$ and $\vec{b} = (b_1, b_2, b_3)$:
$$\vec{a} \cdot \vec{b} = a_1 b_1 + a_2 b_2 + a_3 b_3.$$
Because $\cos 90° = 0$, the dot product is zero precisely when the two vectors are perpendicular — which is why it's the standard test for a right angle. This article keeps the dot product brief on purpose; the full treatment, including projection, the angle formula, and every property, lives in the dot product deep-dive.
The cross product, in brief
The cross product takes $\vec{a}$ and $\vec{b}$ and returns a vector of magnitude $|\vec{a}||\vec{b}|\sin\theta$ pointing perpendicular to the plane the two vectors sit in, with direction set by the right-hand rule. In component form:
$$\vec{a} \times \vec{b} = (a_2 b_3 - a_3 b_2,; a_3 b_1 - a_1 b_3,; a_1 b_2 - a_2 b_1).$$
The same calculation is usually written as a determinant — the layout in our dot and cross product walkthrough shows the $\hat{i}, \hat{j}, \hat{k}$ expansion step by step. Because $\sin 0° = 0$, the cross product is the zero vector exactly when the two vectors are parallel.
When Do You Use the Dot Product vs the Cross Product?
Reach for the dot product when the question is about alignment — how much of one vector lies along another — and reach for the cross product when the question is about turning or area — something that needs a new direction.
Use the dot product to find an angle. Rearranging $\vec{a}\cdot\vec{b} = |\vec{a}||\vec{b}|\cos\theta$ gives $\cos\theta$ directly, so any "angle between two vectors" problem is a dot-product problem.
Use the dot product to test perpendicularity. If $\vec{a}\cdot\vec{b} = 0$ and neither vector is zero, the two are at right angles.
Use the dot product for work and projection. Work is force dotted with displacement; a projection asks "how much of $\vec{a}$ points along $\vec{b}$," which is exactly what the dot product measures.
Use the cross product for torque and rotation. Torque is the lever arm crossed with the force — the result's direction is the axis the object spins around.
Use the cross product for area. The magnitude $|\vec{a}\times\vec{b}|$ equals the area of the parallelogram the two vectors span, so half of it is the area of the triangle they form.
Use the cross product to find a perpendicular direction. Need a vector at right angles to two others — a surface normal in graphics, say — cross them.
A quick way to keep the split straight: cosine measures togetherness, sine measures apartness. The dot product runs on cosine, so it peaks when the vectors agree; the cross product runs on sine, so it peaks when they're at right angles.
Examples of Product of Vectors
The examples below progress from a clean dot product through a cross product, the wrong-path slip students hit most, an angle calculation, an area application, and finally the scalar triple product. Numbers stay small so the operations stay visible.
Example 1
Find the dot product of $\vec{a} = (2, 3, 1)$ and $\vec{b} = (4, -1, 5)$.
Multiply matching components and add:
$$\vec{a} \cdot \vec{b} = (2)(4) + (3)(-1) + (1)(5) = 8 - 3 + 5 = 10.$$
Final answer: $\vec{a}\cdot\vec{b} = 10$. The positive result tells you the two vectors point broadly the same way.
Example 2
A common slip — find the cross product of $\vec{a} = (1, 2, 0)$ and $\vec{b} = (3, 0, 0)$.
Wrong attempt. A student multiplies matching components the way the dot product does: $(1)(3), (2)(0), (0)(0) = (3, 0, 0)$, and calls that the cross product. Check it against what a cross product must do: the answer is supposed to be perpendicular to both inputs, yet $(3,0,0)$ is parallel to $\vec{b}$, not perpendicular to it. So the component-by-component shortcut cannot be the cross product.
Correct. The cross product uses the difference pattern $(a_2 b_3 - a_3 b_2,; a_3 b_1 - a_1 b_3,; a_1 b_2 - a_2 b_1)$:
$$\vec{a} \times \vec{b} = \big((2)(0)-(0)(0),;(0)(3)-(1)(0),;(1)(0)-(2)(3)\big) = (0, 0, -6).$$
Final answer: $\vec{a}\times\vec{b} = (0, 0, -6)$. This points straight down the $z$-axis, perpendicular to both inputs (which lie in the $xy$-plane) — exactly what a cross product should produce.
Example 3
Are $\vec{a} = (2, -1, 3)$ and $\vec{b} = (1, 5, 1)$ perpendicular?
Take the dot product:
$$\vec{a}\cdot\vec{b} = (2)(1) + (-1)(5) + (3)(1) = 2 - 5 + 3 = 0.$$
Final answer: the dot product is $0$, so yes — the vectors are perpendicular. No angle calculation needed; a zero dot product is the test.
Example 4
Find the angle between $\vec{a} = (1, 0, 0)$ and $\vec{b} = (1, 1, 0)$.
First the dot product: $\vec{a}\cdot\vec{b} = (1)(1) + 0 + 0 = 1$. Then the magnitudes: $|\vec{a}| = 1$ and $|\vec{b}| = \sqrt{1^2 + 1^2} = \sqrt{2}$. Now solve for the angle:
$$\cos\theta = \frac{\vec{a}\cdot\vec{b}}{|\vec{a}||\vec{b}|} = \frac{1}{1 \cdot \sqrt{2}} = \frac{1}{\sqrt{2}}.$$
Final answer: $\theta = 45°$. The dot product carried the whole calculation.
Example 5
Find the area of the parallelogram spanned by $\vec{a} = (3, 0, 0)$ and $\vec{b} = (0, 4, 0)$.
The area is the magnitude of the cross product. Here:
$$\vec{a}\times\vec{b} = (0\cdot 0 - 0\cdot 4,; 0\cdot 0 - 3\cdot 0,; 3\cdot 4 - 0\cdot 0) = (0, 0, 12).$$
So $|\vec{a}\times\vec{b}| = 12$.
Final answer: area $= 12$ square units — which matches the $3 \times 4$ rectangle these two perpendicular vectors obviously frame. The triangle they form has half that area, $6$.
Example 6
Find the scalar triple product $\vec{a}\cdot(\vec{b}\times\vec{c})$ for $\vec{a} = (1,0,0)$, $\vec{b} = (0,1,0)$, $\vec{c} = (0,0,1)$.
This combines both products: cross two vectors, then dot with the third. First $\vec{b}\times\vec{c} = (1\cdot1 - 0\cdot0,; 0\cdot0 - 0\cdot1,; 0\cdot0 - 1\cdot0) = (1, 0, 0)$. Then:
$$\vec{a}\cdot(\vec{b}\times\vec{c}) = (1)(1) + (0)(0) + (0)(0) = 1.$$
Final answer: $1$ — the volume of the unit cube these three vectors span. The scalar triple product gives the volume of the parallelepiped built on three vectors, which is why a result of zero means the three are coplanar.
What Makes the Two Products Worth Inventing
"Communication, rotation, and force needed a language."
The two products weren't invented as abstract algebra. They were pulled out of physics, where the same two questions kept recurring: how much do these two quantities cooperate, and what new direction do they generate together. The history runs through the quaternions of the 1840s, which packed both ideas into one object before Gibbs and Heaviside split them into the cleaner dot and cross products we teach today.
Where each one earns its keep:
Work and energy — physics defines work as force dotted with displacement. Push a box at an angle, and only the part of the force along the motion does work; the dot product extracts exactly that part.
Torque and spin — tightening a bolt, the turning effect is the lever arm crossed with the force. The cross product's direction is the axis of rotation, which is why a longer wrench (bigger lever arm) turns the bolt harder.
Computer graphics — every lit surface in a 3D game needs a normal vector, computed as the cross product of two edges of a triangle. The dot product of that normal with the light direction then sets how bright the surface looks.
Navigation and geometry — the dot product measures distances and angles between mapped points; the cross product finds the area of land parcels and tests whether three points are collinear.
This is the Blitzkrieg view — the destination before the drill. A student who sees that one product runs a physics engine's lighting and the other runs its rotations rarely asks "when will I use this." Both sit under the broader idea of vector multiplication, which is where the component mechanics get the full step-by-step treatment.
Tripping Points to Avoid
Mistake 1: Treating the cross product like the dot product
Where it slips in: A student computes $\vec{a}\times\vec{b}$ by multiplying matching components and adding — borrowing the dot-product recipe.
Don't do this: Write $\vec{a}\times\vec{b} = a_1 b_1 + a_2 b_2 + a_3 b_3$. That's the dot product, and it returns a number — but the cross product must return a vector.
The correct way: Use the difference pattern $(a_2 b_3 - a_3 b_2,; a_3 b_1 - a_1 b_3,; a_1 b_2 - a_2 b_1)$, or set it up as a determinant. The answer is a vector, perpendicular to both inputs.
Mistake 2: Forgetting the cross product is not commutative
Where it slips in: Swapping the order of the vectors in a cross product and expecting the same answer, the way you can with a dot product.
Don't do this: Assume $\vec{a}\times\vec{b} = \vec{b}\times\vec{a}$. It doesn't — the result flips direction.
The correct way: Keep the order the problem gives you. $\vec{b}\times\vec{a} = -(\vec{a}\times\vec{b})$ — same magnitude, opposite direction. Order matters because the right-hand rule cares which vector you sweep from.
Mistake 3: Mixing up which product is zero when
Where it slips in: Concluding two vectors are parallel because their dot product is zero, or perpendicular because their cross product is zero.
Don't do this: Swap the two conditions. They are exact opposites.
The correct way: A zero dot product means perpendicular (cosine of $90°$ is zero). A zero cross product means parallel (sine of $0°$ is zero). The second-guesser who's seen both rules often picks the wrong one under time pressure — anchoring on "cosine peaks when aligned" keeps it straight.
Key Takeaways
The product of vectors splits into two operations: the dot product (returns a scalar) and the cross product (returns a vector).
The dot product $\vec{a}\cdot\vec{b} = |\vec{a}||\vec{b}|\cos\theta$ measures alignment and is zero for perpendicular vectors.
The cross product $\vec{a}\times\vec{b} = |\vec{a}||\vec{b}|\sin\theta,\hat{n}$ measures the area they span and is zero for parallel vectors.
Use the dot product for angles, work, and projections; use the cross product for torque, area, and perpendicular directions.
The cross product is not commutative — swapping the order flips the sign — while the dot product is.
Three vectors combine through the scalar triple product to give a volume.
Practice These Before Moving On
Find the dot product of $\vec{a} = (3, -2, 1)$ and $\vec{b} = (1, 4, 2)$.
Find the cross product $\vec{a}\times\vec{b}$ for $\vec{a} = (1, 0, 2)$ and $\vec{b} = (0, 3, 0)$, and confirm it is perpendicular to both.
Find the angle between $\vec{a} = (1, 1, 0)$ and $\vec{b} = (0, 1, 1)$.
Answer to Question 1: $3 - 8 + 2 = -3$. Answer to Question 2: $(-6, 0, 3)$. Answer to Question 3: $\cos\theta = \tfrac{1}{2}$, so $\theta = 60°$. If Question 2 sent you to component-by-component multiplication, return to Mistake 1 above.
Want a live Bhanzu trainer to walk through more product of vectors problems? Book a free demo class — online globally.
Was this article helpful?
Your feedback helps us write better content
