These are brief answers and hints, not full solutions: they give the result and the key step, so that you can check your own work. Try each exercise properly before looking.
12.1 Precise Conditioning
In both (iv) and (v), the other \(k - 1\) discs are a random selection from the remaining \(b + n - 1\), of which \(n - 1\) are numbered, so both equal \(\frac{(n - 1)\binom{b}{k-2}}{\binom{b+n-1}{k-1}}\). Answer (vi) is \(\frac{\binom n2\binom{b}{k-2}}{\binom{b+n}{k} - \binom bk}\). With \(N = b + n\), the two agree only when \((2N - nk)\binom{N-1}{k-1} = 2k\binom bk\). That happens only in odd cases, such as \((b, n, k) = (2, 4, 3)\), \((3, 3, 4)\) or \((6, 11, 3)\), or trivially when \(n = 2\) and every disc is drawn. It does not hold for the question’s values.
Of the \(14^2 = 196\) equally likely (sex, day) pairs for the two children, \(196 - 13^2 = 27\) include at least one Tuesday boy. Of those, \(7^2 - 6^2 = 13\) have two boys. So the probability is \(\frac{13}{27}\).
You pick door 1. If the car is behind door 1 (probability \(\frac13\)), switching loses; if it is behind door 2 or 3, the host must open the other goat door, and switching wins: \(\frac23\). If the host opens a door at random and it happens to show a goat, the outcomes “car behind your door” and “car behind the other closed door” are equally likely given what you saw: \(\frac12\).
\(\mathrm{P}(\geq2 \mid \geq1) = \frac{1 - \mathrm{P}(0) - \mathrm{P}(1)}{1 - \mathrm{P}(0)} \approx 0.370\), but \(\mathrm{P}(\geq2 \mid \text{ace of spades}) = 1 - \binom{48}{12}\big/\binom{51}{12} \approx 0.561\). Knowing which ace makes a second ace more likely.
12.2 The Base-Rate Fallacy
Both say “body” with probability \(pq\) if it is there and \((1 - p)(1 - q)\) if not. With prior odds \(1 : 1\), the posterior is \(\frac{pq}{pq + (1 - p)(1 - q)} = \frac{pq}{1 - p - q + 2pq}\). For the second part, “\(A\) is there” is true in two of the three equally likely cases, so \(\mathrm{P}(\text{both} \mid \text{both say } A) = \frac{pq}{2pq + (1 - p)(1 - q)}\).
We need \(0.9\pi > \frac{1}{11}(1 - \pi)\), that is, \(\pi > \frac{10}{109} \approx 9.2\%\).
Each positive AL result multiplies the odds by \(\frac{0.9}{1/11} = 9.9\). From prior odds \(\frac{1}{99}\): after one positive, odds \(0.1\) (probability \(\frac{1}{11}\)); after two, odds \(0.99\) (probability about \(0.497\)); after three, odds \(9.8\) (probability about \(0.907\)).
Of the \(100\) people with the condition, \(99\) test positive; of the \(999\,900\) without it, about \(9999\) do. So about \(10\,100\) people are told they may have it, and only \(99\) of them (about \(1\%\)) actually do.
12.3 What Does "Random" Mean?
The chord is longer than the side \(\sqrt3a\) of the inscribed equilateral triangle when: its far end lies in the third of the circle opposite the near end (\(\frac13\)); its distance from \(O\) is less than \(\frac a2\) (\(\frac12\)); its midpoint lies inside the circle of radius \(\frac a2\) (\(\frac14\)).
The chord with midpoint \(C\) is perpendicular to \(OC\), so it is the chord through \(C\) at angle \(t = \frac\pi2\), and \(L(\frac\pi2) = \frac{4a}{3}\bigl(0 + \frac12\sec^2\frac\pi4\bigr) = \frac{4a}{3}\).
The length is \(2\sqrt{a^2 - d^2}\), with mean \(\frac2a\int_0^a\sqrt{a^2 - d^2}\,\mathrm{d}d = \frac2a \cdot \frac{\pi a^2}{4} = \frac{\pi a}{2}\).
Random endpoints: \(\frac{2}{\pi\sqrt{4a^2 - \ell^2}}\). Random distance: \(\frac{\ell}{2a\sqrt{4a^2 - \ell^2}}\). Random midpoint: \(\frac{\ell}{2a^2}\).
12.4 Independent in Pairs, Not All Together
Expanding, \(\mathrm{E}(XY) - \mathrm{E}(X)\mathrm{E}(Y) = (a - pq)(x_1 - x_2)(y_1 - y_2)\), so \(a = pq\); the other three cells then follow, giving independence. Example: put probability \(\frac13\) on \((0, 0)\) and \(\frac16\) on each of \((\pm1, \pm1)\). Both marginals are uniform and \(\mathrm{E}(AB) = 0\), but \(\mathrm{P}(A = 0, B = 1) = 0 \neq \frac19\).
There are \(21\) pairs, each matching with probability \(\frac16\), and the indicators are pairwise independent. So the mean is \(3.5\), the variance is \(21 \cdot \frac16 \cdot \frac56 \approx 2.92\), and the standard deviation is about \(1.71\). A score of \(7\) is about two standard deviations above the mean.
The mean is \(\binom k2\frac{1}{365}\). The indicators are pairwise independent, exactly as for the dice, so the variance is \(\binom k2\frac{1}{365}\cdot\frac{364}{365}\). (They are not mutually independent: if \(1, 2\) and \(2, 3\) match, so do \(1, 3\).)
Take eight equally likely outcomes, \(A = B = \{1, 2, 3, 4\}\) and \(C = \{1, 5, 6, 7\}\). Then \(\mathrm{P}(A \cap B \cap C) = \frac18\), but \(\mathrm{P}(A \cap B) = \frac12 \neq \frac14\).
12.5 The Last Passenger’s Seat
\(\frac13\), for every \(n \geq 3\). The last seat is now one of \(S_1\), \(S_2\) and \(S_n\), and every random choice treats these three symmetrically.
If \(T_1\) takes \(S_1\), nobody is displaced. If \(T_1\) takes \(S_3\), \(T_1\) and \(T_3\) are. If \(T_1\) takes \(S_2\), then \(T_2\) chooses: \(S_1\) gives \(2\) displaced, \(S_3\) gives \(3\). The expectation is \(\frac13\bigl(0 + 2 + \frac52\bigr) = \frac32\), which agrees with \(\frac23 + \frac13 + \frac12\) from the formula.
With \(P_r = \frac12\) for \(r \geq 2\), \(\frac1n\bigl(1 + \frac{n - 2}{2}\bigr) = \frac12\), so the recurrence is consistent with \(P_n = \frac12\).
The last free seat is always \(S_1\) or \(S_n\) (any other \(S_k\) is taken by the time \(T_k\) boards, if not before). So if it is not \(S_n\), it is \(S_1\).
12.6 One More Coin
Let \(H'\) be Bob’s first \(n + 1\) tosses and \(X\) his last. Bob wins if \(H' > H_A\), or if \(H' = H_A\) and \(X\) is a head. So the probability is \(\mathrm{P}(H' > H_A) + \frac12\mathrm{P}(H' = H_A)\), and \(\mathrm{P}(H' > H_A) = \frac12\) by the one-extra-coin result.
No. With \(n = 0\), Bob wins with probability \(p\). The slick proof swaps heads and tails, which is only a symmetry for a fair coin.
\(H_A = H_B\) exactly when \(H_A + (\text{Bob's tails}) = n\), which is a \(\mathrm{B}(2n, \frac12)\) variable equal to \(n\). Values: \(\frac12\), \(\frac38\), \(\frac{5}{16}\).
No: a six is like a coin with \(p = \frac16\). For \(n = 0\) the probability is \(\frac16\), and in general it is below \(\frac12\).
12.7 Who Meets Whom in a Knockout
Round \(k\) has \(2^{n-k}\) matches, and by symmetry each is equally likely to involve any of the \(\binom{2^n}{2}\) pairs. Adding over the \(2^n - 1\) matches in the whole tournament gives \(\frac{2^n - 1}{\binom{2^n}{2}} = \frac{2}{2^n}\).
No: random placement in a fixed bracket keeps the symmetry, and the same counting applies.
\(X\)’s round-\(k\) opponent comes from a group of \(2^{k-1}\) players, each equally likely to win it. So \(Y\) is that opponent with probability \(\frac{2^{k-1}}{2^n - 1} \cdot \frac{1}{2^{k-1}} = \frac{1}{2^n - 1}\), and the total over \(n\) rounds is \(\frac{n}{2^n - 1}\).
\(\binom{2n}{2} = n(2n - 1)\) matches; every pair meets, so the probability is \(1\).
12.8 Penney’s Game
HHT wins only if the first two tosses are HH; otherwise a T comes before HH is completed, and THH must appear first. So HHT wins with probability \(\frac14\). With all four playing: after HH, HHT must win; after TT, TTH must win; from HT and TH, the chances for HTT and THH are \(\frac23\) and \(\frac13\) (or vice versa), giving each player \(\frac14 \cdot 1\) or \(\frac14\bigl(\frac23 + \frac13\bigr)\), that is, \(\frac14\). TTH beats THH with probability \(\frac23\) (part (i)).
For HH: \(e_0 = 1 + \frac12e_{\mathrm{H}} + \frac12e_0\) and \(e_{\mathrm{H}} = 1 + \frac12e_0\), giving \(e_0 = 6\). For HT: once you have an H, you wait for a T (two tosses on average), and the first H takes two tosses: \(4\).
HHH and TTT are beaten by THH and HTT with probability \(\frac78\); HHT and TTH by THH and HTT with \(\frac34\); the other four (HTH, HTT, THH, THT) by HHT, HHT, TTH, TTH with \(\frac23\). HHH and TTT are beaten most easily.
With \(A =\) HTT and \(B =\) HHT, the correlations are \(AA = 4\), \(AB = 0\), \(BB = 4\), \(BA = 2\). The odds that \(B\) wins are \((AA - AB) : (BB - BA) = 4 : 2\), that is, probability \(\frac23\).
12.9 A Fair Decision from a Biased Coin
The number of rounds is geometric: mean \(\frac{1}{p^2 + q^2}\) for part (i) and \(\frac{1}{2pq}\) for von Neumann’s procedure (HT or TH). Since \(p^2 + q^2 - 2pq = (p - q)^2\), von Neumann’s is slower for every \(p \neq \frac12\). It is the fair one, though.
Use von Neumann’s trick to make fair bits. Take two at a time: \(00\), \(01\) and \(10\) choose the three options, and \(11\) means start again.
Compare the tosses, one by one, with the binary expansion \(\frac13 = 0.010101\ldots\) (reading H as \(1\) and T as \(0\)). At the first toss that differs, declare “heads” if the toss is below the digit (T against a \(1\)) and “tails” otherwise. This gives heads with probability exactly \(\frac13\), using \(2\) tosses on average.
After an undecided round there are two of one face and one of the other, and the process is a Markov chain on these two states. Solving it gives \(\mathrm{P}(\text{hotel}) = \frac{p^3}{p^3 + q^3}\), which is \(\frac12\) when \(p = \frac12\): fair then, but not otherwise.
12.10 Tying Loose Ends
The first tie makes a ring with probability \(\frac13\) (one of the three other ends is from the same string), and then the last tie always makes a ring. Rings: \(2\) with probability \(\frac13\), \(1\) with probability \(\frac23\); the mean is \(\frac43\).
With \(k\) strings left, a tie avoids making a ring with probability \(1 - \frac{1}{2k - 1}\). The product \(\prod_{k=2}^{n}\frac{2k - 2}{2k - 1}\) equals \(\frac{4^n}{2n\binom{2n}{n}}\), which is about \(\frac{\sqrt{\pi n}}{2n} = \sqrt{\frac{\pi}{4n}}\).
Insert the elements \(1, 2, \ldots, n\) in turn: element \(k\) either starts a new cycle (probability \(\frac1k\)) or is placed after one of the \(k - 1\) earlier elements. Adding the indicators gives \(H_n\).
The ring indicators for the successive ties are independent with probabilities \(\frac{1}{2k - 1}\), so the variance is \(\sum\frac{1}{2k - 1}\bigl(1 - \frac{1}{2k - 1}\bigr)\). And \(\sum_{k \geq 1}\frac{1}{(2k - 1)^2} = \frac{\pi^2}{6} - \frac14 \cdot \frac{\pi^2}{6} = \frac{\pi^2}{8}\).
12.11 Stamps, Cups and \(e\)
\(\sum_{k \geq 2}\frac{k - 1}{k!}t^k = t\mathrm{e}^t - (\mathrm{e}^t - 1) = 1 + (t - 1)\mathrm{e}^t\). Differentiating, \(\mathrm{E}(N) = \mathrm{G}'(1) = \mathrm{e}\) and \(\mathrm{E}(N(N - 1)) = \mathrm{G}''(1) = 2\mathrm{e}\), so \(\mathrm{Var}(N) = 3\mathrm{e} - \mathrm{e}^2\).
\(\mathrm{P}(N = j)\) appears in \(\mathrm{P}(N > k)\) for \(k = 0, \ldots, j - 1\), that is, \(j\) times. Here \(\mathrm{P}(N > k) = \frac{1}{k!}\), so \(\mathrm{E}(N) = \sum\frac{1}{k!} = \mathrm{e}\).
It does not change at all: Jim is certain to “guess” correctly with one cup. The expected price is still \(\mathrm{e}\).
\(\int_0^1\frac{(1 - u)^2}{2}\,\mathrm{d}u = \frac16\). In general the slice at \(u_k = u\) is a \((k - 1)\)-dimensional simplex scaled by \(1 - u\), so \(V_k = V_{k-1}\int_0^1(1 - u)^{k-1}\,\mathrm{d}u = \frac{V_{k-1}}{k}\).
12.12 When to Stop Looking
If the biggest is in position \(k \geq 2\), you get it exactly when the first ice-cream is the biggest of the first \(k - 1\), with probability \(\frac{1}{k - 1}\). Averaging over \(k\) gives \(\frac1n\sum_{k=2}^n\frac{1}{k - 1}\), which is \(\frac{11}{24}\) for \(n = 4\). By listing the \(24\) orders, the second, third and fourth biggest come with probabilities \(\frac{7}{24}\), \(\frac16\) and \(\frac{1}{12}\).
Rejecting \(r = 0, 1, 2, 3\) gives \(\frac14\), \(\frac{11}{24}\), \(\frac{5}{12}\), \(\frac14\). So reject one candidate, and succeed with probability \(\frac{11}{24}\).
The probability that the best of the first \(n\) is in the top two is \(\frac nN + \frac nN\cdot\frac{N - n}{N - 1}\), nearly double \(\frac nN\) when \(n\) is small. If one of the top two will do, you can afford to look at fewer candidates before committing. (The best strategy for this goal succeeds with probability about \(0.57\).)
With \(\mathrm{P}(r) = \frac rN\sum_{k=r}^{N-1}\frac1k\): for \(N = 10\), \(r = 2, 3, 4\) give \(0.366\), \(0.399\), \(0.398\); for \(N = 100\), \(r = 36, 37, 38\) give \(0.3710\), \(0.3710\), \(0.3708\), with \(r = 37\) just ahead.
12.13 The Truel
With Algernon missing, Bertie throws at Cuthbert. If he hits (\(\frac35\)), it is Algernon against Bertie with Algernon throwing first, and Bertie wins with probability \(1 - \frac{2/5}{2/5 + 3/5 - 6/25} = \frac{9}{19}\). If he misses, Cuthbert hits Bertie, and Cuthbert then wins unless Algernon hits first (\(\frac35\)). So Bertie wins with probability \(\frac35 \cdot \frac{9}{19} = \frac{135}{475}\) and Cuthbert with \(\frac25 \cdot \frac35 = \frac{114}{475}\).
For every \(a < 1\). Missing gives \(\frac35\cdot\frac{a}{a + \frac35 - \frac35a} + \frac25a\); hitting Cuthbert gives \(1 - \frac{3/5}{3/5 + a - \frac35a}\) (Bertie then throws first at him), which is always smaller, and hitting Bertie gives \(0\).
No. If Bertie throws at Algernon and hits, Cuthbert then hits Bertie; if he misses, Cuthbert hits Bertie anyway. Either way Bertie gets nothing, against \(\frac{27}{95}\) by throwing at Cuthbert.
\(p + (1 - p)(1 - r)p\), which is less than \(\frac{p}{p + r - pr}\), the sum of the full geometric series.
12.14 Mixed Strategies
With \(b = (\frac14, \frac12, \frac14)\), \(X = Y = Z = 0\), so B wins \(0\) against everything. Against \((\frac13, \frac13, \frac13)\), A’s expected winnings are \(-\frac13\), \(0\) and \(\frac13\) for guesses \(1\), \(2\) and \(3\), so A should always guess \(3\).
The payoff matrix has \(0\) on the diagonal and \(\pm1\) elsewhere, unchanged when the three strategies are permuted cyclically, so the optimal strategy is \((\frac13, \frac13, \frac13)\). In the question the penalties for differences of \(1\) and \(2\) differ, so the strategies are not interchangeable.
If \(X\), \(Y\), \(Z \geq 0\) and \(X + 2Y + Z = 0\), then all three are \(0\). This forces \(b_1 = b_3\) and \(b_2 = 2b_3\).
Now \(X = -b_2 + 3b_3\), \(Y = b_1 - b_3\) and \(Z = -3b_1 + b_2\), with \(X + 3Y + Z = 0\). Setting all three to zero gives \((\frac15, \frac35, \frac15)\).
12.15 Extinction or Explosion
The extinction probability is the smallest root in \([0, 1]\) of \(s = (q + ps)^2\). The roots are \(1\) and \(\bigl(\frac qp\bigr)^2\), and the second is smaller than \(1\) exactly when \(p > \frac12\).
Given \(X_{n-1}\), \(X_n\) has mean \(2pX_{n-1}\) and variance \(2pqX_{n-1}\), so \(\mathrm{Var}(X_n) = \mathrm{E}(2pqX_{n-1}) + (2p)^2\mathrm{Var}(X_{n-1})\). For \(p = \frac12\): \(\mathrm{Var}(X_n) = \mathrm{Var}(X_{n-1}) + \frac12\), so \(\mathrm{Var}(X_n) = \frac n2\).
Extinction by generation \(n\) means each first-generation particle’s line dies within \(n - 1\) generations. With \(p = \frac34\): \(e_1 = 0.0625\), \(e_2 \approx 0.0881\), \(e_3 \approx 0.0999\), increasing towards \(\frac19 \approx 0.111\).
\(s = \frac14(1 + s + s^2 + s^3)\) factorises as \((s - 1)(s^2 + 2s - 1) = 0\), so the extinction probability is \(\sqrt2 - 1 \approx 0.414\).
12.16 Markov Chains Forwards and Backwards
By symmetry \(p_B = p_D\); also \(p_A = \frac13 + \frac23p_B\), \(p_B = \frac13p_A + \frac13p_C\) and \(p_C = \frac23p_B\). So \(p_A = \frac{7}{15}\). Leaving at \(A\) without visiting \(C\), starting from \(A\): \(x_A = \frac13 + \frac23x_B\) and \(x_B = \frac13x_A\), so \(x_A = \frac37\). The conditional probability is \(\frac{3/7}{7/15} = \frac{45}{49}\).
Multiply the first row by \(P\): \((0.19, 0.33, 0.48)\).
The trace is \(1.3\) and the determinant is \(0.02\), and \(1\) is an eigenvalue (rows sum to \(1\)). The other two have sum \(0.3\) and product \(0.02\): they are \(0.2\) and \(0.1\).
\(a_1p_{12} = \frac{1}{20}\) but \(a_2p_{21} = \frac{1}{15}\), so the chain is not reversible: run backwards, it has different transition probabilities (the \(q_{ij}\) of part (iii) differ from the \(p_{ij}\)).
12.17 Banach’s Matchboxes
If the second reach is for the same kind as the first, she discovers it empty then (\(N = 2\)); otherwise she takes the other sweet and discovers an empty packet at the third reach. So \(N = 2\) or \(3\), each with probability \(\frac12\).
\(n = 1\): \(\frac12 + \frac12 = 1\). \(n = 2\): \(\frac{6}{16} + \frac{6}{16} + \frac{4}{16} = 1\).
\(\binom{2n - 1}{n}2^{-(2n-1)} = \frac12\binom{2n}{n} \cdot 2 \cdot 4^{-n} = \binom{2n}{n}4^{-n}\).
A first-step recursion on the numbers of toffees and mints left gives \(\frac{64}{81} \approx 0.79\).
12.18 Memorylessness
\(\mathrm{P}(\min > t) = \mathrm{e}^{-\lambda_1t}\mathrm{e}^{-\lambda_2t}\). The wait for the next bus is exponential with rate \(\frac{1}{15} + \frac{1}{30} = \frac{1}{10}\) per minute, so its median is \(10\ln2 \approx 6.9\) minutes.
\(\mathrm{P}(Y \geq k) = (1 - p)^k\), so the ratio is \((1 - p)^n\).
The gap containing \(t\) consists of the time back to the last bus and the time forward to the next, both exponential with mean \(\frac1\lambda\) (for large \(t\)), so its expected length is \(\frac2\lambda\). Long gaps are more likely to contain a given time.
\(\frac{\lambda\mathrm{e}^{-\lambda z}}{1 - \mathrm{e}^{-\lambda}}\) on \([0, 1]\). For \(\lambda = 1\) it falls gently from about \(1.58\) to \(0.58\); for \(\lambda = 5\) it is concentrated near \(0\), falling from about \(5.03\) to \(0.03\).
12.19 Random Points in the Plane
\(1 - \mathrm{e}^{-\pi ky^2} = \frac12\) gives a median of \(\sqrt{\frac{\ln2}{\pi k}} \approx \frac{0.470}{\sqrt k}\), a little less than the mean \(\frac{1}{2\sqrt k}\).
\(\mathrm{P}(Y_2 > y) = \mathrm{e}^{-\pi ky^2}(1 + \pi ky^2)\), so the density is \(2\pi^2k^2y^3\mathrm{e}^{-\pi ky^2}\).
In polar coordinates the density of \(R\) is \(\frac{1}{2\pi\sigma^2}\mathrm{e}^{-r^2/(2\sigma^2)} \cdot 2\pi r\). It matches the supermarket distribution when \(\sigma^2 = \frac{1}{2\pi k}\).
With \(k = 4 \times 10^{-4}\) per m\(^2\), complete randomness predicts a mean of \(\frac{1}{2\sqrt k} = 25\) m. The observed \(35\) m is larger, which suggests the trees are spaced out (competition), not clustered.
12.20 Buffon’s Needle
Cut the needle into short pieces. The expected number of crossings is additive, and each short piece contributes in proportion to its length, so the total is \(\frac{2a}{\pi b}\) whatever \(a\) is.
By the same additivity (Buffon’s noodle), still \(\frac{2a}{\pi b}\).
The centre must be at least \(r\) from every edge: \(\frac{(s - 2r)^2}{s^2}\).
\(\frac{1808}{3408} \approx \frac{5}{3\pi}\) gives \(\pi \approx \frac{5 \times 3408}{3 \times 1808} = \frac{17\,040}{5424} = \frac{355}{113}\): suspiciously perfect.
12.21 Breaking a Stick
A triangle needs every piece shorter than \(\frac12\). In the unit square of break points, this cuts out a region of area \(\frac14\).
Suppose the first break is at \(x < \frac12\) (the other case is symmetric) and the longer piece \(1 - x\) is broken uniformly. Both new pieces must be shorter than \(\frac12\), which has probability \(\frac{x}{1 - x}\). So the answer is \(2\int_0^{1/2}\frac{x}{1 - x}\,\mathrm{d}x = 2\ln2 - 1\).
The angle at \(C\) is obtuse when \((2 - x - y)^2 > x^2 + y^2\), that is, \(y < \frac{2 - 2x}{2 - x}\). The area between this curve and \(x + y = 1\) is \(\frac32 - 2\ln2\), so the probability is \(3 - 4\ln2\), the same as at \(B\). This is no accident: the three sides are each at most \(1\) with sum \(2\), uniformly, so they are interchangeable. So \(\mathrm{P}(\text{obtuse}) = 9 - 12\ln2 \approx 0.68\).
By inclusion–exclusion, the longest piece \(M\) has \(\mathrm{P}(M > m) = 3(1 - m)^2 - 3(1 - 2m)_+^2 + (1 - 3m)_+^2\), where \(x_+ = \max(x, 0)\). Integrating over \([0, 1]\) gives \(\mathrm{E}(M) = 1 - \frac12 + \frac19 = \frac{11}{18}\).
12.22 A Distribution With No Mean
\(\mathrm{P}(\tan\Theta \leq k) = \frac1\pi\bigl(\tan^{-1}k + \frac\pi2\bigr)\), and differentiating gives \(\frac{1}{\pi(1 + k^2)}\).
Swapping \(U\) and \(V\) preserves a radially symmetric density, so \(\frac VU\) has the same distribution as \(\frac UV\).
The density is symmetric, so the median is \(0\); and \(\mathrm{P}(C \leq 1) = \frac12 + \frac1\pi\tan^{-1}1 = \frac34\).
\(\frac{1}{2\pi}\mathrm{e}^{-r^2/2}\,r\,\mathrm{d}r\,\mathrm{d}\theta\), and with \(s = r^2\) this is \(\frac{1}{2\pi}\,\mathrm{d}\theta \cdot \frac12\mathrm{e}^{-s/2}\,\mathrm{d}s\): the angle is uniform, \(R^2\) is exponential with mean \(2\), and they are independent.
12.23 Stirling from Probability
\(\sqrt{20\pi}(10/\mathrm{e})^{10} \approx 3\,598\,696\) (about \(0.8\%\) low) and \(\sqrt{40\pi}(20/\mathrm{e})^{20} \approx 2.4228 \times 10^{18}\) (about \(0.4\%\) low).
\(\frac{(2n)!}{(n!)^2} \approx \frac{\sqrt{4\pi n}(2n/\mathrm{e})^{2n}}{2\pi n(n/\mathrm{e})^{2n}} = \frac{4^n}{\sqrt{\pi n}}\).
\(100\log_{10}\frac{100}{\mathrm{e}} + \frac12\log_{10}(200\pi) \approx 157.97\), so \(100!\) has \(158\) digits.
\(\binom{1000}{500}2^{-1000} \approx \frac{1}{\sqrt{500\pi}} \approx 0.0252\).
12.24 The Central Limit Theorem
Convolving, \(\frac14\int\mathrm{e}^{-|x| - |y - x|}\,\mathrm{d}x = \frac14(1 + |y|)\mathrm{e}^{-|y|}\). The variance is \(2 + 2 = 4\).
\(\mathrm{E}(\mathrm{e}^{\theta X}) = \frac12(\mathrm{e}^{\theta/2} + \mathrm{e}^{-\theta/2}) = \cosh\frac\theta2\). The standardised sum \(\frac{2}{\sqrt n}\sum X_i\) has generating function \(\cosh^n\frac{\theta}{\sqrt n}\), whose logarithm is \(n\ln\bigl(1 + \frac{\theta^2}{2n} + \cdots\bigr) \to \frac{\theta^2}{2}\).
Writing \(Y\) as a difference of two independent \(\Gamma(82, 1)\) variables and integrating numerically gives \(\mathrm{P}(|Y| \geq 25) \approx 0.051\): the normal approximation is very good.
There is no moment generating function, and not even a mean. In fact the average of \(n\) independent Cauchy variables is itself Cauchy: averaging does not concentrate it at all.
12.25 The Largest of Many
The first of \(n\) lifetimes ends after a mean time \(\frac{1}{n\lambda}\); then \(n - 1\) remain, starting afresh, and so on. So \(\mathrm{E}(Y) = \frac1\lambda\bigl(\frac1n + \frac{1}{n - 1} + \cdots + 1\bigr)\).
\(\mathrm{P}(\min > t) = (\mathrm{e}^{-\lambda t})^n = \mathrm{e}^{-n\lambda t}\).
\((1 - \mathrm{e}^{-\lambda y})^n = \frac12\) gives \(\lambda y = -\ln(1 - 2^{-1/n})\). For \(n = 10\) this is \(2.704\), against the approximation \(\ln10 - \ln\ln2 \approx 2.669\).
\(\mathrm{P}(M \leq m) = m^n\), so \(\mathrm{P}\bigl(n(1 - M) > s\bigr) = \bigl(1 - \frac sn\bigr)^n \to \mathrm{e}^{-s}\). This is the Weibull type: the variables are bounded above, and the maximum piles up against the bound.