AAMathNote

Vector Norm on n

Yun-Hao Lee, Cheng-Han Huang

Credit: David Jakab from Pexels


1. Vector Norm on n

Definition 1.1. A norm on n is a function : n satisfying the following

  • (nonnegativity) ||x|| 0 for any x n and ||x|| = 0 if and only if x = 0.
  • (positivity homogeneity) ||λx|| = |λ|||x|| for any x n and λ .
  • (triangle inequality) ||x + y||||x|| + ||y|| for any x,y n.

Definition 1.2 (lp norm). The lp norm (p 1) is defined by

||x||p = i=1n|x i|pp

Example 1.3. The l1 norm for a vector x n is computed by

||x||1 = i=1n|x i| = |x1| + |x2| + ... + |xn|

and is usually called Manhattan distance.

Example 1.4. The Euclidean norm on n, defined by

||x|| = i=1n|xi|2

is l2 norm.

Example 1.5. We can compute l norm by ||x|| = max1in|xi|.

PIC

Proposition 1.6. If 0 < p < 1 and 2 n  , i=1n|xi|pp is not a norm. One may check the property by giving a counterexample of two elements that does not satisfy the triangle inequality.

Proposition 1.7. lim p||x||p = ||x||

Theorem 1.8. (Cauchy-Schwarz inequality) For any x,y n, we have
|xT y|||x||2 ×||y||2. Equality holds if and only if y = 0 or x = ry for some r .

Proof. If y = 0, clearly equality hols. Suppose y0. Then

0 x x,y ||y||22y,x x,y ||y||22y = x,x 2( x,y ||y||22x,y) + x,y2 ||y||24 y,y = x,xx,y2 ||y||22 x,y2 ||y||22 x,xx,y2 ||x|| 22||y|| 22|x,y|||x||×||y|| |xT y|||x||×||y||

Check that if x = ry, then equality holds.
RHS of the above inequality is |xT y| = |r|||y||22; LHS of the above inequality is ||x||2 ×||y||2 = ||ry||2 ×||y||2 = |r|||y||22. Therefore equality holds.
Conversely, condition of equality can be obtained by straightforward computation from 0 = x x,y ||y||22y,x x,y ||y||22y.

Reference:

  • Beck, A. (2014). Introduction to nonlinear optimization: Theory, algorithms, and applications with MATLAB. Society for Industrial and Applied Mathematics.

Copyright© 2022 - AAMathNote
Powered by w3.css