Trigonometry

Dot Product

A student compares two arrows that share a starting point.

Dot Product definition

The dot product multiplies matching vector components and adds the products to give a scalar.

In Spanish
producto escalar
Topic
Vectors

Dot Product in a picture

Dot Product diagramMultiply first components together and second components together, then add.(2, 3) · (4, −1)Two vectors2 × 4 + 3 × (−1)Component products5Scalar result
Multiply first components together and second components together, then add.

How it works

For two-dimensional vectors (a, b) and (c, d), the dot product is ac + bd. For two nonzero vectors with angle θ between them, it also equals the product of their magnitudes times cos θ. Nonzero vectors are perpendicular exactly when their dot product is zero.

Worked examples

Find (1, 2) · (3, 4).

1 × 3 + 2 × 4 = 11.

Are (1, 2) and (2, −1) perpendicular?

Yes, because the dot product is 2 − 2 = 0.

Two vectors have lengths 3 and 4 and angle 60°. Find the dot product.

3 × 4 × cos 60° = 6.

Common mistake

The dot product gives a scalar. Add the component products rather than leaving them as a vector.

Quick check

What is v · v?

Show answer

The square of the magnitude of v.

Is the dot product commutative?

Show answer

Yes.

What is the dot product with the zero vector?

Show answer

Zero.

Sources

Flashcard

Dot Product

Reveal the definition

The dot product multiplies matching vector components and adds the products to give a scalar.

Effortless Math. “Dot Product.” Math Dictionary.