An urn contains 5 red and 2 black balls. Two balls are randomly drawn. Let X represent the number of black balls. What are the possible values of X ? Is X a random variable?
An urn contains 5 red and 2 black balls. Two balls are randomly drawn. Let X represent the number of black balls. What are the possible values of X ? Is X a random variable?

Solution:

An urn containing 5 red and 2 black balls is presented.

Let’s call the red ball mathrmR and the black ball mathrmB.

Two balls are chosen at random.

As a result, the experiment’s sample space is S=B B, B R, R B, R R.

The number of black balls is represented by mathrmX.

\Rightarrow \times(\mathrm{BB})=2 X (BR) = 1

X(\mathrm{RB})=1

x(R R)=0

As a result, mathrmX is a sample space function with a range of 0,1,2.

As a result, mathrmX is a random variable with values of 0,1, or 2.