# Multiplication of Vectors — Dot & Cross Product Explained

[Algebra](/content/tag/algebra/index.html)

## TL;DR

Two non-zero vectors can be multiplied in two ways: the dot product (a scalar), which measures how much one vector projects onto the other; and the cross product (a vector), which produces a third vector perpendicular to both with magnitude equal to the parallelogram area they span.

BT

[Bhanzu Team](/content/authors/bhanzu-team/index.html) Last updated on May 27, 2026 10 min read

## Why "Multiplying Vectors" Means Two Different Things

When you multiply two numbers, you get a number. When you multiply two vectors, you have to choose what kind of answer you want — a number or another vector. That choice gives two completely different operations.

- **Dot product (scalar product)** — answer is a single number. Measures alignment.

- **Cross product (vector product)** — answer is a vector perpendicular to both inputs. Measures the area they span and which way is "up" from that area.

Both operations are useful; they answer different questions about the same pair of vectors.

## The Dot Product — Scalar Multiplication of Vectors

**Geometric formula.** For vectors \( \mathbf{a} \) and \( \mathbf{b} \) with angle \( \theta \) between them:

\[ \mathbf{a} \cdot \mathbf{b} = \|\mathbf{a}\|,\|\mathbf{b}\|\cos\theta. \]

**Component formula** (in 3D). For \( \mathbf{a} = (a_1,a_2,a_3) \) and \( \mathbf{b} = (b_1,b_2,b_3) \):

\[ \mathbf{a} \cdot \mathbf{b} = a_1 b_1 + a_2 b_2 + a_3 b_3. \]

What the dot product tells you:

- **Sign.** Positive means the vectors point in roughly the same direction; negative means opposite directions; zero means perpendicular.

- **Magnitude.** Maximum (positive) when vectors are parallel; zero when perpendicular.

- **Projection.** \( \mathbf{a} \cdot \mathbf{b} = \|\mathbf{a}\|,\|\text{projection of } \mathbf{b} \text{ onto } \mathbf{a}\| \).

### Properties at a glance

| Property               | Statement                                                     | Example                                                 |
|-----------------------|--------------------------------------------------------------|---------------------------------------------------------|
| **Commutative**       | \( \mathbf{a} \cdot \mathbf{b} = \mathbf{b} \cdot \mathbf{a} \) | Order doesn't matter                                     |
| **Distributive**      | \( \mathbf{a} \cdot (\mathbf{b} + \mathbf{c}) = \mathbf{a} \cdot \mathbf{b} + \mathbf{a} \cdot \mathbf{c} \) | Distributes over vector addition                          |
| **Self dot product**  | \( \mathbf{a} \cdot \mathbf{a} = \|\mathbf{a}\|^2 \)  | Vector dotted with itself is its magnitude squared      |
| **Perpendicularity test** | \( \mathbf{a} \cdot \mathbf{b} = 0 \) ⇔  vectors are perpendicular (or one is zero) | The most-used test in coordinate geometry                |

## The Cross Product — Vector Multiplication of Vectors

**Geometric formula.** For vectors \( \mathbf{a} \) and \( \mathbf{b} \) with angle \( \theta \) between them:

\[ \mathbf{a} \times \mathbf{b} = \|\mathbf{a}\|,\|\mathbf{b}\|\sin\theta,\hat{\mathbf{n}} \]

where \( \hat{\mathbf{n}} \) is the unit vector perpendicular to both \( \mathbf{a} \) and \( \mathbf{b} \), with direction given by the **right-hand rule** (curl your right-hand fingers from \( \mathbf{a} \) to \( \mathbf{b} \); your thumb points along \( \hat{\mathbf{n}} \)).

**Component formula** (in 3D). For \( \mathbf{a} = (a_1,a_2,a_3) \) and \( \mathbf{b} = (b_1,b_2,b_3) \):

\[ \mathbf{a} \times \mathbf{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). \]

### Properties at a glance

| Property               | Statement                                         |
|-----------------------|--------------------------------------------------|
| **Anti-commutative**  | \( \mathbf{a} \times \mathbf{b} = -(\mathbf{b} \times \mathbf{a}) \) | Order flips the sign                            |
| **Distributive**      | \( \mathbf{a} \times (\mathbf{b} + \mathbf{c}) = \mathbf{a} \times \mathbf{b} + \mathbf{a} \times \mathbf{c} \) | Distributes over vector addition                 |
| **Self cross product** | \( \mathbf{a} \times \mathbf{a} = \mathbf{0} \) | Zero vector — the angle between a vector and itself is zero, so \( \sin\theta = 0 \) |
| **Magnitude = area**   | $ |

