Lecture 3-BEC 260
Lecture 3-BEC 260
Lecture 3-BEC 260
zm)
Solution
(a) P(X ) = 40
= 0.4
100
(b) P(M or X ) = P(M ∪ X ) = P(M ) + P(X ) − P(M ∩ X ) =
40 40 16 64
100 + 100 − 100 = 100 = 0.64
(c) P(F and Y ) = P(F ∩ Y ) = P(F )P(Y ) = 100 60 60
× 100 36
= 100 = 0.36.
Alternatively, you can see from the table that there are 36 employees
who are both female (event F ) and married (event Y ), so P(F and
36
Y ) = 100 = 0.36
(d) P(M or Y ) = P(M ∪ Y ) = P(M ) + P(Y ) − P(M ∩ Y ) =
40 60 24 76
100 + 100 − 100 = 100 = 0.76
Example : A business person carries fire insurance on both his home and
store. During a given year the probability of fire at home (event A) is 0.06
and the probability of a store fire (event B) is 0.13. If A and B are
independent, find (a) P(A and B ) (b) P(A or B ) (c) P(only one fire will
occur)
Solution
(a) P(A and B ) = P(A)P(B ) = 0.06 × 0.13 = 0.0078
(b) P(A or B ) = P(A) + P(B ) − P(A and
B) = 0.06 + 0.13 − 0.0078 = 0.1822
(c) Here we need P(A) = 1 − P(A) = 1 − 0.06 = 0.94 and
P(B ) = 1 − P(B ) = 1 − 0.13 = 0.87, so that P(only one fire will
occur) = P(AB or
AB ) = P(AB ) + P(AB ) = 0.06 × 0.87 + 0.94 × 0.13 = 0.1744.
Try this: A and B are events such that P(A) = 0.125, P(A ∪ B ) = 0.25
and P(B ) = p. Find p if
(a) A and B are mutually exclusive.
(b) A and B are independent.
(c) A ⊂ B.
P(A ∩ B )
P(A|B ) = , provided P(B ) 6= 0 (1)
P(B )
P(A ∩ B )
P(B |A) = , provided P(A) 6= 0 (2)
P(A)
P(B |A)P(A)
P(A|B ) = , for P(B ) 6= 0 (4)
P(B )
If A and B are independent, then P(A|B ) = P(A) and P(B |A) = P(B ),
so that (as before) P(A ∩ B ) = P(A)P(B ), which is the ordinary
multiplication rule for independent events.
P (B | A)P (A)
P (A | B ) =
P (B | A)P (A) + P (B | Ac ) P (Ac )
and
P (A | Bi ) P (Bi )
P (Bi | A) =
P (A | B1 ) P (B1 ) + · · · + P (A | Bk ) P (Bk )
where Bi is the i th event out of k mutually exclusive and collectively
exhaustive events.
Example : Let A and B be events such that P(A) = 0.5, P(B ) = 0.333
and P(A ∩ B ) = 0.25. Find (a) P(A|B ) (b) P(B |A) (c) P(A ∪ B )
(d) P(A|B ) (e) P(B |A). Solution
P(A∩B )
1 P(A|B ) = P(B )
= 0.25
0.333 = 0.75
P(A∩B )
2 P(B |A) = P(A)
= 0.25
0.5 = 0.5
3 P(A ∪ B ) = P(A) + P(B ) − P(A ∩ B ) = 0.5 + 0.333 − 0.25 = 0.583
P(A∩B )
4 Since P(A|B ) = P(B )
(by definition of conditional probability), we
first find: P(A) = 1 − P(A) = 1 − 0.5 = 0.5 and
P(B ) = 1 − P(B ) = 1 − 0.333 = 0.667. By De Morgan’s law (from
set theory), (A ∪ B ) = A ∩ B. Taking probabilities on both sides, we
have P(A ∩ B ) = P((A ∪ B )) = 1 − P(A ∪ B ) = 1 − 0.583 = 0.417.
Therefore, P(A|B ) = 0.417
0.667 = 0.625
P(A∩B )
5 P(B |A) = P(A)
= 0.417
0.5 = 0.834
Edwin Moyo (emoyo@mu.ac.zm) February 18, 2022 18 / 29
Example
In the past, 40% of the new-model televisions have been successful, and
60% have been unsuccessful. Before introducing the new model television,
the marketing research department conducts an extensive study and
releases a report, either favorable or unfavorable. In the past, 80% of the
successful new-model television(s) had received favorable market research
reports, and 30% of the unsuccessful new-model television(s) had received
favorable reports. For the new model of television under consideration, the
marketing research department has issued a favorable report. What is the
probability that the television will be successful?
Solution
Let, event S = successful television, event S 0 = unsuccessful television,
event F = favourable report, F 0 = unfavourable report. And,
Example
How many 7-character license plates are possible if the first three
characters must be letters, the last four must be digits 0 − 9, and repeated
characters are allowed?Solution:
Task: Many garage doors have remote-access keypads outside the door.
Let’s suppose a thief approaches a particular garage and notices that four
particular numbers are well-used. If we assume the code uses all four
numbers exactly once, how many 4-digit codes does the thief have to try?
Edwin Moyo (emoyo@mu.ac.zm) February 18, 2022 23 / 29
Counting Techniques and Applications
Combinations
A combination is a selection of distinct objects without regard to the order
in which they are arranged. The number of different combinations of r
objects out of n distinct objects is denoted by nCr (or C (n, r ) or (nr)) and
calculated as
n!
nCr = (5)
r ! (n − r ) !
where n!, called the factorial of n, is defined as
n! = n (n − 1)(n − 2) · · · 1 = ∏ni=1 i. If a + b = n, then (na) = (bn ).
Example
Let’s consider the board of trustees with 30 members. In how many ways
could the board elect four members for the finance committee? Solution:
30 30!
= = 27405
4 (30 − 4)! × 4!
Edwin Moyo (emoyo@mu.ac.zm) February 18, 2022 24 / 29
Counting Techniques and Applications
Permutations
A permutation is a combination arranged in a particular order. The
number of different permutations of r objects from n distinct objects is
denoted by nPr (or P(n,r)) and calculated as
n!
nPr = (6)
(n − r ) !
Example
Suppose an organization elects its officers from a board of trustees. If
there are 30 trustees, how many possible ways could the board elect a
president, vice-president, secretary, and treasurer? Solution:
n! 30!
nPr = = = 657720
(n − r ) ! (30 − 4)!
Edwin Moyo (emoyo@mu.ac.zm) February 18, 2022 25 / 29
Counting Techniques and Applications
Example
In how many ways can the word REARRANGE be rearranged?
Solution:
9!
= 15, 120
3! × 2! × 2!
Example
11!
Example : Evaluate (a) 7! (b) 8! (c) 10C 6 (d) 10P6
Solution
(a) 7! = 7 × 6 × 5 × 4 × 3 × 2 × 1 = 5040
11! 11×10×9×8!
(b) 8! = 8! = 11 × 10 × 9 = 990
10 ×9×8×7
(c) 10C 6 = ( 6 ) = 6!4! = 10
10!
4×3×2×1 = 210
10×9×8×7×6×5×4!
(d) 10P6 = 10!
4! = 4! = 10 × 9 × 8 × 7 × 6 × 5 = 151200
Solution
(a) The total number of outcomes is the total number of ways of
choosing 5 people out of 15. This is n (Ω) = (15
5 ) = 3003. But 2 men
can be chosen from 5 in (52) = 10 ways and 3 women can be selected
from 10 in (10
3 ) = 120 ways. Thus, the committee of 2 men and 3
women can be selected in a total of 10 × 120 = 1200 different ways,
so that P(committee consists of 2 men and 3 women) = 12003003 = 0.4.
(b) Since the committee of 5 will consist only of women, these can be
selected in (10
5 ) = 252 ways, so that P(committee consists only of
252
women) = 3003 = 0.084.