PYQ Vault

MHT-CET Maths · Permutations and Combinations

Arrangements with Constraints — Together, Never Together, Fixed Positions and Repeated Letters

Arrange in a row under a condition: divide by k! for each letter repeated k times, glue a together-group into one block, place never-together items in the gaps, and fill a fixed position before counting the rest.

Why this matters

16 PYQs at 38% HARD — the chapter's most expensive large page and the one where a single misread word costs the mark. Word stems recur with the same letters (CALCULATE, HAVANA, MANAMA, BARRACK) and the same three constraints — a fixed first and last letter, two letters kept apart, a group kept together — and the students-on-a-platform stem has been set twice. Every one is answered by the four moves below in some order; the difficulty is only in choosing the order.

Concept 1 of 4: Repeated Letters: Divide n! by k! for Each Repeat

Swapping two identical A's changes nothing, so n!n! over-counts by the k!k! internal orders of each repeated letter. HAVANA has 66 letters with A three times: 6!3!=120\dfrac{6!}{3!} = 120 distinct words.

Definition

  • Arrangements of nn objects with pp alike, qq alike, …: n!p! q!⋯\dfrac{n!}{p!\,q!\cdots}.
  • Write the letter census FIRST. CALCULATE: C,C · L,L · A,A · U,T,E (99 letters). MANAMA: M,M · A,A,A · N (66). BARRACK: A,A · R,R · B,C,K (77). 223355888: 2,2⋅3,3⋅5,5⋅8,8,82,2 \cdot 3,3 \cdot 5,5 \cdot 8,8,8.
  • Positions restricted by type: odd digits 3,3,5,53,3,5,5 into the 44 even positions in 4!2! 2!=6\dfrac{4!}{2!\,2!} = 6 ways, even digits 2,2,8,8,82,2,8,8,8 into the 55 odd positions in 5!2! 3!=10\dfrac{5!}{2!\,3!} = 10 ways: 6060.
  • Short words from a multiset (four-letter words from BARRACK) go by cases on the repeat pattern: all different 5P4=120{}^5P_4 = 120; one pair + two singles 2C1⋅4C2⋅4!2!=144{}^2C_1 \cdot {}^4C_2 \cdot \dfrac{4!}{2!} = 144; two pairs 4!2! 2!=6\dfrac{4!}{2!\,2!} = 6; total 270270.

Permutations of a multiset

n!p! q! r!⋯\frac{n!}{p!\,q!\,r!\cdots}

Worked example

How many distinct arrangements of the letters of BANANA have the two N's in the first and last positions?
Practise this conceptself-check · 4 quick reps

The same idea in a real exam question:

MHT-CET · 2023 · 3rd May Shift 1 · Q117Moderate

Example 1 · Permutations and Combinations · Arrangements with Constraints — Together, Never Together, Fixed Positions and Repeated Letters

The number of four-letter words that can be formed using letters of the word BARRACK is

Counting the letters wrong

Every word question is lost at the census. CALCULATE is nine letters, not eight; BARRACK has two R's AND two A's. Write the tally before any factorial.

Concept 2 of 4: Fixed Positions: Fill the Constrained Slots First, Then the Rest

A constraint on particular positions (first and last letter must be consonants; B1B_1 sits second) removes choices, so those slots are filled first, and whatever is left fills the remaining slots freely.

Definition

  • CALCULATE starting and ending with a consonant: the consonants are C,C,L,L,T. Choose the ordered pair for the ends, then arrange the remaining 77 letters with their repeats — summing over the end-pair patterns gives 5×7!2\dfrac{5 \times 7!}{2} as the key has it.
  • Five students on a platform, B1B_1 in position 22, G1G2G_1G_2 adjacent: B1B_1 is placed (11 way); the girls need two ADJACENT free positions from {1,3,4,5}\{1, 3, 4, 5\} — only (3,4)(3,4) and (4,5)(4,5) — in 22 internal orders; the last two students fill the last two seats in 2!2!: 2×2×2=82 \times 2 \times 2 = 8.
  • Order of operations: most-constrained slot first. If two constraints compete (a fixed seat AND an adjacent pair), place the fixed one, then LIST the adjacent pairs that remain possible rather than assuming n−1n - 1 of them.

Constrained slots first

ways=(fill constrained slots)×(arrange what remains)\text{ways} = (\text{fill constrained slots}) \times (\text{arrange what remains})

Worked example

How many arrangements of the letters of ORANGE begin with a vowel and end with a consonant?
Practise this conceptself-check · 4 quick reps

The same idea in a real exam question:

MHT-CET · 2024 · 11th May Shift 1 · Q113Hard

Example 2 · Permutations and Combinations · Arrangements with Constraints — Together, Never Together, Fixed Positions and Repeated Letters

