Theory of Probability
Theory of Probability
lity
351
(Step 3): Divide m by n, and the result gives the probability of the event.
Probability, as defined by (11.5.1), always lies between 0 and 1.
0sps1
minimum value of p, viz. 0, is attained when none of the outcomes is (11.5.2)
The
favourable
to the event, i.e., m 0. The event is then said to be
=
'impossible'. The maximum value
ofp. viz. 1, is attained when all the possible outcomes are favourable to the event, i.e.
m =n. The event is then said to be 'certain'.
Example 11.11 Two unbiased coins are tossed. What is the probahili
obtaining (a) both heads, (b) one head and one tail, (c) both tails, (d) at of
head? one
Solution The experiment has 4 possible outcomes, viz. HH, HT, TH, T7T (the two la
each case lettersin
denoting the results on the 1st and 2nd coins respectively). These are miu
mutually
exclusive.exhaustiveand equally likely (Examples 11.6c, 11.7c, 11.9c). Thusn =4.Tha
e cases
favourable to the events are as follows:
Event Favourable cases Number of favourable
cases
(a) Both heads HH
(b) One head and tail
one HT TH
(c) Both tails
TT
d) At least one head
HH, HT, TH
Applying the classical definition (11.5.1)
(a) P (both heads) = 1/4
(b) P (one head and
one tail) = 2/4 1/2
(c) P (both tails) = 1/4
d) P(both least one head) = 3/4
P(six)
=
2/6 =
1/3
l/6
Example 11.13
obtaining (a) 3 heads,When two
unbiased coins
(b) not more than 3
are ssed. what
tosse is the probability 9
heads?
Theory of Probability 357
1.5). (2.6). (3, 7). (4, 8), (5,9). (6,. 10). (7, 11). (8. 12)
ane the total number ofarrangements favourable to the event is m = 8(2 x 10 ). By the
classical
detinition of probability (11.5.).
8x2
p = = 82 x10)
n 12! 12xII33
Second method) Of the 12 places, X and Ycould occupy any 2 places in C, = 66 ways.
which are mutuall exclusive, exhausti and equally likely. There will be 3 persons between
Vand Y. ifthe latter occupy places (1. 5)., (2. 6). (3. 7), 4.8). (5. 9), (6. 10), (7, 11). (8. 12)
Lnce the number of favourable cases is 8. So, the required probability = 8/66 = 4/33.
Example11.25 Twelve persons, amongst whom are Xand Y, are seated at random
dt a round table, What is the probability that there are 3 persons between X and Y?
Solution X can occupy any of the 12 seats, and correspondingly Yany of the remaining11
seats. Hence X and Y can occupy seats in 12 x, 11 = 132 ways. There will be 3 persons in
betweenif X and Ybccupy seats (1, 5), (2,6). (3, 7). (4.8). (5. 9). (6, 10). (7, 11), (8, 12). (9. 1).
(10.2). (11.3), (12,4). Since X and Y may interchangetheirseats, the total numberof favourable
cases is 12 x2 =24.
Required probability =
242
132
(Note that the permutation of n persons in a ring or circle is (n - 1)! but around a 'round
table' is n !: because in the former the positions are relative to their neighbours, but in the latter
relative to their seat numbers.
Example 11.26 A lady declares that by tasting a cup of tea with milk. she can
discriminate whether milk or tea infusion was first added to the cup. In order to test
these assertion, 10 cups of tea are prepared-S in one way and 5 in the other, and
presented to the lady for judgement in a random order. Assuming that the lady has no
discrimination power, calculate the probability that she would judge correctly all the
ups, it being known to her that 5 are of each kinda
What is the probability, if the tea cups were presented to the lady in 5 pairs--each
pair consisting of cups of each kind-in a random order?
Solution Since the 5 cups of each kind, prepared with milk (M) or tea (7) infusion first
added. are identical, the total number of permutations of the 10 cups is (seé formula 11.4.5).
10!
5!5 252
Thus, there are 252 different possible ways of presenting the cups to the lady., and these are
mutually exclusive, exhaustive and equally likely. Only one of these agrees with the lady's
assertion, suppose M T T TMM TM T M. So the required probability is 1/252.
In the second case, when the cups are presented in 5 pairs, the total number of permutationss
2x2x2x 2 x2 = 32
becauseeach pair can be permuted in 2 ways-either (M. T) or (T, M). So there are now
possible ways of presenting the cups to the lady, As before, only one of these agrees withtne
is theretore
uy S statement, say (7TM), (M T), (M D, (TM, and (M T). The required probability
Ans. 1/252, 1/32.
1/32
This follows from the theorem of compound probability. Similarly,
P(A/B) =
P(AB
PB)
(11.6.17)
Thus the Theorem of Compound Probability enables us to find a formula for e
calculation of conditional probability.
Important Formulae and Results
. Addition Theorem of Probability: If events A and B are
"mutually exclusive'
then
P(A + B) = P(A) + P(B)
2. In general, for any two events A and B,
PA + B) = P(A) + P(B) - P(AB)
3. For three mutually exclusive eventsA, B, C
P(A +B + C) = P(A) + P(B) + P(C)
This can be extended to any
number of mutually exclusive events.
4. For any three events A, B, Cc
P(A+B+ C) =
P(A) + P(B) + P(C) - P(AB)
-
if A and B are
=
1-PA ).PB).
independent.
Theory of Probability
367
(a) P(A) =
1-P(A)) = 1
--52
P(A +B) =
P(A) + P(B) -P(AB)
2 12
P(A/B) P(AB)
P(B)
3
P(A B) =
P(B) P(AB)
-
=
4
PA B) = 1-P(A +B) = l-2-5
PA +B) = P(A) + P(B) - P( A B)
1) No; because P(A) and P(B) are not equal. Here P(A) = and P(B) =
3
(v No; because P(AB)# PlA). P(B). Here P(AB) =, but P(A). PB)= 6
likey
A
a+b A
B a+b+c
B
C
However, a group of a white balls can be obtained in C, ways because there are A
white balls in the box. Similarly, a group of b black balls can be obtained in BC, ways.
Since any of the AC, groups of a white balls can be combined with any of the C
groups of b black balls, the number of groups of (a + b) balls favourable to the event
is CCh Hence, by the classical definition, the required probability is given by
(11.7.1).
Note: (i) The phrase, 'at random signifies that all possible drawings are "equally likely'.
(ii) If instead of drawing the (a + b) balls all at a time, the balls are drawn one by
one, (a + b) times in succession (a ball drawn once not having been returned to
the box). then the same probability (11.7.1) is obtained. Hence. such drawing is
also call drawing without replacement', as distinct from 'drawing with
Teplacement (Section 11.8).]
Statistical Methods
374
CCC
AB+C Ca tb+c (11.7.2)
Example 11.47 A bag contains 8 white and 6 black balls. If5 balls aredraw
random, what is the probability that 3 are white and 2 black? twn at
Solution 5 balls can be drawn out of 14 in Cs
ways, and these cases are mutually exclusive,
exhaustive and equally likely. However, a group of 3 18WHITE
white balls can be drawn out of 8 in *C; ways, and 2 6 BLACK (3+2)
black balls out of 6 in °C, ways. So the number of
favourable cases is *C3.°C2. By the classical definition
14 x 13x 12 x11x10
14C = 14x 13x 11
1x 2x3x 4x5
P = 56 x15 60
14x 13x 11 143
(Second method) We may assume that the balls have been drawn
replacement.
one by one without
Of the 5 balls drawn, the first one
may be any of the 14 in the bag, the 2nd
remaining 13, and so on. So, the total number of ways in which 5 balls may be one of the
the order in which they may be drawn, considering
appear, is 14x 13 x 12 x I1x 10.
Now, let us consider the number of ways in which 3 white
and 2 black balls be obtained
in a particular order; for
example, the first 3 are white and the last 2 are black.may
This number is
(8 x7x6) x (6 x 5). Hence the
probability of drawing only white balls in the first 3
only black balls in the last 2 draws is draws and
(8 x 7x 6) x (6 x 5) 6
14x 13 x 12 x 11x 10 143
But, obviously this is the
probability of having 3 white and 2 black balls in any other
In our problem, the order is
immaterial, and hence the required oruer
and 2 black balls is, by the Theorem of
Total
probability of having 5 W
Probability,.
143 143 t4 (k times) xk
143
where k is the
number of arrangements (i.e., permutations) in which 3 white and 2 black
may appear. Since this is given by
5
6
k 32 =
10, the required probability is 14310=
x 10 60 =
143
Theory of Probabili ty 375
t of the 20 at randoi., what is the probability that they are all graduates? What is
the probability of at least one graduate? C.U., B.A. (Econ) *73]
Solution i) Applying (11.7.1). let
A Numberof graduates in the company
a =Number of graduates in the sample
B Number of non-graduates in the company = 20 -5 15
Number of non-graduates in the sample
=
0 =
5 G 3 5G 3
15 N-G (3+0) 15 N-G (0+3)
P 20 C3
5x 4x3
But. C Ix 2x3
= 10
is
CC 1x45591
Hence, by
C
(11.6.5), the required probability
I140
is
228
P2 1-9 137
228 228
Alternative method)
(i1) The event at least
.
graduate' can be split up
one into three mutually exclusive events:
exactly 1graduate and 2 non-graduates.
2. exactly 2 graduates and I non-graduatec.
3 exactly 3 graduates and 0 non-graduate.
The probabilities of these cases are, rspectively
525 C x "C I50
C I140
C I140
C,x C 10
20 C 140
By the Theoren of Total Probability (11.6.2), the required probability p, is given by he
Sun of these
probabilities. Hence,
376 Stat istical Met hods
52 150 10 137
Ans 137
4
140 140 1140 228 228
Example 11.49 A bag red and 5 white balls. Two successive drau.
contains 8
that he first drawins7
halls a r made without eplacement. Find the probuhility will
Rive white halls and the second 3 red balls. ICA. May 7%
Solution Let Adenote the event first drawing gives 3white balls, and B denote the.
event
3 red balls, We have to find the probability of the event "A and e"
'second drawing gives ie
A as well as ". wh:ch in symbols is P ( AB).
PAB) = P(A).
Using (11.7.1)
x 10 5
P(A) =
1C3 286 143
56 x1
- 1C 120 15
7
Hence. the required probability is P(AB) = 143 429
Example 11.50 Four cards are drawn at random from a full pack. What is the
probability that they belong to different suits?
Solution In the pack of 52 cards, there are 13 cards of each suit-13 spades. 13 hearts. 13
diamonds and 13 clubs. If the 4 drawn cards are to belong to four different suits, we should
have I card from each suit. Hence the required probability is (extension of formula 1.7.2).
| 13 SPADE 4
13 HEART
13 DIAMOND
(1+1+1+1)
13 CLUBB
"C,p (11.8.1)
where p + q =1.
The performance of anexperiment is usually called a "trial": the occurrence of he
event is called a "'success and its non-occurrence a "failure". Thus, the probability
rsuccesses (and mutuallyn - r failures) in n independent trials is given by(I.8.1)
Example 11.51 Find the probability that there will be exactly successes inn
independent trials (n 2 r), where p is the probability of success in a single trial.
Solution Let us, at the beginning, consider the event in which the firstr trials result in
success in each trial, and the remaining n-r urials result in failures only. Now. the probability
ofsuccessis p in each trial, so that the probability of failure is 1 -p = q. say. Since the n trials
are independent, the probability of r consecutive success, followed by n -rconsecutive failures
is. by the theorem of compound probability, given by
PXpX.. pXqXqX... Xq
r times (n r ) times p'q"-
The probability of obtaining r successes (and hence n-r failures) in any other specified
order is similarly p' q'-". However, we are not interested in any particular arrangement of the
r successes and the n- r failures, but overall number of r successes in n trials, whatever be the
arangement in which they appear. But, r successes and n - r failures in n trails may arise in
n
="C, mutually exclusive ways, in each of which the probability is the same, viz.
r(n r)
P.Hence. by the theorem oftotal probability, the probability that there will be r successes.
irespective of the order in which they appear, is
pq-+p'q'-+ .. ("C, times) = "C,p' q=".
Note: This problem may be identified with drawing n balls from a box in which the
proportions of white and black balls are p and q. If balls are drawn one by one, n times in
Succession. the ball drawn each time being returned to the box before the next drawing, then
theprobability of obtaining r white balls is given by (11.8.1). Such experiments are, therefore
called "drawing with replacement". [Aso see Note (i) Section I 1.7, page 31].
q =1-p= l-
Statistical Methods
aftected by
378 Is n o t
any
tossing
.),
(iI8.1 ) with
a
tail in apply
head ot we
of a T h e r e f o r e ,
independen1.
Tallure). Putting r = 9,
10
10 512
a graduate
student will be
Example 11.53 Theprobabiliry that an entering
college
students, (i) none, fi) one
the probabilin that out of 5 entering
(iii) at least
e
one, will be a
graduate. be called a "success
Solution Let the event 'an student
student will be a graduate
n entering college
centering wI or
henp= prohahil..
of success each trial =0.4. Assuming that the success
or
lanure OiE
Probability in
be considered as naepenueni
t docs not affect the result of anv other student, the trials may
Hence. putting n = 5, p =0.4. q = 1 - p =0.6 in (11.6.1)
(1)
Probability that none is a graduate
probability of Osuccess =
"Co (0.4)° (0.6)-
= (1) (1) (0.6) = 0.07776
ii) Probability that one is a graduate
probability of one success = "C, (0.4) (0.6)
5 (0.4) (0.6 = 0.2592
(11) The complementary event is 'none is a graduate'. Hence, applying (11.6.5).
Probability that at least one is graduate
= 1- (probability tat none is a graduate)
1 07776, from (i) above.
92224.
articles.
Sobution Denoting the occurrence of a detectuve article as "success", we find that
The probab1iities =
(iiit approx.
4 trials. C.02 (98)*"
C(.02) ( 9 8 ) : (4 (02 98 )75
(appox
neory, bul
Let S be a sample space of some given random experiment. It has been observed tnat
the outcomes (i.e. sample points of S) are not always numbers. We may howevet
an
assign a
sample point according to some definite rule. Sucn
real number to each
assignment given us a "function defined on the sample space S". This Tune
called a random variable (or
stochastic variable).
Theory of Probability
407
lustratnon 1.
rando expeniment of tossing 2 coins, let the sample space be S (HH, =
In the
the randor variable denoting the 'number heads', HT*".
TH.77).If is
of then wehave
assigned
a number to each sample point as follows:
XHH) = 2. X(HT) =I, X(TH) = 1. X(T) = 0
Note: Many other rand variables could also be proposed on this sample
h esQuare of the number of tails, the difference of the space.
numbers of heads and
tails.
llustration 2.
X1)
1. X(2) 2. X(3) 3. X(4) 4.
= = =
X5) = 5, X(6) 6 =
=
Y1) (1-3) =4 =
Y(4) = (4 -3)2 = 1
Y2) = (2-3) = 1 Y5) = (5 -3) = 4
Y3) = (3-3 3)2:= 0 Y6) = (6 -3) = 9
These are shown in the table below:
Sample point 5
Random variable Y 4 4 9
A random variable which assumes a
finite number or a
of values is called a Discrete random countably infinite number
variable. If the random variable
assumes an
uncountably infinite number of values, it is called a Continuous
random variable.
llustration3.
The random variable
Xin Illustration 1 takes
takes 6values 1,2, 6, and Ytakes 4 values only
3 values 0, 1, 2. In
Illustration 2.X
...
of the set
P,i= 1,2, 3, ...) defines the
of values x, together with their
probabilities
Let us write flx)
discrete probability distribution of X.
to denote the probability that X takes a specified value x.
x ) = P(X =x)
he (11.19.1)
function flx) is called the
probability mass
probubility function, of the diserete random variable X.furnction (p.m.f.), or simply
It satisfies two conditions
i) fAx)20,
Ie
(ii) Efx) 1 =
(11.19.2)
Summation in (ii) being taken over all values
fx) = p when x = x(i = 1, 2,...)
of x =
A1, , Ag .
= 0 otherwise
(11.19.3)
408 Statistical Methods
Solution
1)
Assuming that the coin is unbiased. the sample space is tinite and
equiprobable
PX =
0) =P([TT})=
PX =
1)= P(|HT, TH}) = 4 2
POX =
2) =
P(|HH)) =
The probability distribution of X is
0 Total
fx)
4 2
(11) In llustration 2, assuming that the die is unbiased, the probability distribution of X is
2 3 4 5 6 Total
flx) 6 6 6
6 6
Note the distinction between capital letters X, Y which
denote the random variables. and
small letters x, y which denote any arbitrary values of these
random variables.
Example 11.75 Find the probability distribution of the number of tails when a
coin is thrown repeatedly until the first head appears.
Solution Here S = {H, TH, TIH, TTTH . .
Sample point H TH TTH TTTH
X 0 2 3
Assuming that the coin is unbiased,
PX =
0) =P({H}) =
PX = )= P[I#) = |
Theory of Probability
409
PX = 2)=
P|TTH)) =|G
PX= 3) = P({T1TH})= etc.
distribution of X is
The probability
0 .. Total
PcSXSd =
f ) dr (11.19.5)
It may be shown that this definition of probability satisfies all the Axioms of
probability (page 409). The function fx) is called the probability density function
random Any function
(p.d.f.), or simply densityfunction,
of the continuous variable X.
satisfying both the conditions (11.19.4) may be accepted as a density function.
-2SS2
fr)=
0 elsewhere
obtain P[(2xr + 3) > 5]. (Here P denotes probability)
C.U., B.Sc. (Econ) '81 (New)|
Solution
must satisty the two conditions (i) and (i) at (11.194).
a) Ifthe function fr) is to be a p.d.f. it satisfies (i). It is not negative at any
value of
x.
The function flr) defined here clearly
l+1 =2
Since condition (ii) is not satisfied, the given function f(a) Is nol a
probability dles
(b)
function. density
The event (21 +3) > 5 2r>2 > >1. Therefore
P(2x+3) > 5) = Plu> I}|
Ans. No.
c.d.f. is given as
follows:
Fx)= 0 when x<X1
P +
when XSx<X2
=
P P2 when Sx<xz
PtP2+P3 when X3Sr<X4
=
Pi +P2 +. +P=l when x,Sx (11.20.3)
The probability that X lies in interval,
an
say between x and x7 (both inclusive). 1s
then given by
Plx S XSx) =
P(X S x7) -
P(X Sx)
For the continuous
=
Fa) F(x,) -
(11.20.4)
probability distribution of X, with probability density function
fx) in the interval (a SISb). the c.d.f. is given as
1.20.5)
If follows that the
with respect to x.
p.d.f. flx) can be obtained from the c.d.f. Flx) dy differentia
If the
Ax) =Fx) (11.20.6)
c.d.f. is known, the
probabilities of intervals can be obtained from the on
P(c SXSd) ran
particular when c and d are equalFid)
=
In
-
Fc) 11.20.7)
cdfofN.
caltion lt can be easily shown that the probabilities of obtaining 0 head. I head, 2 heads
I331
i heads are respectively R'RR The probability distribution of X is therefore
0
Total
f)
8 8
From this table, we can findthe probabilities of obtaining 0 or less head. I or less
less heads. 3 or less heads, as follows:
head, 2 or
F(0) = PX < 0) = PX = 0) =
F1) = PX<1)
PX=0)+ PX =1) =
+
F2) = P(X< 2)
=
P(X =0) + P(X =
1) + P(X =
2)
Thus we have
0
3
Fx) 7
8 8
In general, if denotes any
X) is
x
arbitrary real number, the probability that the number of heads
x or less can be given as
Fx) = 0, when x< 0
Decause we cannot have less than O head.
for
example. F(I1.34) = the probability of having 11.34 or less heads the
because
2
is
fme as
that of having 0 or I head. Similariy,
412 St atistical Methods
when 2 < 3
8 8 8
3
and Fu)=+ when 3 Sr
For example F(8.75) = 1, because the probability of having 8.75 heads or less is the same
ame as
that of having 0. 1. 2. 3 heads
The cdf. of X is thus given as follows:
when 0 SI<l
when 1 I < 2
when 2 a < 3
8
when 3 x
3
(iv) the probubility that X is greater than
5
(v) the probability that Xlies between and.
4
Solution y= klx - 1)(2- x) k(3x
-x 2)
= -
k
Thus,l:
6 i.e. k =6
The complete p.d.f. is therefore y =6(3x x - 2)
-
5- 12r+ 9 2
(ii) Probability
that Xis less than
by (11.20.1)
5-12x+9x -2
3 9 27
=
xG}'E)
1_5- I
2 2 32 32