1. Home
  2. Explore
  3. Mathematics
  4. Biased Coin Guessing

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Biased Coin Guessing

  • 57Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Biased Coin

A coin produces heads with probability 0.750.750.75 and tails with probability 0.250.250.25. What is the optimal long-run guessing strategy if the probabilities are known?

57 questions

  1. 1

    A coin produces heads with probability 0.750.750.75 and tails with probability 0.250.250.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. 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%75\%75% of the time and tails about 25%25\%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. 3

    Why is guessing tails 25%25\%25% of the time suboptimal for a coin that is always 75%75\%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. 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. 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 sin⁡x\sin xsinx.

  6. 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∥\|cv\|=c\|v\|∥cv∥=c∥v∥ for c>0c>0c>0.

    Explanation

    This property ensures that multiplying a vector by 222, for example, doubles its measured size.

  7. 7

    Give the formula for the ℓp\ell_pℓp​ norm of a vector vvv.

    Model answer

    For finite ppp, the ℓp\ell_pℓp​ norm is ∥v∥p=(∑i∣vi∣p)1/p\|v\|_p=\left(\sum_i |v_i|^p\right)^{1/p}∥v∥p​=(∑i​∣vi​∣p)1/p.

    Explanation

    The definition takes the pppth powers of the absolute components, adds them, and then takes the pppth root.

  8. 8

    What is the usual Euclidean norm, and which ppp-norm does it represent?

    Model answer

    The Euclidean norm is the ℓ2\ell_2ℓ2​ norm, ∥v∥2=∑i∣vi∣2\|v\|_2=\sqrt{\sum_i |v_i|^2}∥v∥2​=∑i​∣vi​∣2​.

    Explanation

    It is the standard geometric length of a vector.

  9. 9

    What is the ℓ1\ell_1ℓ1​ norm of a vector?

    Model answer

    The ℓ1\ell_1ℓ1​ norm is the sum of the absolute values of the components: ∥v∥1=∑i∣vi∣\|v\|_1=\sum_i |v_i|∥v∥1​=∑i​∣vi​∣.

    Explanation

    The p=1p=1p=1 case removes the outer root and produces a sum of absolute component sizes.

  10. 10

    Why is the ℓ1\ell_1ℓ1​ norm important in compressed sensing?

    Model answer

    It is useful because minimizing the ℓ1\ell_1ℓ1​ norm often promotes sparse solutions.

    Explanation

    Sparse vectors contain many zero components and can be more efficient to store and compute with.

  11. 11

    What is the ℓ∞\ell_\inftyℓ∞​ norm of a vector?

    Model answer

    The ℓ∞\ell_\inftyℓ∞​ norm is the largest absolute component: ∥v∥∞=max⁡i∣vi∣\|v\|_\infty=\max_i |v_i|∥v∥∞​=maxi​∣vi​∣.

    Explanation

    As ppp becomes very large, the largest component dominates the sum in the ℓp\ell_pℓp​ formula.

  12. 12

    What does the so-called ℓ0\ell_0ℓ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. 13

    Why is the so-called ℓ0\ell_0ℓ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, vvv and 2v2v2v have the same number of nonzero entries, so ∥2v∥0=∥v∥0\|2v\|_0=\|v\|_0∥2v∥0​=∥v∥0​ rather than 2∥v∥02\|v\|_02∥v∥0​.

  14. 14

    For which values of ppp does the ℓp\ell_pℓp​ expression define a proper norm?

    Model answer

    It defines a proper norm for 1≤p≤∞1\leq p\leq\infty1≤p≤∞.

    Explanation

    Values below 111, including the limiting sparsity quantity associated with p=0p=0p=0, do not satisfy all norm properties.

  15. 15

    What is the unit ball of a norm?

    Model answer

    The unit ball is the set of vectors whose norm is at most 111: {v:∥v∥≤1}\{v:\|v\|\leq 1\}{v:∥v∥≤1}.

    Explanation

    Its boundary consists of vectors with norm exactly 111, while its interior contains vectors with smaller norm.

  16. 16

    What is the ℓ2\ell_2ℓ2​ unit ball in R2\mathbb{R}^2R2?

    Model answer

    It is a circle, with boundary equation v12+v22=1v_1^2+v_2^2=1v12​+v22​=1.

    Explanation

    The Euclidean norm measures ordinary distance from the origin, so vectors of length 111 form a circle.

  17. 17

    What is the ℓ1\ell_1ℓ1​ unit ball in R2\mathbb{R}^2R2?

    Model answer

    It is a diamond, whose boundary satisfies ∣v1∣+∣v2∣=1|v_1|+|v_2|=1∣v1​∣+∣v2​∣=1.

    Explanation

    In each quadrant, the boundary is a line segment, producing a diamond with vertices on the coordinate axes.

  18. 18

    What is the ℓ∞\ell_\inftyℓ∞​ unit ball in R2\mathbb{R}^2R2?

    Model answer

    It is a square aligned with the coordinate axes, described by max⁡(∣v1∣,∣v2∣)≤1\max(|v_1|,|v_2|)\leq 1max(∣v1​∣,∣v2​∣)≤1.

    Explanation

    The maximum component is at most 111 exactly when both coordinates lie between −1-1−1 and 111.

  19. 19

    How does the ℓp\ell_pℓp​ unit ball change as ppp increases from 111 to ∞\infty∞?

    Model answer

    It changes from a diamond at p=1p=1p=1, through a circle at p=2p=2p=2, and approaches a square at p=∞p=\inftyp=∞.

    Explanation

    Increasing ppp reduces the relative influence of smaller components and makes the largest component increasingly dominant.

  20. 20

    What geometric property do the ℓ1\ell_1ℓ1​, ℓ2\ell_2ℓ2​, and ℓ∞\ell_\inftyℓ∞​ 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. 21

    Why are unit balls associated with values of ppp below 111 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. 22

    What happens to the geometry of the ℓp\ell_pℓp​ unit ball as ppp approaches 000?

    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. 23

    Define the norm induced by a symmetric positive definite matrix SSS.

    Model answer

    The SSS-norm is ∥v∥S=vTSv\|v\|_S=\sqrt{v^T Sv}∥v∥S​=vTSv​.

    Explanation

    The quadratic form vTSvv^T SvvTSv is interpreted as the energy of vvv, and the square root gives the required linear scaling.

  24. 24

    Why does the square-root definition ∥v∥S=vTSv\|v\|_S=\sqrt{v^T Sv}∥v∥S​=vTSv​ scale correctly when vvv is replaced by 2v2v2v?

    Model answer

    Because (2v)TS(2v)=4vTSv(2v)^T S(2v)=4v^T Sv(2v)TS(2v)=4vTSv, taking the square root gives ∥2v∥S=2∥v∥S\|2v\|_S=2\|v\|_S∥2v∥S​=2∥v∥S​.

    Explanation

    The quadratic form scales quadratically, so the square root restores linear scaling.

  25. 25

    What condition on SSS makes vTSv\sqrt{v^T Sv}vTSv​ a valid weighted norm?

    Model answer

    The matrix SSS should be symmetric positive definite.

    Explanation

    Positive definiteness ensures positive energy for every nonzero vector, while symmetry gives the standard quadratic-form structure.

  26. 26

    What choice of SSS makes the SSS-norm equal to the ordinary ℓ2\ell_2ℓ2​ norm?

    Model answer

    Choosing S=IS=IS=I gives ∥v∥S=vTv=∥v∥2\|v\|_S=\sqrt{v^T v}=\|v\|_2∥v∥S​=vTv​=∥v∥2​.

    Explanation

    The identity matrix leaves the usual sum of squared components unchanged.

  27. 27

    What is the unit ball of the SSS-norm in two dimensions?

    Model answer

    It is the set {v:vTSv≤1}\{v:v^T Sv\leq 1\}{v:vTSv≤1}, which is generally an ellipse.

    Explanation

    A positive definite quadratic form produces elliptical level curves in two dimensions.

  28. 28

    For S=diag⁡(2,3)S=\operatorname{diag}(2,3)S=diag(2,3), what is the equation of the unit-ball boundary?

    Model answer

    The boundary is 2v12+3v22=12v_1^2+3v_2^2=12v12​+3v22​=1.

    Explanation

    Substituting the diagonal matrix into vTSv=1v^T Sv=1vTSv=1 produces the weighted sum of squares.

  29. 29

    For S=diag⁡(2,3)S=\operatorname{diag}(2,3)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 v2v_2v2​ direction because the coefficient of v22v_2^2v22​ is larger, namely 333 instead of 222.

    Explanation

    A larger weight reaches the value 111 with a smaller coordinate magnitude.

  30. 30

    What is the constrained optimization problem called basis pursuit?

    Model answer

    Basis pursuit minimizes the ℓ1\ell_1ℓ1​ norm subject to a linear constraint: min⁡x∥x∥1\min_x \|x\|_1minx​∥x∥1​ subject to Ax=bAx=bAx=b.

    Explanation

    The constraint restricts the feasible vectors, while the ℓ1\ell_1ℓ1​ objective favors a solution with small total absolute component size.

  31. 31

    What is the analogous ℓ2\ell_2ℓ2​-based problem commonly associated with ridge regression?

    Model answer

    It minimizes ∥x∥2\|x\|_2∥x∥2​ or, commonly, its square subject to Ax=bAx=bAx=b.

    Explanation

    Replacing the ℓ1\ell_1ℓ1​ objective with an ℓ2\ell_2ℓ2​ objective changes the geometry from diamond-shaped level sets to circular or ellipsoidal ones.

  32. 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=bc_1x_1+c_2x_2=bc1​x1​+c2​x2​=b.

    Explanation

    One linear equation in two unknowns generally defines a line in the plane.

  33. 33

    How is the minimum-ℓ2\ell_2ℓ2​ solution to a line constraint identified geometrically?

    Model answer

    It is the point on the line closest to the origin.

    Explanation

    The ℓ2\ell_2ℓ2​ norm measures ordinary Euclidean distance, so minimizing it means finding the nearest feasible point.

  34. 34

    How is the minimum-ℓ1\ell_1ℓ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\ell_1ℓ1​ unit ball until it first intersects the constraint set yields the smallest feasible ℓ1\ell_1ℓ1​ norm.

  35. 35

    Why does ℓ1\ell_1ℓ1​ minimization often produce a sparse solution?

    Model answer

    The diamond-shaped ℓ1\ell_1ℓ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. 36

    What is the main geometric difference between minimizing ℓ1\ell_1ℓ1​ and minimizing ℓ2\ell_2ℓ2​ under the same linear constraint?

    Model answer

    ℓ2\ell_2ℓ2​ uses circular level sets and usually gives the closest point, whereas ℓ1\ell_1ℓ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. 37

    Why is the point farther along the constraint line generally not the ℓ1\ell_1ℓ1​ minimizer?

    Model answer

    Moving farther increases the absolute sizes of the components and may add nonzero components, so the ℓ1\ell_1ℓ1​ norm increases.

    Explanation

    The minimizer is the first feasible point encountered as the ℓ1\ell_1ℓ1​ ball expands from the origin.

  38. 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. 39

    How is the induced 222-norm of a matrix AAA defined using vector norms?

    Model answer

    It is ∥A∥2=max⁡x≠0∥Ax∥2∥x∥2\|A\|_2=\max_{x\neq 0}\frac{\|Ax\|_2}{\|x\|_2}∥A∥2​=maxx=0​∥x∥2​∥Ax∥2​​.

    Explanation

    This ratio measures how much AAA enlarges a vector, and the maximum gives the greatest possible enlargement.

  40. 40

    What does the ratio ∥Ax∥2∥x∥2\frac{\|Ax\|_2}{\|x\|_2}∥x∥2​∥Ax∥2​​ represent?

    Model answer

    It represents the factor by which AAA scales or blows up the vector xxx in Euclidean length.

    Explanation

    The denominator normalizes for the original size of xxx, allowing different vectors to be compared.

  41. 41

    If A=7IA=7IA=7I, what is the induced 222-norm of AAA?

    Model answer

    The induced 222-norm is 777.

    Explanation

    Since Ax=7xAx=7xAx=7x for every vector, the ratio ∥Ax∥2/∥x∥2\|Ax\|_2/\|x\|_2∥Ax∥2​/∥x∥2​ equals 777.

  42. 42

    How is the induced matrix 222-norm related to the largest singular value?

    Model answer

    It equals the largest singular value: ∥A∥2=σ1\|A\|_2=\sigma_1∥A∥2​=σ1​.

    Explanation

    The largest singular value is the maximum possible Euclidean stretch produced by the matrix.

  43. 43

    Which vector achieves the maximum in ∥A∥2=max⁡x≠0∥Ax∥2∥x∥2\|A\|_2=\max_{x\neq 0}\frac{\|Ax\|_2}{\|x\|_2}∥A∥2​=maxx=0​∥x∥2​∥Ax∥2​​?

    Model answer

    The maximum is achieved by the first right singular vector v1v_1v1​.

    Explanation

    The singular-vector relation Av1=σ1u1Av_1=\sigma_1u_1Av1​=σ1​u1​ shows that v1v_1v1​ is stretched by the largest factor.

  44. 44

    Why is the maximizing vector for the induced 222-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. 45

    Use Av1=σ1u1Av_1=\sigma_1u_1Av1​=σ1​u1​ to show that v1v_1v1​ produces the ratio σ1\sigma_1σ1​.

    Model answer

    Because ∥v1∥2=∥u1∥2=1\|v_1\|_2=\|u_1\|_2=1∥v1​∥2​=∥u1​∥2​=1, ∥Av1∥2∥v1∥2=∥σ1u1∥21=σ1\frac{\|Av_1\|_2}{\|v_1\|_2}=\frac{\|\sigma_1u_1\|_2}{1}=\sigma_1∥v1​∥2​∥Av1​∥2​​=1∥σ1​u1​∥2​​=σ1​.

    Explanation

    The singular vectors are unit vectors, so the only remaining scale factor is the singular value.

  46. 46

    What is the Frobenius norm of a matrix AAA?

    Model answer

    It is ∥A∥F=∑i,jaij2\|A\|_F=\sqrt{\sum_{i,j}a_{ij}^2}∥A∥F​=∑i,j​aij2​​.

    Explanation

    The Frobenius norm treats all matrix entries as components of one long vector.

  47. 47

    How is the Frobenius norm expressed in terms of the singular values of AAA?

    Model answer

    It is ∥A∥F=∑kσk2\|A\|_F=\sqrt{\sum_k\sigma_k^2}∥A∥F​=∑k​σk2​​.

    Explanation

    The sum of squared entries is equal to the sum of squared singular values.

  48. 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ΣVTA=U\Sigma V^TA=UΣVT does not change the Frobenius norm.

    Explanation

    This allows the Frobenius norm of AAA to be computed from the diagonal matrix Σ\SigmaΣ.

  49. 49

    What is the Frobenius norm of the diagonal singular-value matrix Σ\SigmaΣ?

    Model answer

    It is the square root of the sum of the squared singular values: ∥Σ∥F=∑kσk2\|\Sigma\|_F=\sqrt{\sum_k\sigma_k^2}∥Σ∥F​=∑k​σk2​​.

    Explanation

    The only nonzero entries of Σ\SigmaΣ are the singular values, so the entrywise formula directly gives this result.

  50. 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. 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\|A\|_* = \sum_k\sigma_k∥A∥∗​=∑k​σk​.

    Explanation

    It is the matrix analogue of the vector ℓ1\ell_1ℓ1​ norm applied to the singular-value vector.

  52. 52

    How do the matrix norms based on singular values correspond to vector norms?

    Model answer

    The nuclear norm corresponds to the ℓ1\ell_1ℓ1​ norm of the singular-value vector, the Frobenius norm to its ℓ2\ell_2ℓ2​ norm, and the spectral norm to its ℓ∞\ell_\inftyℓ∞​ norm.

    Explanation

    The three matrix quantities aggregate singular values in the same ways that ℓ1\ell_1ℓ1​, ℓ2\ell_2ℓ2​, and ℓ∞\ell_\inftyℓ∞​ aggregate vector components.

  53. 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. 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. 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. 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. 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.

1 of 57
Question 1 of 57

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent