Section 3.11

Problems

[57/100%]
Show
LaTeX
Problem 3.11.1
?
(a)

Let XX and YY be independent discrete random variables, and let g,h:R→Rg, h: \mathbb {R} \rightarrow \mathbb {R}. Show that g(X)g(X) and h(Y)h(Y) are independent.

(b)

Show that two discrete random variables XX and YY are independent if and only if fX,Y(x,y)=fX(x)fY(y)f_{X, Y}(x, y) = f_{X}(x) f_{Y}(y) for all x,y∈Rx, y \in \mathbb {R}.

(c)

More generally, show that XX and YY are independent if and only if fX,Y(x,y)f_{X, Y}(x, y) can be factorized as the product g(x)h(y)g(x) h(y) of a function of xx alone and a function of yy alone.

Problem 3.11.2

Show that if Var⁡[X]=0\operatorname {Var}\left[X\right] = 0 then XX is almost surely constant; that is, there exists a∈Ra \in \mathbb {R} such that P(X=a)=1\mathbb {P}\left(X = a\right) = 1. (First show that if E[X2]=0\mathbb {E}\left[X^{2}\right] = 0 then P(X=0)=1\mathbb {P}\left(X = 0\right) = 1.)

?
Problem 3.11.3
?
(a)

Let XX be a discrete random variable and let g:R→Rg: \mathbb {R} \rightarrow \mathbb {R}. Show that, when the sum is absolutely convergent,

E[g(X)]=∑xg(x)P(X=x) \mathbb {E}\left[g(X)\right] = \sum _{x} g(x) \mathbb {P}\left(X = x\right)
(b)

If XX and YY are independent and g,h:R→Rg, h: \mathbb {R} \rightarrow \mathbb {R}, show that E[g(X)h(Y)]=E[g(X)]E[h(Y)]\mathbb {E}\left[g(X) h(Y)\right] = \mathbb {E}\left[g(X)\right] \mathbb {E}\left[h(Y)\right] whenever these expectations exist.

Problem 3.11.4

Let Ω={ω1,ω2,ω3}\Omega = \left\{ \omega_{1}, \omega_{2}, \omega_{3}\right\}, with P(ω1)=P(ω2)=P(ω3)=13\mathbb {P}\left(\omega_{1}\right) = \mathbb {P}\left(\omega_{2}\right) = \mathbb {P}\left(\omega_{3}\right) = \frac{1}{3}. Define X,Y,Z:Ω→RX, Y, Z: \Omega \rightarrow \mathbb {R} by

X(ω1)=1,X(ω2)=2,X(ω3)=3,Y(ω1)=2,Y(ω2)=3,Y(ω3)=1,Z(ω1)=2,Z(ω2)=2,Z(ω3)=1. \begin{aligned} & X\left(\omega _{1}\right) = 1, \quad X\left(\omega _{2}\right) = 2, \quad X\left(\omega _{3}\right) = 3, \\ & Y\left(\omega _{1}\right) = 2, \quad Y\left(\omega _{2}\right) = 3, \quad Y\left(\omega _{3}\right) = 1, \\ & Z\left(\omega _{1}\right) = 2, \quad Z\left(\omega _{2}\right) = 2, \quad Z\left(\omega _{3}\right) = 1. \end{aligned}

Show that XX and YY have the same mass functions. Find the mass functions of X+Y,XYX+Y, X Y, and X/YX / Y. Find the conditional mass functions fY∣Zf_{Y \mid Z} and fZ∣Yf_{Z \mid Y}.

?
Problem 3.11.5

For what values of kk and α\alpha is ff a mass function, where:

?
(a)

f(n)=k/{n(n+1)},n=1,2,…f(n) = k /\left\{ n(n+1)\right\} , n = 1,2, \ldots,

(b)

f(n)=knα,n=1,2,…f(n) = k n^{\alpha }, n = 1,2, \ldots (zeta or Zipf distribution)?

Problem 3.11.6

Let XX and YY be independent Poisson variables with respective parameters λ\lambda and μ\mu. Show that:

?
(a)

X+YX+Y is Poisson, parameter λ+μ\lambda +\mu,

(b)

the conditional distribution of XX, given X+Y=nX+Y = n, is binomial, and find its parameters.

Problem 3.11.7

If XX is geometric, show that P(X=n+k∣X>n)=P(X=k)\mathbb {P}\left(X = n+k \mid X > n\right) = \mathbb {P}\left(X = k\right) for k,n≥1k, n \geq 1. Why do you think that this is called the 'lack of memory' property? Does any other distribution on the positive integers have this property?

?
Problem 3.11.8

Show that the sum of two independent binomial variables, bin⁡(m,p)\operatorname {bin}(m, p) and bin⁡(n,p)\operatorname {bin}(n, p) respectively, is bin⁡(m+n,p)\operatorname {bin}(m+n, p).

?
Problem 3.11.9

Let NN be the number of heads occurring in nn tosses of a biased coin. Write down the mass function of NN in terms of the probability pp of heads turning up on each toss. Prove and utilize the identity

∑i(n2i)x2iyn−2i=12{(x+y)n+(y−x)n} \sum _{i}\binom {n}{2 i} x^{2 i} y^{n-2 i} = \frac{1}{2}\left\{ (x+y)^{n}+(y-x)^{n}\right\}

in order to calculate the probability pnp_{n} that NN is even. Compare with Problem (1.8.20).

?
Problem 3.11.10

An urn contains NN balls, bb of which are blue and r(=N−b)r( = N-b) of which are red. A random sample of nn balls is withdrawn without replacement from the urn. Show that the number BB of blue balls in this sample has the mass function

P(B=k)=(bk)(N−bn−k)/(Nn) \mathbb {P}\left(B = k\right) = \binom {b}{k}\binom {N-b}{n-k} /\binom {N}{n}

