5.01a, 5.01b - Probability with permutations and combinations
Count outcomes before calculating their probabilities. You will distinguish ordered arrangements from unordered selections, handle repeated objects, and turn restrictions such as “together” or “not next to one another” into counts you can justify.
Ordered choices and permutations
Shuffle the six letter tiles of BANANA thoroughly and lay them in a line. Which is more likely: all three As together, or no two As next to one another? The two conditions look very different. By the end of the lesson you will count both, rather than trust a guess.
You already know
For equally likely elementary outcomes, a probability is the number of favourable outcomes divided by the total number of outcomes. Conditional probability restricts the sample space to the given event. These probability ideas come from A-level Mathematics; the new work here is counting the outcomes reliably.
Start with three distinct cards, A, B and C. Choosing a first card and then a second, without replacement, gives AB, AC, BA, BC, CA and CB. There are three choices followed by two choices: . AB and BA count separately because the positions have different roles.
Permutation
A permutation is an ordered arrangement. The notation , also written , counts ordered arrangements of objects chosen without replacement from distinct objects. For example, AB and BA are different permutations of two cards. Choosing the pair without assigning positions is not a permutation.
Each first choice leaves the same number of second choices in the card example. More generally, multiply the numbers of choices at successive stages when every partial outcome has the stated number of continuations. If restrictions change that number, split into cases first.
Counting ordered choices
For integers and :
In particular, all distinct objects can be arranged in a line in ways. There is one empty arrangement when .
Not in the formula booklet: learn it.
Counting gives a probability only after you identify outcomes that really are equally likely. Uniformly assigning distinct runners to finishing positions supplies such a model; “each runner is equally strong” on its own would not specify every joint finishing order.
Worked example 1: three ordered places
Question. Six named runners are assigned gold, silver and bronze at random, with every ordered assignment equally likely. Find the probability that Ada receives one of the medals.
Plan. Count all ordered assignments, then choose Ada's position and fill the other two positions.
Why this step? Ada can occupy exactly one of the three positions, so the three position cases are disjoint and each leaves assignments.
Answer.
Check. Three of the six runners receive medals, and symmetry gives each runner probability .
Change one feature: Ada must now receive a particular medal. Fixing a position removes the factor of three; it does not remove a runner from the total sample space.
Worked example 2: one specified place
Question. In the same random assignment, find the probability that Ada receives gold.
Plan. Keep the same denominator and count assignments with Ada fixed in the gold position.
Why this step? Silver and bronze still have different roles, so choosing two remaining runners is insufficient: their order matters.
Answer.
Check. There are six equally likely possible gold medallists.
The denominator describes the random experiment before the event is imposed. Restrict the numerator to the event, then divide.
Watch out
Wrong: . Fixing the gold medallist does not fix the silver and bronze medallists. There are favourable assignments, not one.
The same count works for ordered jobs, numbered seats or distinct prizes; read the roles before choosing the notation.
Unordered selections and combinations
When you select a group, choosing A then B produces the same group as choosing B then A. Count that group once.
For the three cards above, the six ordered pairs collapse into the three pairs , and . Each pair appeared times. A group of distinct objects appears times among the ordered arrangements, which explains the division below.
Combination
A combination is an unordered selection. The notation , also written or , counts selections of objects from distinct objects without replacement. A committee without assigned roles is a combination; a chair and a secretary are an ordered choice.
The division removes duplicate orders of each selected group, rather than changing which objects are available.
Counting unordered selections
For integers and :
In the formula booklet.
Two consequences are and : selecting a group also determines the group left behind. These consequences are not printed separately in the formula booklet; they follow from the displayed formula.
For a colour or letter question, temporarily label the physical objects. The two Os in a word are two available tiles even though they display the same letter. A uniform selection of tiles makes labelled subsets equally likely; it need not make displayed letter combinations equally likely. For example, choosing two tiles from MOM gives MM in one way and MO in two ways, so their probabilities are and , not each.
Worked example 3: exactly two vowels
Question. Four tiles are selected uniformly at random, without replacement, from the seven letter tiles of BALLOON. Find the probability that exactly two selected tiles are vowels.
Plan. Count unordered selections of two of the three vowel tiles and two of the four consonant tiles, then divide by all four-tile selections.
Why this step? The vowels are the A tile and two separate O tiles. Selecting AO can happen in two ways, while selecting OO happens in only one way; counting tile subsets handles that weighting automatically.
Answer.
Check. The possible vowel counts are , with respectively subsets. Their total is .
Change only “exactly” to “at least”. This adds a second disjoint case, so add its count rather than multiply the case counts.
Worked example 4: at least two vowels
Question. With the same random selection from BALLOON, find the probability that at least two selected tiles are vowels.
Plan. Add the counts for exactly two and exactly three vowels.
Why this step? There are only three vowel tiles, so “at least two” means exactly two or exactly three. Those cases cannot overlap.
Answer.
Check. The complementary cases have subsets, giving .
Ordered draws also work: each four-tile subset has exactly orders, so using consistent ordered counts multiplies both numerator and denominator by the same factor and leaves the probability unchanged.
Watch out
Wrong: “There are two possible cases, two vowels or three vowels, so each has probability .” Cases need not be equally likely. Here their counts are and , and both are compared with the original total of .
In an exam, one fully correct counting quotient can carry the whole method. Make its numerator show every admissible case.
Repeated objects in a line
A uniform shuffle of six physical tiles gives equally likely labelled orders, but repeated letters can make several of those orders look identical.
For AAB, the six labelled orders of produce only AAB, ABA and BAA. Each displayed order has labelled versions. The number of displayed orders is therefore , and all three are equally likely under a uniform shuffle.
Arrangements with repetitions
If objects have types with multiplicities , where , their distinct arrangements in a line number
Under a uniform random permutation of the physical objects, every displayed arrangement has exactly labelled versions and is equally likely.
Not in the formula booklet: learn it.
This constant number of labelled versions is why counting displayed arrangements works. It is different from the tile selections in the previous part: selected letter multisets can have different numbers of labelled versions. A single specified displayed word has probability the reciprocal of the displayed-arrangement count, provided the shuffle is uniform.
Worked example 5: a specified first letter
Question. The six tiles of PEPPER are shuffled uniformly at random and placed in a line. Find the probability that the first letter is P.
Plan. Divide the number of arrangements beginning with P by the total number of distinct displayed arrangements.
Why this step? Fixing one P leaves two identical Ps, two identical Es and one R. The factorials in the numerator must describe those remaining letters.
Answer.
Check. Three of the six physical tiles are Ps, so the first tile is P with probability .
Change one feature: the fixed prefix now has two letters. The original sample space stays the same, but fewer Ps remain to be arranged.
Worked example 6: a specified two-letter prefix
Question. In the same random shuffle of PEPPER, find the probability that the first two letters are PP.
Plan. Fix PP, count arrangements of the four remaining tiles, and divide by .
Why this step? The two fixed Ps do not have an extra order: exchanging identical Ps creates no new displayed arrangement.
Answer.
Check. Sequential drawing gives .
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account