You are about to erase your work on this activity. Are you sure you want to do this?
Updated Version Available
There is an updated version of this activity. If you update to the most recent version of this activity, then your current progress on this activity will be erased. Regardless, your record of completion will remain. How would you like to proceed?
Mathematical Expression Editor
In the previous section, we really only talked about one counting problem (and let’s call it the diary problem), so
let’s start this section by looking at a few more types of counting problems.
The dice-rolling problem.
Raj has a die with four equal sides. This means that when he rolls the die, we are equally likely to see the number , ,
, or as the result of the roll. Raj rolls this die three times. How many different three-dice rolls are
possible?
Let’s start by thinking about what the question is asking. What does a three-dice roll look like? Well, Raj could roll
a on the first roll, then a on the second roll, and then a on the third roll, so the three-dice roll would look like .
Write down a few more three-dice rolls.
A second option:
A third option:
Okay. We could continue listing options, but it seems like that might take a while. Let’s use a tree diagram to solve
this one.
We start with the first roll, and there are options for the first roll, so we will have branches to start with. We’ll
draw this tree diagram vertically instead of horizontally, but you can draw it whatever way you like better.
Next, off of each of these branches, we have options, so let’s draw the next level.
Finally, we have the third roll, so off of each of these branches we need more branches.
We’re convinced that we wrote down all of the options, because we proceeded in an orderly fashion: we started with
every possible option for the first roll, then recorded every possible option for the second roll off of each option for
the first roll, and repeated this again for the third roll.
To find the total number of three-dice rolls, we can count all of the options at the bottom of the tree
diagram.
So, the total number of three-dice rolls is .
Notice that we could have gotten the same answer by calculating using the first branches to designate the big
groups, the second branches to designate the subgroups, and the three-dice rolls in each subgroup as our objects per
subgroup.
Let’s check whether or not the previous explanation made sense: if Raj has a die with equal sides and rolls it four
times, how many different four-dice rolls are possible?
four-dice rolls.
Here’s our second of three examples.
The game setup problem.
Four members of a family would like to play a game made for three players. The family needs to decide which people
will play as well as the order in which the players will play. To decide all of this fairly, the names of the people
(we’ll call them , , , and ) are placed in a bag on slips of paper, and then the youngest person draws
out three slips, one at a time. The first slip pulled out will go first, the second slip pulled out will go
second, and the third slip pulled out will go fourth. How many orders of three names are possible in this
scenario?
Again, let’s start by looking at some possible orders. We could have chosen first, then , then for an order of . We
could choose , then , then for an order of . Or, we could choose , then , then for an order of . Notice that and
are different options, here: I’m guessing that there’s some advantage to going first (since that’s true
for most games), so person has a different experience playing the game if they go first rather than
third.
Let’s solve this one by making a table. Let’s place all of the options where goes first in the first column, and make our list by
considering then , and then then , and then then . Then, we’ll follow the same pattern for the column, the column, and
the column.
ABC
BAC
DAB
ABD
CAD
DAC
ACB
BCA
CBA
ACD
BCD
CBD
ADB
CDA
DCA
BDC
DCB
We are confident that we got all of the options because of the organized way in which we made our list: all of the
options, then all of the options, and so on. We didn’t leave out any starting with , and then we repeated this
process for , , and .
So, the total number of orders for playing the game is .
Notice that we could have gotten the same answer by calculating . It might help to think about a tree diagram to
see the groups and objects per group, here: there are four possible first branches for the initial groups, then off of
each branch would be three branches for the subgroups, and then finally two game-playing orders inside each
subgroup.
Let’s check whether or not the previous explanation made sense: if a different family has members, and of them
are going to play the game, how many different orders of four names are possible?
game-playing scenarios are possible.
Here is our third new example.
The party prizes problem.
Harold is planning a party where people will be invited. There will be three games at the party, and so Harold will
hand out a prize to each game winner. The people attending the party won’t be eligible to earn prizes more than
once, and the three prizes are all the same. How many ways are there to give out the three prizes at the
party?
As is hopefully becoming a habit, let’s look at some examples of ways to give out the prizes before we start. Let’s
name the people with the letters , , , and . So, we could give a prize to person , person , and person and we could
list this outcome as . Or we could give a prize to person , person , and person and we could list this outcome as
.
In this case, is there a difference between and ? Perhaps there are different bragging rights for the different games
at the party, but the question is really just about who gets prizes. And in the situation , the three people listed get
prizes, and person doesn’t. In the situation , it’s still person , person , and person who get prizes (and still person
who doesn’t). So in light of what we are trying to count, and really represent the same distribution of prizes. We
don’t want to count both of them!
To solve this problem, let’s just make an ordered list. As usual, we’ll start by listing the possibilities for , then for ,
then for and finally for . For , we have the following. \[ ABC, ABD, ACD \] This is really all of our choices for if gets a
prize! We are sure we didn’t miss any because we started out with then (so and are options) and
then we went to and . We didn’t want to write down because this was already written down as , so
the only one we were left with was . Writing the letters in alphabetical order means that we won’t
accidentally write down the same option twice. Then with is already taken care of, because we’ve already
written down and . Next, what if gets a prize (and doesn’t, since we’ve already written down all
of the options with )? We have the following. \[ BCD \] That’s it! Since we can’t write down any ’s, this is
the only thing to write down for . If we tried to start with and write only in alphabetical order, we
wouldn’t have enough letters to make three prize winners, so we are convinced we got all of the possible
options.
So, the total number of ways to give out the prizes is . Notice that we could also find this answer by
calculating, but we’ll need more than just a single operation to find the answer. Here’s one way to do
it.
We can start by writing down all of the possible options for , , , and , not paying attention to whether they are in
alphabetical order or not. (So, some of these will not be solutions, and we need to get rid of the repeats in our list.)
We did this in the game setup problem, so you can look back at our list of entries, which we also calculated by
taking .
Now, we need to get rid of the repeats. When we say “get rid of”, that sounds a lot like subtraction, but it’s going to
actually be easier in this case to group up the repeats. How many repeats of are there in the table above? If you
count them carefully, you will see ways to write : , , , , , and . What about the repeats of ? We still find ways of
writing these three people. In fact, with any group of three people, we can imagine writing all three
of them down by using a tree diagram: there are branches for the first person, there are branches
off of each of those for the second person (since the first can’t be chosen again), and then there’s
branch off of each of those for the final person chosen. This is a total of choices for each group of three
people.
So: when we look at the total of entries (including the repeats), we are really asking: how many groups of can we
make from these options? And when we ask “how many groups?” we use additionsubtractionmultiplicationdivision to find our answer.
\[ 24 \textrm{ total entries } \div 6 \textrm{ choices per group } = 4 \textrm{ groups of people } \] The groups are a little complicated to describe, here, so you could circle one of them on the grid of entries, or we
could perhaps describe each group as a unique collection of people. In other words, the group would have all the
entries for person , person , and person . One object here is one ordering of three people, like or like .
Let’s check whether or not the previous explanation made sense: Harold throws a different party and eight people
attend. The people can still win only one game, but this time there are two identical prizes. How many ways are
there to give out the two prizes amongst people?
Each group of people can be written in two different ways in this case. For example, and are the same group of
people. Think about how that affects the division you need to do!
There are ways to give out the prizes.
Recognizing structure
Now that we’ve solved a few more problems, we are ready for the point of this section, which is to add another
strategy to our list of strategies for solving counting problems. This new strategy we will call recognizing the
structure of a problem, and what we really mean by this is recognizing when two problems are the same except
for the numbers. If we have already solved a particular kind of problem, and then we find ourselves faced with the
same problem again, we can refer back to the previous problem and use the same strategy to solve it. Let’s see how
this works with an example.
The emojis problem.
A kindergarten teacher has five emojis on her wall that she uses to help kids describe how they are feeling each day:
A grinning face, a slightly smiling face, a neutral face, a slightly frowning face, and a crying face. There are twelve
kids in the classroom right now (more are coming later, but we won’t worry about them), and the teacher asks each
kid to pick their emoji for the day. How many combinations of emojis are possible amongst the twelve
students?
This problem is exactly like the dice-rolling problemgame setup problemparty prizes problem, but it has different numbers. In other words, these two problems have the same structure. Let’s see why that’s
the case.
In the dice-rolling problem, we had four different options for the dice, and in this problem we have five different
emojis that are possible. So, in this case, the numbers on the dice are playing the same role is the emojis. When we
rolled the dice, whichever number came up is like picking one of the emojis.
The rolls of the dice in the dice-rolling problem are like the teacherstudentsemojis in the emojis problem. Each roll comes up with one number, and each student comes up with one emoji. It’s
important to notice that each roll could come up with the same number when we roll the dice (things like were
possible), and each student could come up with the same emoji (in the rare event that everyone in the class feels the
same about their day so far).
We’ve now matched up each part of the dice-rolling problem with each part of the emojis problem, so we know that
we can solve them in the same way. We solved the dice-rolling problem by multiplying the number of
options for the die together the number of times that we rolled: options multiplied together times:
. This means we can solve the emojis problem using the same strategy. There are options for the
emojis, and we need to multiply this together once for each student, so we will multiply this together
times.
So, the total number of emojis possible is . (Notice that you should be able to write your answer using algebra or by
calculating the final value! Use the method that’s easiest for you.)
You’ve already done this a few times as we went through the beginning of the section: after each example problem,
you solved another problem that had the same structure, but different numbers. However, in the first section the
problems were more obviously the same. This section should point out to you that the problems can look very
different from the ones we’ve modeled, but still have the same structure. Also, keep in mind that these three
structures aren’t the only ones that are possible! These three are common, but please be on the lookout for
more!
Pause and think: what are the characteristics of each of the three problems we discussed at the beginning of this
section? What characteristics will you use to recognize each type if you see it in a different scenario?
Write your
thoughts here!
Recognizing the structure of a problem as something we have solved before is a very useful technique in counting
problems, but it’s also really useful in mathematics in general. As you talk with kids about mathematics, it can be
very helpful for their development to be able to point out how problems are the same and how problems are
different. I hope that practicing with these counting problems can help you see how to look for these similarities
with other problems as well!
Permutations and combinations
There are two particular problem structures that have fancy names, so we will finish up this section by talking
about these fancy names and how to recognize them. We don’t need you to use these fancy names if
you don’t want to! You can keep referring to problems by the names we give them together in class
(like the dice-rolling problem), but in case you have heard about these types of problems before, we
wanted to give you the opportunity to connect what you might already know with what we have done
here. But again, if adding extra vocabulary is just adding too much to what you are learning right
now, please feel free to save this section for after you are feeling more comfortable with structure in
general.
The structure of the game setup problem is often called a permutation problem. We could also describe the
structure of a permutation as follows.
All of the items are chosen from the same set (ie the family members all came from the same family).
We choose the items without replacement, or we can’t chose the same item twice. (In other words, no
family member could occupy two positions in the game.)
We count every arrangement of the final items, or some people say “the order matters”. (In the family
situation, this meant we counted both and as different items.)
We can use the notation to denote the solution of permutation where the original set has items in it, and the
number of items we are choosing from that set is . For instance, the game setup problem has the solution because
there are people in the family and we are choosing to play the game.
We can evaluate by multiplying so that there are factors all multiplied together and each factor decreases by . In
other words, , as we found. If we want to write this using really fancy notation, we can use a factorial.
We calculate
factorial (written ) by multiplying \[ n \cdot (n-1) \cdot (n-2) \cdot \dots \cdot 3 \cdot 2 \cdot 1. \]
Then, we could write \[ nPk = \frac{n!}{(n-k)!}. \]
The structure of the party prizes problem is often called a combination. We could also describe the structure of a
combination as follows.
All of the items are chosen from the same set (ie the people to whom we gave the prizes came from
the same set).
We choose the items without replacement, or we can’t chose the same item twice. (In other words, no
person could win two prizes.)
We count arrangements of the final items so that we don’t count rearrangements of the same items.
Some people say “the order doesn’t matter”. (In the party prizes situation, this meant we did not count
both and as different items, but instead considered them the same outcome of giving out the prizes.)
We can use the notation to denote the solution of a permutation, where the original set has items in it, and the
number of items we are choosing from that set is . For instance, the party prizes situation has the solution because
there are people attending the party and prizes that we are giving out.
We can evaluate by multiplying and then dividing that result by . Using the fancy factorial notation, this could be
written as follows. \[ nCk = \frac{n!}{(n-k)! k!} \] This formula looks complicated, but notice that it’s the same as \[ nCk = \frac{nPk}{k!} \] or, in other words,
we can calculate by dividing by the number of ways to rearrange the elements of each individual
item.
For the example of the party prizes problem, could be calculated as follows. \[ 4C3 = \frac{4!}{1!3!} =\frac{4 \times 3 \times 2 \times 1}{1 \times 3 \times 2 \times 1} = \frac{4 \times 3 \times 2}{3 \times 2 \times 1} = 4 \] The first fraction represents the fancy
notation. In the second fraction, we’ve replaced the factorial exclamation point with the meaning of that notation.
The third fraction is more like what we actually calculated in order to solve the problem, and represents what’s left
after we cancel some things from the second fraction.