Combinatorics (Kombinatorik)
Combinatorics deals with counting objects. The good news: all problems boil down to a few basic formulas, which we'll cover below.
Part 1. Counting Principles
Two fundamental rules form the foundation of all combinatorics:
Addition Rule (OR)
If a choice can be made in ways OR ways, and these ways don't overlap, then the total number of ways is:
Example: A menu has 5 types of soup and 8 types of salad. How many options for a light lunch (one dish)?
Multiplication Rule (AND)
If the first choice can be made in ways, AND for each of them the second choice can be made in ways, then the total number of ways is:
Example: A cafe offers 3 soups, 4 main courses, and 2 drinks. How many combo meal options?
How to Tell "OR" from "AND"
| Keyword | Operation | Example |
|---|---|---|
| or, either, one of | Addition | Soup or salad |
| and, both, each | Multiplication | Soup and salad and drink |
Combining Rules
Complex problems often require using both rules together.
Example: A group has 8 boys and 5 girls. Two people need to be chosen: one captain and one assistant of different genders. Either a boy as captain and girl as assistant, or vice versa.
- Case 1:
- Case 2:
Counting with Restrictions
If there's a restriction: fill the restricted position first!
Example: How many even three-digit numbers from digits 1-5 without repetition?
- Last digit (must be even): 2 options (2 or 4)
- First digit: 4 options (any remaining)
- Middle digit: 3 options
Part 2. Factorial
The factorial of is the product of all positive integers from 1 to :
| 0 | 1 (by definition) |
| 1 | 1 |
| 2 | 2 |
| 3 | 6 |
| 4 | 24 |
| 5 | 120 |
| 6 | 720 |
| 7 | 5040 |
Key property:
For example:
Part 3. Permutations
Permutations Without Repetition
Permutation: an ordered arrangement of all elements. Order matters: ABC ≠ BAC.
Example: How many ways to arrange 5 books on a shelf?
Arrangements (Partial Permutations)
Arrangement: selecting elements from with order considered.
Example: How many ways to choose a president, vice-president, and secretary from 10 people?
Permutations With Repetition
If among elements there are identical ones: of the first type, of the second, etc.
Intuition: We divide by the factorials of repeated elements because rearranging identical elements among themselves creates duplicates.
Example: How many distinct rearrangements of the letters in MISSISSIPPI?
Total 11 letters: M(1), I(4), S(4), P(2)
Circular Permutations
Arranging elements in a circle (no fixed starting point). Each linear arrangement can be "rotated" ways, so we divide by :
Example: 6 people around a circular table: ways.
Part 4. Combinations
What is a Combination?
Combination: a selection of elements from where order doesn't matter.
Compare:
| Situation | Order | Formula |
|---|---|---|
| Pick a team of 3 people | Doesn't matter | Combinations |
| Award 1st, 2nd, 3rd place | Matters | Arrangements |
Where Does the Formula Come From?
Step 1. With order: select 3 from 5 = (this is )
Step 2. Each trio was counted times (all internal permutations)
Step 3. Divide:
The Formula
In EPM exams, the notation is common (read as "n choose k" or in German "n uber k").
Quick Calculation Method
Instead of computing full factorials, cancel immediately:
The numerator contains consecutive numbers starting from . The denominator is .
Examples:
Properties of Combinations
Symmetry:
Choosing 3 from 10 is the same as choosing 7 to leave behind. This helps with calculations: .
Edge cases:
- : one way to choose nothing
- : one way to choose everything
Pascal's formula:
The last element is either included in the selection () or not ().
Relationship with arrangements:
Arrangements = combinations × permutations of selected elements.
Combinations are also used in the binomial distribution (Bernoulli formula) to calculate probabilities of repeated independent trials; see the dedicated topic for details.
EPM Exam Problems
Problem 1: Balls from an Urn
An urn has 5 red and 4 blue balls. You draw 3 balls. How many ways to draw exactly 2 red?
- Choose 2 red from 5:
- Choose 1 blue from 4:
- By the multiplication rule: ways
Problem 2: Probability
From the same urn, draw 3 balls. What's the probability all three are the same color?
Total outcomes:
Favorable: all red + all blue = 14
Problem 3: Committee with Constraints
From 6 men and 4 women, select a committee of 5. There must be at least 2 women. How many ways?
| Women | Men | Ways |
|---|---|---|
| 2 | 3 | |
| 3 | 2 | |
| 4 | 1 |
Total:
Problem 4: Bookshelf with Grouping
A shelf has 4 math textbooks and 3 physics textbooks. How many ways to arrange them if books of the same subject must be together?
- Groups: ways to arrange (M and P)
- Within M:
- Within P:
Problem 5: Permutations with Repetition
How many distinct 5-digit numbers from digits 1, 1, 2, 2, 3?
Common Mistakes
Mistake 1: Confusing "or" and "and"
Choosing soup or salad uses addition. Choosing soup and salad uses multiplication.
Mistake 2: Confusing combinations and arrangements
Ask yourself: does order matter?
- "Pick a team": order doesn't matter, use combinations
- "Award places": order matters, use arrangements
Mistake 3: Not starting with the restriction
If there's a condition (even number, starts with a specific digit), first fill the restricted position.
Mistake 4: Adding instead of multiplying when selecting from different groups
When simultaneously selecting from different groups, multiply, don't add:
(correct)
(incorrect)
Mistake 5: Forgetting repeated elements
Word MAMA: not , but
How to Choose the Formula
- Does order matter?
- YES: All elements?
- YES: Permutations,
- NO: Arrangements,
- NO: Combinations,
- YES: All elements?
Check Your Understanding
Your turn1 of 2
An access code consists either of two different letters from A, B, C, D, E or of three different digits from 1, 2, 3, 4. How many different codes are there?
Your turn2 of 2
Five people sit down at a round table, and two of them, Anna and Ben, want to sit next to each other. Seatings that turn into each other by a rotation count as the same. How many seatings are there?
All Formulas
Addition Rule (OR):
Multiplication Rule (AND):
Factorial: , with
Permutations:
Arrangements:
Permutations with repetition:
Circular permutations:
Combinations:
Quick calculation:
Symmetry:
Pascal's formula:
Relationship:
Was this article helpful?