/

AMC10 2017 A

AMC10 2017 A · Q19

AMC10 2017 A · Q19. 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.