A useful concept is that of the dual norm associated with a given vector norm, which is defined by
∥y∥D=x=0max∥x∥Rex∗y.
The maximum is attained because the definition is equivalent to ∥y∥D=max{Rex∗y:∥x∥=1}, in which we are maximizing a continuous function over a compact set. Importantly, the dual of the dual norm is the original norm (Horn and Johnson, 2013, Thm. 5.5.9(c)).
We can rewrite the definition of dual norm, using the homogeneity of vector norms, as
The dual of the p-norm is the q-norm, where p−1+q−1=1, so for the p-norms the inequality (2) becomes the (standard) Hölder inequality,
∣x∗y∣≤∥x∥p∥y∥q,p1+q1=1.
An important special case is the Cauchy–Schwarz inequality,
∣x∗y∣≤∥x∥2∥y∥2.
The notation ∥x∥0 is used to denote the number of nonzero entries in x, even though it is not a vector norm and is not obtained from (1) with p=0. In portfolio optimization, if xk specifies how much to invest in stock k then the inequality ∥x∥0≤k says “invest in at most k stocks”.
In numerical linear algebra, vector norms play a crucial role in the definition of a subordinate matrix norm, as we will explain in the next post in this series.
All norms on Cn are equivalent in the sense that for any two norms ∥⋅∥α and ∥⋅∥β there exist positive constants ν1 and ν2 such that
The 2-norm is invariant under unitary transformations: if Q∗Q=I, then ∥Qx∥2=x∗Q∗Qx=x∗x=∥x∥22.
Care must be taken to avoid overflow and (damaging) underflow when evaluating a vector p-norm in floating-point arithmetic for p=1,∞. One can simply use the formula ∥x∥p=∥(x/∥x∥∞)∥p∥x∥∞, but this requires two passes over the data (the first to evaluate ∥x∥∞). For more efficient one-pass algorithms for the 2-norm see Higham (2002, Sec. 21.8) and Harayama et al. (2021).
References
This is a minimal set of references, which contain further useful references within.