norms and lp norms

norm

  • a real-valued function maps and into a real number
  • denote: , norm = length of the vector (vector of norm 1 = unit vec)
  • is a norm if:
    • IFF
    • for any (triangle inequality)
    • , for any scalar and

lp norms

  • defined as
  • 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) /
  • measures ordinary distance
  • measures distance in a rectangular grid
  • measures peak (absolute) values