Skip to content
Gioi Toan
Start learning
A smiling die next to a coin

Notes on Lesson 1: Addition rule and multiplication rule (Maths 10 Chan troi sang tao, Chapter VIII)

Lesson summary

option two has n2n_2 ways to do it (not overlapping with any way of option one).

for each way of doing stage one, there are m2m_2 ways to do stage two.

Use the addition rule when you face many paths but take only one.

This content is not yet available in English. It is shown below in the original Vietnamese.

  • Vận dụng được quy tắc cộng, quy tắc nhân, sơ đồ cây trong bài toán đếm

A cafe has 3 kinds of tea and 4 kinds of cake. An wants to choose one item to drink and one item to eat, how many ways are there to choose? If choosing only one item, drink or food, that is a different story. This lesson helps you master two fundamental counting rules: the addition rule for separate options, the multiplication rule for a task with several consecutive stages, and using a tree diagram to count neatly without missing any case.

Practise similar problems

Key ideas: what do you need to know?

Addition rule

Addition rule. Suppose a task can be done in one of two different options:

  • option one has n1n_1 ways to do it,
  • option two has n2n_2 ways to do it (not overlapping with any way of option one).

Then the number of ways to do the task is n1+n2n_1 + n_2 ways.

Note. We apply the addition rule when the options are separate: no way belongs to both options. If some way is counted twice, you cannot simply add.

With many options: if a task can be done in one of kk separate options, and the iith option has nin_i ways, then there are n1+n2+…+nkn_1 + n_2 + \ldots + n_k ways.

Example: A class has 18 girls and 16 boys. Choosing one student as class monitor gives 18+16=3418 + 16 = 34 ways, because choosing a girl and choosing a boy are two separate options.

In plain words: Use the addition rule when you face many paths but take only one. It is like going from home to school: the bus has 3 routes, the bicycle has 2 paths, walking has 1 path; each time you choose only one way, so in total 3+2+1=63 + 2 + 1 = 6 ways. The important condition is that the options must not overlap; if a way is counted twice, the sum will be wrong. Why add and not multiply? Because you do not do two things in a row, you only choose one thing among the things.

Phrase by phrase
option one
One way to complete the whole task; choosing this option finishes the job, nothing more to do.Example: Choosing one girl as class monitor is one option.
not overlapping with any way of option one
Two separate options, one way cannot belong to both option one and option two.Example: One student cannot be both a boy and a girl.
n1+n2n_1 + n_2 ways
Add the numbers of ways of separate options.Example: 3 kinds of tea or 4 kinds of cake: 3+4=73 + 4 = 7 ways to choose one item.

Common mistakesAdding the numbers of ways of options that are not non-intersecting, so one way is counted twice and the result is too large. For example, when counting students who are good at Maths or good at Literature, if some students are good at both subjects, you must not simply add.

Multiplication rule

Multiplication rule. Suppose a task must be completed through two consecutive stages:

  • stage one has m1m_1 ways to do it,
  • for each way of doing stage one, there are m2m_2 ways to do stage two.

Then the number of ways to do the task is m1⋅m2m_1 \cdot m_2 ways.

Note. The multiplication rule applies to count the ways of doing a task with several consecutive stages, when the number of ways of the later stage stays the same no matter which way the earlier stage chose.

With many stages: a task consists of kk consecutive stages, the iith stage has nin_i ways (unchanged no matter which way the earlier stages chose), then there are n1⋅n2⋯nkn_1 \cdot n_2 \cdots n_k ways.

Example: Choosing one drink among 3 kinds of tea and then one food among 4 kinds of cake gives 3⋅4=123 \cdot 4 = 12 ways, because each kind of tea can pair with all 4 kinds of cake.

In plain words: Use the multiplication rule when the task requires doing all the steps, each step after the previous one. It is like choosing an outfit: 3 shirts and 4 pairs of trousers, each shirt pairs with 4 pairs of trousers, giving 3⋅4=123 \cdot 4 = 12 outfits. Why multiply? Because for each way at the first step, the next step still has the full number of choices, so the numbers of ways multiply. Tell it apart from the addition rule with this question: doing one thing among many things (addition) or doing many things one after another (multiplication).

