Skip to main content

Chapter 15 Basic Counting Problems

Exercises Practice Problems

1. Packing a Lunch.

A healthy lunch box contains a sandwich, a piece of fruit and a drink. There are six different types of sandwiches, five kinds of fruit, and three drink flavors. How many different possible lunch boxes are there? Solution.

We are making three independent decisions. We need to multiply the number of options for each decision.

\begin{equation*} \underbrace{5}_{\mbox{fruit}} \times \underbrace{3}_{\mbox{tea}} \times \underbrace{6}_{\mbox{sandwich}} = 90 \end{equation*}

2. Buying Ice Cream.

An ice cream store has five flavors of ice cream: vanilla, chocolate, strawberry, peppermint and bubble gum. When you order a cone, your options are sugar cone, waffle cone and cake cone.

  1. What is the total number of ways to order a single-scoop ice cream cone? Solution.

    \begin{equation*} \underbrace{3}_{\mbox{cone}} \times \underbrace{5}_{\mbox{scoop}} \end{equation*}

  2. Suppose that we want to order a triple-scoop cone at this ice cream store. Stacking scoops of ice cream is important: a peppermint-vanilla-vanilla cone tastes different from a vanilla-peppermint-vanilla cone. What is the total number of ways to order a triple-scoop ice cream cone? Solution.

    \begin{equation*} \underbrace{3}_{\mbox{cone}} \times \underbrace{5}_{\mbox{first scoop}} \times \underbrace{5}_{\mbox{second scoop}} \times \underbrace{5}_{\mbox{third scoop}} = 3 \times 5^3 \end{equation*}

  3. The ice cream store also sells quarts of ice cream. When you buy quarts of ice cream, the order that you buy the quarts does not matter: they just go into your shopping bag anyway! How many ways can you buy two quarts of ice cream when ...

    1. Both quarts are the same flavor? Solution.

      There are 5 ways to do this.

    2. The quarts are different flavors? (Remember that the order of the flavors doesn't matter!) Solution.

      There are 5 ways choose the the first quart, and then 4 ways to choose the last quart. So there are \(5 \times 4 = 20\) ways. To do this.

      However, the order that we choose the flavors doesn't matter: "peppermint and strawberry" is the same as "strawberry and peppermint." So we have to divide by 2 because we just counted each option twice! So the answer is

      \begin{equation*} \frac{5 \cdot 4}{2} = 10. \end{equation*}

3. Ultimate Frisbee Tournament.

Four teams are attends Ultimate frisbee tournament.

  1. If each team plays each other team exactly once, how many games are played? Solution.

    How many ways can we choose two teams to play a game? My recipe for setting up a game will be: "choose the first team and then choose the second team." The total number of ways to do this is

    \begin{equation*} 4 \times 3. \end{equation*}

    However, we double count each game, since choosing (Team A,Team B) is the same as choosing (Team B, Team A). Therefore we must divide our answer above by 2. The final answer is

    \begin{equation*} \frac{4 \times 3}{2}. \end{equation*}

  2. These four Ultimate teams decide to play a game for fun by mixing up the teams. They put red, blue, yellow and green armbands into a bag, and each player closes her eyes and grabs an armband to determine her team.

    1. How many armbands must be grabbed to ensure that one of the teams has two players? Solution.

      This must happen on or before the fifth armband. You have three categories (red, blue, yellow and green) and five armbands. So one category must have at least 2. Note that this is the smallest number for which this is true: if we only pull out 4 armbands, then we could possibly have one of each color

    2. How many armbands must be grabbed to ensure that one of the teams has five players? Solution.

      This must happen on or before the 17th arm band. Again, you have 4 categories, so one category must have 5 or more arm bands. This is the smallest number for which this is true: if you only have 16 armbands, we could have 4 red and 4 blue and 4 yellow and 4 green.