Choose a number X at random from the set of numbers 1,2,3,4,5. Now choose a number at random from the subset no larger than X, that is, from 1...,X. Call this second number Y.

(a) Find the joint mass function of X and Y.

(b) Find the conditional mass function of X given that Y = i. Do it for i = 1,2,3,4,5.

(c) Are X and Y independent? Why?

Short Answer

Expert verified

(a) The joint mass function of X and Y:

For kl:

PY=k,X=l=15l

For k>l:

PY=k,X=l=0

(b) Conditional mass function:

P(X=lY=i)=15li=1515l

(c) The random variables X and Y are not independent.

Step by step solution

01

Given information (part a)

Number X to be chosen at random from 1,2,3,4,5

choose the second number at random from the subset 1,,X

02

Explanation (part a)

We have that X~DUnif1,...,5

Observe that YXalmost certainly.

Also, Y1,...,5

Forkl,

we have

P(X=lY=i)=P(Y=i,X=l)P(Y=i)=15li=1515l

For k>l:

PY=k,X=l=0

03

Given information (part b)

Number X to be chosen at random from 1,2,3,4,5

Choose the second number at random from the subset 1,,X

also, Y=iwhere, i=1,2,3,4,5

04

Explanation (part b)

Using total probability law,

P(Y=i)=l=i5P(Y=i,X=l)=l=i515l

then for il,

We have role="math" localid="1647231229404" P(X=lY=i)=P(Y=i,X=l)P(Y=i)=15li=1515l

05

Given information (part c)

Number X to be chosen at random from 1,2,3,4,5

Choose the second number at random from the subset 1,,X

06

Explanation (part c)

Since YX,

Then take any k>l.

Suppose that take k=2,l=1

thus PY=k,X=l=0

On the other hand, it is quite obvious that PY=k>0and PX=l>0.

Thus, P(Y=k,X=l)P(Y=k)P(X=l)

Therefore, they are not independent

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free