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

Notes on Lesson 23: Counting rules (Maths 10 Ket noi tri thuc)

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 several roads but take only one.

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

  • Vận dụng quy tắc cộng, quy tắc nhân, sơ đồ hình cây để đế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 you choose only one item, drink or eat, 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.

Practise nowTextbook solutions for this lesson

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 to a task with several options when those options must be separate, not dependent on each other (independent of each other).

With several options (the book uses this in Example 4): 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.

Connection with sets: if AA, BB are two finite non-intersecting sets then n(A∪B)=n(A)+n(B)n(A \cup B) = n(A) + n(B). The book's Remark: when A∩B≠∅A \cap B \ne \varnothing then the addition rule cannot be applied like that. For example, take all the white pieces (16 pieces) and all the pawns (16 pieces) of a chess set, you get 16+16−8=2416 + 16 - 8 = 24 pieces, because the 8 white pawns have been counted twice.

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 several roads 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 one 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 by this option finishes the job, nothing more needs to be done.Example: Choosing a girl as class monitor is one option.
not overlapping with any way of option one
Two separate options, one way cannot belong both to option one and to option two.Example: A 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.

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 is applied to count the ways of doing a task with several stages, the stages follow one another and these stages are independent of each other.

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

Example: Choose one drink among 3 kinds of tea and then choose one food among 4 kinds of cake, there are 3⋅4=123 \cdot 4 = 12 ways, because each kind of tea can be paired with all 4 kinds of cake.

In plain words: Use the multiplication rule when the task must do 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 in the first step, the next step still has its 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 several 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 carry out the second step is the same (all equal to m2m_2) no matter which way was chosen for the first step.Example: Whichever tea you choose, there are still all 4 kinds of cakes.
m1⋅m2m_1 \cdot m_2 ways
Multiply the numbers of ways of the consecutive steps.Example: 3 kinds of tea and 4 kinds of cakes: 3⋅4=123 \cdot 4 = 12 ways to choose one set.

Common mistakesUsing the addition rule for two successive stages: choosing a shirt and trousers and calculating 3+4=73 + 4 = 7 outfits, when it should be 3⋅4=123 \cdot 4 = 12.

Tree diagram in counting problems

Note in 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 tree diagrams 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 (consecutive steps). For consecutive steps:

  • From the root, draw branches corresponding to the ways of carrying out the first step.
  • From the end of each of those branches, draw further branches corresponding to the ways of carrying out the second step, and so on for the following steps.
  • Each path from the root to a treetop is one way of carrying out the task. 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 the visual picture of the multiplication rule. Each layer of branches is one step, each path from the root to a treetop is one way. Why draw it? When there are three or more steps, listing in words easily misses cases, while the tree just grows evenly at each layer, and you can see at a glance that nothing is missing. Counting treetops is also a way to check the multiplication: when every layer has the same number of branches on all paths, 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 step.Example: Toss 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 step.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: tails first, heads after.

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

Two rules that are easy to mix up, use the question to choose:

  • If the task 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 task is only done when all the steps are carried out one after another, use the multiplication rule. Clues in the problem: the words “then”, “and”, “next”.
  • Many problems need both: split the task into disjoint cases, and within each case there are consecutive steps.

Example: A class has 18 girls and 16 boys. Choose a duet consisting of one boy and one girl: these are two consecutive steps, 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 fork, the multiplication rule is going through several doors. If the problem asks you to choose one item from a menu, add; if it asks you to choose a set consisting of a drink and a dish, multiply. When the problem has the word “or” but inside each option there are several steps, do each option with the multiplication rule and then add the results, remembering to check whether the two options overlap. Read carefully to see whether the task is already 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 task is done, nothing more needs doing.Example: Choose one student to be the class monitor.
carry out all the steps one after another
You must do step after step before it is done.Example: Choose a shirt, then choose trousers, to make one outfit.
split the task into disjoint cases
Separate the problem into groups that do not overlap so you can add the results.Example: Count two-digit natural numbers: split by the tens place digit.

TipWhen you see the words "or", "one of" in the problem, think of the addition rule; when you see "then", "and", "next", think of the multiplication rule.

Worked examples

Example 1

A shop sells 5 kinds of ballpoint pens and 7 kinds of pencils. Minh wants to buy one pen to write with. How many ways can Minh choose?

Show the solution to example 1

