Vectors & Matrices
Math · Intermediate · Lesson 3 of 7

The Dot Product

Measuring angles with arithmetic

An interactive lesson with 6 steps, about 5 minutes: you predict, drag and solve, with instant feedback on every answer. It runs in your browser and needs JavaScript.

What you’ll learn

  • a⃗⋅b⃗=axbx+ayby=∣a⃗∣∣b⃗∣cos⁡θ\vec a \cdot \vec b = a_xb_x + a_yb_y = |\vec a||\vec b|\cos\theta.
  • A zero dot product means the vectors are perpendicular.
  • Angle between vectors: cos⁡θ=a⃗⋅b⃗∣a⃗∣∣b⃗∣\cos\theta = \frac{\vec a\cdot\vec b}{|\vec a||\vec b|}.

Steps

  1. Scaling first
  2. The dot product
  3. Compute
  4. Perpendicular?
  5. Find the angle
  6. Work as a dot product