01 / 20
$$ \frac{n!}{r!\,(n-r)!} $$

Combinatorics
Basics

Master the foundations of counting, permutations, and combinations: the key tools behind the binomial theorem and probability.

IB Mathematics: Analysis and Approaches

What Is Combinatorics?

Combinatorics is the branch of mathematics concerned with counting, arranging, and selecting objects. It answers questions like: "In how many ways can we choose a committee?" or "How many different outcomes are possible?"

Counting
How many total outcomes exist for a given scenario?
Arranging
How many ways to order a set of objects (permutations)?
Selecting
How many ways to choose a subset without regard to order (combinations)?

The Factorial \( n! \)

The factorial of a non-negative integer \( n \) is the product of all positive integers up to \( n \). It counts the number of ways to arrange \( n \) distinct objects in a row.

\( 3! \)
\( 3 \times 2 \times 1 = \) 6
\( 5! \)
\( 5 \times 4 \times 3 \times 2 \times 1 = \) 120
\( 7! \)
\( 7 \times 6! = \) 5040

Visualising Choices

Imagine picking 2 items from a set of 4 labelled \( \{A, B, C, D\} \). The diagram below shows every possible pair: order doesn't matter, so \( \{A,B\} \) is the same as \( \{B,A\} \).

A B C D {A,B} {A,D} {A,C} {B,D} {B,C} {C,D} Total pairs: 6 Each line is one combination: order does not matter.
This is \(\binom{4}{2} = 6\)

The Combination Formula \( \binom{n}{r} \)

This is read as "\( n \) choose \( r \)". In IB notation you may also see \( {}^{n}C_{r} \) or \( C(n, r) \). All three mean the same thing.

Permutations vs Combinations

Permutation \( P(n,r) \) Combination \( \binom{n}{r} \)
Order matters? Yes No
Formula \( \dfrac{n!}{(n-r)!} \) \( \dfrac{n!}{r!\,(n-r)!} \)
Example: 4 items, pick 2 12 6
Relationship \( P(n,r) = r! \times \binom{n}{r} \)

Pascal's Triangle

Each entry in Pascal's Triangle equals \( \binom{n}{r} \). Row \( n \) contains the coefficients for expanding \( (a+b)^n \).

1 n=0 1 1 n=1 1 2 1 n=2 1 3 3 1 n=3 1 4 6 4 1 n=4 1 5 10 10 5 1 n=5 Each entry: sum of the two entries directly above it.

\( \binom{n}{r} \) and the Binomial Theorem

Each term in the expansion is a combination coefficient \( \binom{n}{r} \) multiplied by the appropriate powers of \( a \) and \( b \). This is why mastering \( \binom{n}{r} \) is essential for the IB syllabus.

How to Evaluate \( \binom{n}{r} \)

1
Identify \( n \) and \( r \). \( n \) is the total number of objects; \( r \) is the number you are choosing.
2
Write the formula: \( \binom{n}{r} = \dfrac{n!}{r!\,(n-r)!} \)
3
Simplify before computing. Cancel common factorial factors. For example, \( \dfrac{7!}{5!\,2!} = \dfrac{7 \times 6}{2 \times 1} \).
4
Calculate the result. Multiply the remaining factors and divide.
5
Verify with symmetry. Check: \( \binom{n}{r} = \binom{n}{n-r} \). For instance, \( \binom{7}{5} = \binom{7}{2} = 21 \).

Example 1: Evaluating \( \binom{8}{3} \)

Problem: A team of 3 is to be chosen from 8 students. How many different teams are possible?

1
Identify: \( n = 8 \), \( r = 3 \). Order doesn't matter, so use combinations.
2
Write: \( \binom{8}{3} = \dfrac{8!}{3!\,5!} \)
3
Simplify: \( = \dfrac{8 \times 7 \times 6}{3 \times 2 \times 1} \)
4
Calculate: \( = \dfrac{336}{6} = \) 56

Example 2: A Binomial Term

Problem: Find the coefficient of \( x^4 \) in the expansion of \( (2 + x)^6 \).

1
The general term is \( \binom{6}{r}\,(2)^{6-r}\,x^{r} \).
2
We need \( x^4 \), so set \( r = 4 \).
3
Coefficient: \( \binom{6}{4} \times 2^{6-4} = \binom{6}{4} \times 2^2 \).
4
\( \binom{6}{4} = \binom{6}{2} = \dfrac{6 \times 5}{2 \times 1} = 15 \)
5
So coefficient = \( 15 \times 4 = \) 60

Example 3: Finding a Specific Term

Problem: Find the term containing \( x^3 \) in \( (3x - 2)^5 \).

1
General term: \( \binom{5}{r}\,(3x)^{5-r}\,(-2)^{r} \)
2
The power of \( x \) is \( 5 - r \). Set \( 5 - r = 3 \), so \( r = 2 \).
3
\( \binom{5}{2} = \dfrac{5 \times 4}{2 \times 1} = 10 \)
4
Term = \( 10 \times (3x)^3 \times (-2)^2 = 10 \times 27x^3 \times 4 \)
5
= \( 1080x^3 \)

Common Mistakes

✕ Forgetting \( 0! = 1 \)
Students write \( 0! = 0 \), which makes \( \binom{n}{n} \) or \( \binom{n}{0} \) undefined. Remember: \( 0! = 1 \).
✕ Confusing \( P \) and \( C \)
Using the permutation formula when order does not matter. Ask: "Does rearranging the selection give something different?"
✕ Ignoring the sign in \( (-2)^r \)
In binomial expansions with a minus sign, forgetting that \( (-2)^r \) alternates sign. Always include the negative in the bracket.

Key Identities Summary

Identity Formula Example
Definition \( \binom{n}{r} = \dfrac{n!}{r!\,(n-r)!} \) \( \binom{5}{2} = 10 \)
Symmetry \( \binom{n}{r} = \binom{n}{n-r} \) \( \binom{7}{2} = \binom{7}{5} \)
Pascal's Rule \( \binom{n}{r} = \binom{n-1}{r-1} + \binom{n-1}{r} \) \( \binom{5}{2} = \binom{4}{1} + \binom{4}{2} \)
Sum of Row \( \displaystyle\sum_{r=0}^{n} \binom{n}{r} = 2^n \) \( 1+4+6+4+1 = 16 = 2^4 \)
Boundary \( \binom{n}{0} = \binom{n}{n} = 1 \) \( \binom{100}{0} = 1 \)

Quick Reference Card

Combination
\( \binom{n}{r} = \dfrac{n!}{r!\,(n-r)!} \)
Order: irrelevant
Permutation
\( P(n,r) = \dfrac{n!}{(n-r)!} \)
Order: matters
Binomial Theorem
\( (a+b)^n = \displaystyle\sum_{r=0}^{n}\binom{n}{r}a^{n-r}b^r \)
General Term
\( T_{r+1} = \binom{n}{r}\,a^{n-r}\,b^{r} \)

Question 1 of 5

What is the value of \( \binom{10}{3} \)?

Question 2 of 5

Which identity states that \( \binom{n}{r} = \binom{n}{n-r} \)?

Question 3 of 5

What is the coefficient of \( x^2 \) in the expansion of \( (1 + x)^5 \)?

Question 4 of 5

Find the term independent of \( x \) (constant term) in the expansion of \( \left(x + \dfrac{2}{x}\right)^4 \).

Question 5 of 5

The sum \( \displaystyle\sum_{r=0}^{n} \binom{n}{r} \) equals: