0% found this document useful (0 votes)
7 views2 pages

Combinatorial Probability Exercises

The document contains a problem sheet with various exercises related to combinatorics and probability. It includes tasks such as ordering letters, calculating probabilities in die rolls, analyzing subsets, and solving the birthday problem. Additional problems involve urns, coin tosses, laboratory tests, and arrangements of keys on hooks.

Uploaded by

gby014752
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views2 pages

Combinatorial Probability Exercises

The document contains a problem sheet with various exercises related to combinatorics and probability. It includes tasks such as ordering letters, calculating probabilities in die rolls, analyzing subsets, and solving the birthday problem. Additional problems involve urns, coin tosses, laboratory tests, and arrangements of keys on hooks.

Uploaded by

gby014752
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Problem Sheet 1

Exercises
1. Ordering the Letters of ABSTEMIOUSLY:
How many ways are there to order the letters of the word ABSTEMIOUSLY? In how many
of these do the letters A and B remain next to each other? In how many do the six
vowels (A, E, I, O, U, Y) remain in alphabetical order?

2. Celia the Centipede:


Celia the centipede has 100 feet, 100 socks, and 100 shoes. How many orders can she
choose from to put on her socks and shoes? (She must put a sock on foot i before
putting a shoe on foot i.)

3. Die Rolls:
A fair die is rolled nine times. What is the probability that 1 appears three times, 2
and 3 each appear twice, 4 and 5 appear once each, and 6 does not appear at all?

4. Subsets and a Binomial Identity:


Let [n + 1] = {1, 2, . . . , n + 1}. Call a subset of [n + 1] with r + 1 distinct elements
an (r + 1)-subset. How many (r + 1)-subsets of [n + 1] have (k + 1) as their largest
element? Deduce that
n    
X k n+1
= .
r r+1
k=r

5. The Birthday Problem:


There are n people in a room. Assume that birthdays are equally likely to fall on any
of the 365 days of the year.

(a) What is the probability that at least two people share the same birthday? How
large must n be for this probability to exceed 21 ?
(b) What is the probability that at least one person has the same birthday as you?
How large must n be for this probability to exceed 12 ?

6. An Urn Problem:
An urn contains m red balls and n blue balls. Two balls are drawn uniformly at random
from the urn, without replacement.

(a) What is the probability that the first ball drawn is red?
(b) What is the probability that the second ball drawn is red?

1
(c) What is the probability that the first ball is red given that the second is red?

7. Coin Tosses and Card Dealing:

(a) A fair coin is tossed 26 times. Write an expression for the probability of obtaining
exactly 13 heads and 13 tails.
(b) A deck of 52 cards (with 26 red and 26 black cards) is shuffled, and 26 cards are
dealt. Write an expression for the probability of obtaining exactly 13 red and 13
black cards.

Without calculating, which of the two probabilities do you expect to be larger? Use
Stirling’s formula,
√  n n
n! ∼ 2πn ,
e
to justify your answer.

8. A Laboratory Test:
A laboratory test is 95% effective in detecting a certain disease when it is present,
but it yields a false positive in 1% of healthy individuals. Suppose that 0.5% of the
population has the disease. What is the probability that a randomly tested individual
actually has the disease, given that their test result is positive?

9. Confused College Porter:


A confused college porter tries to hang n keys on their n hooks. He manages to hang
one key per hook, but all arrangements of keys on hooks are equally likely. Let Ai be
the event that key i is on its correct hook.

(a) Explain why

(n − 1)! (n − 2)! (n − 3)!


P (A1 ) = , P (Ai ∩Aj ) = for i < j, and P (A1 ∩A2 ∩A3 ) = .
n! n! n!

(b) Using the inclusion-exclusion principle:


n n
!
[ X X
P Ai = (−1)r+1 P (Ai1 ∩ · · · ∩ Air ) .
i=1 r=1 1≤i1 <···<ir ≤r

find the probability that at least one key is on the correct hook.
(c) Let pn (r) denote the probability that exactly r keys are on the correct hook, for
0 ≤ r ≤ n. Find an expression for pn (0), the probability that no key is on the
correct hook.

Common questions

Powered by AI

Stirling’s formula, n! ≈ √(2πn)(n/e)^n, helps approximate large factorials. In the coin toss, the probability follows a binomial distribution B(26,0.5), while for cards, it follows a hypergeometric distribution. Stirling's approximation shows that the card's distribution leads to a higher probability due since combinatorial constraints reduce variability compared to independent events in coin tosses .

The probability that no two people share the same birthday is given by the formula 365/365 × 364/365 × ... × (365-n+1)/365. To find the n where the probability that at least two people share a birthday exceeds 1/2, solve 1 - [365!/(365^n * (365-n)!)] > 1/2. Experimentally, n = 23 satisfies this condition .

Apply Bayes' Theorem: Let A be the event of having the disease, and B be a positive test result. P(A|B) = P(B|A)P(A) / P(B). P(B|A) = 0.95, P(A) = 0.005, and P(B) = P(B|A)P(A) + P(B|¬A)P(¬A) = 0.95(0.005) + 0.01(0.995). This results in P(A|B) ≈ 0.32 .

The inclusion-exclusion principle accounts for overlapping cases among potential key arrangements, allowing accurate calculation of at least one key on the correct hook by summing probabilities of each individual correct placement and subtracting probabilities for overlaps of these placements, ensuring all cases where keys are correctly placed are considered .

For each of Celia's 100 feet, she must put on a sock before she puts on a shoe, which can be done in 2 distinct ways for each foot. Hence, for all 100 feet, the total number of ways is 2^100 .

The probability that at least one person shares your birthday is given by 1 - (364/365)^n, where n is the number of people. Solving for n ≥ 1/2 gives n ≈ 253 to ensure crossing the 1/2 threshold of probability for this scenario .

The probability that the second ball is red given the first is blue is given by (m/n+m-1), as withdrawing a blue ball first changes the total count and color composition for the second draw .

The expression for pn(0), the probability that no key is on its correct hook, is given by the number of derangements D_n out of n keys, which can be computed using D_n = n! [Σ(−1)^k/k! for k = 0 to n]. This results in pn(0) = D_n/n! = (1-1/1!+1/2!-1/3!+...+(-1)^n/n!).

The probability can be computed using the multinomial coefficient to count the ways to arrange these results, given by (9 choose 3, 2, 2, 1, 1, 0) = 9!/(3! * 2! * 2! * 1! * 1! * 0!) = 2520. The probability is then this number divided by the total possible outcomes of 6^9, giving a probability of 2520/10,077,696 ≈ 0.00025 .

There are 11! ways to order the letters of ABSTEMIOUSLY since it consists of 11 distinct letters. To count the arrangements where A and B are always together, treat them as a single unit. This reduces the problem to arranging 10 units, yielding 10! arrangements. Since A and B can be arranged in 2! ways within their unit, the total number of arrangements is 10! * 2! = 725,760 .

You might also like