Definition:
- A norm on Rn is a real-valued function with special properties that maps any element x∈Rn into a real number (denoted by ∣∣x∣∣)
- Must satisfy 3 conditions:
- ∥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 norm:
- ∣∣ . ∣∣p=Rn→R
- Defined as ∣x∣p≐(k=1∑n∣xk∣p)1/p,1≤p<∞
p=2:
p=1:
- sum-of-absolute-values length
- ∣x∣1≐∑k=1n∣xk∣
- ∣∣x∣∣1=1 forms a diamond
p=0:
- pseudo norm/the cardinality (number of non-zero elements)
- not a norm as it doesnt satisfy the last condition
p= ∞:
- max absolute value norm / Chebyshev Norm
- ∣x∣∞≐maxk=1,…,n∣xk∣
- ∣∣x∣∣∞=1 forms a square