Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

counting and probability intermediate

Problem

You have red shirts, green shirts, pairs of pants, green hats and red hats, all of which are distinct. How many outfits can you make consisting of one shirt, one pair of pants, and one hat without having the same color of shirts and hats?
Solution
Consider two cases:

Case 1: the person wears a red shirt and a green hat. There are options for shirts, options for pants, and options for hats, for a total of outfits.

Case 2: the person wears a green shirt and a red hat. There are options for shirts, options for pants, and options for hats, for a total of outfits.

Summing up the two cases, we have a total possibility of outfits.

Notice that we can tackle this without considering cases. The person has choices for shirts. After a shirt is chosen, the person has choices for pants, but only choices of hat, since the hat color cannot match the shirt color, and no matter what shirt color is chosen, there are hats of the other color to choose from. So, there are outfits.
Final answer
480