0% found this document useful (0 votes)
17 views12 pages

PROBABILITY Random Variable and Probability Distribution

Uploaded by

storage.dvy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views12 pages

PROBABILITY Random Variable and Probability Distribution

Uploaded by

storage.dvy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

13.

6 Random Variables and its Probability Distributions


We have already learnt about random experiments and formation of sample spaces. In
most of these experiments, we were not only interested in the particular outcome that
occurs but rather in some number associated with that outcomes as shown in following
examples/experiments.
(i) In tossing two dice, we may be interested in the sum of the numbers on the
two dice.
(ii) In tossing a coin 50 times, we may want the number of heads obtained.

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

{-1, 2.50, 4.50, 6}


Example 23 A bag contains 2 white and I red balls. One ball is drawn at random and
then put back in the box after noting its colour. The process is repeated again. IfX
denotes the number of red balls recorded in the two draws, describe X.
Solution Let the balls in the bag be denoted by w,, w,, r. Then the sample space is
S={w, W,, W, W,, W, W,, W, W;, W, r, W, r, r W;. r W,, rr}
Now, for Oe S
X(0)= number of red balls
Therefore

X({w, w}) = X({w, w,}) - X({w, w,}) - X({w, w,}) =0


X({w, r) - X({w, r) = X({r w)) = X((r w,}) = l and X({rrt)=2
Thus, X is a random variable which can take values 0, l or 2.
13.6.1 Probability distribution of a random variable
Let us look at the experiment of selecting one family out of ten families f, f, ...., in
such a manner that each family is equally likely to be selected. Let the families f, f,
..,f, have 3,4, 3, 2, 5, 4, 3, 6, 4, 5 members, respectively.
Let us select a family and note down the number of members in the family denoting
X. Clearly, X is a random variable defined as below :
XE) 3, X(F) =4, XE) -3, X(C) -2, X(E) - 5,
XC) = 4, X(E) = 3, X(G) = 6, X(G) = 4, XG) = 5
Thus, Xcan take any value 2,3,4,5 or 6 depending upon which family is selected.
Now, X will take the value 2 when the family f is selected. X can take the value
3 when any one of the familiesf, f, f, is selected.
Similarty, X= 4, when family f, f, or f, is selected,
X=5, when familyfor f, is selected
and X=6, when family f is selected.
S60 MATHEMATICS

Since we had assumed that each family is equally likely to be selected, the probability

that family f, is selected is


10

Thus, the probability that X can take the value 2 is 10


We write P(X = 2) =0
Also, the probability that any one of the families , f, or f, is selected is
3
P({, (, }) =10
3
Thus, the probability that X can take the value 3 10

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

and P(X = 6)- P({E})) 10


Such a description giving the values of the random variable along with the
corresponding probabilities is called the probability distribution of the random
variable X.
In general, the probability distribution ofa random variable X is defined as follows:
Definition 5The probability distribution ofa random variable Xis the system of numbers
X X X.

P(X)) : p p

where, P,>0,P, - 1, i= 1, 2,.., n


The real numbers x,, X,. x are the possible values of the random variable Xand
p (i= 1,2,.., n) is the probability of the random variable Xtaking the value x, i.e.,
P(X =x)=P
PROBABILITY 561

Note If x, is one of the possible values of a random variable X, the statement


X=x,is true only at some point (s) of thesample space. Hence, the probability that
X takes value x, is always nonzero, i.e. P(X = x) # 0.
Also for all possible values of the random variable X, all elements of the sample
space are covered. Hence, the sum of all the probabilities in a probability distribution
must be one.

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

Example 25 Find the probability distribution of number of doublets in three throws of


a pair of dice.
562 MATHEMATICS

Solution Let X denote the number of doublets. Possible doublets are


(1,1), (2,2), (3,3), (4,4), (5,5), (6,6)
Clearly, X can take the value 0, 1,2, or 3.
61
Probability of getting a doublet =
36 6

Probability of not getting a doublet =l 6 6


5 5 5 125
Now P(X = 0) = P (no doublet) - 6 6 6 216
P(X = 1)=P (one doublet and two non-doublets)
1 55, 5 15,55 1
-xx+xx+-x-x
6 6 6 6 6 6 6 6 6

5 75

P(X = 2)= P (two doublets and one non-doublet)

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

Verification Sum of the probabilities


125 75
+
216 216 216 216
125+ 75+15+1 216
=1
216 216
PROBABILITY S63

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?

Solution The probability distribution of X is


X
P(X) 0.1

(a) We know that

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

13.6.2 Mean ofa random variable


In many problems, it is desirable to describe some feature of the random variable by
means of a single number that can be computed from its probability distribution. Few
such numbers are mean, median and mode. In this section, we shall discuss mean only.
Mean is a measure of location or central tendency in the sense that it roughly locates a
middle or average value of the random variable.
564 MATHEMATICS

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).

Thus, E(X)= 4 =2%P = x,p;+ x,P, + ... + x, P.


In other words, the mean or expectation of a random variable X is the sum of the
products of allpossible values of Xby their respective probabilities.
Example 27 Let a pair of dicebe thrown and the random variable Xbe the sum of the
numbers that appear on the two dice. Find the mean or expectation of X.
Solution The sample space of the experiment consists of 36 elementary events in the
form of ordered pairs (x, y), where x, 1, 2, 3, 4, 5, 6 and y - 1, 2, 3, 4, 5, 6.
The random variable X i.e. the sum of the numbers on the two dice takes the
values 2, 3,4, 5, 6, 7, 8,9, 10, 11 or 12.

Now P(X = 2) = P({U,I)}) =36

P(X = 3) = P({(I,2), (2, 1)}) =


36

P(X =4) =P({(1,3), (2,2), (3, 1)}) =36


4
P(X = 5) = P({(1,4), (2,3), (3,2), (4,1)}) =36
5
P(X = 6) = P({(1,5), (2,4), (3,3), (4,2), (5,1 )})= 36

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)} ) =

P(X = 12) = P({(6,6)}) -,


36
The probability distribution ofX is

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

2+6+12 + 20 + 30+ 42 +40+36+ 30 +22+ 12 =7


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)!

P(X = 1) = P(one king and one non-king) =


4x 48x 2 32
52x51 221
PROBABILITY S69

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

Now Mean of X= E(X)= Xx px)

188 +lxt2x2i 221


1_34
= 0x
221

Also

188 36
= 0'x+1'x+2?x
221 221 221 221

Now Var(X) = E(X) - [E(X)P


36 34 6800
221 (221
v6800-=0.37
Therefore o, - Var(X) 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

P(X) 0.4 0.4 0.2

X 0 2 3 4

P(X) 0.I 0.5 0.2 -0.1| 0.3


570 MATHEMATICS

(iü) Y-1 0 1
P(Y) 0.6 0.1 0.2

(iv) Z 3 |2 0 -1

|P(Z) 0.3 0.2 0.4 0.1 0.05

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

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy