A vector in is an ordered tuple of real numbers. Norms measure length and inner products measure alignment.
The Euclidean () norm is . Other useful norms include the norm (used in Lasso) and the norm (max absolute deviation).
The inner product measures alignment. Cosine similarity ignores magnitude and just captures direction. The Cauchy-Schwarz inequality bounds , with equality iff the vectors are colinear.
In finance, vectors of asset weights, returns, and factor loadings live in . Norms quantify portfolio risk and turnover; inner products underlie portfolio variance and correlation calculations.