Phrase by phrase
stage one
The first step of the task; only after finishing this step do you move to the next.Example: Choosing the drink is stage one.
for each way of doing stage one
The number of ways to do stage two is the same (always m2m_2) no matter which way stage one chose.Example: Whichever tea you choose, all 4 kinds of cake are still there.
m1⋅m2m_1 \cdot m_2 ways
Multiply the numbers of ways of consecutive stages.Example: 3 kinds of tea and 4 kinds of cake: 3⋅4=123 \cdot 4 = 12 ways to choose one set.

Common mistakesTaking without putting back but still allowing the same number of choices as the first time: for example, a box has 3 balls, take two balls in turn without replacement, but calculating 3⋅3=93 \cdot 3 = 9 instead of 3⋅2=63 \cdot 2 = 6.

Tree diagram in counting problems

Note from the book: a diagram illustrating how cases are split (each branch is one option, sub-branches split further) is called a tree diagram. In counting problems, people often use a tree diagram to illustrate, which makes counting convenient and helps avoid missing cases. A tree diagram works for both the addition rule (splitting into cases) and the multiplication rule (successive stages). For successive stages:

  • From the root, draw branches for the ways to carry out the first stage.
  • From the end of each of those branches, draw further branches for the ways to carry out the second stage, and so on for the later stages.
  • Each path from the root to a treetop is one way to do the job. The number of ways equals the number of treetops.

Example: Toss a coin twice. The first toss splits into 2 branches SS, NN; from each branch, 2 more branches SS, NN split off. There are 2⋅2=42 \cdot 2 = 4 treetops: SSSS, SNSN, NSNS, NNNN.

In plain words: A tree diagram is a visual way to see the counting rules, especially the multiplication rule. Each layer of branches is one splitting step (one stage when using the multiplication rule, one criterion for splitting into cases when using the addition rule), and each path from root to treetop is one way. Why draw it? When there are three or more steps, listing in words easily misses something, while the tree just keeps growing evenly at each layer, and you can see everything at a glance. Counting treetops is also a way to check the multiplication: when every path has the same number of branches at each layer, the number of treetops equals the product of the numbers of branches of the layers; if the number of branches changes depending on the path taken, you must count each treetop directly, and cannot take the product.

Phrase by phrase
Tree diagram
A figure that splits into branches gradually, each layer corresponding to one splitting step (one stage or one criterion for splitting into cases).Example: Tossing a coin twice: the root splits into SS, NN; each branch splits again into SS, NN.
branch
A segment corresponding to one way of carrying out one stage.Example: Branch SS at the first layer means the first toss comes up tails.
treetop
The end of a path, corresponding to one complete way.Example: Treetop SNSN: first toss tails, next toss heads.

Telling when to use the addition rule and when to use the multiplication rule

The two rules are easy to mix up, so use the question to choose:

  • If the job is finished as soon as one of the options is chosen, use the addition rule. Clues in the problem: the words "or", "one of the".
  • Before adding, check that the options are disjoint: if some way belongs both to this option and to that option, you cannot simply add, because that way is counted twice.
  • If the job is only done when all the stages are carried out in order, use the multiplication rule. Clues in the problem: the words "then", "and", "next".
  • Many problems need both: split the job into disjoint cases, and within each case there are successive stages.

Example: A class has 18 girls and 16 boys. Choosing a duet of one boy and one girl: these are two successive stages, giving 18⋅16=28818 \cdot 16 = 288 ways. Choosing just one student: 18+16=3418 + 16 = 34 ways.

In plain words: Remember the picture: the addition rule is taking one road, the multiplication rule is going through several doors. If the problem asks you to choose one dish from the menu, add; if it asks you to choose a set of a drink and a dish, multiply. When the problem says "or" but each option itself has several steps, do each option with the multiplication rule and then add the results, and remember to check whether the two options overlap. Read carefully to see whether the job is done after the first step, that is the key.

