Permutations and Combinations: Edge Cases and Subtle Traps (9)

hard 3 min read

Question

In how many ways can the letters of the word MATHEMATICS be arranged such that all vowels come together? Then find the number of arrangements where no two vowels are adjacent. This pair of “all together vs none together” questions is a JEE Main staple.

Solution — Step by Step

MATHEMATICS has 1111 letters:

  • M appears 22 times
  • A appears 22 times
  • T appears 22 times
  • H, E, I, C, S each 11 time

Vowels: A, A, E, I — that’s 44 vowels.

Consonants: M, M, T, T, H, C, S — that’s 77 consonants.

Treat all 44 vowels as a single super-letter. Then we have 77 consonants +1+ 1 vowel-bundle = 88 items.

Arrangements of these 88 items (with M repeated twice and T repeated twice):

8!2!2!=403204=10080\frac{8!}{2! \, 2!} = \frac{40320}{4} = 10080

Within the vowel-bundle, 44 vowels can be arranged with A repeated:

4!2!=12\frac{4!}{2!} = 12

Total: 10080×12=12096010080 \times 12 = 120960.

First, arrange the 77 consonants (M, M, T, T, H, C, S):

7!2!2!=50404=1260\frac{7!}{2!\, 2!} = \frac{5040}{4} = 1260

Now place vowels in the gaps. With 77 consonants in a row, there are 88 gaps (one before, six between, one after):

_C_C_C_C_C_C_C_\_\, C \,\_\, C \,\_\, C \,\_\, C \,\_\, C \,\_\, C \,\_\, C \,\_

Choose 44 gaps out of 88 for the vowels: (84)=70\binom{8}{4} = 70 ways. Then arrange the 44 vowels (A, A, E, I) in those chosen positions:

4!2!=12\frac{4!}{2!} = 12

Total: 1260×70×12=10584001260 \times 70 \times 12 = 1058400.

Why This Works

Together-trick (bundling): When a problem says ”kk items must be together”, treat them as a single unit, count arrangements of the reduced set, then multiply by internal arrangements within the bundle. This is permutation algebra at its cleanest.

Apart-trick (gap method): When items must not be adjacent, arrange the others first to create gaps, then choose gaps to place the restricted items. Always count gaps as (number of items) + 1.

The interplay between these two tricks is what JEE tests — many problems combine them (“all vowels together but consonants in a specific order”, etc.).

Alternative Method

For “no two vowels adjacent”, you can also use complementary counting: total arrangements minus arrangements with at least two vowels adjacent. Inclusion-exclusion gets messy here because of multiple vowel pairs, so the gap method is much cleaner.

Always check the "+1+1" in the gap count. With nn items in a row, there are n+1n+1 gaps (including the two ends). Forgetting the end-gaps gives only n1n-1, which silently halves your answer in some problems.

Common Mistake

Three classic traps in this template:

  1. Forgetting to divide by repeats inside the vowel bundle. Vowels A, A, E, I have only 4!/2!=124!/2! = 12 distinct internal arrangements, not 4!=244! = 24. Always check for repeated letters in every permutation count.

  2. Using (84)\binom{8}{4} alone, forgetting to arrange the vowels. Choosing the gaps just places the vowels — they still need to be arranged among themselves. Multiply by the internal arrangement count.

  3. Counting both end-gaps correctly. Some students think 77 consonants give only 66 internal gaps and miss the two ends. The right count is always n+1n+1 gaps for nn consonants.

Final answer: Vowels together: 120960120960. No two vowels adjacent: 10584001058400.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next