SpectrumEdu

Mathematics · Grade 5 · Lesson 14

How to count every possibility

Why count possibilities

When choosing breakfast, we may want to know every meal we could assemble. When organising an event, we may need to assign different positions to participants. Sometimes we need every pair of objects or every permitted tag. These questions count possible outcomes, rather than prices or weights.

The main challenge is avoiding both omissions and duplicates. First agree on the rules, then choose a clear order. These are combinatorial problems. We begin with small sets whose complete contents can be inspected.

What counts as one possibility

In our menu, one breakfast consists of exactly one dish and one drink. Toast with tea is one complete possibility. Toast alone is not yet complete. Two dishes with tea also fail the rule: the composition of the breakfast has already been specified.

“Every possibility” only makes sense with stated conditions. This page counts combinations from the displayed menu, not every breakfast in the world. Portion size, plate decoration and position on the table do not create new outcomes because those features are outside the rules.

Clarify the rules first

Before counting, ask what a complete result contains, which elements are available, whether repetition is allowed and whether order matters. Different answers can change the count even when the starting objects are the same.

For the first menu, the dishes are toast, porridge and one serving of syrniki, or curd cakes. The drinks are tea and cocoa. Either drink is available with every dish. Each listed dish or drink is one option. The number of cakes on the illustrative plate does not create extra menu items.

Two stages of one choice

Choose a dish first and a drink second. Together, these two stages produce one breakfast. We could choose the drink first and then the dish instead. The complete set of allowed breakfasts would be unchanged.

Do not confuse the order of your actions with the features of the result. If both procedures produce toast and tea, they produce the same breakfast. By contrast, first and second positions are themselves part of an assignment. We examine that distinction separately.

Record outcomes one at a time

Choose a dish and drink, then add the breakfast to the list. A useful entry names both parts, so we can later tell the combinations apart. “Toast + tea” is sufficient.

Random selection can eventually produce a complete list, but it makes omissions harder to spot. Trying choices freely is a useful observation; a reliable enumeration needs an order. Merely pressing the add button does not prove that a list is complete.

Finish one group before the next

Keep toast fixed and consider both drinks with it: tea, then cocoa. Move on to porridge and consider both drinks again. Finally do the same for syrniki. This produces three groups of two breakfasts.

Another order is possible: all dishes with tea, followed by all dishes with cocoa. What matters is completing each group. This lets us explain why no available option at the second stage has been omitted.

Why the list is complete

Every allowed breakfast contains one of the three dishes, so it belongs to the toast, porridge or syrniki group. Within each group we considered both available drinks. Under our stated rules there are no other possibilities.

This explanation is stronger than simply saying “I tried everything.” It shows where any allowed outcome belongs. With a small menu, we can also compare the list with a table: each cell should have exactly one matching entry.

Recording the same outcome again adds nothing

If porridge with tea is already on the list, recording it again does not increase the number of different breakfasts. It is a duplicate even if other dishes were selected between the two attempts.

The page refuses to add the duplicate and explains why. This illustrates a useful checking rule: compare the content of the entry, not when it appeared. A correct list must contain every allowed outcome and contain each one only once.

A table of every combination

Put dishes in rows and drinks in columns. Their intersection represents one breakfast. For example, the porridge row and tea column represent porridge with tea.

Every cell identifies both parts of the outcome. Each pair has exactly one location, so the table helps prevent both omissions and duplicates. A table is especially useful for choices made from two small sets.

What a selected cell tells us

The highlighted cell matches the dish and drink chosen above. Changing one feature changes either the row or the column. Keeping both features unchanged returns us to the same cell.

We count cells representing permitted complete combinations, not row headings, grid lines or illustrated plates. Restrictions can make some cells unavailable. A cell must not be counted merely because there is room for it in the drawing.

A tree of possibilities

When a choice is naturally made in stages, use a tree of possibilities. Branches from the start represent the first choice. Branches from each resulting node represent the next stage. “Tree” names a diagram; it does not require a picture of a real plant.

Our tree chooses a dish and then a drink. All branches are visible, with the selected path highlighted. Following a path from the start to an endpoint identifies one complete breakfast. Different complete results can share their first step.

One complete path represents one outcome

The branch from the start to toast is only part of a choice. A breakfast requires continuing to tea or cocoa. This tree therefore counts complete paths, not every line or every node added together.

Each path can be written as a combination. Conversely, each combination in our menu has one corresponding path. This check can reveal an extra branch, a missing drink or two different paths that mistakenly represent the same result.

The table and tree describe the same menu

A table and tree can look very different while describing the same possibilities. Compare the syrniki-and-cocoa cell with the path through syrniki to cocoa. Both represent one breakfast.

Matching the number of cells and paths is useful, but equal counts alone are insufficient. The combinations themselves must match. Two lists can contain the same number of entries while having different omissions and duplicates.

When multiplication helps

If each of the three dishes offers both drinks, there are three groups of two outcomes. Instead of 2 + 2 + 2, write 3 × 2. The first factor counts dish groups; the second counts the continuations in each group.

This shortcut works because every first choice has the same number of continuations. In a longer sequence, check that condition at every stage. Do not simply multiply every number in a problem: explain what each factor counts.

What changes when an option is added

Adding a first-stage option adds a whole new group of continuations. Adding a second-stage option can add one new combination for each first-stage option, provided every pairing is allowed.

The page lets you change the number of options at each stage and inspect the actual cells. Labels A1, A2 and B1, B2 simply distinguish the available items. A cell identifies the chosen items from the two stages; its notation is not a fraction.

