Professional Documents
Culture Documents
Dr. M. M. Bhatti
March 9, 2023
1 Introduction
Conditional Probability
Theorems on Conditional Probability
Conditional probability and independent events
Theorems on Conditional Probability
Independent Events
Books:
1 Bluman, A. G. (2009). Elementary statistics: A step by step approach.
New York;: McGraw-Hill Higher Education.
2 Walpole, R. E., Myers, R. H., Myers, S. L., & Keying, E. Y. (2013). Es-
sentials of Probability & Statistics for Engineers & Scientists: Pearson
New International Edition PDF eBook. Pearson Higher Ed.
Marks strategy:
In words, (2) says that the probability that both A and B occur is equal to
the probability that A occurs times the probability that B occurs given that
A has occurred. We call P (B|A) the conditional probability of B given A,
i.e., the probability that B will occur given that A has occurred. It is easy
to show that conditional probability satisfies the axioms.
Example 1.12
Find the probability that a single toss of a die will result in a number less
than 4 if
a. no other information is given and
b. it is given that the toss resulted in an odd number.
(a) Let B denote the event {less than 4}. Since B is the union of the events
1, 2, or 3 turning up, we see by Theorem 1.5 that
1 1 1 1
P (B) = P (1) + P (2) + P (3) = + + = (3)
6 6 6 2
assuming equal probabilities for the sample points.
3 1
(b) Letting A be the event {odd number}, we see that P (A) = = .
6 2
2 1
Also, P (A ∩ B) = = . Then
6 3
P (A ∩ B) 1/3 2
P (B|A) = = = (4)
P (A) 1/2 3
Hence, the added knowledge that the toss results in an odd number raises
the probability from 1/2 to 2/3.
Theorem 1.9
For any three events A1 , A2 , A3 , we have
The above statement describes: the probability that A1 and A2 and A3 all
occur is equal to the probability that A1 occurs times the probability that
A2 occurs given that A1 has occurred times the probability that A3 occurs
given that both A1 and A2 have occurred. The result is easily generalized
to n events.
Let A1 be the event “4, 5, or 6 on first toss,” and A2 be the event “1, 2, 3,
or 4 on second toss.” Then we are looking for P (A1 ∩ A2 ).
Method 1:
P (A1 ∩ A2 ) = P (A1 )P (A2 |A1 ) = P (A1 )P (A2 )
3 4 1
= = (6)
6 6 3
We have used here the fact that the result of the second toss is inde-
pendent of the first so that P (A2 |A1 ) = P (A2 ). Also we have used
P (A1 ) = 3/6 (since 4, 5, or 6 are 3 out of 6 equally likely possibilities)
and P (A2 ) = 4/6 (since 1, 2, 3, or 4 are 4 out of 6 equally likely
possibilities).
Dr. M. M. Bhatti (SDUST) Chapter 1: Lecture # 3 March 9, 2023 8 / 25
Conditional probability and independent events
Method 2: Each of the 6 ways in which a die can fall on the first
toss can be associated with each of the 6 ways in which it can fall on
the second toss, a total of 6 · 6 = 36 ways, all equally likely.
Each of the 3 ways in which A1 can occur can be associated with each
of the 4 ways in which A2 can occur to give 3 · 4 = 12 ways in which
both A1 and A2 can occur. Then
12 1
P (A1 ∩ A2 ) = = (7)
36 3
This shows directly that A1 and A2 are independent since
1 3 4
P (A1 ∩ A2 ) = = = P (A1 )P (A2 ) (8)
3 6 6
The sample space for each toss of the dice is shown in Fig. 1-9. For example,
(5, 2) means that 5 comes up on the first die and 2 on the second. Since
the dice are fair and there are 36 sample points, we assign probability 1/36
to each.
Problem 1.10
Two cards are drawn from a well-shuffled ordinary deck of 52 cards. Find
the probability that they are both aces if the first card is (a) replaced, (b)
not replaced.
(b) The first card can be drawn in any one of 52 ways, and since there is
no replacement, the second card can be drawn in any one of 51 ways.
Then both cards can be drawn in (52)(51) ways, all equally likely.
In such a case there are 4 ways of choosing an ace on the first draw
and 3 ways of choosing an ace on the second draw so that the number
of ways of choosing aces on the first and second draws is (4)(3). Then
the required probability is
(4)(3) 1
= (14)
(52)(51) 221
Problem 1.11
Three balls are drawn successively from the box of Problem 1.7a . Find the
probability that they are drawn in the order red, white, and blue if each ball
is (a) replaced, (b) not replaced.
a
Problem 1.7: A ball is drawn at random from a box containing 6 red balls,
4 white balls, and 5 blue balls. Determine the probability that it is (a) red, (b)
white, (c) blue, (d) not red, (e) red or white.
Method 2:
Then
Problem 1.13
One bag contains 4 white balls and 2 black balls; another contains 3 white
balls and 5 black balls. If one ball is drawn from each bag, find the probability
that (a) both are white, (b) both are black, (c) one is white and one is black.
Let W1 = event “white ball from first bag,” W2 = event “white ball from
second bag.”
(a)
(b)
Theorem 1.10
If an event A must result in one of the mutually exclusive events
A1 , A2 , . . . An , then
Let R denote the event “a red marble is chosen” while I and II denote
the events that Box I and Box II are chosen, respectively. Since a red
marble can result by choosing either Box I or II, we can use the results of
Problem 1.14 with A = R, A1 = I, A2 = II. Therefore, the probability of
choosing a red marble is
P (R) = P (I)P (R|I) + P (II)P (R|II)
1 3 1 2
= +
2 3+2 2 2+8
2
= (28)
5
Dr. M. M. Bhatti (SDUST) Chapter 1: Lecture # 3 March 9, 2023 23 / 25
Independent Events
If P (B|A) = P (B), i.e., the probability of B occurring is not affected by
the occurrence or non-occurrence of A, then we say that A and B are
independent events. This is equivalent to
as seen from (2). Conversely, if (29) holds, then A and B are independent.
We say that three events A1 , A2 , A3 , are independent if they are pairwise
independent
and
N.B: Note that neither (30) nor (31) is by itself sufficient. Independence of
more than three events is easily defined.
Dr. M. M. Bhatti (SDUST) Chapter 1: Lecture # 3 March 9, 2023 24 / 25
Thank you for your kind attention!