Exercises

ex-fsp-ch01-01

Easy

Let Ω={1,2,3,4,5,6}\Omega = \{1,2,3,4,5,6\} (a fair die). Define events A={2,4,6}A = \{2,4,6\} (even), B={3,4,5,6}B = \{3,4,5,6\} (greater than 2). Find: (a) ABA \cup B, (b) ABA \cap B, (c) AcBA^c \cap B, (d) AcBcA^c \cup B^c. Use De Morgan's law to check (d).

ex-fsp-ch01-02

Easy

Verify that the geometric probability model is a valid probability measure. Specifically, let Ω={H0T,H1T,H2T,}\Omega = \{H^0 T, H^1 T, H^2 T, \ldots\} (the outcomes of tossing a biased coin with P(H)=1p\mathbb{P}(H) = 1-p until the first Tail). Define P(HkT)=(1p)kp\mathbb{P}(H^k T) = (1-p)^k p for k=0,1,2,k = 0, 1, 2, \ldots Check all three Kolmogorov axioms.

ex-fsp-ch01-03

Medium

Prove the following generalized inclusion-exclusion formula for n=3n=3: P(ABC)=P(A)+P(B)+P(C)P(AB)P(AC)P(BC)+P(ABC).\mathbb{P}(A \cup B \cup C) = \mathbb{P}(A) + \mathbb{P}(B) + \mathbb{P}(C) - \mathbb{P}(A \cap B) - \mathbb{P}(A \cap C) - \mathbb{P}(B \cap C) + \mathbb{P}(A \cap B \cap C). Then use it to find P(ABC)\mathbb{P}(A \cup B \cup C) when P(A)=0.3\mathbb{P}(A) = 0.3, P(B)=0.4\mathbb{P}(B) = 0.4, P(C)=0.2\mathbb{P}(C) = 0.2, P(AB)=0.1\mathbb{P}(A \cap B) = 0.1, P(AC)=0.05\mathbb{P}(A \cap C) = 0.05, P(BC)=0.08\mathbb{P}(B \cap C) = 0.08, P(ABC)=0.02\mathbb{P}(A \cap B \cap C) = 0.02.

ex-fsp-ch01-04

Medium

Let {An}n=1\{A_n\}_{n=1}^{\infty} be an increasing sequence of events (A1A2A_1 \subseteq A_2 \subseteq \cdots) with P(An)=11/n\mathbb{P}(A_n) = 1 - 1/n. Find P(n=1An)\mathbb{P}(\bigcup_{n=1}^{\infty} A_n), justifying your answer rigorously using the continuity of probability.

ex-fsp-ch01-05

Medium

In a binary symmetric channel (BSC) with crossover probability ϵ(0,1/2)\epsilon \in (0,1/2), each transmitted bit is independently flipped with probability ϵ\epsilon. A block of nn bits is transmitted. Using the union bound, upper-bound the probability that at least one bit is in error. Then find the exact probability. When is the union bound tight?

ex-fsp-ch01-06

Medium

A sequence of events {An}\{A_n\} satisfies P(An)=1/n\mathbb{P}(A_n) = 1/\sqrt{n}. Does the first Borel-Cantelli lemma apply? Does the second (which requires independence AND divergent sum)? What can you conclude about P(An i.o.)\mathbb{P}(A_n \text{ i.o.})?

ex-fsp-ch01-07

Medium

A deck of 52 cards is shuffled uniformly at random. Find: (a) The probability that the top card is an Ace. (b) The probability that the top two cards are both Aces. (c) The probability that at least one of the first 5 cards is an Ace. Use the complementary event for (c).

ex-fsp-ch01-08

Medium

A communications system transmits symbols from an alphabet of size qq. An error-correcting code has MM codewords of length nn. (a) What is the total number of possible received sequences? (b) The minimum Hamming distance between codewords is dd. Show that the number of codewords is upper-bounded by Mqn/Vq(n,(d1)/2)M \leq q^n / V_q(n, \lfloor(d-1)/2\rfloor), where Vq(n,t)=k=0t(nk)(q1)kV_q(n,t) = \sum_{k=0}^{t}\binom{n}{k}(q-1)^k is the volume of a Hamming ball of radius tt.

ex-fsp-ch01-09

Hard

The second Borel-Cantelli lemma states: if {An}\{A_n\} are independent with n=1P(An)=\sum_{n=1}^{\infty} \mathbb{P}(A_n) = \infty, then P(An i.o.)=1\mathbb{P}(A_n \text{ i.o.}) = 1. Prove this lemma. You may use the inequality 1xex1-x \leq e^{-x} for x0x \geq 0.

ex-fsp-ch01-10

Medium

The Monty Hall problem. Three doors hide a car (behind one) and goats (behind two). You pick door 1. The host (who knows) opens door 3, revealing a goat. You may switch to door 2 or stay with door 1. (a) Define the sample space and relevant events carefully. (b) Compute P(winstay)\mathbb{P}(\text{win} \mid \text{stay}) and P(winswitch)\mathbb{P}(\text{win} \mid \text{switch}). (c) Should you switch?

ex-fsp-ch01-11

Medium

In a class of n=30n = 30 students, what is the probability that no two students share a birthday? What is the probability that exactly two students share a birthday? (Use 365 days, equally likely, birthdays independent.)

ex-fsp-ch01-12

Hard

Let (Ω,F,P)(\Omega, \mathcal{F}, \mathbb{P}) be a probability space and A1,A2,,AnFA_1, A_2, \ldots, A_n \in \mathcal{F} events. The Boole-Bonferroni lower bound states: P ⁣(i=1nAi)iP(Ai)i<jP(AiAj).\mathbb{P}\!\left(\bigcup_{i=1}^{n} A_i\right) \geq \sum_{i} \mathbb{P}(A_i) - \sum_{i < j} \mathbb{P}(A_i \cap A_j). Prove this inequality (it is the inclusion-exclusion formula with the three-way and higher terms dropped and the inequality direction justified).

ex-fsp-ch01-13

Easy

An antenna selector picks k=2k = 2 antennas from a set of n=6n = 6 antennas for a MIMO transmission. How many distinct antenna pair selections exist? If the selection is made uniformly at random, what is the probability of selecting the pair {1,3}\{1, 3\}?

ex-fsp-ch01-14

Medium

Let {An}n=1\{A_n\}_{n=1}^{\infty} be any sequence of events. Prove that: P ⁣(n=1An)1n=1P(Anc).\mathbb{P}\!\left(\bigcap_{n=1}^{\infty} A_n\right) \geq 1 - \sum_{n=1}^{\infty} \mathbb{P}(A_n^c). This is sometimes called the Weierstrass inequality for probability.

ex-fsp-ch01-15

Challenge

Catalan numbers and random walks. A random walk starts at 0 and at each step moves +1+1 (with probability 1/21/2) or 1-1 (with probability 1/21/2), independently. Let CnC_n be the number of paths of length 2n2n that return to 0 for the first time at step 2n2n (a "first return"). (a) Show that Cn=1n(2(n1)n1)C_n = \frac{1}{n}\binom{2(n-1)}{n-1} (the (n1)(n-1)-th Catalan number). (b) Use Stirling's approximation (n!2πn(n/e)nn! \approx \sqrt{2\pi n}(n/e)^n) to show that Cn4n1πn3/2C_n \sim \frac{4^{n-1}}{\sqrt{\pi} n^{3/2}} as nn \to \infty. (c) Conclude that n=1Cn(1/2)2n=1/2\sum_{n=1}^{\infty} C_n \cdot (1/2)^{2n} = 1/2 — the probability of ever returning to 0 equals 1 for a 1D symmetric random walk.