Phrase by phrase
finished as soon as one of the options is chosen
Once one option is chosen the job is done, nothing more needs doing.Example: Choosing one student to be class monitor.
carry out all the stages in order
You must do one step after another before it is done.Example: Choose a shirt then choose trousers to make one outfit.
split the job into disjoint cases
Split the problem into non-overlapping groups to add the results.Example: Counting two-digit natural numbers: split by the tens place digit.

TipBefore adding, check whether the options are non-intersecting; if one way can belong to two options, remove the common part, do not add straight away.

Worked examples

Example 1

Phuong has 7 English books and 8 Literature books, and the books are all different. How many ways does Phuong have to choose one book to read?

Show the solution to example 1

Step 1: The job is to choose one book to read. There are two options: choose an English book or choose a Literature book. These two options are disjoint because one book cannot be both an English book and a Literature book.
Why: Once one book is chosen the job is done, no further step is needed, so use the addition rule.
Step 2: The option of choosing an English book has 7 ways. The option of choosing a Literature book has 8 ways.
Step 3: By the addition rule, the number of ways to choose is 7+8=157 + 8 = 15.
Result: Phuong has 15 ways to choose one book to read.

Example 2

In the restaurant business, a combo is a form of ordering from the menu that combines several dishes or drinks. If a restaurant has 5 vegetable dishes, 4 fish dishes and 3 meat dishes, how many ways are there to make a combo? Each combo has exactly 1 vegetable dish, 1 fish dish and 1 meat dish.

Show the solution to example 2

Step 1: To make a combo, we must carry out three steps in a row: choose 1 vegetable dish, choose 1 fish dish and choose 1 meat dish. These steps are independent of each other because the number of ways to choose the later dish does not depend on the dish chosen before.
Why: You must choose all three dishes to make a combo, so use the multiplication rule.
Step 2: The vegetable step has 5 ways, the fish step has 4 ways, the meat step has 3 ways.
Step 3: By the multiplication rule, the number of ways to make a combo is 5⋅4⋅3=605 \cdot 4 \cdot 3 = 60.
Result: There are 60 ways to make a combo.

Example 3

Huong has 3 pairs of trousers in different colours: grey, black, light brown and 4 shirts in different colours: pink, yellow, blue, purple. Draw a tree diagram showing the number of ways to choose:
a) 1 pair of trousers.
b) 1 shirt.
c) 1 outfit.

Show the solution to example 3

Step 1: Draw a tree diagram for each case.
a) Choose 1 pair of trousers: from the root, split into 3 branches corresponding to the 3 trouser colours: grey, black, light brown. The number of ways is 3.
b) Choose 1 shirt: from the root, split into 4 branches corresponding to the 4 shirt colours: pink, yellow, blue, purple. The number of ways is 4.
c) Choose 1 outfit: this is a task with two steps in a row: choose trousers then choose a shirt. From the root, split into 3 branches for trousers; from each trouser branch, split again into 4 branches for shirts. The number of endpoints is 3⋅4=123 \cdot 4 = 12.
Why: Each path from the root to an endpoint is one complete outfit, so the number of ways to choose an outfit is the number of endpoints.
Step 2: Result: a) 3 ways; b) 4 ways; c) 12 ways.

Common mistakesDrawing a tree diagram with a missing level: for example, choosing an outfit from 3 pairs of trousers and 4 shirts but drawing only 3 trouser branches and stopping, giving 3 ways; the correct way is to split further into 4 shirt branches from each pair of trousers, giving 3⋅4=123 \cdot 4 = 12 endpoints.

Example 4

Given 10 distinct points. How many vectors other than 0⃗\vec{0} can be formed? Given that the two endpoints of each vector are 2 of the 10 given points.

Show the solution to example 4

Step 1: A vector is determined by its start point and end point. To form a vector, we carry out two steps in a row: choose the start point, then choose the end point (which must differ from the start point).
Why: Vector AB⃗\vec{AB} differs from vector BA⃗\vec{BA} if A≠BA \ne B, so the order of choosing the start point and end point matters; therefore use the multiplication rule.
Step 2: Choose the start point: there are 10 ways. After choosing the start point, choose the end point: there are 9 ways (since it must not coincide with the start point).
Step 3: By the multiplication rule, the number of vectors formed is 10⋅9=9010 \cdot 9 = 90.
Result: There are 90 vectors other than 0⃗\vec{0}.

