[Math] How many ways can you arrange books in a shelf

combinationscombinatoricspermutations

There are 6 English books, 4 Science books, 7 magazines, and 3 Mathematics books. In how many ways can you arrange the shelf if:
a) English and Science books are indistinct?
b) English books should be together?

Pls someone help me on this one. Thank you!

EDIT: I actually have an initial answer. For a, $(10!)/(6! 4!)$ ways for the English and Science books, then multiply to $10!$ (ways for the others)? Is this correct? I'm actually not sure if I understand the restriction in a correctly.

Best Answer

In how many ways can $6$ English books, $4$ science books, $7$ magazines, and $3$ mathematics books be arranged on a shelf if English books are indistinguishable and science books are indistinguishable?

We have a total of $6 + 4 + 7 + 3 = 20$ books. Choose six of the $20$ positions for the English books and four of the remaining $14$ positions for the science books. The remaining ten positions can be filled with books and magazines in $10!$ ways.

$$\binom{20}{6}\binom{14}{4}10! = \frac{20!}{6!14!} \cdot \binom{14!}{4!10!} \cdot 10! = \frac{20!}{6!4!}$$

In your attempt, you did not take into account the total number of positions on the shelf.

In how many ways can $6$ English books, $4$ science books, $7$ magazines, and $3$ mathematics books be arranged on a shelf if English books should be together?

If all the books are intended to be distinct (switching the order of the questions would have made this clearer), treat the English books as a single object, so we have $1 + 4 + 7 + 3 = 15$ objects to arrange. Then multiply by the number of ways of arranging the six English books within the block of English books.

If we are still supposed to treat the English books as being indistinguishable and the science books as being indistinguishable, choose six of the $15$ positions for the science books, one of the remaining $8$ positions for the block of English books, then arrange the magazines and mathematics books in the remaining positions.

I believe the first of these two interpretations is intended, but I would have reversed the order of the questions to make that clear.