Biased Coin Guessing
Norms, Unit-Ball Geometry, and Matrix Norms
A Behavioral Observation About Prediction Under Uncertainty
Consider a coin whose outcomes are fixed but unknown:
Heads occurs with probability 0.75.
Tails occurs with probability 0.25.
A player predicts the outcome of each successive flip.
The player gains 1 for a correct prediction and loses 1 for an incorrect prediction.
Statistically optimal strategy
If the probabilities remain unchanged, the strategy that maximizes the expected number of correct predictions is to predict heads on every flip. The expected payoff of predicting heads is
whereas predicting tails has expected payoff
Once the bias is recognized, repeatedly choosing the more probable outcome is optimal.
Observed human behavior
People may initially alternate predictions or explore both possibilities while learning the coin’s bias. However, even after recognizing that heads is more common, people often continue predicting tails approximately 25% of the time.
This behavior is surprising because the probabilities do not change. It suggests that people and possibly animals may not always follow the simple expected-value-maximizing strategy. Explaining why this happens is a problem for economics, psychology, statistics, and behavioral science.
Vector Norms
A norm is a function that measures the size or length of a mathematical object. Depending on the context, the object may be:
A vector
A matrix
A tensor
A function
For a vector v, a norm is commonly written as ∥v∥ or with a subscript indicating the specific norm being used.
A valid norm must satisfy several properties:
Nonnegativity: ∥v∥≥0.
Definiteness: ∥v∥=0 only when v=0.
Scaling: For a scalar c,
∥cv∥=∣c∣∥v∥.Triangle inequality:
∥u+v∥≤∥u∥+∥v∥.
The scaling property means that if a vector is multiplied by 2, its norm must also be multiplied by 2.
The ℓp Norms
For a vector
the ℓp norm is defined by
For p≥1, this expression defines a genuine norm.
The ℓ2 norm
The ℓ2 norm is the usual Euclidean length:
For a two-dimensional vector,
the unit boundary satisfies
Thus, the ℓ2 unit ball is a circle in R2. The filled unit ball consists of all vectors satisfying
The ℓ2 norm is the standard notion of distance and is rotationally symmetric.
The ℓ1 norm
The ℓ1 norm is
For two dimensions, its unit boundary is
In each quadrant, the absolute values reduce to linear expressions. For example, in the first quadrant,
Consequently, the ℓ1 unit ball in R2 is a diamond, with vertices at
The geometry of the ℓ1 norm is especially important because its corners lie on the coordinate axes. Those corners correspond to vectors with zero components, which connects the ℓ1 norm to sparsity.
The ℓ∞ norm
The maximum norm, or ℓ∞ norm, is
In two dimensions, the unit boundary satisfies
This produces a square with vertices
The ℓ∞ norm measures the size of the largest component rather than combining all components through a sum.
Relationship among the unit balls
As p increases from 1 to 2 and then toward infinity, the two-dimensional ℓp unit balls change shape:
p=1: diamond
p=2: circle
p→∞: square
The intermediate shapes gradually transition between these forms. The range 1≤p≤∞ is important because these values produce proper norms.
The “ℓ0 Norm” and Sparsity
The expression often called the ℓ0 norm is
Although it is useful, it is not actually a norm.
Why ℓ0 is not a norm
Suppose v has several nonzero components. Multiplying by 2 does not change which components are zero:
However, a valid norm must obey
Therefore, the ℓ0 quantity violates the scaling property.
Connection with sparse vectors
The number of nonzero components measures the sparsity of a vector:
A vector with one nonzero component is highly sparse.
A vector with many nonzero components is less sparse.
Minimizing the number of nonzero components can produce computationally efficient representations.
Sparse vectors and sparse matrices are useful because many operations can be performed more quickly when most entries are zero.
Geometry of the ℓ0 unit set
In two dimensions, the vectors with exactly one nonzero component lie on the coordinate axes. The corresponding set is not convex. For example, two points on different axes may have a midpoint with two nonzero components, so the midpoint does not remain in the set.
This lack of convexity is another indication that the ℓ0 quantity does not behave like a norm.
The ℓ1 norm is often used as a tractable substitute for ℓ0 sparsity because ℓ1 minimization is convex, while directly minimizing the number of nonzero components is generally nonconvex and difficult.
Convexity of Norm Unit Balls
The unit ball associated with a norm is
For every genuine norm, this set is convex. A set is convex if, whenever it contains two points, it also contains every line segment joining those points.
The unit balls of the ℓ1, ℓ2, and ℓ∞ norms are convex:
The ℓ1 unit ball is a diamond.
The ℓ2 unit ball is a circle.
The ℓ∞ unit ball is a square.
For values 0<p<1, the corresponding sets are not convex. This occurs because the triangle inequality fails, so the resulting expression is not a norm.
Convexity is mathematically valuable because convex optimization problems have strong structural properties. In particular, a local minimum of a convex problem is also a global minimum.
Weighted Quadratic Norms
A natural generalization of the ℓ2 norm uses a symmetric positive-definite matrix S.
Define
The quantity
is a quadratic form and is often interpreted as the energy associated with v.
Conditions on S
The matrix S must be:
Symmetric: ST=S.
Positive definite: For every nonzero vector v,
vTSv>0.
These conditions ensure that ∥v∥S satisfies the norm properties.
The scaling property follows because
Unit ball
The weighted unit ball is
When S=I, the identity matrix,
so the unit ball is a circle.
If
then
and the unit boundary is
This is an ellipse. The coefficient 3 restricts movement in the v2 direction more strongly than the coefficient 2 restricts movement in the v1 direction. Therefore, the ellipse is shorter along the v2 axis.
Weighted norms allow the geometry of distance to be adapted to the problem. Different coordinates can be assigned different importance or scales.
Norm Minimization and Sparsity
A common optimization problem is
This seeks the vector satisfying the linear constraint Ax=b that has the smallest ℓ1 norm. The problem is known as basis pursuit and is central to compressed sensing and sparse recovery.
Replacing the ℓ1 norm with the squared ℓ2 norm gives a problem closely related to least squares and ridge regression:
The choice of norm determines which feasible solution is selected.
Geometric interpretation in two dimensions
Suppose the constraint is one linear equation,
In the (x1,x2) plane, this equation describes a line. Every point on the line is a feasible solution.
Minimizing the ℓ2 norm
The ℓ2 norm measures ordinary Euclidean distance from the origin. Therefore, the minimizing point is the point on the line closest to the origin.
Geometrically:
Draw concentric circles centered at the origin.
Expand the circle outward.
The first circle that touches the constraint line identifies the minimum-ℓ2 solution.
At the point of contact, the circle is tangent to the line.
Minimizing the ℓ1 norm
The ℓ1 unit balls are diamonds. To find the minimum-ℓ1 solution:
Begin with a small diamond centered at the origin.
Expand it outward.
Stop when it first touches the constraint line.
Because diamonds have corners on the coordinate axes, the first contact often occurs at a corner. Such a point has one or more zero components.
This explains why ℓ1 minimization tends to produce sparse solutions.
The ℓ1 norm is special because its convex, cornered unit ball often makes the minimum-norm feasible point occur on a coordinate axis or another lower-dimensional face.
Why the geometry favors sparse solutions
A point farther along the constraint line generally has larger coordinate magnitudes and often more nonzero components. The corner of the ℓ1 diamond can reach the line before a smooth portion of the boundary does. The corresponding solution therefore has fewer active coordinates.
In higher dimensions, the same geometric principle applies: the corners and faces of the ℓ1 ball encourage solutions with many zero entries.
Matrix Norms
A matrix norm measures the size of a matrix. Several matrix norms are particularly important in numerical linear algebra, optimization, machine learning, and deep learning.
The Induced Matrix ℓ2 Norm
For a matrix A, the matrix norm induced by the vector ℓ2 norm is
The ratio
measures how much A stretches the vector x. It can be viewed as a blow-up factor.
The matrix norm is the largest possible stretching factor over all nonzero vectors.
Example: scalar multiple of the identity
If
then
so
Therefore,
Connection with singular values
Let the singular value decomposition of A be
with singular values ordered as
Then
The largest singular value is therefore the maximum factor by which A stretches a vector in Euclidean length.
The maximizing vector is the first right singular vector v1. Since
and both u1 and v1 are unit vectors,
Thus, the first right singular vector is the direction that experiences the greatest stretching under A.
Singular vectors versus eigenvectors
If x is an eigenvector of A with eigenvalue λ, then
and the corresponding length ratio is ∣λ∣. However, for a nonsymmetric matrix, eigenvectors do not necessarily identify the direction of maximum Euclidean stretching.
The correct maximizing direction is the right singular vector associated with the largest singular value.
The Frobenius Norm
For an m×n matrix A=(aij), the Frobenius norm is
It is the square root of the sum of the squares of all matrix entries. It can be viewed as the ordinary ℓ2 norm of the matrix after arranging all its entries into one long vector.
Expression in terms of singular values
The Frobenius norm also satisfies
Equivalently,
To understand this relation, use the singular value decomposition
The orthogonal matrices U and V preserve Euclidean lengths and the Frobenius norm. Therefore, the Frobenius norm of A equals the Frobenius norm of the diagonal singular-value matrix Σ:
Since the nonzero entries of Σ are the singular values,
The Frobenius norm is especially useful because it treats all matrix entries collectively rather than focusing only on the largest stretching direction.
The Nuclear Norm
The nuclear norm, also called the trace norm, is defined as the sum of the singular values:
Some sources denote this norm using an N subscript instead:
The nuclear norm is the matrix analogue of the vector ℓ1 norm applied to the vector of singular values.
The three principal singular-value-based matrix norms correspond to familiar vector norms:
Spectral or induced ℓ2 norm:
∥A∥2=maxiσi.Frobenius norm:
∥A∥F=(∑iσi2)1/2.Nuclear norm:
∥A∥∗=∑iσi.
Thus, the nuclear norm acts like an ℓ1 norm on the singular-value vector, while the Frobenius norm acts like an ℓ2 norm.
Connection with low-rank structure
The rank of a matrix is the number of its nonzero singular values. Minimizing rank is analogous to minimizing the number of nonzero entries in a vector, but rank minimization is generally difficult and nonconvex.
The nuclear norm provides a convex alternative. Because it penalizes the sum of singular values, minimizing it often encourages many singular values to become zero, producing a low-rank matrix.
This makes the nuclear norm important in:
Compressed sensing
Matrix completion
Low-rank approximation
Statistical learning
Deep-learning theory
Nuclear Norms and Deep Learning
Many modern deep-learning models are overparameterized, meaning they contain more adjustable weights than training samples or constraints. As a result:
There may be many different weight configurations.
Multiple configurations may achieve the same minimum training loss.
The optimization problem can have many global minimizers.
Despite this apparent redundancy, overparameterization can contribute to the success of deep learning.
A conjecture in a simplified model of deep learning proposes that gradient descent does not select an arbitrary minimum-loss solution. Instead, it may implicitly prefer a solution with a small nuclear norm.
In this interpretation:
Gradient descent minimizes the training loss.
Among the many solutions with similar or identical loss, the optimization trajectory selects one with additional structure.
That structure may correspond to minimizing the nuclear norm of an associated weight matrix.
This idea is an example of implicit regularization: the optimization algorithm itself may favor simpler or more structured solutions even when no explicit regularization term is added to the objective function.
The conjecture has been proved in certain special cases, particularly cases with simplifying algebraic properties such as commuting structures, but a complete general proof remains unavailable. If correct, it would help explain why gradient descent can produce useful models despite the large number of possible interpolating solutions.
Key Relationships
The main ideas can be summarized through the relationships among vector geometry, sparsity, singular values, and optimization:
The ℓ2 norm produces circular unit balls and selects the closest feasible point in Euclidean distance.
The ℓ1 norm produces diamond-shaped unit balls with corners on coordinate axes.
Those corners make ℓ1 minimization favor sparse vectors.
The ℓ0 quantity directly counts nonzero components but is not a valid norm because it fails the scaling property.
A positive-definite quadratic form produces a weighted norm whose unit ball is an ellipse.
The induced matrix ℓ2 norm is the largest singular value.
The Frobenius norm is the ℓ2 norm of the singular-value vector.
The nuclear norm is the ℓ1 norm of the singular-value vector and encourages low-rank matrices.
Norm choice determines the geometry of optimization and strongly influences which solution is selected among many feasible solutions.

Ask anything
We've read this whole study set, so questions about it get the best answers.