Question #16952

suppose that you own 8 math books and 6 computer science books and wish to fill 7 position on a shelf. what is the probability that the first 4 position are to be occupied by math books and the last 3 by computer science books?

Expert's answer

Question #16952 suppose that you own 8 math books and 6 computer science books and wish to fill 7 position on a shelf. what is the probability that the first 4 position are to be occupied by math books and the last 3 by computer science books?

Solution. First compute the total number of filling the 7 position by 8 math books and 6 computer science. First, suppose that we take only math books, then we will get 7!(87)7! \binom{8}{7}, suppose that we take kk books on computer science k=1,6k = \overline{1,6}, then we will get (7k)(6k)k!(87k)(7k)!\binom{7}{k} \binom{6}{k} k! \cdot \binom{8}{7-k} (7-k)! variants of filling. To sum it up, the total number of filling possibilities is 7!(87)+k=16(7k)(6k)k!(87k)(7k)!7! \binom{8}{7} + \sum_{k=1}^{6} \binom{7}{k} \binom{6}{k} k! \cdot \binom{8}{7-k} (7-k)!. The number of elementary events that promote "the first 4 position are to be occupied by math books and the last 3 by computer science books" equals (84)4!(63)3!\binom{8}{4} 4! \cdot \binom{6}{3} 3!, thus the probability equals


(84)4!(63)3!7!(87)+k=16(7k)(6k)k!(87k)(7k)!\frac{\binom{8}{4} 4! \cdot \binom{6}{3} 3!}{7! \binom{8}{7} + \sum_{k=1}^{6} \binom{7}{k} \binom{6}{k} k! \cdot \binom{8}{7-k} (7-k)!}


Answer. (87)4!(63)3!7!(87)+k=16(7k)(6k)k!(87k)(7k)!\frac{\binom{8}{7} 4! \cdot \binom{6}{3} 3!}{7! \binom{8}{7} + \sum_{k=1}^{6} \binom{7}{k} \binom{6}{k} k! \cdot \binom{8}{7-k} (7-k)!}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS