2.1 The Fundamental Counting Principle

 

Learning Objectives

After completing this section, you should be able to…

  1. Apply the Fundamental Counting Principle to solve problems.
  2. Apply the Fundamental Counting Principle involving restrictions to solve problems.

One of the first bits of mathematical knowledge children learn is how to count objects by pointing to them in turn and saying: “one, two, three, …” That’s a useful skill, but when the number of things that we need to count grows large, that method becomes onerous (or, for very large numbers, impossible for humans to accomplish in a typical human lifespan). So, mathematicians have developed shortcuts for counting big numbers. These techniques fall under the mathematical discipline of combinatorics, which is devoted to counting.

Multiplication as a Combinational Shortcut

One of the first combinatorial shortcuts to counting students who learn in school has to do with the areas of rectangles. If we have a set of objects to be counted that can be physically arranged into a rectangular shape, then we can use multiplication to do the counting for us. Consider this set of objects in Figure 7.3.

 

A group of beach balls arranged in 1 long row.
Figure 7.3

Certainly we can count them by pointing and running through the numbers, but it’s more efficient to group them (Figure 7.4).

A group of beach balls arranged in 4 rows of 6 balls.

If we group the balls by 4s, we see that we have 6 groups (or, we can see this arrangement as 4 groups of 6 balls). Since multiplication is repeated addition (i.e., 6 \times 4 = 4+4+4+4+4+4), we can use this grouping to quickly see that there are 24 balls.

Let’s generalize this idea a little bit. Let’s say that we’re visiting a bakery that offers customized cupcakes. For the cake, we have three choices: vanilla, chocolate, and strawberry. Each cupcake can be topped with one of four types of frosting: vanilla, chocolate, lemon, and strawberry. How many different cupcake combinations are possible? We can think of laying out all the possibilities in a grid, with cake choices defining the rows and frosting choices defining the columns (Figure 7.5).

A rectangular grid with 3 rows and 4 columns. The row headers representing the cakes show vanilla, chocolate, and strawberry. The column headers representing the frostings show vanilla, chocolate, lemon, and strawberry. Data from the grid are as follows. Row 1: vanilla cake with vanilla frosting, vanilla cake with chocolate frosting, vanilla cake with lemon frosting, and vanilla cake with strawberry frosting. Row 2: chocolate cake with vanilla frosting, chocolate cake with chocolate frosting, chocolate cake with lemon frosting, and chocolate cake with strawberry frosting. Row 3: strawberry cake with vanilla frosting, strawberry cake with chocolate frosting, strawberry cake with lemon frosting, and strawberry cake with strawberry frosting.
Figure 7.5

Since there are 3 rows (cakes) and 4 columns (frostings), we have 3 \times 4 = 12 possible combinations. This is the reasoning behind the Fundamental Counting Principle, which is also known as the Multiplication Rule for Counting.

 

This principle says that: if there are n ways to accomplish one task and m ways to accomplish a second task, then there are n \times m ways to accomplish both tasks.

 

We can tack on additional tasks by multiplying the number of ways to accomplish those tasks to our previous product.

Example 1

Every card in a standard deck of cards has two identifying characteristics: a suit (clubs, diamonds, hearts, or spades; these are indicated by these symbols, respectively: \clubsuit, \diamondsuit, \heartsuit, \spadesuit) and a rank (ace, 2, 3, 4, 5, 6, 7, 8, 9, 10, jack, queen, and king; the letters A, J, Q, and K are used to represent the words). Each possible pair of suit and rank appears exactly once in the deck. How many cards are in the standard deck?

Show / Hide Solution

Since there are 4 suits and 13 ranks, the number of cards must be 4 \times 13 = 52 (Figure 7.6).

A deck of playing cards sorted by suit into 4 groups. Each group is arranged from largest to smallest value.
Figure 7.6 Standard Deck of Cards, Sorted by Rank and Suit (credit: “Playing Cards, USS Arkansas” by Naval History & Heritage Command/Flickr, CC BY 2.0)

 

Try it 1

Joe’s Pizza Shack offers pizzas with 4 different types of crust and a choice of 15 toppings. How many different one-topping pizzas can be made at Joe’s?

Show / Hide Solution

4 \times 15 = 60

Example 2

The University Combinatorics Club has 31 members: 8 seniors, 7 juniors, 5 sophomores, and 11 first-years. How many possible 4-person committees can be formed by selecting 1 member from each class?

Show / Hide Solution

Since we have 8 choices for the senior, 7 choices for the junior, 5 for the sophomore, and 11 for the first-year, there are 8 \times 7 \times 5 \times 11 = 3,080 different ways to fill out the committee.

 

Try it 2

The menu for Joe’s Pizza Shack offers pizzas with 4 different types of crust and a choice of 15 toppings. Suppose that Joe’s also offers a choice of 3 sauces and 2 cheese blends. How many different one-topping pizzas can be made at Joe’s now?

Show / Hide Solution

4 \times 15 \times 3 \times 2 = 360

Example 3

The standard license plates for vehicles in a certain state consist of 6 characters: 3 letters followed by 3 digits. There are 26 letters in the alphabet and 10 digits (0 through 9) to choose from. How many license plates can be made using this format?

Show / Hide Solution

Since there are 26 different letters and 10 different digits, the total number of possible license plates is 26 \times 26 \times 26 \times 10 \times 10 \times 10 = 17,576,000.

 

Try it 3

At a certain college, ID cards are issued to all students, faculty, and staff. These cards have unique ID codes for each person: a letter to indicate the person’s status (S for students, F for faculty, and E for staff), followed by 4 digits and finally 3 letters (these letters can be anything). How many different ID codes can be created using this scheme?

Show / Hide Solution

3 \times 10 \times 10 \times 10 \times 10 \times 26 \times 26 \times 26 = 527,280,000

 

