Q.In how many ways can 5 Mathematics, 4 English and 3 Accountancy books can be arranged in a shelf if
You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
Start your 14-day free trial to unlock the full solution →(i) uses the block (grouping) method;
(ii) requires classifying all English-Accountancy letter-patterns by their internal same-letter-adjacent count, then inserting the 5 distinct Maths books into the gaps so no Maths sits beside another Maths — a generalisation of the simple gap method to three groups.
Grouping method: tie a "must stay together" set into one block, arrange blocks, then arrange within each block ( for a block of distinct items). Gap method: after fixing a base sequence of letters, there are gaps (including both ends) available to insert further items so that no two inserted items are adjacent to each other.
(i) All books on the same subject together
- Tie the 5 Maths books into one block, the 4 English into one block, the 3 Accountancy into one block — 3 blocks total.
- Arrange the 3 blocks on the shelf: ways.
- Arrange the 5 distinct Maths books within their block: .
- Arrange the 4 distinct English books within their block: .
- Arrange the 3 distinct Accountancy books within their block: .
- Total .
- Compute: ; ; .
(ii) No two books on the same subject are adjacent
- First arrange only the type-pattern of the 4 English (E) and 3 Accountancy (A) letters in a row of 7 slots — there are such letter-patterns in total (choosing which 3 of the 7 slots are A).
- For a pattern broken into maximal "runs" of the same letter (e.g. EEE-A-E-AA has run-lengths , so runs), the number of already-adjacent same-letter pairs is (a run of length contributes same-letter-adjacent pairs, summing to over the whole row).
- Grouping the 35 E/A patterns by their run-count (equivalently by ) gives: : 1 pattern, : 6 patterns, : 9 patterns, : 12 patterns, : 5 patterns, : 2 patterns (these add to ✓). …
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.