AMC 10 Step by Step

2012 AMC 10B Problem 24

P21-25~6 minPrint

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?

Log in to save your progress.
Show solution without answering

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 (AA), Beth (BB) and Jo (JJ), a song can be liked by:
- nobody;
- one girl: AA, BB or JJ;
- two girls: ABAB, AJAJ or BJBJ;
- all three: ABJABJ, which is not allowed.
That leaves 77 labels.
2. The second rule. "Some song is liked by Amy and Beth but not Jo" means the label ABAB is used on at least one song. The same goes for AJAJ and BJBJ. 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.

  1. Choose which song is the "other" one: 44 ways.
  2. Give it a label that is not a two-girl label: nobody, AA, BB or JJ, so 44 ways.
  3. Put ABAB, AJAJ, BJBJ on the remaining three songs in some order: 3×2×1=63 \times 2 \times 1 = 6 ways.
  4. Case 1 total: 4×4×6=964 \times 4 \times 6 = 96.

Case 2: one two-girl label used twice.

  1. Choose which label is doubled: 33 ways.
  2. Choose the two songs that get it: from 44 songs that is 66 ways (12,13,14,23,24,3412, 13, 14, 23, 24, 34).
  3. Put the other two labels on the last two songs: 22 ways.
  4. Case 2 total: 3×6×2=363 \times 6 \times 2 = 36.

Adding the cases: 96+36=13296 + 36 = 132.

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

Why this works

Labeling each song by who likes it turns a wordy situation into "put one of 77 labels on each of 44 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 74=24017^4 = 2401 ways. Ways that never use ABAB: 64=12966^4 = 1296, and the same for AJAJ and BJBJ. Taking away 3×12963 \times 1296 removes the ways missing two labels twice, so add those back: 3×54=18753 \times 5^4 = 1875. Ways missing all three labels were removed three times and added back three times, so take them away once more: 44=2564^4 = 256.
2401−3888+1875−256=132.2401 - 3888 + 1875 - 256 = 132.

Concise solution

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

Describe each song by the set of girls who like it. The set {A,B,J}\{A, B, J\} is forbidden, leaving 77 possible labels: the empty set, three singletons, and the three pairs ABAB, AJAJ, BJBJ. 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 (44 ways), assign the three pair-labels to the other three songs (3!=63! = 6 ways), and give the extra song one of the 44 non-pair labels (empty or a singleton): 4⋅6⋅4=964 \cdot 6 \cdot 4 = 96.

Case 2: one pair-label used twice, the other two once. Choose the repeated label (33 ways), choose which two songs carry it ((42)=6\binom42 = 6), and assign the other two labels to the remaining two songs (22 ways): 3⋅6⋅2=363 \cdot 6 \cdot 2 = 36.

Total: 96+36=13296 + 36 = 132.

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

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.