Step 1: Identify the task: buy one pen, done as soon as one kind is chosen.
Step 2: Split into two disjoint options: option AA buy a ballpoint pen has 5 ways, option BB buy a pencil has 7 ways. One pen cannot be both a ballpoint pen and a pencil.
Why: Once one kind is chosen the task is done, no further step is needed, so use the addition rule.
Step 3: The number of ways is 5+7=125 + 7 = 12.
Result: Minh has 12 ways to choose.

Example 2

A restaurant has 4 appetizers and 6 main dishes. Hoa chooses one appetizer and then one main dish for lunch. How many ways are there to choose a meal consisting of two such dishes?

Show the solution to example 2

Step 1: The task consists of two consecutive steps: choose an appetizer, then choose a main dish.
Step 2: Step AA has 4 ways. For each way of choosing an appetizer, step BB still has all 6 ways because the main dish does not depend on the appetizer.
Why: You must choose both dishes to make a meal, so use the multiplication rule, not addition.
Step 3: The number of ways is 4⋅6=244 \cdot 6 = 24.
Result: There are 24 ways to choose a meal consisting of two dishes.

Example 3

Toss a coin three times in a row. Draw a tree diagram and tell how many possible outcomes there are, listing those outcomes.

Show the solution to example 3

Step 1: Each toss has 2 possible outcomes SS, NN. The first level splits into 2 branches SS, NN.
Step 2: From each first-level branch, 2 more branches split off SS, NN for the second toss, giving 4 branches: SSSS, SNSN, NSNS, NNNN.
Step 3: From each second-level branch, 2 more branches split off for the third toss, giving 8 endpoints.
Why: Each path from the root to an endpoint is one complete outcome of the three tosses, so the number of outcomes equals the number of endpoints, that is 2⋅2⋅2=82 \cdot 2 \cdot 2 = 8.
Step 4: Read the endpoints in order: SSSSSS, SSNSSN, SNSSNS, SNNSNN, NSSNSS, NSNNSN, NNSNNS, NNNNNN.
Result: There are 8 possible outcomes.

TipDraw a tree diagram and count the endpoints (each path from the root to an endpoint is one way). If every level has the same number of branches at every node, the number of endpoints equals the product of the numbers of branches of the levels; if not, do not use that product to check.

Example 4

A class has 20 girls and 15 boys. a) Choose a single student to be the class monitor. b) Choose a duet consisting of one girl and one boy. How many ways are there in each case?

Show the solution to example 4

Step 1: a) Choose a single student: choose a girl or choose a boy, two separate options because one student cannot be both a girl and a boy.
Step 2: a) Use the addition rule: 20+15=3520 + 15 = 35 ways.
Step 3: b) Choose a duet of two people: you must choose a girl and then choose a boy, two successive stages.
Why: Choosing one girl does not yet make a duet, you still have to choose a boy, so use the multiplication rule.
Step 4: b) Each girl can be paired with all 15 boys, so there are 20⋅15=30020 \cdot 15 = 300 ways.
Result: a) 35 ways; b) 300 ways.

Common mistakesUsing the multiplication rule for two separate options: a class has 20 girls, 15 boys, and calculating 20⋅15=30020 \cdot 15 = 300 ways to choose a single student, when it should be 20+15=3520 + 15 = 35.

Example 5

A box has 3 balls numbered 1, 2, 3. Take out two balls one after another, without putting the taken ball back in the box. Use a tree diagram to count the possible outcomes.

Show the solution to example 5

Step 1: The first draw has 3 ways: ball 1, ball 2, ball 3. The first level splits into 3 branches.
Step 2: After taking one ball, 2 balls remain in the box, so from each first-level branch only 2 branches split off.
Why: The taken ball is not put back, so the second draw cannot take that same ball again, the second level has fewer branches than the first.
Step 3: Read the endpoints: (1,2)(1,2), (1,3)(1,3), (2,1)(2,1), (2,3)(2,3), (3,1)(3,1), (3,2)(3,2).
Step 4: Count the endpoints: 3⋅2=63 \cdot 2 = 6.
Result: There are 6 possible outcomes.

Common mistakesTaking without putting back but still giving the later draw as many choices as the first, giving 3⋅3=93 \cdot 3 = 9 instead of 3⋅2=63 \cdot 2 = 6.

Example 6

A restaurant has a menu: 3 starters, 5 main dishes and 2 desserts. a) A diner chooses a meal consisting of one starter, one main dish and one dessert. b) A diner chooses only one dish from the menu. How many ways are there in each case?