## Dot Product vs Cross Product — Side by Side

| Feature               | Dot product                     | Cross product       |
|-----------------------|---------------------------------|---------------------|
| **Notation**          | \( \mathbf{a} \cdot \mathbf{b} \) | \( \mathbf{a} \times \mathbf{b} \) |
| **Result type**       | Scalar (number)                | Vector              |
| **Geometric meaning** | Measures alignment / projection | Perpendicular vector; magnitude = parallelogram area |
| **Trig involved**     | \( \cos\theta \)             | \( \sin\theta \)   |
| **Order matters?**    | No                            | Yes                |
| **Works in 2D?**      | Yes                          | Only in 3D          |
| **Used for**          | Work done by a force; angle between vectors; testing perpendicularity | Torque; magnetic force; surface normals; testing parallel |

## Three Worked Examples — Quick, Standard, Stretch

### **Quick.** Find the dot product of \( \mathbf{a} = (3,4,0) \) and \( \mathbf{b} = (1,2,5) \).

\[ \mathbf{a} \cdot \mathbf{b} = (3)(1)+(4)(2)+(0)(5) = 3+8+0 = 11. \]

**Final answer:** \( \mathbf{a} \cdot \mathbf{b} = 11 \).

### **Standard.** Find the cross product of \( \mathbf{a} = (1,2,3) \) and \( \mathbf{b} = (4,5,6) \).

Computing:

- iii-component: \( (2)(6)−(3)(5)=12−15=−3 \)
- jjj-component: \( (3)(4)−(1)(6)=12−6=6 \)
- kkk-component: \( (1)(5)−(2)(4)=5−8=−3 \)

**Final answer:** \( \mathbf{a} \times \mathbf{b} = (-3, 6, -3) \).

## Why Vector Multiplication Matters

Most of physics, engineering, and 3D graphics runs on dot and cross products.

- **Work and energy.** Work done by a force is \( W = \mathbf{F} \cdot \mathbf{d} \) — a dot product. Force perpendicular to motion does no work (the dot product is zero). Force aligned with motion does maximum work.

- **Torque and rotation.** Torque is \( \boldsymbol{\tau} = \mathbf{r} \times \mathbf{F} \) — a cross product. The torque vector points along the axis of rotation; its magnitude tells you how strongly the force tends to rotate the object.

- **Magnetic force on a moving charge.** \( \mathbf{F} = q \mathbf{v} \times \mathbf{B} \). The force on a charged particle in a magnetic field is perpendicular to both velocity and the field.

- **Computer graphics.** Every surface normal in a 3D scene is computed as a cross product of two edge vectors. Lighting models use the dot product between the surface normal and the light direction to decide how bright each point is.

- **Engineering — moments of forces.** Structural analysis of beams and trusses leans on the cross product for moments and the dot product for projecting forces along structural axes.

## The Mathematicians Who Shaped Vector Multiplication

Vectors did not arrive in mathematics in their modern form. They were assembled from two competing 19th-century systems.

- **William Rowan Hamilton (Ireland, 1805–1865)** invented **quaternions** in 1843 — a 4-dimensional algebra.

- **Hermann Grassmann (Germany, 1809–1877)** developed the exterior algebra in 1844.

- **J. Willard Gibbs (United States, 1839–1903)** and **Oliver Heaviside** split Hamilton's quaternion multiplication into dot and cross products as separate operations in the 1880s.

## Where Things Go Sideways on Vector Multiplication

### **Mistake 1: Treating the cross product as commutative.**

**Correct way:** The cross product is **anti-commutative**: \( \mathbf{b} \times \mathbf{a} = - (\mathbf{a} \times \mathbf{b}) \).

### **Mistake 2: Using the wrong trig in each formula.**

**Correct way:** **Dot** → **cosine.** **Cross** → **sine.**

### **Mistake 3: Forgetting the right-hand rule when finding the cross-product direction.**

**Correct way:** There are two perpendicular directions; the right-hand rule picks one.

## Conclusion

- Dot product measures alignment; cross product measures perpendicular area.
- Dot product is commutative; cross product is anti-commutative.

## Sharpen Your Vector Multiplication — Three Practice Problems

1. Compute \( \mathbf{a} \cdot \mathbf{b} \) for \( \mathbf{a} = (2,-1,3) \) and \( \mathbf{b} = (4,1,-2) \).
2. Compute \( \mathbf{a} \times \mathbf{b} \) for the same vectors. Verify that the result is perpendicular to \( \mathbf{a} \).
3. Use a single cross-product computation to determine if the vectors \( (1,2,3) \) and \( (2,4,6) \) are parallel.
