Skip to main content

AMC 12 Mock Exam 7 Problem 16

Problem 16 of 25

Three married couples hold a gift exchange. Each of the six people writes his or her name on a slip of paper, the slips are mixed in a hat, and each person draws one slip. The draw is acceptable if nobody draws his or her own name or the name of his or her spouse. How many of the 720720 possible draws are acceptable?

Answer choices

Show solution

Solution

An outcome is a bijection from people to names. Call a pair (person, name) forbidden if the name is the person's own or the spouse's; each couple contributes a 2×22\times2 block of 44 forbidden pairs (both people, both names in that couple).

By inclusion–exclusion, the number of acceptable outcomes is ∑k(−1)krk (6−k)!\sum_k(-1)^k r_k\,(6-k)!, where rkr_k is the number of ways to choose kk forbidden pairs with no two sharing a person or a name. Within one couple's block one can choose 00 pairs (11 way), 11 pair (44 ways), or 22 pairs (22 ways: the two people take the two names in one of two ways). Blocks of different couples share no people or names, so rkr_k is the coefficient of tkt^k in (1+4t+2t2)3=1+12t+54t2+112t3+108t4+48t5+8t6.(1+4t+2t^2)^3=1+12t+54t^2+112t^3+108t^4+48t^5+8t^6. Therefore the count is 720−12⋅120+54⋅24−112⋅6+108⋅2−48⋅1+8⋅1=720−1440+1296−672+216−48+8=80.720-12\cdot120+54\cdot24-112\cdot6+108\cdot2-48\cdot1+8\cdot1=720-1440+1296-672+216-48+8=\boxed{80}. (Forbidding only one's own name gives the derangement number 265265.)

Tagged: restricted derangements: gift exchange among couples (inclusion-exclusion)