• L1 Norm (Manhattan Distance):
    The sum of absolute differences between two points.

    \[d_1(p,q) = \sum_{i=1}^{n} \lvert p_i - q_i \rvert\] \[\|x\|_1 = d_1(p,q)\]
  • L2 Norm (Euclidean Distance):
    The square root of the sum of squared differences.

    \[d_2(p,q) = \sqrt{\sum_{i=1}^{n} (p_i - q_i)^2}\] \[\|x\|_2 = d_2(p,q)\]