Method · Permutation and Combination
How to count permutations
A permutation counts arrangements where order matters. To count how many ways items can be arranged from distinct items, use .
Identify and , substitute, then cancel the factorials.
What this method is for
A permutation counts the number of ways to arrange items when the order matters, that is, when swapping two items gives a different arrangement. In the Form 5 Permutation and Combination chapter of Add Math, this is the tool for questions such as 'in how many ways can 3 books be arranged in a row from 5 different books?'
or 'how many 3-digit codes can be formed?'. The key formula is , where is the number of distinct items available and is the number of positions to fill.
It answers counting problems where each ordering is treated as a separate outcome, and it feeds directly into probability questions later on.
When to reach for it
Reach for a permutation whenever a question is about arranging or ordering objects, or filling positions in a line, a row, or a sequence, look for words like 'arrange', 'in a row', 'order', 'line up', or 'code'. The deciding test is simple: ask whether changing the order gives a different result.
If AB is different from BA, order matters and you use a permutation; if AB is the same as BA (a plain selection), you use a combination instead. Seat arrangements, forming numbers from digits, and lining up people or books are all permutation problems, so read the question for whether position or order is important.
The method, step by step
- 1
Check that order matters
Confirm that a different order counts as a different arrangement, if so, it is a permutation.
- 2
Identify n and r
Let be the number of distinct items available and the number of positions to fill.
- 3
Substitute into the formula
Write with your values of and .
- 4
Cancel the factorials
Expand only as far as needed and cancel the common .
- 5
Compute the value
Multiply the remaining factors to get the final count.
Order matters or not?
If rearranging the same items gives a new outcome, use a permutation . If order makes no difference, you are only choosing a group, use a combination instead.
Deciding this first prevents most errors.
Worked example
A student has 5 different storybooks and wants to place 3 of them in a row on a shelf. In how many ways can this be done?
Show worked solution
The books are placed in a row, so the order matters, this is a permutation. Here (books available) and (positions on the shelf).
Substitute into the formula:
Expand and cancel the common :
Multiply out: .
So there are ways to arrange 3 of the 5 books in a row.
Common mistakes to avoid
- Using a combination when the order actually matters, or a permutation when it does not.
- Swapping and in the formula, e.g. writing .
- Forgetting that repeated identical items reduce the count, arrangements of a word with repeated letters need division by the factorials of the repeats.
- Misreading whether all items are used or only of them.
- Arithmetic slips when expanding factorials, cancel the common factorial first to keep the numbers small.
How one-to-one teaching helps
The step that trips students up is the very first one: deciding whether order matters. Choose wrongly and the whole answer uses the wrong formula.
In a one-to-one lesson our teachers give you a quick, reliable test,'does swapping two items make a new arrangement?', and practise it on mixed questions until the choice between and is instant. We also show how cancelling the common factorial keeps the arithmetic clean.
Teachers at spmaddmath.com.my are experienced, and lessons are online and taught in English. To see how we teach permutations, message us on WhatsApp to arrange a one-hour paid class from RM50/hr at the teacher's rate.
Get 1-to-1 help.
Book a Trial ClassFrequently asked questions
What is the difference between a permutation and a combination?
A permutation counts arrangements where order matters, so AB and BA are different. A combination counts selections where order does not matter, so AB and BA are the same.
Decide which applies before choosing between and .
What does mean?
The factorial means the product of all whole numbers from down to 1, so .
By definition , which keeps the permutation formula working when .
What is ?
When you arrange all items, . For example, arranging 4 different books in a row gives ways, because every position is filled and .
How do I handle repeated identical items?
When some items are identical, divide by the factorial of each repeated group. For instance, the number of arrangements of the letters in a 4-letter word with one letter repeated twice is , because swapping the two identical letters does not create a new arrangement.
Source:SRC-DSKP-EN