The fundamental counting principle can be used for cases with more than two events. For example, if there are 4 events E1, E2, E3, and E4 with respective O1, O2, O3, and O4 possible outcomes, then the total number of possibilities of all four events taken together would be calculated as O1 × O2 × O3 × O4. Let's look at an example problem which calculates the possible outcomes of three events taken together.
You are about to order a pizza. You can choose between 3 different types of crusts, 8 different toppings, and 3 different types of cheeses. How many kinds of pizzas can you order?
Solution:
As the selection of crusts, toppings, and cheese do not affect one another, we know that these three selection events are independent.
Event 1: A crust type is selected.
- 3 outcomes: This selection could result in any of the three choices. ( )
Event 2: A topping is selected.
- 8 outcomes: This selection could result in any of the 8 choices of toppings. ( )
Event 3: A cheese is selected.
- 3 outcomes: This selection could result in any of the 3 choices of cheese. ( )
Hence, by the fundamental counting principle, the total amount of pizzas which can be made with the above choices are: .
The fundamental counting principle can also be demonstrated using a tree diagram, which helps us to consider the possible outcomes of events from a visual perspective. Let's revisit our first example problem and create a tree diagram to analyze it visually. Suppose H represents hamburger, C is for chicken, and F is for fish:
For each of these three choices of meat, we have two subsequent "branches" of the tree diagram which show the possible outcomes of the next selection event, with the options of a plain bun (P) and a sesame seed bun (S). The lowermost nodes of the tree (also known as leaves of the tree) give each possible outcome of the experiment as a whole, of which there are 6: HP, HS, CP, CS, FP, and FS.