Permutations and Combinations (AA HL)

Counting problems ask "how many ways", but the right method depends entirely on whether order matters. Line five people up in a queue and swapping two of them creates a new arrangement; pick five people for a committee and swapping two changes nothing. This page separates the two cases and gives the formula for each. It's part of the broader Binomial Theorem topic.

28 questions on this sub-topic.

Practise permutations and combinations → Try exam-style questions

The two formulas

Covered under IB syllabus reference AHL1.10: counting principles, including permutations and combinations. Permutations where some objects are identical, and circular arrangements, are not required. Both formulas below are given in the formula booklet.

Permutations (order matters)

\({}^nP_r=\dfrac{n!}{(n-r)!}\)

Use when you're arranging or ordering \(r\) items chosen from \(n\) distinct items - queues, rankings, passwords, seating in a row.

Combinations (order doesn't matter)

\(\binom{n}{r}={}^nC_r=\dfrac{n!}{r!(n-r)!}\)

Use when you're selecting a group of \(r\) items from \(n\) with no regard to order - committees, teams, hands of cards.

Need the full syllabus wording and formula-booklet reference table? See Binomial Theorem. GDC methods (nCr and nPr keys) are covered in the parent topic's GDC section.

Worked examples

1
Medium
No calc
[4 marks]

The letters A, B, C, D, E are arranged in a row.

(a)  Find the total number of arrangements.

(b)  Find the number of arrangements in which A and B are always adjacent.

Worked solution

(a)   \(5! = 120\) A1

(b)   Treat AB as a single unit: 4 objects can be arranged in \(4!\) ways M1
, and AB can be arranged internally in \(2!\) ways M1
. \(4! \times 2! = 24 \times 2 = 48\) A1

A1 Total M1 Block method M1 Internal arrangement A1 Answer
2
Hard
No calc
[4 marks]

5 differently coloured beads are threaded onto a straight string.

(a)  Find the number of distinct arrangements.

(b)  Two specific beads must be placed at the two ends (in either order). Find the number of arrangements.

Worked solution

(a)   Permutations of 5 distinct beads in a row: \(5!\) M1
\(= 120.\) A1

(b)   The 2 specific beads can occupy the two ends in \(2!\) ways, and the remaining 3 beads fill the middle in \(3!\) ways: M1
\(2! \times 3! = 2 \times 6 = 12.\) A1

M1 Factorial formula A1 Correct answer of 120 M1 Ends × middle A1 Correct answer of 12

Common mistakes

Ready to practise properly?

28 permutations-and-combinations questions, marked instantly like the real exam.

Quick answers

What is the difference between a permutation and a combination?

A permutation \({}^nP_r\) counts arrangements where order matters, while a combination \({}^nC_r\) counts selections where order doesn't matter - the same items chosen in a different order count as one combination but as several permutations.

How do I count arrangements where two items must stay together?

Glue the two items into a single block, arrange that block together with the remaining items as usual, then multiply by the number of ways to arrange the two items inside the block (\(2!\) if it's just two of them).

← Back to Analysis & Approaches HL topics