Section 2.7

Problems

[23/100%]
Show
LaTeX
Problem 2.7.1

Each toss of a coin results in a head with probability pp. The coin is tossed until the first head appears. Let XX be the total number of tosses. What is P(X>m)\mathbb {P}\left(X > m\right)? Find the distribution function of the random variable XX.

?
Problem 2.7.2
?
(a)

Show that any discrete random variable may be written as a linear combination of indicator variables.

(b)

Show that any random variable may be expressed as the limit of an increasing sequence of discrete random variables.

(c)

Show that the limit of any increasing convergent sequence of random variables is a random variable.

Problem 2.7.3
?
(a)

Show that, if XX and YY are random variables on a probability space (Ω,F,P)(\Omega , \mathcal{F}, \mathbb {P}), then so are X+Y,XYX+Y, X Y, and min⁡{X,Y}\min \left\{ X, Y\right\}.

(b)

Show that the set of all random variables on a given probability space (Ω,F,P)(\Omega , \mathcal{F}, \mathbb {P}) constitutes a vector space over the reals. If Ω\Omega is finite, write down a basis for this space.

Problem 2.7.4

Let XX have distribution function

F(x)={0 if x<012x if 0≤x≤21 if x>2 F(x) = \begin{cases} 0 & \text{ if } x < 0 \\ \frac{1}{2} x & \text{ if } 0 \leq x \leq 2 \\ 1 & \text{ if } x > 2\end{cases}

and let Y=X2Y = X^{2}. Find

?
(a)

P(12≤X≤32)\mathbb {P}\left(\frac{1}{2} \leq X \leq \frac{3}{2}\right),

(b)

P(1≤X<2)\mathbb {P}\left(1 \leq X < 2\right),

(c)

P(Y≤X)\mathbb {P}\left(Y \leq X\right),

(d)

P(X≤2Y)\mathbb {P}\left(X \leq 2 Y\right),

(e)

P(X+Y≤34)\mathbb {P}\left(X+Y \leq \frac{3}{4}\right)

(f)

the distribution function of Z=XZ = \sqrt{X}.

Problem 2.7.5

Let XX have distribution function

F(x)={0 if x<−11−p if −1≤x<01−p+12xp if 0≤x≤21 if x>2 F(x) = \begin{cases} 0 & \text{ if } x < -1 \\ 1-p & \text{ if }-1 \leq x < 0 \\ 1-p+\frac{1}{2} x p & \text{ if } 0 \leq x \leq 2 \\ 1 & \text{ if } x > 2\end{cases}

Sketch this function, and find:

?
(a)

P(X=−1)\mathbb {P}\left(X = -1\right),

(b)

P(X=0)\mathbb {P}\left(X = 0\right),

(c)

P(X≥1)\mathbb {P}\left(X \geq 1\right).

Problem 2.7.6

Buses arrive at ten minute intervals starting at noon. A man arrives at the bus stop a random number XX minutes after noon, where XX has distribution function

P(X≤x)={0 if x<0x/60 if 0≤x≤601 if x>60 \mathbb {P}\left(X \leq x\right) = \begin{cases} 0 & \text{ if } x < 0 \\ x / 60 & \text{ if } 0 \leq x \leq 60 \\ 1 & \text{ if } x > 60\end{cases}

What is the probability that he waits less than five minutes for a bus?

?
Problem 2.7.7

Airlines find that each passenger who reserves a seat fails to turn up with probability 110\frac{1}{10} independently of the other passengers. EasyPeasy Airlines always sell 10 tickets for their 9 seat aeroplane while RyeLoaf Airways always sell 20 tickets for their 18 seat aeroplane. Which is more often over-booked?

?
Problem 2.7.8

A fairground performer claims the power of telekinesis. The crowd throws coins and he wills them to fall heads up. He succeeds five times out of six. What chance would he have of doing at least as well if he had no supernatural powers?

?
Problem 2.7.9

Express the distribution functions of

?
(a)

X+=max⁡{0,X}X^{+} = \max \left\{ 0, X\right\}

(b)

X−=−min⁡{0,X}X^{-} = -\min \left\{ 0, X\right\}

(c)

∣X∣=X++X−\left|X\right| = X^{+}+X^{-}

(d)

−X-X

in terms of the distribution function FF of the random variable XX.

Problem 2.7.10

Show that FX(x)F_{X}(x) is continuous at x=x0x = x_{0} if and only if P(X=x0)=0\mathbb {P}\left(X = x_{0}\right) = 0.

?
Problem 2.7.11

The real number mm is called a median of the distribution function FF whenever lim⁡y↑mF(y)≤12≤F(m)\lim_{y \uparrow m} F(y) \leq \frac{1}{2} \leq F(m).

?
(a)

Show that every distribution function FF has at least one median, and that the set of medians of FF is a closed interval of R\mathbb {R}.

(b)

Show, if FF is continuous, that F(m)=12F(m) = \frac{1}{2} for any median mm.

Problem 2.7.12
?
(a)

Show that it is not possible to weight two dice in such a way that the sum of the two numbers shown by these loaded dice is equally likely to take any value between 2 and 12 (inclusive).

(b)

Given a fair die and a loaded die, show that the sum of their scores, modulo 66, has the same distribution as a fair die, irrespective of the loading.

Problem 2.7.13

A function d:S×S→Rd: S \times S \rightarrow \mathbb {R} is called a metric on SS if:

(i) d(s,t)=d(t,s)≥0d(s, t) = d(t, s) \geq 0 for all s,t∈Ss, t \in S,

(ii) d(s,t)=0d(s, t) = 0 if and only if s=ts = t, and

(iii) d(s,t)≤d(s,u)+d(u,t)d(s, t) \leq d(s, u)+d(u, t) for all s,t,u∈Ss, t, u \in S.

?
(a)

Lévy metric. Let FF and GG be distribution functions and define the Lévy metric

dL(F,G)=inf⁡{ϵ>0:G(x−ϵ)−ϵ≤F(x)≤G(x+ϵ)+ϵ for all x}. d_{\mathrm{L}}(F, G) = \inf \left\{ \epsilon > 0: G(x-\epsilon )-\epsilon \leq F(x) \leq G(x+\epsilon )+\epsilon \text{ for all } x\right\} .

Show that dLd_{\mathrm{L}} is indeed a metric on the space of distribution functions.

(b)

Total variation distance. Let XX and YY be integer-valued random variables, and let

dTV(X,Y)=∑k∣P(X=k)−P(Y=k)∣ d_{\mathrm{TV}}(X, Y) = \sum _{k}|\mathbb {P}\left(X = k\right)-\mathbb {P}\left(Y = k\right)|

Show that dTV d_{\text{TV }} satisfies (i) and (iii) with SS the space of integer-valued random variables, and that dTV(X,Y)=0d_{\mathrm{TV}}(X, Y) = 0 if and only if XX and YY have the same distribution. Thus dTVd_{\mathrm{TV}} is a metric on the space of equivalence classes of SS with equivalence relation given by X∼YX \sim Y if XX and YY have the same distribution. We call dTVd_{\mathrm{TV}} the total variation distance.

Show that

dTV(X,Y)=2sup⁡A⊆Z∣P(X∈A)−P(Y∈A)∣ d_{\mathrm{TV}}(X, Y) = 2 \sup _{A \subseteq \mathbb {Z}}|\mathbb {P}\left(X \in A\right)-\mathbb {P}\left(Y \in A\right)|
Problem 2.7.14

Ascertain in the following cases whether or not FF is the joint distribution function of some pair (X,Y)(X, Y) of random variables. If your conclusion is affirmative, find the distribution functions of XX and YY separately.

?
(a)
F(x,y)={1−e−x−y if x,y≥00 otherwise  F(x, y) = \begin{cases} 1-e^{-x-y} & \text{ if } x, y \geq 0 \\ 0 & \text{ otherwise } \end{cases}
(b)
F(x,y)={1−e−x−xe−y if 0≤x≤y1−e−y−ye−y if 0≤y≤x0 otherwise  F(x, y) = \begin{cases} 1-e^{-x}-x e^{-y} & \text{ if } 0 \leq x \leq y \\ 1-e^{-y}-y e^{-y} & \text{ if } 0 \leq y \leq x \\ 0 & \text{ otherwise } \end{cases}
Problem 2.7.15

It is required to place in order nn books B1,B2,…,BnB_{1}, B_{2}, \ldots , B_{n} on a library shelf in such a way that readers searching from left to right waste as little time as possible on average. Assuming that each reader requires book BiB_{i} with probability pip_{i}, find the ordering of the books which minimizes P(T≥k)\mathbb {P}\left(T \geq k\right) for all kk, where TT is the (random) number of titles examined by a reader before discovery of the required book.

?
Problem 2.7.16

Three coins each show heads with probability 35\frac{3}{5} and tails otherwise. The first counts 10 points for a head and 2 for a tail, the second counts 4 points for both head and tail, and the third counts 3 points for a head and 20 for a tail.

You and your opponent each choose a coin; you cannot choose the same coin. Each of you tosses your coin and the person with the larger score wins £1010£ 10^{10}. Would you prefer to be the first to pick a coin or the second?

?
Problem 2.7.17

Before the development of radar, inertial navigation, and GPS, flying to isolated islands (for example, from Los Angeles to Hawaii) was somewhat 'hit or miss'. In heavy cloud or at night it was necessary to fly by dead reckoning, and then to search the surface. With the aid of a radio, the pilot had a good idea of the correct great circle along which to search, but could not be sure which of the two directions along this great circle was correct (since a strong tailwind could have carried the plane over its target). When you are the pilot, you calculate that you can make nn searches before your plane will run out of fuel. On each search you will discover the island with probability pp (if it is indeed in the direction of the search) independently of the results of other searches; you estimate initially that there is probability α\alpha that the island is ahead of you. What policy should you adopt in deciding the directions of your various searches in order to maximize the probability of locating the island?

?
Problem 2.7.18

Eight pawns are placed randomly on a chessboard, no more than one to a square. What is the probability that:

?
(a)

they are in a straight line (do not forget the diagonals)?

(b)

no two are in the same row or column?

Problem 2.7.19

Which of the following are distribution functions? For those that are, give the corresponding density function ff.

?
(a)

F(x)={1−e−x2x≥0,0 otherwise. F(x) = \begin{cases} 1-e^{-x^{2}} & x \geq 0, \\ 0 & \text{ otherwise. }\end{cases}

(b)

F(x)={e−1/xx>0,0 otherwise. F(x) = \begin{cases} e^{-1 / x} & x > 0, \\ 0 & \text{ otherwise. }\end{cases}

(c)

F(x)=ex/(ex+e−x),x∈RF(x) = e^{x} /\left(e^{x}+e^{-x}\right), x \in \mathbb {R}.

(d)

F(x)=e−x2+ex/(ex+e−x),x∈RF(x) = e^{-x^{2}}+e^{x} /\left(e^{x}+e^{-x}\right), x \in \mathbb {R}

Problem 2.7.20
?
(a)

If UU and VV are jointly continuous, show that P(U=V)=0\mathbb {P}\left(U = V\right) = 0.

(b)

Let XX be uniformly distributed on (0,1)(0,1), and let Y=XY = X. Then XX and YY are continuous, and P(X=Y)=1\mathbb {P}\left(X = Y\right) = 1. Is there a contradiction here?

Problem 2.7.21

Let XX be uniformly distributed on the interval [0,1][0,1], and express XX as a continued fraction thus:

X=1Y1+1Y2+1Y3+⋱ X = \cfrac {1}{Y_{1}+\cfrac {1}{Y_{2}+\cfrac {1}{Y_{3}+\ddots }}}

Show that the joint mass function of Y1Y_{1} and Y2Y_{2} is

f(u,v)=1(uv+1)(uv+u+1),u,v=1,2,… f(u, v) = \frac{1}{(u v+1)(u v+u+1)}, \quad u, v = 1,2, \ldots
?
Problem 2.7.22

Let VV be a vector space of dimension nn over a finite field F\mathbb {F} with qq elements. Let X1,X2,…,XmX_{1}, X_{2}, \ldots , X_{m} be independent random variables, each uniformly distributed on VV.

?
(a)

Let ai∈F,i=1,2,…,ma_{i} \in \mathbb {F}, i = 1,2, \ldots , m, be not all zero. Show that the linear combination Z=∑iaiXiZ = \sum_{i} a_{i} X_{i} is uniformly distributed on VV.

(b)

Let pmp_{m} be the probability that X1,X2,…,XmX_{1}, X_{2}, \ldots , X_{m} are linearly dependent. Show that, if m≤n+1m \leq n+1,

q−(n−m−1)≤pm≤q−(n−m),m=1,2,…,n+1 q^{-(n-m-1)} \leq p_{m} \leq q^{-(n-m)}, \quad m = 1,2, \ldots , n+1
Problem 2.7.23

A random variable XX with distribution function FF is said to be unimodal about a mode MM if FF is convex on (−∞,M)(-\infty , M) and concave on (M,∞)(M, \infty ). Show that, if FF is unimodal about MM, then the following hold.

?
(a)

FF is absolutely continuous, except possibly for an atom at MM.

(b)

If FF is differentiable, then it has a density that is non-decreasing on (−∞,M)(-\infty , M) and non-increasing on (M,∞)(M, \infty ), and furthermore, the set of modes of FF is a closed bounded interval. [Cf. Problem (2.7.11).]

(c)

If the distribution functions FF and GG are unimodal about the same mode MM, then aF+(1−a)Ga F+(1-a) G is unimodal about MM for any 0<a<10 < a < 1.