Norm

Domain: Math & Logic for AI

🎯 Motivation

The length or magnitude of a vector. L2 norm is the Euclidean length; L1 norm is the sum of absolute values.

📋 Concrete Example

L2 norm of [3, 4] = 5. L1 norm of [3, 4] = 7.

🔗 Analogy

Like measuring the total length of a route - L2 is the crow-flies distance, L1 is the city-block distance.