1 Counting Methods: Discussion-3 Name
1 Counting Methods: Discussion-3 Name
Name:
1 Counting Methods
- Counting methods can be used for discrete sample spaces with equally likely
outcomes.
- For such a finite sample space S, the probability of an event A is
|A|
P (A) = |S|
n × n × ... × n = nk .
2.1 Ordered Sampling without Replacement: Permutations
- When ordering matters and repetitions are not allowed, the total number of
ways of choosing k objects from a set with n elements is given as
n × (n − 1) × ... × (n − k + 1).
Pnn = n × (n − 1) × ... × 1.
- In general
The number of k-permutations of n distinguishable objects is given by
n!
Pkn = (n−k)!
, for 0 ≤ k ≤ n.
- Common notations for k-permutations of an n-element set include Pn,k ,nP k, etc.
2
3 Problem
1. If k people are at a party, what is the probability that at least two of them have
the same birthday? Suppose that there are n = 365 days in a year and all days
are equally likely to be the birthday of a specific person.
Hint: Let A be the event that at least two people have the same birthday. First
note that if k > n, then P (A) = 1; so, let’s focus on the more interesting case
where k ≤ n. The phrase “at least” suggests that it might be easier to find the
probability of the complement event, P (Ac ). This is the event that no two people
have the same birthday ...
3
4 Unordered Sampling without Replacement:
Combinations
- We want to make k draws from a set of n-elements in which ordering does
not matter and repetition is not allowed.
- This means that we have to chose a k-element subset of A, and is also called
k-combination of the set A.
- The number of k-element subsets of A is given by nk and is read as n
choose k.
- The difference between nk and Pkn is in the ordering.
- For any k-element subset of A, we can order the elements in k! ways. Thus
Pkn = nk × k!
n n!
k
= k!(n−k)!
n
- If k > n, then k
= 0.
- In general
The number of k-combinations of an n-element set is given by
n n!
k
= k!(n−k)! , for 0 ≤ k ≤ n.
n
- k
is also called the binomial
coefficient; as the coefficients in the bino-
mial theorem are given by nk .
- The binomial theorem states that for an integer n ≥ 0, we have
n
n
X n k n−k
(a + b) = a b .
k=0
k
n
4.1 Interpretation of k
n
We can interpret k
as
The total number of ways to divide n distinct objects into two groups
A and B such that group A consists of k objects and group B consists
n
of n − k objects is k .
4
5 Problem
2. I have 10 Algebra books and 20 probability books. I choose 5 books at random.
What is the probability that I choose more than 2 probability books?