Show the solution to example 6

Step 1: a) The meal consists of three successive stages: starter, main dish, dessert.
Step 2: a) Use the extended multiplication rule: 3⋅5⋅2=303 \cdot 5 \cdot 2 = 30 ways.
Why: After choosing a starter and a main dish the meal is not yet complete with three dishes, you still have to choose a dessert, so multiply further.
Step 3: b) Choose a single dish: three separate options are starter, main dish, dessert.
Step 4: b) Use the addition rule: 3+5+2=103 + 5 + 2 = 10 ways.
Result: a) 30 ways; b) 10 ways.

Common mistakesAdding the numbers of ways of options that are not separate, so one way is counted twice and the result is too large.

TipAsk yourself: after choosing the first step, is the job done? If it is done, add; if it is not done and you still have to continue, multiply.

Example 7

In a football tournament there are 4 teams, each team plays each other team exactly once. Use a tree diagram to count the number of matches in the tournament.

Show the solution to example 7

Step 1: Arrange the 4 teams in order AA, BB, CC, DD. Each match is a pair of two different teams, regardless of which team plays first.
Step 2: First level: choose the first team of the pair, there are 4 ways.
Step 3: Second level: choose the second team, it must differ from the first team so there are 3 ways.
Why: A chosen team does not play itself, so each first-level branch only splits into 3 branches.
Step 4: The diagram gives 4⋅3=124 \cdot 3 = 12 endpoints, but each match is counted twice: the match AA against BB corresponds to endpoint (A,B)(A,B) and endpoint (B,A)(B,A).
Step 5: The actual number of matches is 12:2=612 : 2 = 6, exactly the pairs ABAB, ACAC, ADAD, BCBC, BDBD, CDCD.
Result: The tournament has 6 matches.

Common mistakesCounting matches so that each pair of two teams is counted twice, giving 12 matches while the tournament has only 6 matches.

Common mistakesDrawing a tree diagram with a missing level or missing branch, so the number of endpoints does not match the product of the numbers of ways of the stages.

TipWhen counting pairs without regard to order (like the number of matches, the number of handshakes), count in order and then divide by two, because each pair is counted twice.

Terms

Addition rule
When a job has separate 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 job consists of successive stages; if the first stage has mm ways and for each of those ways the next stage has nn ways, then the number of ways to complete the job is m⋅nm \cdot n.Example: 3 kinds of tea and 4 kinds of cake: 3⋅4=123 \cdot 4 = 12 ways to choose a set (each kind of tea goes with all 4 kinds of cake).
Option
One way of completing the whole job, used in the addition rule.Example: Taking the bus is one option for going from home to school.
Stage
One step of a task, used in the multiplication rule.Example: Choosing a drink is the first stage.
Tree diagram
A branching diagram with levels; each path from the root to a leaf is one way.Example: Tossing a coin twice has 4 leaves.
Leaf
The end of a path in the diagram, matching one complete way.Example: Leaf NSNS: first toss heads, second toss tails.
Disjoint options
Options that share no way, so their numbers of ways can be added.Example: Choosing boys and choosing girls are two disjoint options.

Practise this lesson with instant marking and saved progress in the study app. Suggested plan: Class lessons plan, Maths 10.

Practice

Answer each question, then press Check. If you get stuck, open the hints under the question one step at a time.

Question 2 of 3Written answer · Understanding

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

Một người gieo đồng xu hai mặt, sau mỗi lần gieo thì ghi lại kết quả là sấp hay ngửa. Hỏi nếu người đó gieo 3 lần thì có thể có bao nhiêu khả năng xảy ra?

Do this question in your notebook and show every step. When you finish, press the button below to compare with the mark scheme.

Asking the teacher while practising is for children who have a profile. It is free to turn on: Parent sign-in.

More practice questions for you

Additional exercises

  • Đếm số tự nhiên, mật khẩu, mã số thỏa điều kiện (Applying)
  • Bài toán đếm trong lĩnh vực khác: di truyền, đường đi, thi đấu (Applying, Advanced applying)

Challenge yourself

  • Đếm bằng quy tắc nhân (Recall, Understanding)
  • Đếm số tự nhiên, mật khẩu, mã số thỏa điều kiện (Understanding)

Ask a parent to sign in and create your profile to unlock more. It's free. Sign in