Discrete Mathematics / Counting and structure
Counting: Permutations and Combinations
The product rule, factorials, and choosing with and without order.
Contents 3 sections
By the end you can
- Apply the sum and product rules
- Count arrangements with permutations
- Count selections with binomial coefficients
Helps to know: Sets, Relations and Functions
§1Two basic rules
Product rule: if a task is a sequence of choices with then options, there are outcomes. Sum rule: if it is one choice from disjoint groups of and , there are .
counts ordered arrangements of items from . counts unordered selections: divide by the orders of each selection.
§2Worked examples
Example 1A committee
How many ways can a 3-person committee be chosen from 10 people?
- Order does not matter.
Example 2A podium
How many ways can gold, silver and bronze go to 10 runners?
- Order matters.
Check yourself
- Q1How many 4-letter strings use the letters A–Z with repetition allowed?
- Q2