Find the number of seating arrangements of four boys and three girls on a bench under the stated conditions

combinatoricspermutations

Four boys and three girls want to sit on a bench. In how many ways can they sit:

  • if the boys are next to one another and the girls are next to one another.
    Since boys and girls are separated, they are treated as two units. The first unit—boys—consist of 4 people, and the order matters, so $_4P_4$ is 24. The second unit—girls—consist of 3 people, and the order matters, so $_3P_3$ is 6. Then, as they are two units, we multiply them together, giving us an answer of 144 ways.
  • if there are neither boys next to one another nor girls next to one another.
    There are four possible seats for boys, each has the possibility of hosting four different boys. Then, there are $4^{4}$=256 ways for them to sit. There are three possible seats for girls, each has the possibility of hosting three different girls. Then, there are $3^{3}$=27 ways for them to sit. If we merge them altogether, we get 256*27=6912 ways overall.

I am pretty confident about the first one, but I have lots of doubts about the second one. I, initially, thought: Isn't the second question similar to the first one? Then, I brushed it off as I contemplated over it for a few seconds.

Best Answer

If there are neither boys next to one another nor girls next to one another, you are looking for the number of ways of arranging the letters B (representing boys) and G (representing girls) in a 7-letter word in such a way that there are no two equal letters next to each other, the letters are distinguishable. The only possiblity is to start with a B since there are less girls than boys. Positions 1,3,5 and 7 will be occupied by boys. And positions 2,4 and 6 by girls. For the first seat, you have 4 different options; for the third seat 3 different options; for the fifth seat only 2 different options and finally for the seventh seat the final option (1 option). Similarly for the girls, for the second seat you have 3 different option; for the forth only 2 options and the sixth seat will be determined by the previous 2, hence only one option. The total number of possible ways of satifying the condition is: $4\times3\times3\times2\times2\times1\times1=144$