[Math] arranging letters in Massachusetts

algebra-precalculuscombinationsfactorialpermutations

Consider the letters in the word MASSACHUSETTS. Find the number of distinct 13-letter arrangements if the first and last terms must be a vowel. (Leave in factorial form).

By separating into cases where the arrangement started and ended with 2 As, or with an A and E or U, and with E and U, I got $\frac{4 (11!)}{4! 2!}$. However, the answer is apparently $\frac{4\cdot 3 (11!)} {4! 2! 2!}$. What did I miss?

Best Answer

First let us count the number of each letter there are:

$A$-2, $C$-1, $E$-1, $H$-1, $M$-1, $S$-4, $T$-2, $U$-1

For the first and last character to both be vowels, one of three situations will occur:

  • Neither $A$ is used as a first or last character

  • Exactly one $A$ is used as a first or last character

  • Both $A$'s are used as first and last characters

Let us count each case individually.

In the scenario that neither $A$ is used as a first or last character, that implies that the characters are an $E$ and a $U$. Pick which of the two was the first character and the remaining will be the last character. We then choose the locations of the two $A$'s simultaneously and then the four $S$'s and the two $T$'s, or equivalently worded we use multinomial coefficients to find the arrangements of the word aachmsssstt. This gives us: $2\cdot \frac{11!}{2!4!2!}$

In the scenario that exactly one $A$ is used as a first or last character, first select whether the $A$ is the first character or the last character. Then, pick which of the remaining vowels takes the other spot. Then, for whichever vowel is left, we arrange achmssssttx where x is the remaining vowel. This gives us $2\cdot 2\cdot \frac{11!}{4!2!}$

In the scenario that both $A$'s are used as first and last characters, arrange cehmssssttu for the middle. This gives us $\frac{11!}{4!2!}$

Combining all of these together, this gives us a final total of:

$$6\cdot \frac{11!}{4!2!}$$

Their given answer then appears to be correct, though it isn't perfectly clear how they arrived at their answer.


An alternate approach:

First select the positions for the four vowels collectively. Two of them must be the front and back, so that amounts to selecting two more of the center eleven spaces to be used by vowels. This gives $\binom{11}{2}=\frac{11!}{2!9!}$ options. Then, select the arrangement of the vowels within those four spaces. This can be accomplished in $\frac{4!}{2!1!1!}=4\cdot 3$ ways.

We can then separately arrange all of the consonants in $\frac{9!}{4!2!}$ ways and then thread the two strings together.

This gives us a total of $\frac{11!}{2!9!}4\cdot 3\cdot \frac{9!}{4!2!}=\frac{4\cdot 3\cdot 11!}{4!2!2!}$ ways.

Related Question