Measure Concentration
Many later arguments take a vector as input and then measure or compare it.
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 Rd. 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 Rd, 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.
An inner product calculation
Calculate the inner product of u = (2, −1, 3) and v = (1, 4, 2).
- 1Match coordinates
Pair the first coordinates, the second coordinates, and the third coordinates.
- 2Multiply pairs
The coordinate products are 2·1, (−1)·4, and 3·2.
- 3Add 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.
- 1Use the same vector twice: ⟨u, u⟩.
- 2This produces the sum of squared coordinate magnitudes.
- 3Take the square root to obtain the Euclidean norm.
Euclidean norm of u
Calculate the Euclidean norm of u = (2, −1, 3) from its inner product with itself.
- 1Form the self-inner-product
⟨u, u⟩ = 2² + (−1)² + 3².
- 2Evaluate the squared magnitudes
The sum is 4 + 1 + 9 = 14.
- 3Take 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.
The ℓ1 and ℓ∞ norms of u
Calculate the ℓ1 norm and ℓ∞ norm of u = (2, −1, 3).
- 1Find coordinate magnitudes
The absolute values are |2| = 2, |−1| = 1, and |3| = 3.
- 2Calculate ℓ1
Add every coordinate magnitude: 2 + 1 + 3 = 6.
- 3Calculate ℓ∞
Keep only the largest coordinate magnitude: max{2, 1, 3} = 3.
∥u∥₁ = 6 and ∥u∥∞ = 3
A Reliable Calculation Order
- 1First identify the requested measurement: inner product, ℓ2 norm, ℓ1 norm, or ℓ∞ norm.
- 2For an inner product, pair corresponding coordinates, multiply each pair, and add the products.
- 3For the ℓ2 norm, use the vector with itself in the inner product and then take the square root.
- 4For the ℓ1 norm, take the absolute value of every coordinate and add all those magnitudes.
- 5For the ℓ∞ norm, take the absolute value of every coordinate and select the largest magnitude.
- 6Before finalizing the result, check whether the rule uses all coordinates, squared magnitudes, or only one largest magnitude.
Common mistake Using the largest coordinate itself for the ℓ∞ norm.
What it looks likeFor u = (2, −1, 3), choosing −1 because it is the numerically smallest coordinate.
Why it failsThe ℓ∞ norm uses the largest coordinate magnitude, not the coordinate with a particular sign.
Do this insteadCompare 2, 1, and 3 after taking absolute values. The result is 3.
Common mistake Adding signed coordinates for the ℓ1 norm.
What it looks likeComputing 2 + (−1) + 3 instead of adding magnitudes.
Why it failsThe ℓ1 norm totals coordinate magnitudes.
Do this insteadCompute |2| + |−1| + |3| = 6.Common mistake Stopping at the self-inner-product when the question asks for the Euclidean norm.
What it looks likeReporting 14 for u = (2, −1, 3).Why it failsThe self-inner-product supplies the quantity inside the square root.
Do this insteadTake the square root after calculating ⟨u, u⟩, giving ∥u∥₂ = √14.
Common mistake Treating the three norms as measurements of three different vectors.
What it looks likeAssuming u changes when moving from ℓ2 to ℓ1.
Why it failsThe vector remains the same; only the measurement rule changes.
Do this insteadKeep 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.
- 1Self-inner-product
⟨w, w⟩ = (−2)² + 0² + 4² = 20.
- 2Euclidean norm
∥w∥₂ = √20.
- 3ℓ1 norm
∥w∥₁ = |−2| + |0| + |4| = 6.
- 4ℓ∞ norm
∥w∥∞ = max{2, 0, 4} = 4.
⟨w, w⟩ = 20, ∥w∥₂ = √20, ∥w∥₁ = 6, and ∥w∥∞ = 4.
Key Takeaways
- 1Vectors in this chapter are column vectors in finite-dimensional Euclidean spaces, and a vector with d coordinates belongs to Rd.
- 2The inner product ⟨u, v⟩ combines corresponding coordinate products from two vectors into one scalar.
- 3The Euclidean norm is obtained by taking the square root of a vector's inner product with itself: ∥u∥₂ = √⟨u, u⟩.
- 4The ℓ1 norm adds all coordinate magnitudes, while the ℓ∞ norm keeps only the largest coordinate magnitude.
- 5The same vector can receive different measurements because each norm emphasizes a different feature.
At a glance
- Vectors in this chapter are vertical column vectors in Rd.
- 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.