norms and lp norms
norm
- a real-valued function maps and x∈Rn into a real number
- denote: ∣∣x∣∣, norm = length of the vector (vector of norm 1 = unit vec)
- ∣∣x∣∣ is a norm if:
- ∥x∥≥0 ∀x∈X,∣∣x∣∣=0 IFF x=0
- ∥x+y∥≤∥x∥+∥y∥, for any x,y∈X (triangle inequality)
- ∣∣αx∣∣=∣α∣.∣∣x∣∣, for any α scalar and x∈X
lp norms
- defined as ∥x∥p≐(∑k=1n∣xk∣p)1/p,1≤p<∞
- p = 2: standard Euclidean length
- p = 1: sum-of-absolute-values length
- p = ∞: max absolute value norm / Chebyshev norm
- p = 0: pseudo norm / the cardinality (number of non-zero elements) / ℓp
unit balls associated with popular lp norms

- I2 measures ordinary distance
- I1 measures distance in a rectangular grid
- I∞ measures peak (absolute) values