TipAsk yourself: after the first step, is the task finished? If it is finished, add; if it is not finished and more must be done, multiply.

Example 5

The arts team of class 10B has 3 female students and 2 male students. The homeroom teacher wants to choose a trio of 3 students that includes both male and female students. How many ways does the homeroom teacher have to choose such a trio?

Show the solution to example 5

Step 1: To choose 3 students including both boys and girls, we consider two non-intersecting cases:
Case 1: Choose 1 girl and 2 boys.
Case 2: Choose 2 girls and 1 boy.
These two cases are non-intersecting because the numbers of boys and girls are different.
Why: Each case is a complete option, so use the addition rule for the two cases.
Step 2: In each case, the choice consists of steps in a row (choose girls then choose boys), so use the multiplication rule.

  • Case 1: Choose 1 girl from 3 girls: 3 ways. Choose 2 boys from 2 boys: only 1 way (since both boys must be taken). So there are 3⋅1=33 \cdot 1 = 3 ways.
  • Case 2: Choose 2 girls from 3 girls: there are 3 ways (choose a pair of girls: (girl 1, girl 2), (girl 1, girl 3), (girl 2, girl 3)). Choose 1 boy from 2 boys: 2 ways. So there are 3⋅2=63 \cdot 2 = 6 ways.

Step 3: By the addition rule, the sum of ways is 3+6=93 + 6 = 9.
Result: There are 9 ways to choose a trio with both boys and girls.

Common mistakesUsing the multiplication rule for two non-intersecting options: for example, a class has 20 girls and 15 boys, choosing a single student but calculating 20⋅15=30020 \cdot 15 = 300, the correct answer should be 20+15=3520 + 15 = 35.

Example 6

A shop sells 5 kinds of ice cream bar and 4 kinds of ice cream cone. Ha wants to choose one kind of ice cream to eat. How many ways does Ha have to choose? If Ha wants to choose one ice cream bar and one ice cream cone, how many ways are there?

Show the solution to example 6

Step 1: a) Choose one kind of ice cream to eat: there are two non-intersecting options, choosing an ice cream bar or choosing an ice cream cone.
Why: Once one kind is chosen, the task is done, so use the addition rule.
Number of ways: 5+4=95 + 4 = 9.
b) Choose one ice cream bar and one ice cream cone: these are two steps in a row: choose the ice cream bar then choose the ice cream cone.
Why: Both must be chosen to make the set, so use the multiplication rule.
Number of ways: 5⋅4=205 \cdot 4 = 20.
Step 2: Result: a) 9 ways; b) 20 ways.

Common mistakesUsing the addition rule for two steps in a row: choosing a shirt and trousers but calculating 3+4=73 + 4 = 7 outfits, the correct answer should be 3⋅4=123 \cdot 4 = 12.

TipWhen reading the problem and seeing the words "or", "one of", think of the addition rule; when seeing the words "then", "and", "next", think of the multiplication rule.

Terms

Addition rule
A task has non-intersecting options, the number of ways equals the sum of the numbers of ways of the options.Example: 3 kinds of tea or 4 kinds of cake: 7 ways to choose one item.
Multiplication rule
A task consists of consecutive stages; if the first stage has mm ways and for each of those ways the next stage always has nn ways, then the number of ways to complete the task is m⋅nm \cdot n.Example: 3 kinds of tea and 4 kinds of cake: 3⋅4=123 \cdot 4 = 12 ways to choose one set (each kind of tea comes with all 4 kinds of cake).
Option
One way of completing the whole task, used in the addition rule.Example: Taking the bus is one option for getting from home to school.
Stage
One step of the task, used in the multiplication rule.Example: Choosing a drink is the first stage.
Tree diagram
A tree diagram that branches at each level, each path from root to leaf is one way.Example: Tossing a coin twice gives 4 leaves.
Leaf
The endpoint of a path in the diagram, corresponding to one complete way.Example: Leaf NSNS: first toss heads, second toss tails.
Mutually exclusive options
Options that share no way, so their numbers of ways can be added.Example: Choosing a boy and choosing a girl are two mutually exclusive options.