Vector Norms¶
Definition¶
In order to create a notion of the "size" of a vector, we introduce norms. The scalar concepts of magnitude, absolute value, or modulus is generalized to norms for vectors (and matrices).
A common type of norm for vectors is a p-norm, which for an integer \(p\) and an \(n \times 1\) vector \(\mathbf{x}\) is defined as:
The important special cases are:
- 1-norm (or Manhattan norm):
- 2-norm (or Euclidean distance):
- \(\infty\)-norm:
All of the norms give similar qualitative results, but in certain circumstances a particular norm can be easier to work with analytically or computationally. Either the 1-norm or \(\infty\)-norm is usually used in analyzing the sensitivity of solutions to linear systems.
In general, for any vector \(n \times 1\) vector \(\mathbf{x}\), we have
On the other hand we have
Notice that the norms only differ by a given constant \(n\), which means if one norm is small, the others will be proportionately small. Thus, we can choose whichever norm to compute for convenience.
Properties of p-norms¶
For any vector p-norm, the following properties hold for vectors \(\mathbf{x}, \mathbf{y}\).
- \(||\mathbf{x}|| > 0\) if \(\mathbf{x \neq 0}\)
- \(||\gamma \mathbf{x}|| = |\gamma| \cdot ||\mathbf{x}||\) for any scalar \(\gamma\)
- \(||\mathbf{x+y}|| \leq ||\mathbf{x}|| +||\mathbf{y}||\) (triangle inequality)
A useful variation of the triangle inequality is: