PROBABILITY Random Variable and Probability Distribution
PROBABILITY Random Variable and Probability Distribution
558 MATHEMATICS
(ii) In the experiment of taking out four articles (one after the other) at random
from a lot of 20 articles in which 6 are defective, we want to know the
number of defectives in the sample of four and not in the particular sequence
of defective and nondefective articles.
In all ofthe above experiments, we have a rule which assigns to each outcome of
the experiment a single real number. This single real number may vary with different
outcomes of the experiment. Hence, it is a variable. Also its value depends upon the
outcome of a random experiment and, hence, is called random variable. A random
variable is usually denoted by X.
Ifyou recall the definition of a function, you will realise that the random variable X
is really speaking a function whose domain is the set of outcomes (or sample space) of
a random experiment. A random variable can take any real value, therefore, its
co-domain is the set of real numbers. Hence, a random variable can be defined as
follows:
Definition 4 A random variable is a real valued function whose domain is the sample
space of a random experiment.
For example, let us consider the experiment of tossing a coin two times in succession.
The sample space of theexperiment is S = (HH, HT, TH, TT}.
If X denotes the number of heads obtained, then X is a random variable and for
each outcome, its value is as given below:
X(HH) =2, X(HT) =1, X(TH) =1, X(TT)= 0.
More than one random variables can be defined on the same sample space. For
example, let Y denote the number ofheads minus the number of tails for each outcome
of the above sample space S.
Then Y(HH) 2, Y (HT) = 0, Y (TH) = 0, Y (TT) = - 2.
Thus, X and Y are two different random variables defined on the same sample
space S.
Example 22 A person plays a game of tossing a coin thrice. For each head, he is
given Rs 2 by the organiser of the game and for each tail, he has to give Rs 1.50 to the
organiser. Let X denote the amount gained or lost by the person. Show that X is a
random variable and exhibit it as a function on the sample space of the experiment.
Solution X is a number whose values are defined on the outcomes of a random
experiment. Therefore, X is a random variable.
Now, sample space of the experiment is
S={HHH, HHT, HTH, THH, HTT, THT, TTH, TTT}
PROBABILITY $59
Then X(HHH) = Rs (2 x 3) = Rs 6
X(HHT) = X(HTH) = X(THH) = Rs (2 × 2-1x 1.50) = Rs 2.50
X(HTT) = X(THT) = (TTH) = Rs (1 x 2) -(2 x 1,50) =- Re 1
and X(TTT) =- Rs (3 x 1.50) - Rs 4.50
where, minus sign shows the loss to the player. Thus, for each element of the sample
space, X takes a unique value, hence, X is a function on the sample space whose range
Since we had assumed that each family is equally likely to be selected, the probability
3
We write P(X=3) =10
Similarly, we obtain
3
P(X = 4) =P({G, f, (}) =
10
2
P(X = 5) = P({, fo})10
P(X)) : p p
Example 24 Two cards are drawn successively with replacement from a well-shufled
deck of 52 cards. Find the probability distribution of the number of aces.
Solution The number ofaces is a random variable. Let it be denoted by X. Clearly, X
can take the values 0, 1, or 2.
Now, since the draws are done with replacement, therefore, the two draws form
independent experiments.
Therefore, P(X = 0) = P(non-ace and non-ace)
= P(non-ace) x P(non-ace)
48 48 144
$2 52 169
P(X = l)=P(ace and non-ace or non-ace and ace)
= P(ace and non-ace) + P(non-ace and ace)
= P(ace). P(non-ace) + P (non-ace) . P(ace)
4 48 48 4 24
-x
52 52'52 52 169
and P(X = 2) =P (ace and ace)
4 4
52 52 169
Thus, the required probability distribution is
X 2
144 24
P(X) 169 169 169
5 75
66 666 6 6 216
and P(X =3) = P (three doublets)
11, 1
= -x -x-=
1
6 6 6 216
Thus, the required probability distribution is
X 0 1 2 3
125 75 15
P(X) 216
216 216 216
Example 26 Let Xdenote the number of hours you study during a randomly selected
school day. The probability that Xcan take the values x, has the following form, where
kis some unknown constant.
0.1, if x=0
kx, if x=lor2
P(X = *) =5-, if
x=3or4
|0, otherwise
(a) Find the value of k.
(b) What is the probability that you study at least two hours ? Exactly two hours? At
most two hours?
Therefore 0.1 + k + 2k + 2k + k= |
i.e. k=0.15
(b) P(you study at least two hours) - P(X 2 2)
- P(X = 2) + P (X= 3) + P (X =4)
2k + 2k + k= 5k=5 x 0.15 = 0.75
P(you study exactly two hours) P(X =2)
= 2k= 2x0.15 = 0.3
P(you study at most two hours) - P(X < 2)
= P (X = 0) + P(X =1)+ P(X =2)
=0.1+ k+ 2k=0.1l +3k=0.1 +3 x 0.15
0.55
Definition6 Let Xbe a random variable whose possible values x,, x,, X, ., , occur
with probabilities p, P P P,, respectively. The mean of X, denoted by H, is the
numberXP, i.e. the mean of Xis the weighted average ofthe possible values of X,
each value being weighted by its probability with which it occurs.
The mean ofa random variable X is also called the expectation of X, denoted by
E(X).
6
P(X =7)= P({(1,6),(2,5), (3,4),(4,3), (5,2), (6,1)}) =36
5
P(X = 8) = P({(2,6). (3,5), (4,4), (53), (6,2)} )= 36
PROBABILITY 565
4
P(X =9) = P({(3,6), (4,5), (5,4), (6,3)} ) =36
,
3
P(X =10) =P({(4.6). (5.5), (6,4)} ) =36
2
P(X = I1)= P({(5,6). (6,5)} ) =
X or x, 4 5 6 7 8 10 2
2 3 4 5 6 4 2
P(X) or P 36 36 36 36 36 36 36 36 36 36 36
Therefore,
2 3
3 1
+6x+7x+8x
36 36 36
+9x+10x+1lx+12x
36 36 36 36
Thus, the mean of the sum of the numbers that appear on throwing two fair dice is 7.
13.6.3 Variance of arandom variable
The mean ofa random variable does not give us information about the variability in the
values of the random variable. In fact, if the variance is small, then the values of the
random variable are close to the mean. Also random variables with different probability
distributions can have equal means, as shown in the following distributions ofX andY.
X 2 3 4
2 3 2
P(X) 8 8
Example 29 Two cards are drawn simultaneously (or successively without replacement)
from a well shuffled pack of 52 cards. Find the mean, variance and standard deviation
of the number of kings.
Solution Let X denote the number of kings in a draw of two cards. X is a random
variable which can assume the values 0, 1 or 2.
48!
38
P(X =0)= P(no C 21(48-2)! 48x 47 188
Now
king) 2C 52! 52x 51 221
21(52-2)!
4x3
and P(X =2) = P(two kings) =s2 52x 51 221
Thus, the probability distribution of X is
X 2
188 32 1
P(X) 221 22 221
n
Also
188 36
= 0'x+1'x+2?x
221 221 221 221
|EXERCISE 13.4
1. State which of the following are not the probability distributions ofa random
variable. Give reasons for your answer.
0 1 2
X 0 2 3 4
(iü) Y-1 0 1
P(Y) 0.6 0.1 0.2
(iv) Z 3 |2 0 -1
2. An um 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? ls X a
random variable ?
3. Let X represent the difference between the number of heads and the number of
tails obtained when acoin is tossed 6 times. What are possible values of X?
4. Find the probability distribution of
(i)) number of heads in two tosses of a coin.
(ii) number of tails in the simultaneous tosses of three coins.
(ii) number of heads in four tosses of a coin.
5. Find the probability distribution ofthenumber of successes in two tosses ofa die,
where a success is defined as
() number greater than 4
() six appears on at least one die
6 From a lot of 30 bulbs which include 6 defectives, a sample of 4 bulbs is drawn
at random with replacement. Find the probability distribution of the number of
defective bulbs.
7. A coin is biased so that the head is 3 times as likely to occur as tail. Ifthe coin is
tossed twice, find the probability distribution ofnumber of tails.
8. A random variable X has the following probability distribution:
X 0 1 2 3 4 56 7
P(X)| 0 k 2k| 2k| 3k| k2|2K7K+k
Determine
() k (ii) P(X <3)
(ii) P(X>6) (iv) P(0<X<3)
PROBABILITY 571
9. The random variable Xhas a probability distribution P(X) ofthe following form,
where k is some number :
k, if x=0
,2k, if x=1
P(X) = 3k, if x=2
l|0, otherwise
(a) Determine the value ofk.
(b) Find P(X<2), P(XS2), P(X > 2).
10. Find the mean number of heads in three tosses of a fair coin.
11. Two dice are thrown simultaneously. IfX denotes the number of sixes, find the
expectation of X.
12. Two numbers are selected at random (without replacement) from the first six
positive integers. Let X denote the larger of the two numbers obtained. Find
E(X).
13. Let X denote the sum of the numbers obtained when two fair dice are rolled.
Find the variance and standard deviation of X.
14. Aclass has 15 students whose ages are 14, 17, 15, 14, 21, 17, 19, 20, 16, 18,20,
17, 16, 19 and 20 years. One student is selected in such a manner that each has
the same chance of being chosen and the age X of the selected student is
recorded. What is the probability distribution of the random variable X? Find
mean, variance and standard deviation of X.
15. In a meeting, 70% ofthe members favour and 30% oppose a certain proposal.
A member is selected at random and we take X=0 if he opposed, and X=1 if
he is in favour. Find E(X) and Var (X).
Choose the correct answer in each of the following:
16. The mean of the numbers obtained on throwing a die having written 1 on three
faces, 2 on two faces and 5 on one face is
8
(A) 1 (B) 2 (C) 5 (D)
17. Suppose that two cards are drawn at random from a deck of cards. Let X be the
number of aces obtained. Then the value of E(X) is
37 5
(A) 221 (B) 13 (C) 13 (D) 3