Vectors and Dot Product

Summary

Vectors encode magnitude and direction. The dot product measures alignment: it yields lengths, angles, and orthogonal projections, and is the bridge from analytic geometry to linear algebra orthogonality.

Prerequisites

Distance and Midpoint. Helpful: Trigonometry. Hub: Analytic Geometry.

Object / Concept

A vector in Rn is an ordered n -tuple v=⟨v1,…,vn⟩ (equivalently a column). Vectors add componentwise and scale by real numbers.

The dot product (standard inner product) of u=⟨u1,…,un⟩ and v=⟨v1,…,vn⟩ is

u⋅v=u1v1+⋯+unvn.

Notation

Symbol Meaning
u,v,w vectors
|v| Euclidean norm (length) of v
u⋅v dot product
projvu orthogonal projection of u onto v
0 zero vector

Conditions / Assumptions

Equations

Length

∥v∥=v⋅v=v12+⋯+vn2.

Angle θ between nonzero vectors

u⋅v=∥u∥∥v∥cos⁡θ,cos⁡θ=u⋅v∥u∥∥v∥.

Orthogonality: u⊥v if and only if u⋅v=0 .

Unit vector in the direction of v≠0 :

v^=v∥v∥.

Orthogonal projection of u onto v≠0 :

projvu=(u⋅vv⋅v)v=(u⋅v∥v∥2)v.

The residual u−projvu is orthogonal to v .

Algebraic properties

u⋅v=v⋅u,u⋅(v+w)=u⋅v+u⋅w,(cu)⋅v=c(u⋅v).

Geometric Interpretation

Worked Example

Let u=⟨3,4⟩ and v=⟨1,0⟩ .

u⋅v=3,∥u∥=5,∥v∥=1, cos⁡θ=35,projvu=31⟨1,0⟩=⟨3,0⟩.

Common Mistakes

Connections

References

Vector algebra and the dot product follow OpenStax Calculus Volume 3.[1]


  1. OpenStax, Calculus Volume 3, https://openstax.org/details/books/calculus-volume-3 ↩︎