Question
Question: There are \[m\] seats in the first row of a theatre, of which \[n\] are to be occupied. The number o...
There are m seats in the first row of a theatre, of which n are to be occupied. The number of ways of arranging n persons so that there should be at least 2 empty seats between any two persons
A.m−2n+2Cnn!
B.m−n+1Cn(n−2)!
C.m−n+1Pn
D.m−nPnn!
Solution
The number of seats m is separated into number of people n and number of empty places, say x., and we will be using this fact to solve for the number of arrangements of the people. A point to remember is that since there are n people, the range goes from 1 to n+1 because we have to consider the starting and ending seats which may or may not be occupied.
Formula Used:
Total number of combinations = N+r−1Cr−1 …(i)
Complete step-by-step answer:
Given, the total number of seats = m
The total number of seats occupied = n
Let the number of spaces be x
Let x1,x2,x3,...,xn+1 represent the spaces. So, it means,
x1+x2+x3+...+xn=x
And we have already established that
x+n=m
Thus, x1+x2+x3+...+xn+n=m …(ii)
Let x1=y1,xn+1=yn+1 and xi=yi−2,i∈[2,n]
We subtracted 2 from all the seats (except the first and last seat) so as to remove the possible spaces between them as the number of spaces between them is given to be 2, but we did not remove the seats from the first and last seats because they are on the ends and do not have the possibility of spaces.
So, doing the substitution of the seats and spaces into equation (ii) and we have got,
y1+(y2−2)+(y3−2)+(yn−2)+yn+1+n=m
The number of y terms with a −2 with it is - n−2+1=n−1 (because we are starting from y2)
Thus, we can club all the −2 terms together, and we get:
⇒ y1+y2+y3+...+yn+yn+1−2(n−1)+n=m
Now, taking 2(n−1),n to the other side, we get:
⇒ y1+y2+y3+...+yn+yn+1=m−n+2(n−1)
Solving the right-hand side of the equation, we get:
⇒ y1+y2+y3+...+yn+yn+1=m−n+2n−2
⇒ y1+y2+y3+...+yn+yn+1=m+n−2
Now, with the total sum of all the y terms we get the N used in equation (i) and r is the total number of units to be filled, which is n+1.
So, N=m+n−2 and r=n+1
Now, finally putting these values in equation (i) we get:
Total number of combinations, T=N+r−1Cr−1
⇒ T=m+n−2+(n+1)−1Cn+1−1
⇒ T=m+2n−2Cn
Now, these n people can be arranged among themselves in n! ways.
Hence, the number of ways of arranging n persons so that there should be at least 2 empty seats between any two persons is option A m+2n−2Cnn!.
Note: In these questions, we must remember that the seats on the ends do not have any places, so they won’t be considered in the transformation. Also, special tidiness must be ensured in solving such equations as there are a lot of terms and things get messy, increasing the chances of errors.