AMC 10 Step by Step

2008 AMC 10A Problem 23

P21-25~4 minPrint

Two subsets of the set S={a,b,c,d,e}S=\lbrace a,b,c,d,e\rbrace are to be chosen so that their union is SS and their intersection contains exactly two elements. In how many ways can this be done, assuming that the order in which the subsets are chosen does not matter?

Log in to save your progress.
Show solution without answering

Key insight

Each letter is in both subsets, only the first, or only the second. Choose the 2 shared letters, split the other 3, then halve.

Solution

Call the two subsets XX and YY.

1. Where can each letter go? Together XX and YY must contain all of a,b,c,d,ea, b, c, d, e, so no letter is left out. Each letter is in exactly one of three places: in both, in XX only, or in YY only.
2. The shared letters. Exactly two letters are in both subsets. The number of ways to choose 22 letters from 55 is
5×42=10.\frac{5 \times 4}{2} = 10.
3. The other three letters. Each of them goes to XX only or to YY only, so there are 2×2×2=82 \times 2 \times 2 = 8 choices.
4. So far that is 10×8=8010 \times 8 = 80 ways, but this treats "first subset" and "second subset" as different.
5. Order does not matter. For example, X={a,b,c}X = \{a, b, c\}, Y={a,b,d,e}Y = \{a, b, d, e\} and X={a,b,d,e}X = \{a, b, d, e\}, Y={a,b,c}Y = \{a, b, c\} are the same choice, and we counted it twice. Every choice is counted exactly twice, because XX and YY are never equal (the three unshared letters are in only one of them). So divide by 22:
802=40.\frac{80}{2} = 40.

The answer is (B) 40\boxed{\textbf{(B)}\ 40}.

Why this works

Choosing two subsets is the same as deciding, for each letter, which part of a two-circle Venn diagram it goes in. That turns a set question into a "multiply the choices" question. Whenever order does not matter, count with order first and then divide, but first check that no choice is counted only once.

Alternative approach

Avoid the division. After picking the 22 shared letters (1010 ways), you only need to split the other 33 letters into two groups, one for each subset. There are 88 ways to pick which letters join XX, but picking {c}\{c\} for XX and picking {d,e}\{d, e\} for XX give the same pair of subsets. So there are only 8÷2=48 \div 2 = 4 different splits, for a total of 10×4=4010 \times 4 = 40.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

Call the subsets XX and YY. Because X∪Y=SX \cup Y = S, every element of SS lies in at least one of them, so each element is in exactly one of three regions: XX only, YY only, or both.

First count ordered pairs (X,Y)(X, Y). Exactly two elements are in both: (52)=10\binom{5}{2} = 10 ways to pick them. Each of the remaining three elements is in XX only or in YY only: 23=82^3 = 8 ways. That gives 10⋅8=8010 \cdot 8 = 80 ordered pairs.

Since order does not matter, each unordered pair {X,Y}\{X, Y\} has been counted twice, once as (X,Y)(X, Y) and once as (Y,X)(Y, X), provided X≠YX \ne Y. And X≠YX \ne Y always holds here: the three non-shared elements belong to exactly one of the two subsets, so the subsets differ. Therefore the number of unordered pairs is
802=40.\frac{80}{2} = 40.

The answer is (B) 40\boxed{\textbf{(B)}\ 40}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.