Biased Coin Guessing
- 57Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
A coin produces heads with probability 0.75 and tails with probability 0.25. What is the optimal long-run guessing strategy if the probabilities are known?
57 questions
- 1
A coin produces heads with probability 0.75 and tails with probability 0.25. What is the optimal long-run guessing strategy if the probabilities are known?
Model answer
Guess heads on every flip, because heads is more likely on each independent trial.
Explanation
The probabilities do not change over time, so always choosing the more probable outcome maximizes the expected number of correct guesses.
- 2
What surprising long-run behavior do people often exhibit when guessing the outcomes of a biased coin?
Model answer
They often guess heads about 75% of the time and tails about 25% of the time, matching the coin's probabilities instead of always guessing heads.
Explanation
This behavior is surprising because the optimal strategy with known fixed probabilities is to guess the more likely outcome every time.
- 3
Why is guessing tails 25% of the time suboptimal for a coin that is always 75% likely to produce heads?
Model answer
Guessing tails sometimes replaces a guess with a lower probability of being correct, even though the coin's odds never change.
Explanation
Each flip has the same probability distribution, so switching to tails does not exploit any new information.
- 4
What type of mathematical issue does the biased-coin behavior illustrate?
Model answer
It illustrates a behavioral or economic question about why people and possibly animals do not follow the mathematically optimal strategy.
Explanation
The mathematical strategy is straightforward, but explaining the observed human behavior requires ideas beyond the probability calculation itself.
- 5
What is a norm?
Model answer
A norm is a function that measures the size or length of a vector, matrix, tensor, or function.
Explanation
For example, a norm can assign a size to a vector or measure the size of a function such as sinx.
- 6
What scaling property should a norm satisfy when a vector is multiplied by a positive scalar?
Model answer
The norm should scale by the same factor: ∥cv∥=c∥v∥ for c>0.
Explanation
This property ensures that multiplying a vector by 2, for example, doubles its measured size.
- 7
Give the formula for the ℓp norm of a vector v.
Model answer
For finite p, the ℓp norm is ∥v∥p=(∑i∣vi∣p)1/p.
Explanation
The definition takes the pth powers of the absolute components, adds them, and then takes the pth root.
- 8
What is the usual Euclidean norm, and which p-norm does it represent?
Model answer
The Euclidean norm is the ℓ2 norm, ∥v∥2=∑i∣vi∣2.
Explanation
It is the standard geometric length of a vector.
- 9
What is the ℓ1 norm of a vector?
Model answer
The ℓ1 norm is the sum of the absolute values of the components: ∥v∥1=∑i∣vi∣.
Explanation
The p=1 case removes the outer root and produces a sum of absolute component sizes.
- 10
Why is the ℓ1 norm important in compressed sensing?
Model answer
It is useful because minimizing the ℓ1 norm often promotes sparse solutions.
Explanation
Sparse vectors contain many zero components and can be more efficient to store and compute with.
- 11
What is the ℓ∞ norm of a vector?
Model answer
The ℓ∞ norm is the largest absolute component: ∥v∥∞=maxi∣vi∣.
Explanation
As p becomes very large, the largest component dominates the sum in the ℓp formula.
- 12
What does the so-called ℓ0 quantity measure?
Model answer
It counts the number of nonzero components of a vector.
Explanation
This quantity directly measures sparsity by distinguishing vectors with different numbers of nonzero entries.
- 13
Why is the so-called ℓ0 norm not actually a norm?
Model answer
It fails the scaling property because multiplying a vector by a nonzero scalar does not change its number of nonzero components.
Explanation
For example, v and 2v have the same number of nonzero entries, so ∥2v∥0=∥v∥0 rather than 2∥v∥0.
- 14
For which values of p does the ℓp expression define a proper norm?
Model answer
It defines a proper norm for 1≤p≤∞.
Explanation
Values below 1, including the limiting sparsity quantity associated with p=0, do not satisfy all norm properties.
- 15
What is the unit ball of a norm?
Model answer
The unit ball is the set of vectors whose norm is at most 1: {v:∥v∥≤1}.
Explanation
Its boundary consists of vectors with norm exactly 1, while its interior contains vectors with smaller norm.
- 16
What is the ℓ2 unit ball in R2?
Model answer
It is a circle, with boundary equation v12+v22=1.
Explanation
The Euclidean norm measures ordinary distance from the origin, so vectors of length 1 form a circle.
- 17
What is the ℓ1 unit ball in R2?
Model answer
It is a diamond, whose boundary satisfies ∣v1∣+∣v2∣=1.
Explanation
In each quadrant, the boundary is a line segment, producing a diamond with vertices on the coordinate axes.
- 18
What is the ℓ∞ unit ball in R2?
Model answer
It is a square aligned with the coordinate axes, described by max(∣v1∣,∣v2∣)≤1.
Explanation
The maximum component is at most 1 exactly when both coordinates lie between −1 and 1.
- 19
How does the ℓp unit ball change as p increases from 1 to ∞?
Model answer
It changes from a diamond at p=1, through a circle at p=2, and approaches a square at p=∞.
Explanation
Increasing p reduces the relative influence of smaller components and makes the largest component increasingly dominant.
- 20
What geometric property do the ℓ1, ℓ2, and ℓ∞ unit balls share?
Model answer
They are convex sets.
Explanation
Convexity is consistent with the norm axioms and means that the line segment between any two points in the unit ball remains inside it.
- 21
Why are unit balls associated with values of p below 1 not convex?
Model answer
The corresponding expressions fail the triangle inequality, producing nonconvex unit-ball shapes.
Explanation
Convexity of the unit ball is closely connected to the triangle inequality required of a true norm.
- 22
What happens to the geometry of the ℓp unit ball as p approaches 0?
Model answer
The sets become increasingly concentrated near the coordinate axes and lose convexity in the limiting sparsity picture.
Explanation
The limiting quantity emphasizes vectors with few nonzero components rather than producing a genuine norm geometry.
- 23
Define the norm induced by a symmetric positive definite matrix S.
Model answer
The S-norm is ∥v∥S=vTSv.
Explanation
The quadratic form vTSv is interpreted as the energy of v, and the square root gives the required linear scaling.
- 24
Why does the square-root definition ∥v∥S=vTSv scale correctly when v is replaced by 2v?
Model answer
Because (2v)TS(2v)=4vTSv, taking the square root gives ∥2v∥S=2∥v∥S.
Explanation
The quadratic form scales quadratically, so the square root restores linear scaling.
- 25
What condition on S makes vTSv a valid weighted norm?
Model answer
The matrix S should be symmetric positive definite.
Explanation
Positive definiteness ensures positive energy for every nonzero vector, while symmetry gives the standard quadratic-form structure.
- 26
What choice of S makes the S-norm equal to the ordinary ℓ2 norm?
Model answer
Choosing S=I gives ∥v∥S=vTv=∥v∥2.
Explanation
The identity matrix leaves the usual sum of squared components unchanged.
- 27
What is the unit ball of the S-norm in two dimensions?
Model answer
It is the set {v:vTSv≤1}, which is generally an ellipse.
Explanation
A positive definite quadratic form produces elliptical level curves in two dimensions.
- 28
For S=diag(2,3), what is the equation of the unit-ball boundary?
Model answer
The boundary is 2v12+3v22=1.
Explanation
Substituting the diagonal matrix into vTSv=1 produces the weighted sum of squares.
- 29
For S=diag(2,3), along which coordinate direction does the unit ellipse extend less far, and why?
Model answer
It extends less far in the v2 direction because the coefficient of v22 is larger, namely 3 instead of 2.
Explanation
A larger weight reaches the value 1 with a smaller coordinate magnitude.
- 30
What is the constrained optimization problem called basis pursuit?
Model answer
Basis pursuit minimizes the ℓ1 norm subject to a linear constraint: minx∥x∥1 subject to Ax=b.
Explanation
The constraint restricts the feasible vectors, while the ℓ1 objective favors a solution with small total absolute component size.
- 31
What is the analogous ℓ2-based problem commonly associated with ridge regression?
Model answer
It minimizes ∥x∥2 or, commonly, its square subject to Ax=b.
Explanation
Replacing the ℓ1 objective with an ℓ2 objective changes the geometry from diamond-shaped level sets to circular or ellipsoidal ones.
- 32
For a single linear constraint in two variables, what is the geometric shape of the feasible set?
Model answer
The feasible set is a line, such as the set satisfying c1x1+c2x2=b.
Explanation
One linear equation in two unknowns generally defines a line in the plane.
- 33
How is the minimum-ℓ2 solution to a line constraint identified geometrically?
Model answer
It is the point on the line closest to the origin.
Explanation
The ℓ2 norm measures ordinary Euclidean distance, so minimizing it means finding the nearest feasible point.
- 34
How is the minimum-ℓ1 solution to a two-dimensional line constraint identified geometrically?
Model answer
It is found where the smallest diamond centered at the origin first touches the feasible line.
Explanation
Expanding the ℓ1 unit ball until it first intersects the constraint set yields the smallest feasible ℓ1 norm.
- 35
Why does ℓ1 minimization often produce a sparse solution?
Model answer
The diamond-shaped ℓ1 ball has corners on the coordinate axes, so its first contact with a constraint line often occurs at a point with a zero component.
Explanation
A zero component means fewer nonzero entries, which is the defining feature of sparsity.
- 36
What is the main geometric difference between minimizing ℓ1 and minimizing ℓ2 under the same linear constraint?
Model answer
ℓ2 uses circular level sets and usually gives the closest point, whereas ℓ1 uses diamond-shaped level sets and tends to select an axis-aligned, sparser point.
Explanation
The shape of the norm ball determines where the first contact with the feasible set occurs.
- 37
Why is the point farther along the constraint line generally not the ℓ1 minimizer?
Model answer
Moving farther increases the absolute sizes of the components and may add nonzero components, so the ℓ1 norm increases.
Explanation
The minimizer is the first feasible point encountered as the ℓ1 ball expands from the origin.
- 38
How can the geometric method for norm minimization be summarized?
Model answer
Start with a norm ball centered at the origin and expand it until it first touches the feasible set; the contact point minimizes that norm.
Explanation
The first contact corresponds to the smallest radius for which a feasible vector exists.
- 39
How is the induced 2-norm of a matrix A defined using vector norms?
Model answer
It is ∥A∥2=maxx=0∥x∥2∥Ax∥2.
Explanation
This ratio measures how much A enlarges a vector, and the maximum gives the greatest possible enlargement.
- 40
What does the ratio ∥x∥2∥Ax∥2 represent?
Model answer
It represents the factor by which A scales or blows up the vector x in Euclidean length.
Explanation
The denominator normalizes for the original size of x, allowing different vectors to be compared.
- 41
If A=7I, what is the induced 2-norm of A?
Model answer
The induced 2-norm is 7.
Explanation
Since Ax=7x for every vector, the ratio ∥Ax∥2/∥x∥2 equals 7.
- 42
How is the induced matrix 2-norm related to the largest singular value?
Model answer
It equals the largest singular value: ∥A∥2=σ1.
Explanation
The largest singular value is the maximum possible Euclidean stretch produced by the matrix.
- 43
Which vector achieves the maximum in ∥A∥2=maxx=0∥x∥2∥Ax∥2?
Model answer
The maximum is achieved by the first right singular vector v1.
Explanation
The singular-vector relation Av1=σ1u1 shows that v1 is stretched by the largest factor.
- 44
Why is the maximizing vector for the induced 2-norm generally not an eigenvector?
Model answer
For a nonsymmetric matrix, eigenvectors do not necessarily describe the directions of maximum Euclidean stretching; the relevant directions are singular vectors.
Explanation
The singular-value decomposition applies to every matrix, whereas eigenvector behavior may not capture the matrix's norm when the matrix is nonsymmetric.
- 45
Use Av1=σ1u1 to show that v1 produces the ratio σ1.
Model answer
Because ∥v1∥2=∥u1∥2=1, ∥v1∥2∥Av1∥2=1∥σ1u1∥2=σ1.
Explanation
The singular vectors are unit vectors, so the only remaining scale factor is the singular value.
- 46
What is the Frobenius norm of a matrix A?
Model answer
It is ∥A∥F=∑i,jaij2.
Explanation
The Frobenius norm treats all matrix entries as components of one long vector.
- 47
How is the Frobenius norm expressed in terms of the singular values of A?
Model answer
It is ∥A∥F=∑kσk2.
Explanation
The sum of squared entries is equal to the sum of squared singular values.
- 48
Why do orthogonal matrices not change the Frobenius norm in the singular-value decomposition?
Model answer
Orthogonal transformations preserve the sum of squares, so multiplying by the orthogonal factors in A=UΣVT does not change the Frobenius norm.
Explanation
This allows the Frobenius norm of A to be computed from the diagonal matrix Σ.
- 49
What is the Frobenius norm of the diagonal singular-value matrix Σ?
Model answer
It is the square root of the sum of the squared singular values: ∥Σ∥F=∑kσk2.
Explanation
The only nonzero entries of Σ are the singular values, so the entrywise formula directly gives this result.
- 50
What is another name for the nuclear norm?
Model answer
The nuclear norm is also called the trace norm.
Explanation
Both names refer to the sum of a matrix's singular values.
- 51
How is the nuclear norm of a matrix defined?
Model answer
The nuclear norm is the sum of the singular values: ∥A∥∗=∑kσk.
Explanation
It is the matrix analogue of the vector ℓ1 norm applied to the singular-value vector.
- 52
How do the matrix norms based on singular values correspond to vector norms?
Model answer
The nuclear norm corresponds to the ℓ1 norm of the singular-value vector, the Frobenius norm to its ℓ2 norm, and the spectral norm to its ℓ∞ norm.
Explanation
The three matrix quantities aggregate singular values in the same ways that ℓ1, ℓ2, and ℓ∞ aggregate vector components.
- 53
What does the nuclear norm encourage when it is minimized?
Model answer
It encourages low-rank matrices by promoting a small or sparse collection of nonzero singular values.
Explanation
The rank is the number of nonzero singular values, so reducing their total size can favor solutions with fewer active singular directions.
- 54
What conjectured role might the nuclear norm play in deep learning with gradient descent?
Model answer
In overparameterized model situations, gradient descent may implicitly select among equal-loss solutions the weights or matrices with the smallest nuclear norm.
Explanation
When there are more weights than samples, many parameter choices can achieve the same minimum loss, leaving room for an implicit norm-based selection principle.
- 55
Why can having more weights than samples create many possible minima in a learning problem?
Model answer
The problem has more variables than independent data constraints, so multiple weight choices can produce the same minimum loss.
Explanation
This overparameterization makes the solution nonunique rather than necessarily preventing a good fit.
- 56
Why can overparameterization be beneficial in deep learning?
Model answer
Although it creates many possible solutions, it can contribute to the strong performance of modern deep-learning systems by allowing many parameter choices to fit the data.
Explanation
The large number of degrees of freedom is described as part of the success of these models.
- 57
What is the status of the conjecture that gradient descent selects minimum-nuclear-norm solutions?
Model answer
It is a conjecture supported by proofs in some special commuting cases, but it does not yet have a general proof.
Explanation
The proposed implicit bias has been studied theoretically and experimentally but remains unresolved in full generality.

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