Lecture Stat 302 Introduction To Probability - Slides 1: AD Jan. 2010 1 / 18
Lecture Stat 302 Introduction To Probability - Slides 1: AD Jan. 2010 1 / 18
AD
Jan. 2010
AD () Jan. 2010 1 / 18
Administrative details
AD () Jan. 2010 2 / 18
Notes, exercises and exams
AD () Jan. 2010 3 / 18
Introduction to Probability
AD () Jan. 2010 4 / 18
Plan of the Course - Tentative Schedule
AD () Jan. 2010 5 / 18
Combinatorial analyses aka Counting
Many basic probability problems are counting problems.
Example: Assume there are 1 man and 2 women in a room. You pick
a person randomly. What is the probability P1 that this is a man? If
you pick two persons randomly, what is the probability P2 that these
are a man and woman
Answer : You have the possible outcomes: (M), (W1), (W2) so
# “successful” events # boys 1
P1 = = = .
# events # boys + # girls 3
To compute P2 , you can think of all the possible events: (M,W1),
(M,W2), (W1,W2) so
# “successful” events 2
P2 = = .
# events 3
Both problems consists of counting the number of di¤erent ways that
a certain event can occur.
AD () Jan. 2010 6 / 18
Basic Principle of Counting
AD () Jan. 2010 7 / 18
Generalized Principle of Counting
Generalized Principle of Counting: If r experiments that are to be
performed are such that the 1st one may result in any of n1 possible
outcomes; and if, for each of these n1 possible outcomes, there are n2
possible outcomes of the 2nd experiment; and if, for each of the
n1 n2 possible outcomes of the …rst two experiments, there are n3
possible outcomes of the 3rd experiment; and if..., then there is a
total of n1 n2 nr possible outcomes of the r experiments.
Example: A university committee consists of 4 undergrads, 5 grads, 7
profs and 2 non-university persons. A subcommitte of 4, consisting of
1 person from each category, is to be chosen. How many di¤erent
subcommittees are possible?
Answer: The choice of a subcommittee is the combined outcome of
the four separate experiments of choosing a single representative from
each of the categories. So it follows that, there are
4 5 7 2 = 280
possible subcommittees.
AD () Jan. 2010 8 / 18
Generalized Principle of Counting: More Examples
Example: How many di¤erent 6-place license plates are possible if the
…rst 3 places are to be occupied by letters and the …nal 3 by numbers
(BC format, http://www.canplates.com/bc.html)?
Answer: We have simply
26 26 26 10 10 10 = 17, 760, 000.
Example: How many functions de…ned on n points are possible if
each functional value is either 0 or 1?
Answer: We have
f = (f (1) , f (2) , ..., f (n ))
where f (i ) 2 f0, 1g so there are
2| 2 {z 2} = 2n
n times
possibilities.
AD () Jan. 2010 9 / 18
Example: How many di¤erent 6-place license plates are possible if the
…rst 3 places are to be occupied by letters, the …nal 3 by numbers and
if repetition among letters were prohibited, repetition among numbers
were prohibited, repetition among both letters and numbers were
prohibited?
Answer: We have
letters prohib. 26 25 24 10 10 10 = 15, 600, 000
numbers prohib. 26 26 26 10 9 8 = 12, 654, 720
letters & numbers prohib. 26 25 24 10 9 8 = 11, 232, 200
AD () Jan. 2010 10 / 18
Permutations
n (n 1) (n 2) 3 2 1 = n!
AD () Jan. 2010 11 / 18
Permutations: Examples
AD () Jan. 2010 12 / 18
Permutations: More Examples
144 4! = 3456
possible arrangements.
AD () Jan. 2010 13 / 18
Permutations: More Examples
Example: How many di¤erent letter arrangements can be formed from
the letters EEPPPR?
Solution: There are 6! possible permutations of letters E1 E2 P1 P2 P3 R
but the letters are not labelled so we cannot distinguish E1 and E2
and P1 , P2 and P3 ; e.g. E1 P1 E2 P2 P3 R cannot be distinguished from
E2 P1 E1 P2 P3 R and E2 P2 E1 P1 P3 R. That is if we permuted the E’s and
the P’s among themselves then we still have EPEPPR. We have 2!3!
permutations of the labelled letters of the form EPEPPR. Hence there
are
6!
= 60
2!3!
possible arrangements of the letters EEPPPR.
General Result. Suppose you have n objects. The number of
di¤erent permutations of these n objects of which n1 are alike, n2 are
alike,..., nr are alike is given by
n! n
:= .
n1 !n2 ! nr ! n1 , n2 , . . . , nr
AD () Jan. 2010 14 / 18
Permutations: More Examples
(4 + 3 + 3 + 2 + 1) !
= 3, 603, 600.
4!3!3!2!1!
AD () Jan. 2010 15 / 18
Combinations
We want to determine the number of di¤erent groups of r objects
that could be formed from a total of n objects.
Example: How many di¤erent groups of 3 could be selected from
A,B,C,D and E?
Answer: There are 5 ways to select the 1st letter, 4 to select the 2nd
and 3 to select the 3rd so 5 4 3 = 60 ways to select WHEN the
order in which the items are selected is relevant. When it is not
relevant, then say the group BCE is the same as BEC, CEB, CBE,
EBC, ECB; there are 3! = 6 permutations. So when the order is
irrelevant, we have 60/6 = 10 di¤erent possible groups.
General result: When the order of selection is relevant, there are
n!
n (n 1) (n r + 1) =
(n r ) !
possible groups. When the order of selection is irrelevant, there are
n! n
:= Binomial coe¢ cient
(n r )!r ! r
possible
AD () groups. Jan. 2010 16 / 18
Combinations: Examples
n m+1
m
AD () Jan. 2010 18 / 18