361L Prob
361L Prob
DBS&H, CEME-NUST
Since there are 4 suits (hearts, diamonds, spades, and clubs) and 13 cards
for each suit (ace through king), there are 52 outcomes in the sample space.
S = {(i, j) : i, j = 1, 2, 3, 4, 5, 6}
where the outcome (i, j) is said to occur if i appears on the leftmost die
and j on the other die.
Tossing a coin
If we flip a coin, then heads H and tails T will appear about equally often,
we say that H and T are “equally likely.”
n(E )
P(E ) =
n(S)
This probability is called classical probability, and it uses the sample space
S.
0 ≤ P(E ) ≤ 1.
Rule 1 states that probabilities cannot be negative or greater than 1.
The sum of the probabilities of all the outcomes in the sample space is 1.
0 ≤ P(E ) ≤ 1, E ⊆ S
P(S) = 1,
P For entire space S (1)
P(E ) = 1
1
that is TTTTT
Dr. Yasir Ali ([email protected]) Probability
Five coins are tossed simultaneously. Find the probability of
the event E : At least one head turns up. Assume that the
coins are fair.
Since each coin can turn up heads or tails, the sample space consists of
outcomes. Since the coins are fair, we may assign the same probability to
each outcome. Then the event (No heads turn up) consists of only 1
1 31
outcome1 . Hence P(E c ) = 1/32. Thus P(E ) = 1 − 32 = 32 .
1
that is TTTTT
Dr. Yasir Ali ([email protected]) Probability
Hospital records indicated that Dengue patients stayed in the hospital for
the number of days shown in the distribution.
Number Frequency
of days Find these probabilities.
3 15 (a) A patient stayed exactly 5 days.
4 32
(b) A patient stayed less than 6 days.
5 56
6 19 (c) A patient stayed at most 4 days.
7 5 (d) A patient stayed at least 5 days.
127
Many problems involve finding the probability of two or more events. For
example, at a large political gathering, you might wish to know, for a
person selected at random, the probability that the person is a female or is
a Republican. In this case, there are three possibilities to consider:
1. The person is a female.
2. The person is a Republican.
3. The person is both a female and a Republican.
Two events are mutually exclusive events if they cannot occur at the same
time (i.e., they have no outcomes in common). Two events A and B are
mutually exclusive events if A ∩ B = ∅.
Determine which events are mutually exclusive and which are not, when a
single die is rolled.
a. Getting an odd number and getting an even number
b. Getting a 3 and getting an odd number
c. Getting an odd number and getting a number less than 4
d. Getting a number greater than 4 and getting a number less than 4
The multiplication rules can be used to find the probability of two or more
events that occur in sequence. For example, if you toss a coin and then roll
a die, you can find the probability of getting a head on the coin and a 4 on
the die. These two events are said to be independent since the outcome of
the first event (tossing a coin) does not affect the probability outcome of
the second event (rolling a die).
Independent Events
Two events A and B are independent events if the fact that A
occurs does not affect the probability of B occurring.
Rolling a die and getting a 6, and then rolling a second die and getting a 3.
Dependent Events
When the outcome or occurrence of the first event affects the
outcome or occurrence of the second event in such a way
that the probability is changed, the events are said to be
dependent events.
In words, 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.
2 1
P(red ball) = P(B1)P(R/B1) + P(B2)P(R/B2) = + =
6 8
2 1 11
P(red ball) = P(B1)P(R/B1) + P(B2)P(R/B2) = + =
6 8 24
1 1 1
. = .
2 4 8
The probability of selecting box 2 and a blue ball is (Note that the sum of
these probabilities is 1.)
Finally a red ball can be selected from either box 1 or box 2 so
P(red) = 26 + 18 = 1124 .
Theorem
Suppose that A1 , A2 , · · · , An are mutually exclusive events whose union
is the sample space S, i.e., one of the events must occur. Then if A is any
event, we have
P(Ak )P(A/Ak )
P(Ak /A) = Pn
j=1 P(Aj )P(A/Aj )
For two events A and B, where event B follows event A, event A can occur
in A1 , A2 , · · · , An mutually exclusive ways, and event B can occur in
B1 , B2 , · · · , Bm mutually exclusive ways, for any specific events A1 and B1 .
P(B1 ∩ R)
P(Box1 given red ball) = P(B1/R) =
P(R)
The real estate agent can get into a specific home in following conditions
(1) The
| home {z
is unlocked.}
U
(2) The
| {z is locked} but he
home chose an appropriate key.
| {z }
L K
Estate agent
can get into
P = P(U) + P(L ∩ K ),
a specific | {z } | {z }
home 0.4 P(L).P(K )
Solution:
1
N = {A lot is picked, two components from the lot are randomly selected
and tested, and neither is defective.} P(D0 /N) =?, P(D1 /N) =?,
P(D2 /N) =?