Overview
Arrangement problems ask us to place objects in order.
Common examples include:
- Arranging letters to form words
- Arranging digits to form numbers
- Finding the rank of a word in dictionary order
- Finding the sum of all numbers formed from a set of digits
These problems combine permutations, repeated objects, and positional thinking.
The main idea is to count arrangements systematically rather than listing them.
Arranging Distinct Objects
If objects are all distinct, then the number of arrangements is .
Example 1
How many ways are there to arrange the letters in ?
The four letters are distinct.
So the number of arrangements is
Arranging Objects With Repetition
If some objects are repeated, then arranging them as if they were distinct overcounts.
Suppose there are total objects, with repeated groups of sizes
Then the number of distinct arrangements is
Example 2
How many distinct arrangements are there of the letters in ?
The word has letters.
The letter appears twice, and the letter appears twice.
So the number of distinct arrangements is
Restrictions in Arrangements
Many arrangement problems include restrictions.
Common restrictions include:
- Certain objects must be together
- Certain objects must not be together
- Vowels and consonants must alternate
- Digits cannot start with
- Repeated objects are present
The usual strategy is to count the unrestricted arrangements first, then impose the restrictions carefully.
Objects Together
If several objects must stay together, treat them as a block.
Example 3
How many ways are there to arrange the letters if and must be together?
Treat and as one block.
Then we arrange the block together with , giving objects:
Inside the block, and can be arranged in
ways.
So the total number of arrangements is
Objects Not Together
If certain objects must not be together, it is often easier to use complement counting.
Example 4
How many ways are there to arrange the letters if and must not be together?
There are
total arrangements.
From Example 3, the number where and are together is
Therefore, the number where they are not together is
Lexicographic Rank
The lexicographic rank of a word is its position when all arrangements are listed in dictionary order.
Usually, ranks start from .
To find the rank of a word:
- Look at the first position
- Count how many valid arrangements begin with a smaller possible letter
- Fix the actual first letter
- Repeat for the next position
- Add for the word itself
Worked Rank Example
Example 5
Find the rank of among all arrangements of the letters in alphabetical order.
The letters in alphabetical order are
We want the rank of
First consider the first letter.
Letters smaller than are
and
If the first letter is , the remaining letters can be arranged in
ways.
If the first letter is , the remaining letters can also be arranged in
ways.
So the number of words before with smaller first letter is
Now fix the first letter as .
The second letter is . There is no remaining letter smaller than , so no new words are counted here.
Now fix
The remaining letters are
The third letter in is . There is one smaller remaining letter, namely .
If the third letter were , the last letter would be forced. This gives
word before .
So the total number of words before is
Therefore, the rank of is
Rank With Repeated Letters
When letters repeat, the same method works, but each count must account for repetition.
Example 6
How many arrangements of begin with a letter before ?
The letters before that appear in are
and
If the first letter is , the remaining letters are
There are letters, with repeated twice, so the number of arrangements is
If the first letter is , the remaining letters are
There are letters, with repeated twice, so the number of arrangements is
So the total number of arrangements beginning with a letter before is
Sum of All Arrangements of Digits
Some problems ask for the sum of all numbers formed by arranging given digits.
The key idea is positional contribution.
If all digits are distinct and none is zero, then each digit appears equally often in each position.
Example 7
Find the sum of all three digit numbers formed using the digits , with each digit used exactly once.
There are
numbers.
Each digit appears in each position
times.
The sum of the digits is
So the contribution to the hundreds place is
The contribution to the tens place is
The contribution to the units place is
So the total sum is
Since
the sum is
Arrangements With Leading Zero
When arranging digits, leading zero is a common issue.
A string like
is not a four digit number.
So if zero is included, handle the first digit separately or subtract invalid arrangements.
Example 8
How many four digit numbers can be formed using the digits , each exactly once?
There are arrangements of the four digits.
But those beginning with are not four digit numbers.
If is first, the remaining digits can be arranged in
ways.
So the number of valid four digit numbers is
Key Contest Insight
Arrangement problems are about positions.
Rank problems count how many arrangements come before a given arrangement.
Sum problems count how much each digit contributes to each position.
When the objects are repeated, always divide by the factorials of repeated counts.
Strategy Tips
- For distinct objects, start with
- For repeated objects, divide by the factorials of repeated counts
- For 'together' restrictions, use blocks
- For 'not together' restrictions, consider complement counting
- For rank, count arrangements before the target one position by position
- For sums of arrangements, use positional contribution
- Be careful with leading zero
Common Pitfalls
- Forgetting to divide for repeated letters
- Treating repeated letters as distinct
- Forgetting to add when computing rank
- Counting rank in the wrong alphabetical order
- Allowing leading zero in a number
- Trying to list all arrangements instead of using positional contribution
Practice Problems
| Status | Source | Problem Name | Difficulty | Tags | ||
|---|---|---|---|---|---|---|
Module Progress:
Join the Discord Community!
Stuck on a problem, or don't understand a module? Join the Discord and get help with your doubts while making more math friends.
