SOLUTION: 2 math books,4 science books and 3 literature books are to be arranged on a shelf. In how many ways can this be done if the 2 math books are not together?

Algebra.Com
Question 1102309: 2 math books,4 science books and 3 literature books are to be arranged on a shelf. In how many ways can this be done if the 2 math books are not together?
Found 2 solutions by math_helper, ikleyn:
Answer by math_helper(2461)   (Show Source): You can put this solution on YOUR website!
Ignoring the math book restriction, there are 9! = 362880 unique ways of arranging the books.
Now we need to divide that by the number of arrangements where the two math books are together:
There are 8 ways for m1m2 to appear and 8 ways for m2m1 to appear, so we need to divide by 16:
362880/16 =

EDIT 11/25: Yes, my answer over-deducts (i.e. dividing by 16 takes out too many arrangements) for the M1M2, M2M1 cases. 9! - 2*8! removes the arrangements properly for M1M2 & M2M1 together. [ If I had sanity-checked my answer I'd have seen that it is way too small. ]

Answer by ikleyn(52777)   (Show Source): You can put this solution on YOUR website!
.
The condition omitted one important detail: the books are considered as DISTINCT and DISTINGUISHABLE.


So, I will assume that this EXTENDED condition is in the place.


      Then the answer is 9! - 2*8! = 282240.


Solution

The number under the question is equal to the number of ALL PERMUTATIONS of 9 = 2 + 4 + 3 books/objects

MINUS the DOUBLED number of all permutations of 8 objects, 

where we consider the two MATH book standing together as ONE emerged object with two states  M1M2 and M2M1.


RELATED QUESTIONS

A bookshelf has 10 books, including 3 math books, 4 science books, and 3 history books.... (answered by greenestamps)
Six math books, five science books, and two English books are to be arranged on a shelf,... (answered by math_helper)
Six literature books and four math books are on a shelf. How many ways can they be... (answered by stanbon)
Someone owns 6 different mathematics books and 4 different computer science books and... (answered by ikleyn)
There are 4 different mathematics books and 5 different science books in how many ways... (answered by ikleyn)
There are 3 math books and 3 history books that are to be arranged on a shelf. How many... (answered by greenestamps,ikleyn)
On a shelf there are four mathematic books and eight english books. if the books are to... (answered by ichudov)
A Math teacher has 3 Algebra books, 5 Geometry books, 4 Trigonometry books, and 3... (answered by math_helper)
In how many ways can 4 different Math books, 5 different History books, and 2 different... (answered by Boreal)