# 4.2: Counting

- Page ID
- 27826

We encounter a wide variety of counting problems every day. There is a branch of mathematics devoted to the study of counting problems such as this one. Other applications of counting include secure passwords, horse racing outcomes, and college scheduling choices. We will examine this type of mathematics in this section.

### Tree Diagram

There are several methods to count the number of outcomes. Below is a tree diagram example where each option branches to each of the next options.

Suppose we are choosing an appetizer, an entrée, and a dessert. The options for an appetizer is soup or salad, the options for an entrée are chicken, fish, or steak, and the options for dessert are cake or pudding. These options are on a fixed-price dinner menu; create a tree diagram to count the number of total options.

**Solution**

The tree diagram shows there are 12 dinner options.

### Listing Method

The listing method just lists each possible outcome.

Suppose we are choosing an appetizer, an entrée, and a dessert. The options for an appetizer is soup or salad, the options for an entrée are chicken, fish, or steak, and the options for dessert are cake or pudding. These options are on a fixed-price dinner menu; list all the options to count the number of total options.

**Solution**

It is recommended to list all the options in a methodical manner to help make sure an option isn't missed. So list all the options where soup is the appetizer first, then go through the entrée options in order, with each dessert.

- soup, chicken, cake
- soup, chicken, pudding
- soup, fish, cake
- soup, fish, pudding
- soup, steak, cake
- soup, steak, pudding
- salad, chicken, cake
- salad, chicken, pudding
- salad, fish, cake
- salad, fish, pudding
- salad, steak, cake
- salad, steak, pudding

There are 12 options.

### The Fundamental Counting Principle

Both the previous methods can be lengthy, time-consuming, and it may be easy to miss an option resulting in an incorrect answer. A faster method may be to use the Fundamental Counting Principle.

The **Fundamental Counting Principle** says, if one event can occur in \(m\) ways and a second event can occur in \(n\) ways after the first event has occurred, then the two events can occur in \(m \times n\) ways.

Suppose we are choosing an appetizer, an entrée, and a dessert. The options for an appetizer is soup or salad, the options for an entrée are chicken, fish, or steak, and the options for dessert are cake or pudding. These options are on a fixed-price dinner menu; use the Fundamental Counting Principle to count the number of total options.

**Solution**

\[ \text{number of appetizer options}\times \text{number of entree options} \times \text{number of dessert options}\]

\[2 \times 3 \times 2=12\]

There are 12 options for dinner.

Using the Fundamental Counting Principle can save a lot of time.

Diane packed 2 skirts, 4 blouses, and a sweater for her business trip. She will need to choose a skirt and a blouse for each outfit and decide whether to wear the sweater. Use the Fundamental Counting Principle to find the total number of possible outfits.

**Solution**

To find the total number of outfits, find the product of the number of skirt options, the number of blouse options, and the number of sweater options.

\[\text{number of skirt options}\times \text{number of blouse options} \times \text{number of sweater options}\]

\[2 \times 4 \times 2=16\]

There are 16 possible outfits.

A restaurant offers a breakfast special that includes a breakfast sandwich, a side dish, and a beverage. There are 3 types of breakfast sandwiches, 4 side dish options, and 5 beverage choices. Find the total number of possible breakfast specials.

**Answer**-
There are 60 possible breakfast specials.

## Contributors and Attributions

- Jay Abramson (Arizona State University) with contributing authors. Textbook content produced by OpenStax College is licensed under a Creative Commons Attribution License 4.0 license. Download for free at https://openstax.org/details/books/precalculus.