arthham

JEE Advanced 2020 · Permutations and Combinations

In a hotel, four rooms are available. Six persons are to be accommodated in these four rooms in such a way that each of these rooms contains at least one person and at most two persons. Then the number of all possible ways in which this can be done is ______

Answer: 10801080

Watch this solved on the board The full walkthrough, written out a line at a time with narration explaining each step as it appears. Pause anywhere and ask why a line is there. Free to watch

Or read the worked solution below. Jump to the steps ↓

Written solution

4 rooms,6 persons4 \text{ rooms},\qquad 6 \text{ persons}

each room: at least 1, at most 2 persons\text{each room: at least } 1,\text{ at most } 2 \text{ persons}

To find: the number of ways to accommodate all 6 persons\text{To find: the number of ways to accommodate all } 6 \text{ persons}

x rooms have 2,4−x have 1x \text{ rooms have } 2,\qquad 4-x \text{ have } 1

2x+(4−x)=6 ⇒ x=22x+(4-x)=6\ \Rightarrow\ x=2

so 2 rooms of 2 and 2 rooms of 1\text{so 2 rooms of } 2 \text{ and 2 rooms of } 1

(42)=6 ways to pick the two double rooms\binom{4}{2}=6\ \text{ways to pick the two double rooms}

line up the 6 persons:6! orders\text{line up the } 6 \text{ persons}: 6! \text{ orders}

first 2→room 1, next 2→room 2, last 2→rooms 3,4\text{first 2} \to \text{room 1},\ \text{next 2} \to \text{room 2},\ \text{last 2} \to \text{rooms 3,4}

6!2! 2! ways to fill the rooms (rooms fixed)\dfrac{6!}{2!\,2!}\ \text{ways to fill the rooms (rooms fixed)}

6!2! 2!=7204=180\dfrac{6!}{2!\,2!}=\dfrac{720}{4}=180

6×180=10806\times 180=1080

Answer: 1080\text{Answer: } 1080

More from Permutations and Combinations

All 21 Permutations and Combinations questions →