Lecture 2
Lecture 2
2 Axioms of Probability
2.3 Computing Probabilities Using Counting Methods
Corollaries
P [Ac ] = 1 − P [A].
P [A] ≤ 1.
P [φ = 0].
P [S]S= 1. T
P [A B] = P [A] + P [B] − P [A B].
if A ⊂ B, then P [A] ≤ P [B].
Example 1.
A die is tossed and the number of dots facing up is noted. Find
the probability of the elementary events under the assumption that
all faces of the die are equally likely to be facing up after a toss
{P = 16 }.
Find the probability of the events:
A={more than 3 dots}; B={odd number of dots}
Find Probability of A ∪ B, A ∩ B, Ac .
P [A] = 12 , P [B] = 1
2
P [A ∪ B] = 56 , P [A ∩ B] = 61 , P [Ac ] = 1
2
Example 2.
A number x is selected at random in the interval [−1, 2]. Let the
events A = {x < 0}, B = {|x − 0.5| < 0.5} and C = {x > 0.75}.
Find the probabilities of A, B, A ∪ B, and A ∪ C.
1
P [A] = 3
1
P [B] = 3
2
P [A ∪ B] = 3
3
P [A ∪ C] = 4
Find the probabilities of A ∪ B, A ∪ C and A ∪ B ∪ C first, by
directly evaluating the sets and then their probabilities, and
second, by using the appropriate axioms or corollaries.
(x1 .x2 . . . xk ).
Example 3.
An urn contains five balls numbered 1 to 5. Suppose we select two
balls from the urn with replacement. How many distinct ordered
pairs are possible? What is the probability that the two draws yield
the same number?
Example 4.
An urn contains five balls numbered 1 to 5. Suppose we select two
balls in succession without replacement. How many distinct
ordered pairs are possible? What is the probability that the first
ball has a number larger than that of the second ball?
Example 5.
An urn contains five balls numbered 1, . . . , 5. Suppose we draw
three balls with replacement. What is the probability that all three
balls are different?
No of outcomes 53 = 125.
The number of these outcomes for which the three draws are
different is 5(4)(3) = 60.
Thus the probability that all three balls are different is
60/125 = 0.48.
Ckn k! = n(n − 1) . . . (n − k + 1)
Example 7.
Find the number of ways of selecting two objects from
A = 1, 2, 3, 4, 5 without regard to order.
5 5!
= = 10
2 2!(5 − 2)!
Example 8.
Find the number of distinct permutations of k white balls and
n − k black balls
XX//X/XX
8
The number of different arrangements is given by
3
In the general case the form will involve k xs and n−1 /s.
Thus the number of different ways of picking k objects from a
set of n distinct objects with replacement and without
ordering is given by
n−1+k n−1+k
=
k n−1
Example 9.
2.50. Five balls are placed at random in five buckets. What is the
probability that each bucket has a ball?
Example 10.
2.53. A hot dog vendor provides onions, relish, mustard, ketchup,
Dijon ketchup, and hot peppers for your hot dog. How many
variations of hot dogs are possible using one condiment? Two
condiments? None, some, or all of the condiments?
6
Number of ways picking one condiment out of six =6.
1
6
Number of ways picking two condiment out of six = 15.
2
6
P 6
Number of ways picking none, some or all condiment .
k=0 k
Bakhtiar Ali 20/20