Five students are to be arranged on a platform such that the boy B1 occupies the second position and such that the girl G1 is always adjacent to the girl G2. Then, the number of such possible arrangements is

Assuming four adjacent pairs remain

After B1B_1 takes seat 22, seats 11 and 33 are no longer adjacent. The count of adjacent pairs is 22, not 33 or 44; option (B) 1212 is what 33 pairs would give.

Concept 3 of 4: Together: Glue the Group Into One Block, Then Arrange Inside It

Items that must stay together are one object for the outer arrangement. Count the arrangement of the blocks, then multiply by the internal orders of each block.

Definition

  • 33 Physics + 22 Chemistry + 44 Maths books, Physics together and Maths together: units are PP, MM, C1C_1, C2C_2 — 4!4! ways; inside PP: 3!3!; inside MM: 4!4!. Total 24×6×24=345624 \times 6 \times 24 = 3456.
  • A block of kk distinct items contributes k!k! internal orders; a block of identical items contributes 11.
  • 'Exactly two letters repeated twice' in a 1010-letter word from 1010 distinct letters: choose the two repeaters 10C2{}^{10}C_2, the six singles 8C6{}^8C_6, arrange 10!2! 2!\dfrac{10!}{2!\,2!}; dividing by the no-repeat count 10!10! gives 45×284=315\dfrac{45 \times 28}{4} = 315.
  • The block method also proves the total for the complement: 'together' is the thing subtracted in every 'never together' count.

Block method

(blocks)!×∏(size of each block)!(\text{blocks})! \times \prod (\text{size of each block})!

Worked example

In how many ways can 44 boys and 33 girls stand in a row if all the girls stand together?
Practise this conceptself-check · 4 quick reps

The same idea in a real exam question:

MHT-CET · 2023 · 2nd May Shift 1 · Q102Moderate

Example 3 · Permutations and Combinations · Arrangements with Constraints — Together, Never Together, Fixed Positions and Repeated Letters

If 3 books on Physics, 2 books on Chemistry and 4 books on Mathematics are to be arranged on a shelf so that all the Physics books are together and all the Mathematics books are together, then the number of such arrangements is

Forgetting the inside of the block

4!=244! = 24 counts the blocks only; without 3!×4!3! \times 4! inside, the answer is 2424 instead of 34563456. Conversely, a block of identical letters has NO inside factor.

Concept 4 of 4: Never Together: Total Minus Together, or Place Them in the Gaps

Two ways to keep items apart. Complement: count all arrangements, subtract the ones with the items glued. Gap method: arrange everyone else first, then drop the restricted items into the k+1k + 1 gaps they create — never two in one gap.

Definition

  • Complement (HAVANA, V and N apart): total 6!3!=120\dfrac{6!}{3!} = 120; V,N glued as a block 5!3!×2=40\dfrac{5!}{3!} \times 2 = 40; apart 120−40=80120 - 40 = 80.
  • Gap method (MANAMA, M's apart): arrange A,N,A,A in 4!3!=4\dfrac{4!}{3!} = 4 ways; they make 55 gaps; two IDENTICAL M's into two gaps: 5C2=10{}^5C_2 = 10; total 4040. Distinct items in gaps use k+1Pr{}^{k+1}P_r instead.
  • Choose the method by the count: two items apart — complement is quickest; three or more items pairwise apart — the gap method, since the complement needs inclusion-exclusion.
  • The gap method needs enough gaps: rr items apart need r≤k+1r \le k + 1 gaps, or the count is 00.

Two routes to 'apart'

apart=total−togetheror(others)!×k+1Pr (or k+1Cr if identical)\text{apart} = \text{total} - \text{together} \qquad \text{or} \qquad (\text{others})! \times {}^{k+1}P_r \ (\text{or } {}^{k+1}C_r \text{ if identical})

Worked example

In how many ways can 44 boys and 33 girls stand in a row so that no two girls are adjacent?
Practise this conceptself-check · 4 quick reps

The same idea in a real exam question:

MHT-CET · 2021 · May Shift 1 · Q124Moderate

Example 4 · Permutations and Combinations · Arrangements with Constraints — Together, Never Together, Fixed Positions and Repeated Letters

The number of ways of arranging letters of the word 'HAVANA', so that V and N do not appear together, is

Using nPr for identical items in gaps

Two identical M's into 55 gaps is 5C2=10{}^5C_2 = 10, not 5P2=20{}^5P_2 = 20. The doubled answer 8080 is option (C) on the MANAMA stem.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (4)

Watch out for (4)

Test yourself on Permutations and Combinations

15 past MHT-CET questions from this chapter, timed at 27 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.

Related notes