Combinatorics 3.1 Permutations
July 27, 2026 · 386 KB
Chapter 3 of a probability textbook on combinatorics, covering permutations, combinations and the mathematics of card shuffling, with classic problems and exercises.
Overview
Many problems in probability depend on counting the ways an event can happen. This 58-page chapter from a university probability textbook, running from page 75 to 132, develops the counting tools needed, in three sections.
Permutations
The chapter opens with a basic counting principle. If a task has several stages and the number of choices at each stage does not depend on earlier choices, the total number of outcomes is the product of the choices at each stage. A restaurant menu with two starters, three main courses and two desserts gives 12 possible meals, shown with a tree diagram. Tree diagrams also show how to assign probabilities to multi-stage experiments. If 80% of the restaurant's customers choose soup and half of those then choose meat, the path "soup then meat" gets a probability of 0.4, the product of the probabilities along it. Adding the paths that end in meat shows that 46% of customers order it. The chapter notes that these tree measures return in the later discussion of conditional probability.
Classic examples follow:
- Initials: with only 17,576 possible sets of three initials, at least two residents of Columbus, Ohio, must share theirs
- The birthday problem: only 23 people are needed for better than even odds that two share a birthday, far fewer than the guess of about 183 that intuition suggests. A table shows the chance that all birthdays differ falling from 0.589 with 20 people to 0.493 with 23
- Fixed points: how many items stay in place when a list is randomly reordered, linked to the hat check problem
- Records: how many record snowfalls to expect over ten years, illustrated with snowfall in Hanover, New Hampshire, from 1974 to 1983. Records were set in 1974, 1975 and 1977, and the chapter shows that only the relative ranking of the years matters, so the question becomes one about random permutations
The section also covers generating random permutations and Stirling's formula for approximating factorials. Historical remarks trace counting problems back to the "St Ives" nursery rhyme and a problem with powers of seven in an Egyptian manuscript from about 1650 BC.
Combinations
The second section introduces binomial coefficients and applies them to poker hands, Bernoulli trials and binomial probabilities and distributions. It goes on to hypothesis testing, the binomial expansion and the inclusion-exclusion principle, which gives an exact solution to the hat check problem. A discussion of choosing the right sample space quotes the probabilist William Feller.
Card Shuffling
The final section analyses riffle shuffles, the way most people shuffle cards. It introduces rising sequences, a-shuffles and unshuffles, and measures how far a shuffled deck is from random using variation distance. Exercises ask, for example, where the top card of a 52-card deck is likely to end up after three and after seven riffle shuffles.
Each section ends with exercises, from counting licence plates to proofs. Many invite readers to simulate problems on a computer, and the shuffling exercises build up a coding of shuffles and unshuffles step by step.
Why It Matters
The chapter offers a clear, example-rich introduction to counting methods, showing how they underpin probability and challenge intuition.
