Combinatorics (Kombinatorik)

15 min · 2 drills

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:

m waysn waysOR

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:

m waysStep 1ANDn waysStep 2=m · n

Example: A cafe offers 3 soups, 4 main courses, and 2 drinks. How many combo meal options?

How to Tell "OR" from "AND"

KeywordOperationExample
or, either, one ofAdditionSoup or salad
and, both, eachMultiplicationSoup 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 :

01 (by definition)
11
22
36
424
5120
6720
75040

Key property:

For example:


Part 3. Permutations

Permutations Without Repetition

Permutation: an ordered arrangement of all elements. Order matters: ABC ≠ BAC.

nn-1n-21xx...pos. 1pos. 2pos. 3last

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:

SituationOrderFormula
Pick a team of 3 peopleDoesn't matterCombinations
Award 1st, 2nd, 3rd placeMattersArrangements

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?

WomenMenWays
23
32
41

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?

  1. Groups: ways to arrange (M and P)
  2. Within M:
  3. 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,

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:

Now practise it

Combinatorics (Kombinatorik)

Trainer · Probability & Combinatorics

Practise
Next: Conditional Probability
0/2

Was this article helpful?