Every problem in the chapter beside the book’s answer, a chapter at a time as you scroll.

Chapter 7: Sums of Independent Random Variables

13 problems · 0 figures

Exercise 7.1.1 §7.1 source ↗

A die is rolled three times. Find the probability that the sum of the outcomes is

(a) greater than 9.

(b) an odd number.

Answer

(a) .625

(b) .5

Exercise 7.1.3 §7.1 source ↗

Let X1 and X2 be independent random variables with common distribution pX=(0121/83/81/2). Find the distribution of the sum X1+X2⁠.

Answer

(0123416433217643814)

Exercise 7.1.5 §7.1 source ↗

Consider the following two experiments: the first has outcome X taking on the values 0, 1, and 2 with equal probabilities; the second results in an (independent) outcome Y taking on the value 3 with probability 1/4 and 4 with probability 3/4. Find the distribution of

(a) Y+X⁠.

(b) Y−X⁠.

Answer

(a) (3456112412412312) (b) (1234112412412312)

Exercise 7.1.7 §7.1 source ↗

(a) A die is rolled three times with outcomes X1⁠, X2⁠, and X3⁠. Let Y3 be the maximum of the values obtained. Show that P(Y3≤j)=P(X1≤j)3 . Use this to find the distribution of Y3⁠. Does Y3 have a bell-shaped distribution?

(b) Now let Yn be the maximum value when n dice are rolled. Find the distribution of Yn⁠. Is this distribution bell-shaped for large values of n⁠?

Answer

(a) P(Y3≤j)= P(X1≤j,X2≤j,X3≤j)= P(X1≤j)3⁠. Thus pY3=(1234561216721619216372166121691216) . This distribution is not bell-shaped.

(b) In general, P(Yn≤j)=P(X1≤j)3=(jn)n . Therefore, P(Yn=j)=(jn)n−(j−1n)n . This distribution is not bell-shaped for large n⁠.

Exercise 7.1.9 §7.1 source ↗

Prove that you cannot load two dice in such a way that the probabilities for any sum from 2 to 12 are the same. (Be sure to consider the case where one or more sides turn up with probability zero.)

Answer

Let p1,…,p6 be the probabilities for one die and q1,…,q6 be the probabilities for the other die. Assume first that all probabilities are positive. Then p1q1>p1q6⁠, since there is only one way to get a 2 and several ways to get a 7. Thus q1>q6⁠. In the same way q6q6>q1p6 and so q6>q1⁠. This is a contradiction. If any of the sides has probability 0, then we can renumber them so that it is side 1. But then the probability of a 2 is 0 and so all sums would have to have probability 0, which is impossible.

Here’s a fancy way to prove it. Define the polynomials p(x)=∑k=05p(k+1)xk and q(x)=∑k=05q(k+1)xk . Then we must have p(x)q(x)=∑k=010xk11=(1−x11)(1−x) . The left side is the product of two fifth degree polynomials. A fifth degree polynomial must have a real root which will not be 0 if p1>0⁠. Consider the right side as a polynomial. For x to be a non-zero root of this polynomial it would have to be a real eleventh root of unity other than 1, and there are no such roots. Hence again we have a contradiction.

Exercise 7.2.3 §7.2 source ↗

Suppose again that Z=X+Y⁠. Find fZ if

