Length, Distance, Dot Product, and Orthogonality
Measure vector geometry with the dot product. Visualize lengths, distances, angles, orthogonality, and orthogonal complements.
Big idea: dot product turns vectors into geometry
The dot product measures length, distance, angle, perpendicularity, and similarity.
Length
$\|u\|=\sqrt{u\cdot u}$
Distance
$\operatorname{dist}(u,v)=\|u-v\|$
Angle
$\cos\theta=\dfrac{u\cdot v}{\|u\|\|v\|}$
Dot product facts
Algebraic
The dot product is symmetric, distributive, and positive: $u\cdot u\ge0$.
Geometric
$u\cdot v=0$ means $u$ and $v$ are orthogonal, assuming both are nonzero.
Geometry measurement lab
dot · norm · distanceAngle, similarity, and Cauchy--Schwarz
For nonzero vectors, the angle is determined by
Cosine similarity meter
$-1$ to $1$Move the slider to rotate $v$ relative to $u=(1,0)$. The output is $\cos\theta$.
Orthogonal complements
The orthogonal complement of a subspace contains all vectors perpendicular to every vector in the subspace.
Line and orthogonal complement in $\mathbb R^2$
perpendicular lineChapter summary
Dot product
A number measuring alignment.
Orthogonal
Dot product zero.
Normalize
Divide by length to get a unit vector.
Quick check
If $u\cdot v=0$ and both vectors are nonzero, what does it mean?