Quiz 4 Solution

The random variable X has cumulative distribution function (cdf) given by

FX(x)={0,x<0,18(x+u(x1)+u(x2)+u(x3)+u(x4)),0x4,1,x>4,

where u(x) denotes the unit step function.  The cdf FX(x) is sketched below.

1.  The random variable X would be classified as:

  • discrete,
  • continuous,
  • mixed-type

Answer:  The cdf has jump discontinuities, so X is not continuous.  The cdf is not piece-wise flat, so X is not discrete.  Therefore X is a mixed-type random variable.

2.  Find Pr(2X4).

AnswerPr(2X4)=FX(4)FX(2)=138=58=0.625.

Remark:  Recall that the notation FX(a) denotes limh0+FX(ah), i.e., the limit of FX(x) as x approaches a from below.  We need this limit because X=2 is included in the event [2,4].  If, instead, we were interested in Pr(2<X4), this would simply be FX(4)FX(2), which excludes Pr(X=2).

3.  Find Pr(32X52).

AnswerPr(32X52)=FX(52)FX(32)=916516=14=0.25.

4.  Find Pr(X=3).

AnswerPr(X=3)=FX(3)FX(3)=6858=18=0.125.

Remark:  this is the height of the jump-discontinuity in FX(x) at x=3.

5.  Find Pr(X=52).

AnswerPr(X=52)=FX(52)FX(52)=916916=0.

Remark:  this is the height of the jump-discontinuity in FX(x) at x=52.  However, FX(x) is continuous at x=52, i.e., there is no jump discontinuity, so the height of the jump-discontinuity is zero.

6.  Find Pr(X is not an integer).

Answer:  Let us first find the probability of the complementary event.   We have Pr(X is an integer)=k=Pr(X=k).    Now Pr(X=k) is the height of the jump-discontinuity in FX(x) at x=k.  Only for k{1,2,3,4} is this height nonzero.   Thus Pr(X is an integer)=Pr(X=1)+Pr(X=2)+Pr(X=3)+Pr(X=4)=18+18+18+18=12.  Finally, Pr(Xis not an integer)=1Pr(X is an integer)=112=12=0.5.

7.  A discrete random variable Y has range SY={0,2,4,6,} (the nonnegative even integers).  The probability mass function for Y is given as pY(k)=C5k for kSY, where C is a constant.  Determine the value of C.

Answer:  The probabilities must sum to one.  Even integers take the form 2m where m is an integer.  Thus we require 1=m=0C52m=Cm=0(52)m=C152.  We find that C=152=1125=2425=0.96.

8.   An urn contains two $5 bills, two $10 bills, and one $20 bill.  Let the random variable  M denote the total amount that results when two bills are drawn one at a time at random from the urn, without replacement.    The range of M is the set SM={10,15,20,25,30}.  Determine the probability mass function for M .

Hint:  let b1 denote the value of the first bill drawn, and let b2 denote the value of the second bill drawn.  There are then eight possible (b1,b2) pairs comprising the set

S={(5,5),(5,10),(5,20),(10,5),(10,10),(10,20),(20,5),(20,10)}.

Start by determining the probability of each these elementary outcomes, and then use these values to determine the probability mass function for M.

Answer:  We are sampling without replacement, so b1 and b2 are not independent.  We have

Pr(5,5)=2514=110

Pr(5,10)=2524=210

Pr(5,20)=2514=110

Pr(10,5)=2524=210

Pr(10,10)=2514=110

Pr(10,20)=2514=110

Pr(20,5)=1524=110

Pr(20,10)=1524=110

We can verify that these probabilities do indeed sum to one.  Finally, we can compute the probability mass function for M by considering which ordered pairs (b1,b2) sum to a particular value. We get

pM(10)=Pr(5,5)=110=0.1

pM(15)=Pr(5,10)+Pr(10,5)=410=0.4

pM(20)=Pr(10,10)=110=0.1

pM(25)=Pr(5,20)+Pr(20,5)=210=0.2

pM(30)=Pr(10,20)+Pr(20,10)=210=0.2

Again, as a check, we can verify that these probabilities do indeed sum to one.