(a) fX(x)=fY(x)={x/2,if 0<x<2,0,otherwise.

(b) fX(x)=fY(x)={(1/2)(x−3),if 3<x<5,0,otherwise.

(c) fX(x)={1/2,if 0<x<2,0,otherwise, fY(x)={x/2,if 0<x<2,0,otherwise.

(d) What can you say about the set E={z:fZ(z)>0} in each case?

Answer

(a) fZ(x)={x3/24,if 0≤x≤2;x−x3/24−4/3,if 2≤x≤4. (b) fZ(x)={(x3−18x2+108x−216)/24,if 6≤x≤8;(−x3+18x2−84x+40)/24,if 8≤x≤10. (c) fZ(x)={x2/8,if 0≤x≤2;1/2−(x−2)2/8,if 2≤x≤4.

Exercise 7.2.5 §7.2 source ↗

Suppose that X and Y are independent and Z=X+Y⁠. Find fZ if

(a) fX(x)={λe−λx,if x>0,0,otherwise. fY(x)={μe−μx,if x>0,0,otherwise.

(b)    fX(x)={λe−λx,if x>0,0,otherwise.
fY(x)={1,if 0<x<1,0,otherwise.

Answer

(a) fZ(x)={λμμ+λeλx,x<0;λμμ+λe−μx,x≥0. (b) fZ(x)={1−e−λx,0<x<1;(eλ−1)e−λx,x≥1.

Exercise *7.2.7 §7.2 source ↗

Suppose that R2=X2+Y2⁠. Find fR2 and fR if

fX(x)=12πσ1e−(x−μ1)2/2σ12fY(x)=12πσ2e−(x−μ2)2/2σ22 .

Answer

We first find the density for X2 when X has a general normal density fX(x)=1σ2πe−(x−μ)2/2σ2dx . Then (see Theorem 1 of Chapter 5, Section 5.2 and the discussion following) we have fX2(x)=1σ2π12xexp⁡(−x/2σ2−μ2/2σ2)(exp⁡(xμ/σ2)+exp⁡(−xμ/σ2)). Replacing the last two exponentials by their series representation, we have fX2(x)=e−μ/2σ2∑r=0∞(μ2σ2)r1r!G(1/2σ2,r+1/2,x) , where G(a,p,x)=apΓ(p)e−axxp−1 is the gamma density. We now consider the original problem with X1 and X2 two random variables with normal density with parameters μ1,σ1 and μ2,σ2⁠. This is too much generality for us, and we shall assume that the variances are equal, and then for simplicity we shall assume they are 1. Let c=μ12+μ22 . We introduce the new random variables Z1=1c(μ1X1+μ2X2) , Z2=1c(μ2X1−μ1X2) . Then Z1 is normal with mean c and variance 1 and Z2 is normal with mean 0 and variance 1. Thus, fZ12=e−c2/2∑r=0∞(c22)r1r!G(1/2,r+1/2,x) , and fZ22=G(1/2,1/2,x) . Convoluting these two densities and using the fact that the convolution of a gamma density G(a,p,x) and G(a,q,x) is a gamma density G(a,p+q,x) we finally obtain fZ12+Z22=fX12+X22=e−c2/2∑r=0∞(c22)r1r!G(1/2,r+1,x) . (This derivation is adapted from that of C.R. Rao in his book Advanced Statistical Methods in Biometric Research, Wiley, l952.)

Exercise 7.2.9 §7.2 source ↗

Assume that the service time for a customer at a bank is exponentially distributed with mean service time 2 minutes. Let X be the total service time for 10 customers. Estimate the probability that X>22 minutes.

Answer

P(X10>22)=.341 by numerical integration. This also could be estimated by simulation.

Exercise 7.2.11 §7.2 source ↗

A company buys 100 lightbulbs, each of which has an exponential lifetime of 1000 hours. What is the expected time for the first of these bulbs to burn out? (See Exercise 10.)

Exercise 7.2.10 in the book ↗

Let X1⁠, X2⁠, …, Xn be n independent random variables each of which has an exponential density with mean μ⁠. Let M be the minimum value of the Xj⁠. Show that the density for M is exponential with mean μ/n⁠. Hint: Use cumulative distribution functions.

Answer

10 hours

Exercise 7.2.13 §7.2 source ↗

Particles are subject to collisions that cause them to split into two parts with each part a fraction of the parent. Suppose that this fraction is uniformly distributed between 0 and 1. Following a single particle through several splittings we obtain a fraction of the original particle Zn=X1⋅X2⋅⋯⋅Xn where each Xj is uniformly distributed between 0 and 1. Show that the density for the random variable Zn is fn(z)=1(n−1)!(−log⁡z)n−1. Hint: Show that Yk=−log⁡Xk is exponentially distributed. Use this to find the density function for Sn=Y1+Y2+⋯+Yn⁠, and from this the cumulative distribution and density of Zn=e−Sn⁠.

Answer

Y1=−log⁡(X1) has an exponential density fY1(x)=e−x⁠. Thus Sn has the gamma density fSn(x)=xn−1e−x(n−1)! . Therefore fZn(x)=1(n−1)!(log⁡1x)n−1 .

Exercise 7.2.19 §7.2 source ↗

The support of a function f(x) is defined to be the set {x : f(x)>0} . Suppose that X and Y are two continuous random variables with density functions fX(x) and fY(y)⁠, respectively, and suppose that the supports of these density functions are the intervals [a,b] and [c,d]⁠, respectively. Find the support of the density function of the random variable X+Y⁠.

Answer

The support of X+Y is [a+c,b+d]⁠.

Exercise 7.2.21 §7.2 source ↗

Let X1⁠, X2⁠, …, Xn be a sequence of independent random variables, all having a common density function fX⁠. Let A=Sn/n be their average. Find fA if

(a) fX(x)=(1/2π)e−x2/2 (normal density).

(b) fX(x)=e−x (exponential density).
Hint: Write fA(x) in terms of fSn(x)⁠.

Answer

(a) fA(x)=12πne−x2/(2n) . (b) fA(x)=nnxne−nx/(n−1)! .

Loading chapter 8…

Exercises and answers are adapted from Grinstead and Snell's Introduction to Probability by The CHANCE Project, which is free to read and download, and are used under the GNU FDL licence. They are taken from the GNU version’s LaTeX source (4 July 2006), with answers from the authors’ published answers to the odd-numbered exercises, and set for the web, so they may differ slightly from the printed page. This adaptation is released under the same licence and is neither affiliated with nor endorsed by Grinstead and Snell or American Mathematical Society. Copyright (C) 2006 Peter G. Doyle. This work is a version of Grinstead and Snell's ‘Introduction to Probability, 2nd edition’, published by the American Mathematical Society, Copyright (C) 2003 Charles M. Grinstead and J. Laurie Snell.