MathClario
← Back to High school
High school📐Geometry●●●○○· 5 min
•

Dot product: the 3 formulas (coordinates, norm×cos, projection)

One number, three ways to compute it. Pick the formula matching what the problem gives you.

Three formulas, one result

Pick the fastest based on what you’re given.

1. From coordinates

u⃗⋅v⃗=xuxv+yuyv\vec{u} \cdot \vec{v} = x_u x_v + y_u y_v

The most useful in practice.

2. From norms and angle

u⃗⋅v⃗=∥u⃗∥×∥v⃗∥×cos⁡(θ)\vec{u} \cdot \vec{v} = \|\vec{u}\| \times \|\vec{v}\| \times \cos(\theta)

where θ\theta is the angle between the vectors.

3. From projection (less common)

If u′⃗\vec{u'} is the orthogonal projection of u⃗\vec{u} onto v⃗\vec{v}: u⃗⋅v⃗=u′⃗⋅v⃗\vec{u} \cdot \vec{v} = \vec{u'} \cdot \vec{v}

Key property: orthogonality

u⃗⊥v⃗  ⟺  u⃗⋅v⃗=0\vec{u} \perp \vec{v} \iff \vec{u} \cdot \vec{v} = 0

This is the perpendicularity test.

Example 1 (coordinates)

u⃗(3,4)\vec{u}(3, 4) and v⃗(−2,5)\vec{v}(-2, 5). u⃗⋅v⃗=3×(−2)+4×5=−6+20=14\vec{u} \cdot \vec{v} = 3 \times (-2) + 4 \times 5 = -6 + 20 = 14.

Example 2 (orthogonality)

Are u⃗(2,3)\vec{u}(2, 3) and v⃗(6,−4)\vec{v}(6, -4) orthogonal? u⃗⋅v⃗=12−12=0\vec{u} \cdot \vec{v} = 12 - 12 = 0. Yes.

Vector norm (bonus)

∥u⃗∥2=u⃗⋅u⃗=xu2+yu2\|\vec{u}\|^2 = \vec{u} \cdot \vec{u} = x_u^2 + y_u^2

So ∥u⃗(3,4)∥=5\|\vec{u}(3, 4)\| = 5.

Common mistakes

  1. Confusing vector and point coordinates: AB⃗=(xB−xA,yB−yA)\vec{AB} = (x_B - x_A, y_B - y_A).
  2. Sign of cos(θ): obtuse angle → cos < 0 → negative dot product.
  3. Norm vs dot product: ∥u⃗∥=u⃗⋅u⃗\|\vec{u}\| = \sqrt{\vec{u} \cdot \vec{u}}, not u⃗⋅u⃗\vec{u} \cdot \vec{u} directly.
?À toi de jouer

What is the dot product of u(5, −2) and v(3, 4)?

Mini-quiz

Question 1 / 3

Dot product of u(2, −3) and v(4, 1)?

#dot product#vectors#orthogonality#grade 11

You might also like