Measure Concentration
Vectors in this setting are column vectors in finite dimensional Euclidean spaces.
One Vector, Several Measurements
Many later arguments take a vector as input and then measure or compare it. The vector itself does not change when we choose a measurement rule. What changes is the feature we ask the rule to emphasize: geometric length, the total magnitude across coordinates, or the single largest coordinate magnitude.
Use the vector u = (2, −1, 3) as a running example. Three norms inspect this same vector differently: the Euclidean norm combines squared coordinate magnitudes and takes a square root, the ℓ1 norm adds coordinate magnitudes, and the ℓ∞ norm keeps only the largest coordinate magnitude.
Column Coordinates in R^d
The setting is finite-dimensional Euclidean space. A vector with d coordinates belongs to R^d. In this chapter, vectors are written as column vectors, so their coordinates are arranged vertically rather than across a row. The symbol d records how many coordinates the vector has; it does not change the fact that the vector is represented as one vertical object.
Combining Two Vectors
For two vectors u and v in R^d, their inner product is written as ⟨u, v⟩. It combines corresponding coordinates: multiply the first coordinates, multiply the second coordinates, and continue through coordinate d. Adding those coordinatewise products produces one scalar. The inner product therefore connects two vectors rather than measuring only one vector by itself.
⟨u, v⟩ = u₁v₁ + u₂v₂ + ⋯ + u_dv_dAn inner product calculation
Calculate the inner product of u = (2, −1, 3) and v = (1, 4, 2).
Match coordinates: Pair the first coordinates, the second coordinates, and the third coordinates.
Multiply pairs: The coordinate products are 2·1, (−1)·4, and 3·2.
Add the products: The inner product is 2 − 4 + 6.
⟨u, v⟩ = 4
Euclidean Length from Self-Combination
When the two inputs to the inner product are the same vector, the result contains the squared coordinate magnitudes. Taking the square root converts that quantity into the Euclidean norm, also called the ℓ2 norm. Thus, the inner product supplies the quantity inside the square root.
∥u∥₂ = √⟨u, u⟩
Euclidean norm of u
Calculate the Euclidean norm of u = (2, −1, 3) from its inner product with itself.
Form the self-inner-product: ⟨u, u⟩ = 2² + (−1)² + 3².
Evaluate the squared magnitudes: The sum is 4 + 1 + 9 = 14.
Take the square root: The Euclidean norm is √14.
∥u∥₂ = √14
Three Ways to Measure u
The ℓ2, ℓ1, and ℓ∞ norms use different rules on the same coordinates. The ℓ2 norm reflects overall geometric length by combining squared coordinate magnitudes and taking a square root. The ℓ1 norm totals the magnitudes of all coordinates. The ℓ∞ norm keeps only the largest coordinate magnitude.
∥u∥₁ = |u₁| + |u₂| + ⋯ + |u_d|∥u∥∞ = max{|u₁|, |u₂|, …, |u_d|}The ℓ1 and ℓ∞ norms of u
Calculate the ℓ1 norm and ℓ∞ norm of u = (2, −1, 3).
Find coordinate magnitudes: The absolute values are |2| = 2, |−1| = 1, and |3| = 3.
Calculate ℓ1: Add every coordinate magnitude: 2 + 1 + 3 = 6.
Calculate ℓ∞: Keep only the largest coordinate magnitude: max{2, 1, 3} = 3.
∥u∥₁ = 6 and ∥u∥∞ = 3
A Reliable Calculation Order
- First identify the requested measurement: inner product, ℓ2 norm, ℓ1 norm, or ℓ∞ norm.
- For an inner product, pair corresponding coordinates, multiply each pair, and add the products.
- For the ℓ2 norm, use the vector with itself in the inner product and then take the square root.
- For the ℓ1 norm, take the absolute value of every coordinate and add all those magnitudes.
- For the ℓ∞ norm, take the absolute value of every coordinate and select the largest magnitude.
- Before finalizing the result, check whether the rule uses all coordinates, squared magnitudes, or only one largest magnitude.
Using the largest coordinate itself for the ℓ∞ norm.
The ℓ∞ norm uses the largest coordinate magnitude, not the coordinate with a particular sign.
Fix:
Compare 2, 1, and 3 after taking absolute values. The result is 3.Adding signed coordinates for the ℓ1 norm.
The ℓ1 norm totals coordinate magnitudes.
Fix:
Compute |2| + |−1| + |3| = 6.Stopping at the self-inner-product when the question asks for the Euclidean norm.
The self-inner-product supplies the quantity inside the square root.
Fix:
Take the square root after calculating ⟨u, u⟩, giving ∥u∥₂ = √14.Treating the three norms as measurements of three different vectors.
The vector remains the same; only the measurement rule changes.
Fix:
Keep the coordinates fixed and apply the requested norm definition.
Practice Check
Let w = (−2, 0, 4). Calculate ⟨w, w⟩, ∥w∥₂, ∥w∥₁, and ∥w∥∞. Then state which feature of w each norm emphasizes.
Hints
- For ⟨w, w⟩, square each coordinate and add the results.
- For ∥w∥₂, take the square root of ⟨w, w⟩.
- For ∥w∥₁ and ∥w∥∞, use the absolute coordinate values 2, 0, and 4.
Practice check solution
For w = (−2, 0, 4), calculate the self-inner-product and the three norms.
Self-inner-product: ⟨w, w⟩ = (−2)² + 0² + 4² = 20.
Euclidean norm: ∥w∥₂ = √20.
ℓ1 norm: ∥w∥₁ = |−2| + |0| + |4| = 6.
ℓ∞ norm: ∥w∥∞ = max{2, 0, 4} = 4.
⟨w, w⟩ = 20, ∥w∥₂ = √20, ∥w∥₁ = 6, and ∥w∥∞ = 4.
Key Takeaways
- Vectors in this chapter are column vectors in finite-dimensional Euclidean spaces, and a vector with d coordinates belongs to R^d.
- The inner product ⟨u, v⟩ combines corresponding coordinate products from two vectors into one scalar.
- The Euclidean norm is obtained by taking the square root of a vector's inner product with itself: ∥u∥₂ = √⟨u, u⟩.
- The ℓ1 norm adds all coordinate magnitudes, while the ℓ∞ norm keeps only the largest coordinate magnitude.
- The same vector can receive different measurements because each norm emphasizes a different feature.
Key Takeaways
- Vectors in this chapter are vertical column vectors in R^d.
- The inner product combines corresponding coordinates from two vectors and produces one scalar.
- The Euclidean norm uses the square root of the self-inner-product.
- The ℓ1 norm measures total coordinate magnitude, while the ℓ∞ norm measures the largest coordinate magnitude.
- Different norms measure different features of the same unchanged vector.