/

AMC12 2017 A

AMC12 2017 A · Q14

AMC12 2017 A · Q14. It mainly tests Basic counting (rules of product/sum), Inclusion–exclusion (basic).

Alice refuses to sit next to either Bob or Carla. Derek refuses to sit next to Eric. How many ways are there for the five of them to sit in a row of 5 chairs under these conditions?
Alice 拒绝坐在 Bob 或 Carla 旁边。Derek 拒绝坐在 Eric 旁边。他们五个人在 5 把椅子上排成一排,有多少种方式满足这些条件?
(A) 12 12
(B) 16 16
(C) 28 28
(D) 32 32
(E) 40 40
Answer
Correct choice: (C)
正确答案:(C)
Solution
Answer (C): Let $X$ be the set of ways to seat the five people in which Alice sits next to Bob. Let $Y$ be the set of ways to seat the five people in which Alice sits next to Carla. Let $Z$ be the set of ways to seat the five people in which Derek sits next to Eric. The required answer is $5! - |X \cup Y \cup Z|$. The Inclusion–Exclusion Principle gives $$ |X \cup Y \cup Z| = (|X|+|Y|+|Z|) - (|X \cap Y|+|X \cap Z|+|Y \cap Z|) + |X \cap Y \cap Z|. $$ Viewing Alice and Bob as a unit in which either can sit on the other’s left side shows that there are $2 \cdot 4! = 48$ elements of $X$. Similarly there are 48 elements of $Y$ and 48 elements of $Z$. Viewing Alice, Bob, and Carla as a unit with Alice in the middle shows that $|X \cap Y| = 2 \cdot 3! = 12$. Viewing Alice and Bob as a unit and Derek and Eric as a unit shows that $|X \cap Z| = 2 \cdot 2 \cdot 3! = 24$. Similarly $|Y \cap Z| = 24$. Finally, there are $2 \cdot 2 \cdot 2! = 8$ elements of $X \cap Y \cap Z$. Therefore $$ |X \cup Y \cup Z| = (48+48+48) - (12+24+24) + 8 = 92, $$ and the answer is $120 - 92 = 28$.
答案(C):令 $X$ 表示将五个人排座且 Alice 挨着 Bob 的所有排法集合。令 $Y$ 表示将五个人排座且 Alice 挨着 Carla 的所有排法集合。令 $Z$ 表示将五个人排座且 Derek 挨着 Eric 的所有排法集合。所求答案为 $5! - |X \cup Y \cup Z|$。容斥原理给出 $$ |X \cup Y \cup Z| = (|X|+|Y|+|Z|) - (|X \cap Y|+|X \cap Z|+|Y \cap Z|) + |X \cap Y \cap Z|. $$ 把 Alice 和 Bob 看作一个整体,并且两人左右位置可互换,可知 $X$ 中元素个数为 $2 \cdot 4! = 48$。同理,$Y$ 与 $Z$ 的元素个数也都是 48。把 Alice、Bob、Carla 看作一个整体且 Alice 在中间,可得 $|X \cap Y| = 2 \cdot 3! = 12$。把 Alice 与 Bob 看作一个整体、Derek 与 Eric 看作一个整体,可得 $|X \cap Z| = 2 \cdot 2 \cdot 3! = 24$。同理 $|Y \cap Z| = 24$。最后,$X \cap Y \cap Z$ 的元素个数为 $2 \cdot 2 \cdot 2! = 8$。因此 $$ |X \cup Y \cup Z| = (48+48+48) - (12+24+24) + 8 = 92, $$ 所以答案是 $120 - 92 = 28$。
Topics
Related Questions
Practice full AMC exams on amcdrill.
Try full-length practice and diagnostics at www.amcdrill.com.