- Practice
- About 15 min
- 5 practice questions
Conditions on position: before and after, ends, odd and even places
Count arrangements in which one object must come before another, three objects appear in a fixed order, a person avoids the ends, or the vowels must fill odd or even places.
If something looks wrong, please tell us.
Some arrangement questions do not forbid or force neighbours at all. They fix the relative order of some objects, or the kind of place an object may take. Each has a short method that avoids listing.
Type 1: A must come before B
Among all arrangements of n distinct objects, exactly half have A before B and half have B before A, because swapping A and B pairs each arrangement of the first kind with one of the second kind. So the count is n!/2. For the letters of DELHI (5 different letters), the number of arrangements with D before E is 5!/2 = 120/2 = 60. This does not require D and E to be next to each other.
Type 2: several objects in a fixed order
If three particular objects must appear in a given order (but not necessarily together), their 3! possible orders are equally likely among the arrangements, and only one is allowed. So the count is n!/3!. For 6 people in a row where A, B, C must appear in this order from left to right, the number is 6!/3! = 720/6 = 120. In general, if k objects must appear in a fixed order, divide by k!.
Fixed relative order of k objects: n!/k!. Order between two objects: n!/2. The objects need not be adjacent.
Type 3: avoiding the ends
Seven people stand in a row. In how many ways can A not stand at either end? Count the complement. A is at an end in 2 × 6! = 1440 arrangements (2 end places, the others arrange in 6!). The total is 7! = 5040, so the answer is 5040 − 1440 = 3600. Alternatively, place A in one of the 5 middle places first and arrange the other six: 5 × 6! = 3600, the same.
For two people, say A and B, neither at an end in a row of 6: the 4 middle places are available. Place A and B in them in ⁴P₂ = 12 ways, then arrange the other 4 people in the remaining places in 4! = 24 ways. The count is 12 × 24 = 288.
Type 4: vowels in odd or even places
In how many ways can the letters of TRIANGLE (8 different letters, 3 vowels I, A, E and 5 consonants) be arranged so that the vowels occupy even places? There are 4 even places (2, 4, 6, 8). The vowels can be placed in them in ⁴P₃ = 24 ways. The 5 consonants fill the remaining 5 places in 5! = 120 ways. The total is 24 × 120 = 2 880. The same count holds for the odd places, since there are also 4 odd places.
Type 5: a fixed gap between two people
Seven people stand in a row. In how many ways can A and B have exactly 2 people between them? If A is in place 1, B must be in place 4; the possible pairs of places are (1, 4), (2, 5), (3, 6) and (4, 7): 4 pairs. For each pair A and B can swap roles: 2 ways. The other 5 people fill the other places in 5! = 120 ways. The total is 4 × 2 × 120 = 960.
Key takeaways: half of the arrangements put A before B; k objects in a fixed order divide by k!; for a restricted place count the allowed places first; for odd or even places use a permutation of the special objects into those places, then arrange the rest; for a fixed gap, count the pairs of places.
Check your understanding
-
1. In how many arrangements of the letters of the word BREAD (5 different letters) does B come before D?
- 120
- 24
- 60
- 30
Show answer
Answer: C. Half of 5! = 120 arrangements have B before D: 60.
-
2. Six people stand in a row. In how many ways can A, B and C appear in the order A, B, C from left to right, not necessarily together?
- 120
- 720
- 360
- 20
Show answer
Answer: A. 6!/3! = 720/6 = 120.
-
3. Five people stand in a row. In how many ways does a particular person not stand at either end?
- 48
- 96
- 120
- 72
Show answer
Answer: D. Place the person in one of the 3 middle places (3 ways), then arrange the other four: 3 × 4! = 72.
-
4. The letters of TRIANGLE are arranged so that the vowels are in the four odd places. The number of arrangements is:
- 5 760
- 2 880
- 24
- 120
Show answer
Answer: B. ⁴P₃ = 24 ways to place the vowels and 5! = 120 ways for the consonants: 24 × 120 = 2 880.
-
5. Seven people stand in a row. In how many ways can A and B have exactly 2 people between them?
- 960
- 480
- 1 920
- 120
Show answer
Answer: A. There are 4 pairs of places, 2 orders for A and B, and 5! ways for the others: 4 × 2 × 120 = 960.
Sign in to keep track of the lessons you finish.