When a stage has no options

A complete outcome must pass through every required stage. If one stage is impossible, there are no complete combinations. We cannot choose both a dish and drink when no drinks are available under the rules.

A table with zero rows or zero columns contains no complete-combination cells. This gives a visual explanation of multiplication by zero. Counting some existing partial choices does not turn them into complete outcomes.

Restrictions change the possibilities

Now consider a different menu rule: the special porridge meal offers tea only, while toast and syrniki offer either drink. This is a rule of our fictional menu, not a claim about nutrition.

Toast has two continuations, porridge one and syrniki two. The unavailable porridge-and-cocoa cell is crossed out and does not count. The ordinary calculation 3 × 2 would overcount here because it would include a combination that is not offered.

Add groups that do not overlap

Groups for different dishes do not overlap: one breakfast contains just one dish. We can therefore add the numbers of allowed meals in those groups. The special menu gives 2 + 1 + 2.

Before adding groups in general, check whether they include every outcome and whether they overlap. If an outcome belongs to two groups, simply adding their sizes counts it twice. A table can make that mistake visible.

When order matters

Two different objects can form a set without having separate roles. Reversing their names need not create a new outcome. If each object is assigned to a specified position, however, the outcome includes both the objects and their positions.

Token A first and token B second is a different assignment from B first and A second. Ask a simple checking question: under the problem's rules, does the reversal leave the result unchanged, or does it alter a feature that matters?

Three distinct tokens in three positions

Suppose we have distinct tokens A, B and C and three positions. Use each token once and fill every position. Any of the three tokens can go first. Two unused tokens remain for the second position, and the final unused token must go third.

The complete sequences are ABC, ACB, BAC, BCA, CAB and CBA. Each letter belongs to a specified position. The numbers of continuations are 3, then 2, then 1. The available letters depend on earlier choices, but the number of continuations at the same stage stays equal.

Is repetition allowed

“Without repetition” means an element already selected cannot be used again. This was the rule for the three distinct tokens assigned to positions. If repetition is allowed, the same symbol or colour may appear in more than one position.

Do not infer this rule from a picture's appearance. Read it in the conditions or state it explicitly. The tags on this page have a separate repetition switch. Changing the rule changes the allowed list, so an earlier selection may need to be replaced with a permitted one.

A tag with two characters

For our learning tags, choose symbols 0, 1 and 2. A tag contains exactly two characters, and their order matters. With repetition allowed, the strings are 00, 01, 02, 10, 11, 12, 20, 21 and 22: nine different tags.

A leading zero is allowed because we are counting two-character labels, not two-digit numbers. Tags 01 and 10 are different. The buttons browse this permitted learning list; they do not represent guessing a real password or someone else's code.

A tag and a two-digit number have different rules

An ordinary two-digit number cannot start with zero. Switching from tags to numbers therefore excludes 00, 01 and 02. With repetition still allowed, the permitted numbers are 10, 11, 12, 20, 21 and 22.

Forbidding repetition also removes 11 and 22. Tags without repetition still allow 01 and 02, however. Different answers arise from different conditions, rather than necessarily from counting errors. State what is being counted before enumerating it.

When two orders represent the same pair

Choose two different pavilions from A, B, C and D. They have no first or second roles: we need only the pair. Consequently, AB and BA represent the same pair. A pavilion paired with itself is excluded.

Writing each pair's letters alphabetically provides a consistent convention that helps us spot duplicates. One line connects the two selected pavilions. Reversing the written letters does not create a second line. A crossing without a marked point does not add another pavilion.

Pairs of rays and angles

Four distinct rays OA, OB, OC and OD start at O. Each pair of different rays forms one of the angles under consideration. AOB and BOA name the same angle between the same sides, so it must not be counted twice.

Pairs AB, AC, AD, BC, BD and CD correspond to angles AOB, AOC, AOD, BOC, BOD and COD. All the rays in this drawing lie within one angle smaller than a straight angle. We count those angles between the displayed rays. They share vertex O; no extra rays are implied.

Example 1. How many breakfasts are on the menu

There are three dishes: toast, porridge and one serving of syrniki. The drinks are tea and cocoa. A breakfast contains one dish and one drink, and every drink is allowed with every dish. Find the number of different breakfasts.

Toast gives two meals, porridge two and syrniki two. Add the groups: 2 + 2 + 2 = 6. Equivalently, write 3 × 2 = 6. The table has three rows of two cells, while the tree has six complete paths. All three methods describe the same six combinations.

Example 2. How many pairs of pavilions

There are four different pavilions A, B, C and D. Choose two different pavilions with no separate roles. Starting with A, record AB, AC and AD. Starting with B, add only BC and BD: BA is already counted as AB. Starting with C, only CD remains.

The pairs are AB, AC, AD, BC, BD and CD, giving 3 + 2 + 1 = 6. Each new group avoids the previous groups. Every pair is covered because its alphabetically earlier letter is A, B or C. These six pairs correspond to the six diagram connections and the six angles between four rays.

Checking and teacher notes

Before accepting a total, ask the learner to describe one complete outcome and explain what makes two outcomes different. Then check completeness, uniqueness and compliance with the restrictions. Discussing one extra or missing entry is often more useful than immediately assigning many new problems.

The table, tree and list must agree in content as well as count. Pay particular attention to roles versus unordered pairs, and tags versus ordinary numbers. A product rule cannot replace checking conditions.

Return to the visual lesson