Bunuel
In how many different ways can the letters of the word MISSISSIPPI be arranged if the vowels must always be together?
A. 48
B. 144
C. 210
D. 420
E. 840
Ooh, a combinatorics problem with some fairly large numbers. The best technique for these is to mentally break them down into simpler problems. Otherwise, the solutions tend to sort of look like magic tricks - sure, you can use the formula, but how are you supposed to know to use that formula, and not one of the many similar-looking ones?
There are four vowels, and they're all the same. Let's set those vowels aside: (IIII)
Now we have the letters MSSSSPP. How many ways can just those letters be arranged? Well, if they were all different, we could arrange them in 7x6x5x4x3x2x1 = 7! ways. However, they aren't all different. For instance, four of the letters are (S). I'm going to color them to demonstrate why that matters:
one arrangement: M
SSSSPP
a 'different' arrangment: M
SSSSPP
We counted both of those arrangements, but we actually don't want to. All of the Ss look the same - they aren't actually different colors - so we want to make those arrangements the same. Because there are 4x3x2x1 = 24 ways to order the different Ss, we want every set of 24 arrangements where the Ss are in the same place, to just count as 1 arrangement, instead. So, we can divide out the extra possibilities by dividing our total by 24 (or 4!):
7!/4!
Do the same thing with the two Ps. We still have twice as many arrangements as we need, since we've counted as if the two Ps were different, but they're actually the same. So, divide the total by 2:
7!/(4! x 2)
Now we have to put the (IIII) letters back in. They all have to go together. Start by looking at one of the arrangements of the other letters: PMSSPSS. Where can the four Is go? There are 8 places where we can put them:
IIIIPMSSPSS
PIIIIMSSPSS
PMIIIISSPSS
PMSIIIISPSS
etc.
So, for each arrangement, we have to multiply by 8, to account for the eight possible ways to put the vowels back in. Here's the final answer:
(8 x 7!) / (4! x 2) = (8 x 7 x 6 x 5 x 4 x 3 x 2) / (4 x 3 x 2 x 2) = 4 x 7 x 6 x 5 = 4 x 210 = 840.