Professional Documents
Culture Documents
Week 5
Combinatorics (2.6) and Combinatorial Probability (2.7)
Mihaela Angelova
mihaela.urb@gmail.com
Main topics
Combinatorics
Combinatorics is a time-honored branch of mathematics
concerned with counting, arranging, and ordering
Counting Ordered Sequences: The Multiplication Rule
• Оrdered
sequences
Counting Ordered Sequences: The Multiplication Rule
# ways to dress
Counting Ordered Sequences: The Multiplication Rule
Counting Ordered Sequences: The Multiplication Rule
Counting Ordered Sequences: The Multiplication Rule
Theorem:
• The number of permutations of length k that can be
formed from a set of n distinct elements, repetitions not
allowed, is denoted by the symbol nPk , where
Permutation
of n choose k
! NB ! - factorial
Counting Permutations (when the objects are all distinct)
CAT
Counting Permutations (when the objects are all distinct)
CAT
3 2 1
In how many ways In how many ways In how many ways
we can start the we can continue we can continue
letter the letter the letter
rearrangements: 3 rearrangements: 2 rearrangements: 1
A_ A_ T
C__ C + __ T_ C + __
A__
T__ A + __ A + __
T + __ T + __
CAT = 3.2.1= 6
Counting Permutations (when the objects are all distinct)
Permutation
of 8 choose 4
Theorem
• The number of ways to arrange n objects, n1 being of one
kind, n2 of a second kind,..., and nr of an rth kind,
is
Counting Permutations (when the objects are NOT all distinct)
Counting Permutations (when the objects are NOT all distinct)
• Theorem
m (desired outcome)
P(A)=
n (total # of outcomes)
Combinatorial Probability
• An urn contains eight chips, numbered 1 to 8.
• A sample of three is drawn without replacement.
• What is the probability that the largest chip in the
sample is a 5?
Combinatorial Probability
• Let A be the event “Largest chip in sample is a 5.”
• What must happen in order for A to occur:
(1) the 5 chip must be selected, and
(2) two chips must be drawn from the
subpopulation of chips numbered 1 through 4
m (desired outcome)
P(A)=
n (total # of outcomes)
Combinatorial Probability
• An urn contains n red chips numbered 1 through
n, n white chips numbered 1 through n, and n
blue chips numbered 1 through n
• Two chips are drawn at random and without
replacement.
• What is the probability that the two drawn are
either the same color or the same number?
Combinatorial Probability
• What is the probability that the two drawn are either the
same color or the same number?
• Let A be the event that the two chips drawn are the
same color;
• Let B be the event that they have the same number.
• We are looking for P(A∪B).
• Since A and B here are mutually exclusive,
• P(A ∪ B)= P(A)+ P(B)
Combinatorial Probability
• With 3n chips in the urn, the total number of
ways to draw an unordered sample of size 2 is
• Moreover,
P(A)= P(2reds ∪ 2whites ∪ 2blues)
= P(2reds)+ P(2whites)+ P(2blues)
n choose 2 n choose 2 n choose 2
• And
P(B)= P(two 1’s ∪ two 2’s ∪···∪ two n’s)
3 choose 2 3 choose 2 3 choose 2
Mihaela Angelova
mihaela.urb@gmail.com