This is called the hypergeometric distribution with parameters N,bN, b, and nn. Show further that if N,bN, b, and rr approach ∞\infty in such a way that b/N→pb / N \rightarrow p and r/N→1−pr / N \rightarrow 1-p, then

P(B=k)→(nk)pk(1−p)n−k \mathbb {P}\left(B = k\right) \rightarrow \binom {n}{k} p^{k}(1-p)^{n-k}

You have shown that, for small nn and large NN, the distribution of BB barely depends on whether or not the balls are replaced in the urn immediately after their withdrawal.

?
Problem 3.11.11

Let XX and YY be independent bin⁡(n,p)\operatorname {bin}(n, p) variables, and let Z=X+YZ = X+Y. Show that the conditional distribution of XX given Z=NZ = N is the hypergeometric distribution of Problem (3.11.10).

?
Problem 3.11.12

Suppose XX and YY take values in {0,1}\left\{ 0,1\right\}, with joint mass function f(x,y)f(x, y). Write f(0,0)=af(0,0) = a, f(0,1)=b,f(1,0)=c,f(1,1)=df(0,1) = b, f(1,0) = c, f(1,1) = d, and find necessary and sufficient conditions for XX and YY to be:

?
(a)

uncorrelated,

(b)

independent.

Problem 3.11.13
?
(a)

If XX takes non-negative integer values show that

E[X]=∑n=0∞P(X>n) \mathbb {E}\left[X\right] = \sum _{n = 0}^{\infty } \mathbb {P}\left(X > n\right)
(b)

An urn contains bb blue and rr red balls. Balls are removed at random until the first blue ball is drawn. Show that the expected number drawn is (b+r+1)/(b+1)(b+r+1) /(b+1).

(c)

The balls are replaced and then removed at random until all the remaining balls are of the same colour. Find the expected number remaining in the urn.

(d)

Let XX and YY be independent random variables taking values in the non-negative integers, with finite means. Let U=min⁡{X,Y}U = \min \left\{ X, Y\right\} and V=max⁡{X,Y}V = \max \left\{ X, Y\right\}. Show that

E[U]=∑r=1∞P(X≥r)P(Y≥r)E[V]=∑r=1∞[P(X≥r)+P(Y≥r)−P(X≥r)P(Y≥r)]E[UV]=∑r,s=1∞P(X≥r)P(Y≥s) \begin{aligned} \mathbb {E}\left[U\right] & = \sum _{r = 1}^{\infty } \mathbb {P}\left(X \geq r\right) \mathbb {P}\left(Y \geq r\right) \\ \mathbb {E}\left[V\right] & = \sum _{r = 1}^{\infty }[\mathbb {P}\left(X \geq r\right)+\mathbb {P}\left(Y \geq r\right)-\mathbb {P}\left(X \geq r\right) \mathbb {P}\left(Y \geq r\right)] \\ \mathbb {E}\left[U V\right] & = \sum _{r, s = 1}^{\infty } \mathbb {P}\left(X \geq r\right) \mathbb {P}\left(Y \geq s\right) \end{aligned}
(e)

Let XX take values in the non-negative integers. Show that

E[X2]=E[X]+2∑r=0∞rP(X>r)=∑r=0∞(2r+1)P(X>r) \mathbb {E}\left[X^{2}\right] = \mathbb {E}\left[X\right]+2 \sum _{r = 0}^{\infty } r \mathbb {P}\left(X > r\right) = \sum _{r = 0}^{\infty }(2 r+1) \mathbb {P}\left(X > r\right)

and find a similar formula for E[X3]\mathbb {E}\left[X^{3}\right].

Problem 3.11.14

Let X1,X2,…,XnX_{1}, X_{2}, \ldots , X_{n} be independent random variables, and suppose that XkX_{k} is Bernoulli with parameter pkp_{k}. Show that Y=X1+X2+⋯+XnY = X_{1}+X_{2}+\cdots +X_{n} has mean and variance given by

E[Y]=∑1npk,Var⁡[Y]=∑1npk(1−pk) \mathbb {E}\left[Y\right] = \sum _{1}^{n} p_{k}, \quad \operatorname {Var}\left[Y\right] = \sum _{1}^{n} p_{k}\left(1-p_{k}\right)

Show that, for E[Y]\mathbb {E}\left[Y\right] fixed, Var⁡[Y]\operatorname {Var}\left[Y\right] is a maximum when p1=p2=⋯=pnp_{1} = p_{2} = \cdots = p_{n}. That is to say, the variation in the sum is greatest when individuals are most alike. Is this contrary to intuition?

?
Problem 3.11.15

