ℓₚ Unit Balls in ℝ²

EEC 351 · Fundamentals of AI/ML · Prof. Parikshit Pareek & Prof. Jitin Singla · IIT Roorkee

The unit ball of the ℓₚ norm is the set of all x with ‖x‖p ≤ 1. As p changes, the shape morphs in a striking way: the diamond (p=1) becomes the circle (p=2), then approaches the square as p→∞. Slide p to watch.

‖x‖p = ( |x1|p + |x2|p )1/p,    ‖x‖∞ = max(|x1|, |x2|)
Circle  ·  p = 2 (Euclidean norm)  ·  smooth, rotationally symmetric

Live values

For a point on the boundary at angle 45°:
x = (—, —)
‖x‖p = 1 (by definition of the unit ball)
‖x‖2 = —
‖x‖1 = —
‖x‖∞ = —

Comparison: all three balls

━━ p = 1   ━━ p = 2   ━━ p = ∞

What to notice during class