Amy, Beth, and Jo listen to four different songs and discuss which ones they like. No song is liked by all three. Furthermore, for each of the three pairs of the girls, there is at least one song liked by those girls but disliked by the third. In how many different ways is this possible?
- A)
- B)
- C)
- D)
- E)
Answer
B
Key insight
Give each song a label: the group of girls who like it. There are 7 allowed labels, and the three two-girl labels must each be used at least once.
Solution
1. Turn it into labels. For each song, write down which girls like it. With Amy (), Beth () and Jo (), a song can be liked by:
- nobody;
- one girl: , or ;
- two girls: , or ;
- all three: , which is not allowed.
That leaves labels.
2. The second rule. "Some song is liked by Amy and Beth but not Jo" means the label is used on at least one song. The same goes for and . So all three two-girl labels must appear among the four songs.
3. Three labels must fit on four songs, so there are only two ways it can go. Either each two-girl label is used once and the fourth song gets something else, or one two-girl label is used twice.
Case 1: each two-girl label once, plus one other song.
- Choose which song is the "other" one: ways.
- Give it a label that is not a two-girl label: nobody, , or , so ways.
- Put , , on the remaining three songs in some order: ways.
- Case 1 total: .
Case 2: one two-girl label used twice.
- Choose which label is doubled: ways.
- Choose the two songs that get it: from songs that is ways ().
- Put the other two labels on the last two songs: ways.
- Case 2 total: .
Adding the cases: .
The answer is .
Why this works
Labeling each song by who likes it turns a wordy situation into "put one of labels on each of songs, making sure three particular labels appear." When required items must be placed and there are a few extra spots, split into cases by how many times each required item is used. That keeps you from counting the same arrangement twice, which is what happens if you let the fourth song take a two-girl label in Case 1.
Alternative approach
Count everything, then remove the bad ones. Without the second rule there are ways. Ways that never use : , and the same for and . Taking away removes the ways missing two labels twice, so add those back: . Ways missing all three labels were removed three times and added back three times, so take them away once more: .
The trap
Placing the three two-girl labels on three songs and letting the fourth song take any of the 7 labels, which gives 168 because some menus get counted twice.
Concise solution
Describe each song by the set of girls who like it. The set is forbidden, leaving possible labels: the empty set, three singletons, and the three pairs , , . The second condition says each of the three pair-labels is used by at least one of the four songs. Since there are four songs and three required labels, split by how the pair-labels are distributed.
Case 1: each pair-label used once, plus one other song. Choose which song is the extra one ( ways), assign the three pair-labels to the other three songs ( ways), and give the extra song one of the non-pair labels (empty or a singleton): .
Case 2: one pair-label used twice, the other two once. Choose the repeated label ( ways), choose which two songs carry it (), and assign the other two labels to the remaining two songs ( ways): .
Total: .
The answer is .
Review in the AoPS books
- Introduction to Counting & Probability, Chapter 1: Counting Is Arithmetic
- Introduction to Counting & Probability, Chapter 2: Basic Counting Techniques (§2.2)
- Intermediate Counting & Probability, Chapter 4: Constructive Counting and 1-1 Correspondences (§4.4, §4.5, §4.6)
- Intermediate Counting & Probability, Chapter 3: A Piece of PIE (§3.2, §3.3)
Techniques
Map the objects to something easier to count · Split into exhaustive cases and handle each