The Fundamental Counting Principle Involving Restrictions

When solving problems, it is important to deal first with restrictions.

Example 4

Manu was asked to find out how many odd four-digit numbers there are.

Show / Hide Solution

9 \times 10 \times 10 \times 5 = 4,500

Try it 4

How many odd four-digit numbers have no repeating digits?

Show / Hide Solution

8 \times 8 \times 7 \times 5 = 2,240

Example 5

How many different arrangements are possible of the word SALMON, if:

  1. there are no restrictions
  2. each arrangement must begin with M
  3. the arrangement must start with a vowel
Show / Hide Solution
  1. 6 \times 5 \times 4 \times 3 \times 2 \times 1 = 720
  2. 1 \times 5 \times 4 \times 3 \times 2 \times 1 = 120
  3. 2 \times 5 \times 4 \times 3 \times 2 \times 1 = 240

Try it 5

How many different four-letter arrangements are possible of the word NUMBERS, if

  1. any letter can be in any position
  2. the first letter must be R
  3. the first and last letters must be vowels
Show / Hide Solution
  1. 7 \times 6 \times 5 \times 4 = 840
  2. 1 \times 6 \times 5 \times 4 = 120
  3. 2 \times 5 \times 4 \times 1 = 40

 

2.1 Exercise Set

  1. A website that lets you build custom belts has 18 different buckles and 30 different straps. How many different belts can be made using those materials?
  2. A chain of chicken restaurants offers a combo that includes your choice of 3 or 5 chicken strips, along with your choice of side dish. If there are 7 side dishes, how many different ways are there to build this combo meal?
  3. When you flip a coin, there are 2 possible outcomes: heads and tails. Let’s say you flip a coin 10 times, and after each you write down the result of the flip (H for heads, T for tails). How many different results (strings of 10 characters, where each is either an H or a T) are possible?
  4. A T-shirt company allows shoppers to customize their shirts in several ways. There are 5 sizes, 8 shirt colors, 4 designs, and 5 design colors. How many different shirts can be made?
  5. Josephine is trying to build her class schedule for next semester. Because of her work schedule, she has only 4 class periods that can work for her, and she must take 4 classes. If there are 15 classes that she could take during the first period, 18 during the second, 12 during the third, and 8 during the fourth, how many different schedules could Josephine build?
  6. An ice-cream parlor sells 26 different flavors of ice cream. A basic sundae has one scoop of any flavor of ice cream, your choice of one of 3 sauces, and any one of 8 different toppings.How many different basic sundaes are possible?
  7. A company that builds custom computers offers 4 hard drive sizes, 4 memory sizes, 3 graphics cards, and 3 display options. How many computer configurations do they offer, if customers choose one of each customization?
  8. A video game allows users to customize their avatars. There are 12 hair styles that users may choose from, as well as 5 hair colors, 8 skin tones, 24 shirts, 12 pants, and 8 shoes. How many different avatars are possible?
  9. A small company has 3 divisions: Sales, Research and Development, and Manufacturing. One person from each division will be chosen to create an advisory board for the management group. If there are 8 people in Sales, 15 in Research and Development, and 48 in Manufacturing, how many different compositions of the advisory board are possible?
  10. A multiple-choice quiz has 5 questions, each of which has 4 possible answers. How many different ways are there to respond to this quiz?
  11. The teacher decides to make the quiz from above a little harder by offering 5 responses on each of the 5 questions. How many ways are there to respond to this quiz?
  12. In the United States, radio and television broadcast stations are assigned unique identifiers known as call signs. Call signs consist of 4 letters. The first is either K or W (generally speaking, stations with a K call sign are west of the Mississippi River and stations with a W call sign are east of the river, though there are several exceptions to this rule); the remaining 3 letters can be anything. How many possible call signs are there under this system?
  13. Little sister has asked big brother to play a new game she’s invented. It uses a modified deck of cards with 3 suits and only the numbered cards (those with rank 2 through 10). How many cards are in her deck?
  14. The board game Mastermind has 2 players. One of them is designated the codemaker who creates a code that consists of a series of 4 colors (indicated in the game with 4 colored pegs), which may contain repeats. The other player, who is the codebreaker, tries to guess the code. If there are 6 colors that the codemaker can use to make the code, how many possible codes can be made?
  15. How many arrangements are possible of the word THURSDAY, if
    1. any letter can be in any position
    2. the first letter must be D
    3. the R is first and H is last
  16. How many arrangements are possible of the word FORMULA, if
    1. any letter can be in any position
    2. the first letter must be R
    3. the vowels must be together
  17. How many different four-letter arrangements are possible of the word ANOTHER, if
    1. any letter can be in any position
    2. the first letter must be R
    3. the first and last letters must be vowel

2.1 Answers

  1. 18×30=540
  2. 2×7=14
  3. 2x2x2x2x2x2x2x2x2x2=1024
  4. 5x8x4x5=800
  5. 15x18x12x8=25920
  6. 26x3x8=624
  7. 4x4x3x3=144
  8. 12x5x8x24x12x8=1105920
  9. 8x15x48=5760
  10. 4x4x4x4x4=1024
  11. 5x5x5x5x5=3125
  12. 2x26x26=35152
  13. 3×9=27
  14. 6x6x6x6=1296
  15. (1) 8!=40,320,  (2) 7!=5,040, (3) 6!=720
  16. (1) 7!=5040, (2) 6!=720, (3)
  17. (1) 7654=840, (2) 654=120, (3) 3×2×5×4=120

 

Attribution

Text Attribution

This text was adapted from Chapter 7. of Contemporary Mathematics, textbooks originally published by OpenStax.

License

Foundations of Mathematics 12 Copyright © by imazur. All Rights Reserved.

Share This Book