To solve the problem of finding the number of arrangements where the 2 math books are not adjacent, we can use two methods: the gap method or subtracting adjacent cases from total cases. Here's the step-by-step solution:
Method 1: Gap Method
- Arrange non-math books: There are 3 distinct non-math books. The number of ways to arrange them is (3! = 6).
- Identify gaps: 3 books create (3+1=4) gaps (before the first book, between each pair, after the last book).
- Place math books: Choose 2 distinct gaps to place the 2 different math books. The number of ways is (P(4,2) = 4 \times 3 = 12) (permutations of 4 gaps taken 2 at a time).
Total arrangements: (3! \times P(4,2) = 6 \times 12 = 72).
Method 2: Subtract Adjacent Cases
- Total arrangements: (5! = 120).
- Adjacent math books: Treat the 2 math books as a single unit. This gives 4 units, arranged in (4!) ways, and the math books can swap places: (4! \times 2 = 24 \times 2 = 48).
- Non-adjacent arrangements: (120 - 48 = 72).
Answer: (\boxed{72})


作者声明:本文包含人工智能生成内容。