Cool combinatorics at your library ;)

In how many ways can be three math books, 7 physics books and 5 chemistry books be arranged in a shelf, if the books of each subject must be kept together? (Also, given that books of each subjects are not identical)


The answer is 21772800.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Tijmen Veltman
Apr 9, 2015

The three subjects can be arranged in 3 ! 3! ways. For each subject, the books can be arranged in n ! n! ways (where n n is the number of books in that subject) giving us

3 ! (three subjects) × 3 ! (math) × 7 ! (physics) × 5 ! (chemistry) = 21772800 . 3! \text{ (three subjects)} \times 3! \text{ (math)}\times 7! \text{ (physics)}\times 5! \text{ (chemistry)} = \boxed{21772800}.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...