← Precalculus

The dot product

Multiply matching parts and add.

Start this lesson

The dot product of ⟨a, b⟩ and ⟨c, d⟩ is ac + bd: multiply matching components and add. The answer is a number, not a vector. A dot product of 0 means the vectors are perpendicular.

Example: ⟨3, −1⟩ · ⟨2, 4⟩

  1. 3 × 2 + (−1) × 4 — Multiply matching parts
  2. 6 − 4
  3. 2 — The dot product is 2

Why it works: The dot product measures how much two arrows point the same way. It is zero exactly when they are at right angles.

Tip: Perpendicular vectors always have a dot product of 0.