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

uv=u1v1++unvn.

Notation

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

Conditions / Assumptions

Equations

Length

v=vv=v12++vn2.

Angle θ between nonzero vectors

uv=uvcosθ,cosθ=uvuv.

Orthogonality: uv if and only if uv=0 .

Unit vector in the direction of v0 :

v^=vv.

Orthogonal projection of u onto v0 :

projvu=(uvvv)v=(uvv2)v.

The residual uprojvu is orthogonal to v .

Algebraic properties

uv=vu,u(v+w)=uv+uw,(cu)v=c(uv).

Geometric Interpretation

Worked Example

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

uv=3,u=5,v=1, cosθ=35,projvu=311,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 ↩︎