Exam PProbability foundationsFree to read

Counting: permutations, combinations and partitions

Order matters or it does not, and repetition is allowed or it is not. Those two questions pick the formula every time.

The formulas

Multiplication rule
Permutations

order matters, no repetition

Combinations

order does not matter

Multinomial

split n items into labelled groups

Stars and bars

n identical items into k distinct boxes

Where it comes from

  1. Choosing items in order from leaves choices, then , and so on for factors — that product is .
  2. Every unordered set of items was counted times in that product, so dividing by gives the combination count.
  3. The multinomial coefficient is the same argument applied to several groups at once.

Worked example

A study committee needs 3 actuaries chosen from 12 and 2 underwriters chosen from 9. How many committees are possible?

  1. The two choices are independent, so multiply the counts.
  2. ways to pick the actuaries.
  3. ways to pick the underwriters.
  4. committees.

Answer: 7,920

This answer is recomputed from the site’s own interest-theory and probability functions every time the test suite runs, so the page and the mathematics cannot drift apart.

Memory hooks

  • Ask 'would swapping two of my picks give a different outcome?' Yes means permutation; no means combination.
  • Repeated letters in a word: n! divided by the factorial of each repeat count — the multinomial coefficient in disguise.

Traps

  • Using a permutation when the selection is a committee (unordered).
  • Forgetting to divide by the repeats when arranging items that are not all distinct.

Related

Drill this: the Exam P question bank has original questions on this topic, and today’s free round is open to everyone.