Analyzing the Setup
Let xi be the number of persons in room i, where i∈{1,2,3,4}. We are given two primary constraints: the total number of people is x1+x2+x3+x4=6, and the capacity constraint is 1≤xi≤2.
We must partition the number 6 into 4 parts, where each part is either 1 or 2. The only mathematical solution to satisfy this sum is:
This implies that exactly 2 rooms will be double-occupancy, and 2 rooms will be single-occupancy.
Assigning Capacities to Rooms
Since the rooms are distinct, we must determine which rooms receive which capacity. We need to select 2 rooms out of 4 to have a capacity of 2.
The number of ways to choose these rooms is given by the combination:
We have now fixed the structural configuration of the hotel occupancy.
Distributing the Guests
With the capacities fixed, we distribute our 6 distinct guests into these specific slots. The number of ways to partition 6 distinct people into groups of sizes 2,2,1,1 is given by the multinomial coefficient:
2!⋅2!⋅1!⋅1!6!=4720=180 ways
A common pitfall is to divide by 2! to account for the identical group sizes. However, because the rooms are distinct, the groups are already distinguished by the specific rooms they occupy.
We have already accounted for the room identities in the previous phase. Therefore, 180 is the correct number of ways to distribute the people for any one of the 6 capacity configurations.
The Grand Finale
To find the total number of ways to accommodate the guests, we multiply the number of ways to assign the capacities by the number of ways to distribute the people:
The total number of ways to arrange the guests is 1080.