Skip to content
The Lumenary

Practice · Early undergraduate

Probability theory

Probability theory

Warm-upHuman

You roll a fair die until the first six appears. What is the expected number of rolls, including the roll that shows the six?

Probability theory

CoreHuman

A fair coin is flipped 4141 times. A double is a position ii (1≤i≤401 \le i \le 40) where flips ii and i+1i + 1 are both heads; overlapping doubles count separately (HHH contains two). What is the expected number of doubles?

Probability theory

CoreHuman

In which of these situations is E[XY]=E[X] E[Y]E[XY] = E[X]\,E[Y] guaranteed? (All variables have finite variance. Choose all that apply.)

Choose all that apply

Probability theory

CoreHuman

Let SS be the number of heads in 400400 flips of a fair coin. What is the smallest cc for which Chebyshev's inequality guarantees P(∣S−200∣≥c)≤14P(|S - 200| \ge c) \le \tfrac14?

Probability theory

CoreHuman

The proof of the weak law of large numbers has four steps: (1) E[Xˉn]=μE[\bar X_n] = \mu; (2) Var⁡Xˉn=σ2/n\operatorname{Var} \bar X_n = \sigma^2/n; (3) apply Chebyshev's inequality to Xˉn\bar X_n; (4) let n→∞n \to \infty. Which step uses the hypothesis that the XiX_i are pairwise uncorrelated?

Choose one

Probability theory

CoreHuman

Which statement is a correct consequence of the central limit theorem?

Choose one

Probability theory

StretchHuman

Ten letters are put into ten addressed envelopes uniformly at random. Let NN be the number of letters in the right envelope. What is Var⁡N\operatorname{Var} N?

Choose one

Probability theory

CoreFormal

Which Lean statement correctly formalises Chebyshev's inequality c2 P(∣X−EX∣≥c)≤Var⁡Xc^2\,P(|X - E X| \ge c) \le \operatorname{Var} X? (Here μ is a probability measure, μ[X] is EXE X and Var[X; μ] is Var⁡X\operatorname{Var} X.)

Choose one

Probability theory

StretchComputational

Write tail(n, k) returning the exact probability, as a Fraction, that the number of heads SS in nn fair coin flips satisfies ∣S−n/2∣≥k|S - n/2| \ge k. Then write chebyshev(n, k) returning Chebyshev's bound n/4k2\frac{n/4}{k^2} as a Fraction. The tests check that the bound always holds and is far from sharp for large nn.

Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.