Combinatorics: Number of possible 8 Characters words from Alphabets

combinatoricspermutations

I found following Problem in Introductory Combinatorics text book:

How many eight-letter words can be constructed by using the 26 letters of the alphabet if each word contains three vowels? It is understood that there is no restriction on the number of times a letter can be used in a word

Self Attempt:
I tried to solve the problem in following manners:
There are 5C3 ways we can select 3 vowels from the alphabet and 21C5 ways to select 5 consonant from 21 consonants. For each such 8 characters selection we can arrange the word in $8^8$ ways (as repetition of character is allowed).
My answer: $5C3 \cdot 21C5 \cdot 8^8$

But textbook has the following answer: $8C5 \cdot 5^3 \cdot 21^5$

Could you please help me know where I am going wrong.

Best Answer

The textbook is saying "choose the $5$ out of $8$ positions for consonants (so $3$ for vowels), then choose the $3$ vowels possibly with repetition and the $5$ consonants possibly with repetition"

$^{5}C_3$ would be choosing three distinct vowels in any order rather than the $5^3$ since order matters and repetitions are allowed, and similarly $^{21}C_5$ should be $21^5$ for the same reason.

I am not clear what your $8^8$ was intended to be. If the question had prohibited repeated letters, the answer would have been $8!\,^{5}C_3\, ^{21}C_5$