-
L1 Norm (Manhattan Distance):
\[d_1(p,q) = \sum_{i=1}^{n} \lvert p_i - q_i \rvert\] \[\|x\|_1 = d_1(p,q)\]
The sum of absolute differences between two points. -
L2 Norm (Euclidean Distance):
\[d_2(p,q) = \sqrt{\sum_{i=1}^{n} (p_i - q_i)^2}\] \[\|x\|_2 = d_2(p,q)\]
The square root of the sum of squared differences.