Let X=(X1,X2,…,Xn)\mathbf{X} = \left(X_{1}, X_{2}, \ldots , X_{n}\right) be a vector of random variables. The covariance matrix V(X)\mathbf{V}(\mathbf{X}) of X\mathbf{X} is defined to be the symmetric nn by nn matrix with entries (vij:1≤i,j≤n)\left(v_{i j}: 1 \leq i, j \leq n\right) given by vij=Cov⁡[Xi,Xj]v_{i j} = \operatorname {Cov}\left[X_{i}, X_{j}\right]. Show that ∣V(X)∣=0\left|\mathbf{V}(\mathbf{X})\right| = 0 if and only if the XiX_{i} are linearly dependent with probability one, in that P(a1X1+a2X2+⋯+anXn=b)=1\mathbb {P}\left(a_{1} X_{1}+a_{2} X_{2}+\cdots +a_{n} X_{n} = b\right) = 1 for some a\mathbf{a} and bb. (∣V∣(\left|\mathbf{V}\right| denotes the determinant of V\mathbf{V}.)

?
Problem 3.11.16

Let XX and YY be independent Bernoulli random variables with parameter 12\frac{1}{2}. Show that X+YX+Y and ∣X−Y∣\left|X-Y\right| are dependent though uncorrelated.

?
Problem 3.11.17

A secretary drops nn matching pairs of letters and envelopes down the stairs, and then places the letters into the envelopes in a random order. Use indicators to show that the number XX of correctly matched pairs has mean and variance 1 for all n≥2n \geq 2. Show that the mass function of XX converges to a Poisson mass function as n→∞n \rightarrow \infty.

?
Problem 3.11.18

Let X=(X1,X2,…,Xn)\mathbf{X} = \left(X_{1}, X_{2}, \ldots , X_{n}\right) be a vector of independent random variables each having the Bernoulli distribution with parameter pp. Let f:{0,1}n→Rf:\left\{ 0,1\right\}^{n} \rightarrow \mathbb {R} be increasing, which is to say that f(x)≤f(y)f(\mathbf{x}) \leq f(\mathbf{y}) whenever xi≤yix_{i} \leq y_{i} for each ii.

?
(a)

Let e(p)=E[f(X)]e(p) = \mathbb {E}\left[f(\mathbf{X})\right]. Show that e(p1)≤e(p2)e\left(p_{1}\right) \leq e\left(p_{2}\right) if p1≤p2p_{1} \leq p_{2}.

(b)

FKG inequality. Let ff and gg be increasing functions from {0,1}n\left\{ 0,1\right\}^{n} into R\mathbb {R}. Show by induction on nn that Cov⁡[f(X),g(X)]≥0\operatorname {Cov}\left[f(\mathbf{X}), g(\mathbf{X})\right] \geq 0.

Problem 3.11.19

Let R(p)R(p) be the reliability function of a network GG with a given source and sink, each edge of which is working with probability pp, and let AA be the event that there exists a working connection from source to sink. Show that

R(p)=∑ωIA(ω)pN(ω)(1−p)m−N(ω) R(p) = \sum _{\omega } I_{A}(\omega ) p^{N(\omega )}(1-p)^{m-N(\omega )}

where ω\omega is a typical realization (i.e. outcome) of the network, N(ω)N(\omega ) is the number of working edges of ω\omega, and mm is the total number of edges of GG.

Deduce that R′(p)=Cov⁡[IA,N]/{p(1−p)}R^{\prime }(p) = \operatorname {Cov}\left[I_{A}, N\right] /\left\{ p(1-p)\right\}, and hence that

R(p)(1−R(p))p(1−p)≤R′(p)≤mR(p)(1−R(p))p(1−p) \frac{R(p)(1-R(p))}{p(1-p)} \leq R^{\prime }(p) \leq \sqrt{\frac{m R(p)(1-R(p))}{p(1-p)}}
?
Problem 3.11.20

Let R(p)R(p) be the reliability function of a network GG, each edge of which is working with probability pp.

?
(a)

Show that R(p1p2)≤R(p1)R(p2)R\left(p_{1} p_{2}\right) \leq R\left(p_{1}\right) R\left(p_{2}\right) if 0≤p1,p2≤10 \leq p_{1}, p_{2} \leq 1.

(b)

Show that R(pγ)≤R(p)γR\left(p^{\gamma }\right) \leq R(p)^{\gamma } for all 0≤p≤10 \leq p \leq 1 and γ≥1\gamma \geq 1.

Problem 3.11.21

In a certain style of detective fiction, the sleuth is required to declare "the criminal has the unusual characteristics...; find this person and you have your man". Assume that any given individual has these unusual characteristics with probability 10−710^{-7} independently of all other individuals, and that the city in question contains 10710^{7} inhabitants. Calculate the expected number of such people in the city.

?
(a)

Given that the police inspector finds such a person, what is the probability that there is at least one other?

(b)

If the inspector finds two such people, what is the probability that there is at least one more?

(c)

How many such people need be found before the inspector can be reasonably confident that he has found them all?

(d)

For the given population, how improbable should the characteristics of the criminal be, in order that he (or she) be specified uniquely?

Problem 3.11.22

In 1710, J. Arbuthnot observed that male births had exceeded female births in London for 82 successive years. Arguing that this showed the two sexes cannot be equally likely, since 2−822^{-82} is very small, he attributed this run of masculinity to Divine Providence. Let us assume that each birth results in a girl with probability p=0.485p = 0.485, and that the outcomes of different confinements are independent of each other. Ignoring the possibility of twins (and so on), show that the probability that girls outnumber boys in 2n2 n live births is no greater than (2nn)pnqn{q/(q−p)}\binom {2 n}{n} p^{n} q^{n}\left\{ q /(q-p)\right\}, where q=1−pq = 1-p. Suppose that 20,000 children are born in each of 82 successive years. Show that the probability that boys outnumber girls every year is at least 0.99. You may need Stirling's formula.

?
Problem 3.11.23

Consider a symmetric random walk with an absorbing barrier at NN and a reflecting barrier at 0 (so that, when the particle is at 00, it moves to 1 at the next step). Let αk(j)\alpha_{k}(j) be the probability that the particle, having started at kk, visits 0 exactly jj times before being absorbed at NN. We make the convention that, if k=0k = 0, then the starting point counts as one visit. Show that

αk(j)=N−kN2(1−1N)j−1,j≥1,0≤k≤N \alpha _{k}(j) = \frac{N-k}{N^{2}}\left(1-\frac{1}{N}\right)^{j-1}, \quad j \geq 1,0 \leq k \leq N
?
Problem 3.11.24

Problem of the points (3.9.4). A coin is tossed repeatedly, heads turning up with probability pp on each toss. Player A wins the game if heads appears at least mm times before tails has appeared nn times; otherwise player B wins the game. Find the probability that A wins the game.

?
Problem 3.11.25

A coin is tossed repeatedly, heads appearing on each toss with probability pp. A gambler starts with initial fortune kk (where 0<k<N0 < k < N); he wins one point for each head and loses one point for each tail. If his fortune is ever 0 he is bankrupted, whilst if it ever reaches NN he stops gambling to buy a Jaguar. Suppose that p<12p < \frac{1}{2}. Show that the gambler can increase his chance of winning by doubling the stakes. You may assume that kk and NN are even.

What is the corresponding strategy if p≥12p \geq \frac{1}{2}?

?
Problem 3.11.26

A compulsive gambler is never satisfied. At each stage he wins £1£ 1 with probability pp and loses £1£ 1 otherwise. Find the probability that he is ultimately bankrupted, having started with an initial fortune of £k£ k.

?
Problem 3.11.27

Let {Xn:n≥1}\left\{ X_{n}: n \geq 1\right\} be independent, identically distributed random variables taking integer values. Let S0=0,Sn=∑i=1nXiS_{0} = 0, S_{n} = \sum_{i = 1}^{n} X_{i}. The range RnR_{n} of S0,S1,…,SnS_{0}, S_{1}, \ldots , S_{n} is the number of distinct values taken by the sequence. Show that P(Rn=Rn−1+1)=P(S1S2⋯Sn≠0)\mathbb {P}\left(R_{n} = R_{n-1}+1\right) = \mathbb {P}\left(S_{1} S_{2} \cdots S_{n} \neq 0\right), and deduce that, as n→∞n \rightarrow \infty,

1nE[Rn]→P(Sk≠0 for all k≥1) \frac{1}{n} \mathbb {E}\left[R_{n}\right] \rightarrow \mathbb {P}\left(S_{k} \neq 0 \text{ for all } k \geq 1\right)

Hence show that, for the simple random walk, n−1E[Rn]→∣p−q∣n^{-1} \mathbb {E}\left[R_{n}\right] \rightarrow \left|p-q\right| as n→∞n \rightarrow \infty.

?
Problem 3.11.28

Arc sine law for maxima. Consider a symmetric random walk SS starting from the origin, and let Mn=max⁡{Si:0≤i≤n}M_{n} = \max \left\{ S_{i}: 0 \leq i \leq n\right\}. Show that, for i=2k,2k+1i = 2 k, 2 k+1, the probability that the walk reaches M2nM_{2 n} for the first time at time ii equals 12P(S2k=0)P(S2n−2k=0)\frac{1}{2} \mathbb {P}\left(S_{2 k} = 0\right) \mathbb {P}\left(S_{2 n-2 k} = 0\right).

?
Problem 3.11.29

Let SS be a symmetric random walk with S0=0S_{0} = 0, and let NnN_{n} be the number of points that have been visited by SS exactly once up to time nn. Show that E[Nn]=2\mathbb {E}\left[N_{n}\right] = 2.

?
Problem 3.11.30

Consider the following fragment of verse entitled 'Note for the scientist'.

People who have three daughters try for more, And then its fifty-fifty they'll have four, Those with a son or sons will let things be, Hence all these surplus women, QED.

?
(a)

What do you think of the argument?

(b)

Show that the mean number of children of either sex in a family whose fertile parents have followed this policy equals 1. (You should assume that each delivery yields exactly one child whose sex is equally likely to be male or female.) Discuss.

Problem 3.11.31

Let β>1\beta > 1, let p1,p2,…p_{1}, p_{2}, \ldots denote the prime numbers, and let N1,N2,…N_1, N_2, \ldots be independent random variables, NiN_i having mass function P(Ni=k)=(1−γi)γik\mathbb {P}\left(N_i = k\right) = \left(1-\gamma_{i}\right) \gamma_{i}^{k} for k≥0k \geq 0, where γi=pi−β\gamma_{i} = p_{i}^{-\beta } for all ii. Show that M=∏i=1∞piNiM = \prod_{i = 1}^{\infty } p_{i}^{N_i} is a random integer with mass function P(M=m)=Cm−β\mathbb {P}\left(M = m\right) = C m^{-\beta } for m≥1m \geq 1 (this may be called the Dirichlet distribution), where CC is a constant satisfying

C=∏i=1∞(1−1piβ)=(∑m=1∞1mβ)−1 C = \prod _{i = 1}^{\infty }\left(1-\frac{1}{p_{i}^{\beta }}\right) = \left(\sum _{m = 1}^{\infty } \frac{1}{m^{\beta }}\right)^{-1}
?
Problem 3.11.32

N+1N+1 plates are laid out around a circular dining table, and a hot cake is passed between them in the manner of a symmetric random walk: each time it arrives on a plate, it is tossed to one of the two neighbouring plates, each possibility having probability 12\frac{1}{2}. The game stops at the moment when the cake has visited every plate at least once. Show that, with the exception of the plate where the cake began, each plate has probability 1/N1 / N of being the last plate visited by the cake.

?
Problem 3.11.33

There are (nm)\binom {n}{m} points ranked in order of merit with no matches. You seek to reach the best, BB. If you are at the jj th best, you step to any one of the j−1j-1 better points, with equal probability of stepping to each. Let rjr_{j} be the expected number of steps to reach BB from the jj th best vertex. Show that rj=∑k=1j−1k−1r_{j} = \sum_{k = 1}^{j-1} k^{-1}. Give an asymptotic expression for the expected time to reach BB from the worst vertex, for large m,nm, n.

?
Problem 3.11.34

There are nn unstable molecules in a row, m1,m2,…,mnm_{1}, m_{2}, \ldots , m_{n}. One of the n−1n-1 pairs of neighbours, chosen at random, combines to form a stable dimer; this process continues until there remain UnU_{n} isolated molecules no two of which are adjacent. Show that the probability that m1m_{1} remains isolated is ∑r=0n−1(−1)r/r!→e−1\sum_{r = 0}^{n-1}(-1)^{r} / r! \rightarrow e^{-1} as n→∞n \rightarrow \infty. Deduce that lim⁡n→∞n−1E[Un]=e−2\lim_{n \rightarrow \infty } n^{-1} \mathbb {E}\left[U_{n}\right] = e^{-2}.

?
Problem 3.11.35

Let {Ir:1≤r≤n}\left\{ I_{r}: 1 \leq r \leq n\right\} be independent Bernoulli random variables with respective parameters {pr:1≤r≤n}\left\{ p_{r}: 1 \leq r \leq n\right\} satisfying pr≤c<1p_{r} \leq c < 1 for all rr and some cc. Let λ=∑r=1npr\lambda = \sum_{r = 1}^{n} p_{r} and X=∑r=1nXrX = \sum_{r = 1}^{n} X_{r}. Show that

P(X=k)=λke−λk!{1+O(λmax⁡rpr+k2λmax⁡pr)} \mathbb {P}\left(X = k\right) = \frac{\lambda ^{k} e^{-\lambda }}{k!}\left\{ 1+\mathrm{O}\left(\lambda \max _{r} p_{r}+\frac{k^{2}}{\lambda } \max p_{r}\right)\right\}
?
Problem 3.11.36

The length of the tail of the rr th member of a troop of NN chimeras is xrx_{r}. A random sample of nn chimeras is taken (without replacement) and their tails measured. Let IrI_{r} be the indicator of the event that the rr th chimera is in the sample. Set

Xr=xrIr,Yˉ=1n∑r=1NXr,μ=1N∑r=1Nxr,σ2=1N∑r=1N(xr−xˉ)2 X_{r} = x_{r} I_{r}, \quad \bar{Y} = \frac{1}{n} \sum _{r = 1}^{N} X_{r}, \quad \mu = \frac{1}{N} \sum _{r = 1}^{N} x_{r}, \quad \sigma ^{2} = \frac{1}{N} \sum _{r = 1}^{N}\left(x_{r}-\bar{x}\right)^{2}

Show that E[Yˉ]=μ\mathbb {E}\left[\bar{Y}\right] = \mu, and Var⁡[Yˉ]=(N−n)σ2/{n(N−1)}\operatorname {Var}\left[\bar{Y}\right] = (N-n) \sigma^{2} /\left\{ n(N-1)\right\}.

?
Problem 3.11.37

Any individual in a group GG contracts a certain disease CC with probability γ\gamma; such individuals are hospitalized with probability cc. Independently of this, anyone in GG may be in hospital with probability aa, for some other reason. Let XX be the number in hospital, and YY the number in hospital who have CC (including those with CC admitted for any other reason). Show that the correlation between XX and YY is

ρ(X,Y)=γp1−γp⋅(1−a)(1−γc)a+γc−aγc \rho (X, Y) = \sqrt{\frac{\gamma p}{1-\gamma p} \cdot \frac{(1-a)(1-\gamma c)}{a+\gamma c-a \gamma c}}

where p=a+c−acp = a+c-a c. It has been stated erroneously that, when ρ(X,Y)\rho (X, Y) is near unity, this is evidence for a causal relation between being in GG and contracting CC.

?
Problem 3.11.38

A telephone sales company attempts repeatedly to sell new kitchens to each of the NN families in a village. Family ii agrees to buy a new kitchen after it has been solicited KiK_{i} times, where the KiK_{i} are independent identically distributed random variables with mass function f(n)=P(Ki=n)f(n) = \mathbb {P}\left(K_{i} = n\right). The value ∞\infty is allowed, so that f(∞)≥0f(\infty ) \geq 0. Let XnX_{n} be the number of kitchens sold at the nnth round of solicitations, so that Xn=∑i=1NI{Ki=n}X_{n} = \sum_{i = 1}^{N} I_{\left\{ K_{i} = n\right\} }. Suppose that NN is a random variable with the Poisson distribution with parameter vv.

?
(a)

Show that the XnX_{n} are independent random variables, XrX_{r} having the Poisson distribution with parameter vf(r)v f(r).

(b)

The company loses heart after the TT th round of calls, where T=inf⁡{n:Xn=0}T = \inf \left\{ n: X_{n} = 0\right\}. Let S=X1+X2+⋯+XTS = X_{1}+X_{2}+\cdots +X_{T} be the number of solicitations made up to time TT. Show further that E[S]=νE[F(T)]\mathbb {E}\left[S\right] = \nu \mathbb {E}\left[F(T)\right] where F(k)=f(1)+f(2)+⋯+f(k)F(k) = f(1)+f(2)+\cdots +f(k).

Problem 3.11.39

A particle performs a random walk on the non-negative integers as follows. When at the point nn (>0)( > 0) its next position is uniformly distributed on the set {0,1,2,…,n+1}\left\{ 0,1,2, \ldots , n+1\right\}. When it hits 0 for the first time, it is absorbed. Suppose it starts at the point aa.

?
(a)

Find the probability that its position never exceeds aa, and prove that, with probability 11, it is absorbed ultimately.

(b)

Find the probability that the final step of the walk is from 1 to 0 when a=1a = 1.

(c)

Find the expected number of steps taken before absorption when a=1a = 1.

Problem 3.11.40

Let GG be a finite graph with neither loops nor multiple edges, and write dvd_{v} for the degree of the vertex vv. An independent set is a set of vertices no pair of which is joined by an edge. Let α(G)\alpha (G) be the size of the largest independent set of GG. Use the probabilistic method to show that α(G)≥∑v1/(dv+1)\alpha (G) \geq \sum_{v} 1 /\left(d_{v}+1\right).

?
Remark.
?

This conclusion is sometimes referred to as Turán's theorem.

Problem 3.11.41

Kelly betting, or proportional investment. A gambler (or 'investor') makes a sequence of bets of the following type: on each bet, for a given stake SS, the return is either the loss of the stake with probability q(=1−p)q( = 1-p) or a win totalling (1+r)S(1+r) S with probability pp. (Assume the usual independence.) The entry fee is cSc S where c<rc < r. Show that the mean gain per play for stake SS is gSg S, where g=pr−q−cg = p r-q-c (with a negative value indicating a loss).

The gambler decides to bet a fixed fraction ff of her current fortune at each stage. That is, given a current fortune FF, she bets fFf F for some fixed ff. Show that her resulting fortune is

F′=F{1+f[(1+r)I−(1+c)]} F^{\prime } = F\left\{ 1+f[(1+r) I-(1+c)]\right\}

where II is the indicator function of a win. Suppose p>(1+c)/(1+r)p > (1+c) /(1+r). The gambler considers two policies for choosing ff : for given FF,

?
(a)

maximize E[F′]\mathbb {E}\left[F^{\prime }\right],

(b)

maximize E[log⁡F′]\mathbb {E}\left[\log F^{\prime }\right]

Find an expression for ff in each case. Show that fa>fbf_{a} > f_{b}, and explain why a cautious gambler may prefer (b) to (a) even though this entails a slower rate of growth of her expected fortune.

Problem 3.11.42

Let x1,x2,…,xrx_{1}, x_{2}, \ldots , x_{r} be given reals with r≥2r \geq 2, and let the sequence {Xn:n≥1}\left\{ X_{n}: n \geq 1\right\} of random variables be given as follows. First, Xn=xnX_{n} = x_{n} for n≤rn \leq r. For n≥rn \geq r, we set Xn+1=XUn+XVnX_{n+1} = X_{U_{n}}+X_{V_{n}} where Un,VnU_{n}, V_{n} are uniformly distributed on {1,2,…,n}\left\{ 1,2, \ldots , n\right\}, and the family {Un,Vn:n≥r}\left\{ U_{n}, V_{n}: n \geq r\right\} are independent. Show that

E[Xn]=2nr(r+1)∑k=1rxk \mathbb {E}\left[X_{n}\right] = \frac{2 n}{r(r+1)} \sum _{k = 1}^{r} x_{k}

Enthusiasts may care to show that, when r=1=x1r = 1 = x_{1} and n→∞n \rightarrow \infty,

1n2E[Xn2]→12πsinh⁡π \frac{1}{n^{2}} \mathbb {E}\left[X_{n}^{2}\right] \rightarrow \frac{1}{2 \pi } \sinh \pi
?
Problem 3.11.43

Let X1=1X_{1} = 1. For n≥1n \geq 1, let Xn+1=XUn−XVnX_{n+1} = X_{U_{n}}-X_{V_{n}} where Un,VnU_{n}, V_{n} are uniformly distributed on {1,2,…,n}\left\{ 1,2, \ldots , n\right\}, and the family {Un,Vn:n≥1}\left\{ U_{n}, V_{n}: n \geq 1\right\} are independent. Show that

1nVar⁡[Xn]→−sin⁡(π3)π3 as n→∞ \frac{1}{n} \operatorname {Var}\left[X_{n}\right] \rightarrow -\frac{\sin (\pi \sqrt{3})}{\pi \sqrt{3}} \quad \text{ as } n \rightarrow \infty

You may find it useful to recall Euler's sine formula:

sin⁡(πx)=πx∏n=1∞(1−x2n2) \sin (\pi x) = \pi x \prod _{n = 1}^{\infty }\left(1-\frac{x^{2}}{n^{2}}\right)
?
Problem 3.11.44

Gollum has concealed the ring of power in a box chosen randomly from a row of n≥1n \geq 1 such boxes. Bilbo opens a box at random. If the ring is not there, his occult powers are sufficient for him to learn whether the ring lies to the right or the left, and he opens further boxes accordingly. Find an expression for the mean number bnb_{n} of boxes opened before finding the ring, and deduce that bn∼2log⁡nb_{n} \sim 2 \log n as n→∞n \rightarrow \infty.

?
Problem 3.11.45

In a variant of the previous problem, we have n=2r−1n = 2^{r}-1, and Bilbo invariably chooses the middle box. Find the mean number mrm_{r} of boxes inspected, and the asymptotics of mrm_{r} as r→∞r \rightarrow \infty.

?
Problem 3.11.46

A bad fairy has cursed you. A good fairy has concealed the magic word that cancels the curse in one of nn numbered boxes, and she has told you that it is in box ii with probability pip_{i}, for i=1,2,…,ni = 1,2, \ldots , n. Each day you are permitted to look in one box.

?
(a)

Assume that, each day, you inspect a box chosen at random, box ii being chosen with probability cic_{i}, and, furthermore, boxes chosen on different days are independent. Find the mean number of days that elapse before your release from the curse, and find the mass function cc that minimizes this mean value.

(b)

Suppose now that you remember the results of your previous failed searches. What now is your optimal policy, and what is the mean number of days that elapse?

(c)

After each search, the bad fairy removes the magic word, which is immediately replaced by the good fairy in an independently chosen box, with the same distribution at each replacement. What now is your optimal policy? Find the mean number of elapsed days.

Problem 3.11.47

Gwen and John play 'best of 2n+12 n+1 games', and play stops as soon as either has won n+1n+1 games. Gwen wins each game with probability γ∈(0,1)\gamma \in (0,1) and John otherwise (with probability δ=1−γ\delta = 1-\gamma). Different games have independent winners. Write down an expression for the probability frf_{r} that Gwen wins rr games altogether, given that John has won the match, and deduce that rfr=(n+r)γfr−1r f_{r} = (n+r) \gamma f_{r-1} for 0<r≤n0 < r \leq n.

Hence or otherwise, prove that the mean total number TnT_{n} of games in the match is

Tn=(n+1)(γ(1−Pn)δ+δPnγ+1)−(2n+1)(2nn)(γδ)n T_{n} = (n+1)\left(\frac{\gamma \left(1-P_{n}\right)}{\delta }+\frac{\delta P_{n}}{\gamma }+1\right)-(2 n+1)\binom {2 n}{n}(\gamma \delta )^{n}

where PnP_{n} is the probability that Gwen wins the match. When p=12p = \frac{1}{2}, show that

Tn=2n−2n/π+2+O(n−1/2), as n→∞ T_{n} = 2 n-2 \sqrt{n / \pi }+2+\mathrm{O}\left(n^{-1 / 2}\right), \quad \text{ as } n \rightarrow \infty
?
Problem 3.11.48

Let S(n,k)S(n, k) be the number of ways to partition N={1,2,…,n}N = \left\{ 1,2, \ldots , n\right\} into kk non-empty parts. Suppose each element of NN is coloured with one of cc distinct colours. Prove that

cn=∑k=1nS(n,k)c(c−1)⋯(c−k+1) c^{n} = \sum _{k = 1}^{n} S(n, k) c(c-1) \cdots (c-k+1)

Deduce that the nnth moment of the Poisson distribution with parameter 1 equals the number bnb_{n} of ways to partition NN, that is, bn=∑k=1nS(n,k)b_{n} = \sum_{k = 1}^{n} S(n, k).

?
Problem 3.11.49

Let β,γ∈[0,1]\beta , \gamma \in [0,1]. Bertha and Harold play a game of rackets. Bertha wins the point with probability β\beta when she serves, and Harold wins with probability γ\gamma when he serves. The first player to win nn points wins the game, and Bertha serves first. Consider the following rules for changing server.

?
(a)

Service alternates between players.

(b)

Service is retained until a point is lost, and then passes to the other player.

(c)

Service is retained until a point is won, and then passes to the other player.

(d)

Bertha serves the first nn points, and then Harold serves any further points required to decide the outcome.

Show that P(Bertha wins)\mathbb {P}\left(\text{Bertha wins}\right) is the same for all four rules.

Problem 3.11.50

Let X,YX, Y be discrete random variables with respective mass functions fX,fYf_{X}, f_{Y}, and joint mass function fX,Yf_{X, Y}. Define the:

 entropy of X:H(X)=−E[log⁡fX(X)] joint entropy of X given Y:H(X,Y)=−E[log⁡fX,Y(X,Y)] conditional entropy of X given Y:H(X∣Y)=−E[log⁡fX∣Y(X∣Y)] \begin{aligned} \text{ entropy of } X & : H(X) = -\mathbb {E}\left[\log f_{X}(X)\right] \\ \text{ joint entropy of } X \text{ given } Y & : H(X, Y) = -\mathbb {E}\left[\log f_{X, Y}(X, Y)\right] \\ \text{ conditional entropy of } X \text{ given } Y & : H(X \mid Y) = -\mathbb {E}\left[\log f_{X \mid Y}(X \mid Y)\right] \end{aligned}
?
(a)

Show that H(X+a)=H(X)H(X+a) = H(X) for a∈Ra \in \mathbb {R}.

(b)

Show that H(X)−H(X∣Y)=I(X;Y)H(X)-H(X \mid Y) = I(X ; Y), where II is the mutual information of Exercise (3.6.5).

(c)

Show when XX and YY are independent that H(X,Y)=H(X)+H(Y)H(X, Y) = H(X)+H(Y).

(d)

Show that the entropy of the binomial distribution bin⁡(n,p)\operatorname {bin}(n, p) is non-decreasing in nn.

(e)

Find the entropy of the geometric distribution, parameter pp, and show it is decreasing in pp.

Remark.
?

It is normal to use logarithms to base 2 in information theory, but we use natural logarithms here.

Problem 3.11.51
?
(a)

Show that the entropy H(λ)H(\lambda ), as defined in Problem (3.11.50), of the Poisson distribution with parameter λ\lambda (using natural logarithms) is given by

H(λ)=λ−λlog⁡λ+e−λ∑m=0∞λmlog⁡(m!)m! H(\lambda ) = \lambda -\lambda \log \lambda +e^{-\lambda } \sum _{m = 0}^{\infty } \frac{\lambda ^{m} \log (m!)}{m!}
(b)

Recalling Exercise (3.6.5) and Example (3.7.5), show that the mutual information of the number NN of hens and the number KK of chicks is I(N;K)=H(λ)−H(λ(1−p))I(N ; K) = H(\lambda )-H(\lambda (1-p)). Deduce that H(λ)H(\lambda ) is increasing in λ\lambda.

(c)

Spend a short time seeking to show the last statement directly from the expression in part (a).

Problem 3.11.52

Let β>1\beta > 1, and let M,LM, L be independent random variables with the Dirichlet distribution with parameter β\beta of Problem (3.11.31).

?
(a)

Show that the events Ep={X is divisible by p}E_{p} = \left\{ X \text{ is divisible by }p\right\} are independent for pp prime.

(b)

Deduce Euler's formula

∏p prime (1−1pβ)=1ζ(β) \prod _{p \text{ prime }}\left(1-\frac{1}{p^{\beta }}\right) = \frac{1}{\zeta (\beta )}

where ζ(β)\zeta (\beta ) is the Riemann zeta function, ζ(β)=∑m=1∞m−β\zeta (\beta ) = \sum_{m = 1}^{\infty } m^{-\beta }, and β>1\beta > 1.

(c)

Show that the probability that MM is 'square-free' (that is, indivisible by any perfect square other than 1) equals 1/ζ(2β)1 / \zeta (2 \beta )

(d)

Let HH be the highest common factor of MM and LL. Prove that

P(H=m)=m−2βζ(2β),m=1,2,… \mathbb {P}\left(H = m\right) = \frac{m^{-2 \beta }}{\zeta (2 \beta )}, \quad m = 1,2, \ldots
Problem 3.11.53

A strict Oxford secret is a secret which you may tell to no more than one other person. Of a group of n+1n+1 Oxonians, one learns a strict secret. In accordance with the rules, she tells it to one other person selected uniformly at random from the rest of the group. Each confidante tells the secret to exactly one person picked at random from the rest of the group, excluding the person from whom they heard the secret. When someone who already knows the secret hears it repeated, the entire process ceases.

Let SS be the total number of people who eventually know the secret. Find the distribution of SS, and show that

1nE[S]→π/2,1nVar⁡[S]→12(4−π), as n→∞ \frac{1}{\sqrt{n}} \mathbb {E}\left[S\right] \rightarrow \sqrt{\pi / 2}, \quad \frac{1}{n} \operatorname {Var}\left[S\right] \rightarrow \frac{1}{2}(4-\pi ), \quad \text{ as } n \rightarrow \infty

With nr‾n^{\underline{r}} denoting n!/(n−r)n!/(n-r) !, you may find it useful that

∑r=1∞nr‾nr∼πn/2,∑r=1∞rnr‾nr∼n \sum _{r = 1}^{\infty } \frac{n^{\underline{r}}}{n^{r}} \sim \sqrt{\pi n / 2}, \quad \sum _{r = 1}^{\infty } r \frac{n^{\underline{r}}}{n^{r}} \sim n
?
Problem 3.11.54

From a pack of nn cards, two different cards are selected randomly, and they are transposed. Let prp_{r} be the probability that any given card (say, the top card) is in its original position after r>0r > 0 such independent transpositions.

?
(a)

Show that

pr=1n+n−1n(n−3n−1)r p_{r} = \frac{1}{n}+\frac{n-1}{n}\left(\frac{n-3}{n-1}\right)^{r}
(b)

Find E[Cr]\mathbb {E}\left[C_{r}\right], where CrC_{r} is the number of cards in their original place after rr random transpositions.

(c)

Show that, for large nn, the number rr of transpositions needed for E[Cr]≈2\mathbb {E}\left[C_{r}\right] \approx 2 is approximately 12nlog⁡n\frac{1}{2} n \log n.

Problem 3.11.55

The dd-cube CdC_{d} is the graph with vertex-set {0,1}d\left\{ 0,1\right\}^{d}, and an edge between two vertices x=(x1,x2,…,xd)\mathbf{x} = \left(x_{1}, x_{2}, \ldots , x_{d}\right) and y=(y1,y2,…,yd)\mathbf{y} = \left(y_{1}, y_{2}, \ldots , y_{d}\right) if and only if ∑i∣xi−yi∣=1\sum_{i}\left|x_{i}-y_{i}\right| = 1. A particle pursues a random walk on CdC_{d}. At each epoch of time, it moves from its current position to a neighbour chosen uniformly at random, with the usual independence. Two vertices are called 'antipodal' if the graph-distance between them equals dd.

Show that the mean first passage time mdm_{d} of the walker between two antipodal vertices satisfies μd∼2d\mu_{d} \sim 2^{d} as d→∞d \rightarrow \infty.

?
Problem 3.11.56
?
(a)

A particle performs a type of random walk on the set S={1,2,…,n}S=\left\{ 1,2, \ldots , n\right\}. Let XrX_{r} be the particle's position at time rr. Given that Xr=x,Xr+1X_{r}=x, X_{r+1} is chosen uniformly at random from the set {1}∪{x+1,x+2,…,n}\left\{ 1\right\} \cup \left\{ x+1, x+2, \ldots , n\right\}. The particle stops moving at the first instant it arrives at either 1 or nn (so that 1 and nn are 'absorbing', but absorption does not occur at time 0 even if X0∈{1,n}X_{0} \in \left\{ 1, n\right\} ). The point m∈{1,2,…,n}m \in \left\{ 1,2, \ldots , n\right\} is said to be hit if Xr=mX_{r}=m for some r≥1r \geq 1. Show that

P(m is hit ∣X0=1)={12 if m=1,1n−m+2 if m≥2 \mathbb {P}\left(m \text{ is hit } \mid X_{0}=1\right) = \begin{cases} \frac{1}{2} & \text{ if } m=1, \\ \frac{1}{n-m+2} & \text{ if } m \geq 2\end{cases}
(b)

The nn passengers on a flight in an airplane with nn seats have been told their seat numbers. They board the plane one by one. The first person sits in a seat chosen uniformly at random from the nn seats then available. Subsequent passengers sit in their assigned seats whenever they find them available, or otherwise in a randomly chosen empty seat. For m≥2m \geq 2, what is the probability that the mm th passenger finds his or her assigned seat to be already occupied?

Problem 3.11.57
?
(a)

Let XX be a random variable with E[X]>0\mathbb {E}\left[X\right]>0 and 0<E[X2]<∞0<\mathbb {E}\left[X^{2}\right]<\infty. Show that

P(X>aE[X])≥(1−a)2E[X]2E[X2] \mathbb {P}\left(X > a \mathbb {E}\left[X\right]\right) \geq \frac{(1-a)^2\mathbb {E}\left[X\right]^2}{\mathbb {E}\left[X^2\right]}
(b)

Deduce that, if P(X≥0)=1\mathbb {P}\left(X \geq 0\right)=1,

P(X=0)≤Var⁡[X]E[X2]≤Var⁡[X]E[X]2 \mathbb {P}\left( X = 0\right) \leq \frac{\operatorname {Var}\left[X\right]}{\mathbb {E}\left[X^2\right]} \leq \frac{\operatorname {Var}\left[X\right]}{\mathbb {E}\left[X\right]^2}
(c)

Let A1,A2,…,AnA_{1}, A_{2}, \ldots , A_{n} be events, and let X=∑r=1n  1ArX=\sum_{r=1}^{n} \; \mathbb {1}_{A_r} be the sum of their indicator functions. Show that

P(X=0)≤1E[X]+1E[X]2∑∗P(Ar∩As) \mathbb {P}\left(X = 0\right) \leq \frac{1}{\mathbb {E}\left[X\right]} + \frac{1}{\mathbb {E}\left[X\right]^2} \sum ^{*} \mathbb {P}\left(A_r \cap A_s\right)

where the summation ∑∗\sum^{*} is over all distinct unordered pairs r,sr, s such that ArA_{r} and AsA_{s} are not independent.