Notes on Lesson 1: Addition rule. Multiplication rule. Tree diagram (Maths 10 Canh Dieu, Chapter V)
Lesson summary
option two has ways to do it (the ways of both options are pairwise different, that is, the two options are separate).
for each way of doing stage one, there are ways to do stage two.
Use the addition rule when you face several 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 quy tắc cộng, quy tắc nhân, sơ đồ hình cây trong bài toán đếm đơn giản
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 can An choose? If choosing 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.
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 ways to do it,
- option two has ways to do it (the ways of both options are pairwise different, that is, the two options are separate).
Then the task has ways to be completed.
Note. We apply the addition rule to a task with several options when those options are separate, that is, no way of doing it is counted twice.
With several options: if a task can be done in one of separate options, and the option has ways, then there are ways.
Connection with sets: if , are two finite non-intersecting sets then . When the addition rule cannot be applied like that. For example, taking all the white pieces (16 pieces) and all the pawns (16 pieces) of a chess set gives 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 ways, because choosing a girl and choosing a boy are two options that do not overlap.
In plain words: Use the addition rule when you face several paths but take only one. It is like going from home to school: by bus there are 3 routes, by bicycle there are 2 paths, on foot there is 1 path; each time you choose only one way, so in total ways. The important condition is that the options must not overlap; if a way is counted twice, the total 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 needs to be done.Example: Choosing a girl as class monitor is one option.
- the ways of both options are pairwise different
- The two options are separate, a way cannot belong to both option one and option two.Example: A student cannot be both a boy and a girl.
- ways
- Add the numbers of ways of separate options.Example: 3 kinds of tea or 4 kinds of cake: ways to choose one item.
Common mistakesAdding the numbers of ways of two options that are not separate, so one way is counted twice and the result is too large. Before adding, check whether the ways of the two options are pairwise different.
Multiplication rule
Multiplication rule. Suppose a task must be completed through two consecutive stages:
- stage one has ways to be done,
- for each way of doing stage one, there are ways to do stage two.
Then the number of ways to do the task is ways.
Note. The multiplication rule is used to count the number of ways to do a task with several consecutive stages.
With several stages: a task consists of consecutive stages, the -th stage has ways (unchanged no matter which way the earlier stages were done), then there are ways.
Example: Choose one drink from 3 kinds of tea, then choose one dish from 4 kinds of cake, there are ways, because each kind of tea can be paired with all 4 kinds of cake.
In plain words: The multiplication rule is used when a task must have all its steps done, 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 outfits. Why multiply? Because for each way at 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 task among many (addition) or doing several tasks one after another (multiplication).
Phrase by phrase
- stage one
- The first step of the task; only after finishing it do you move to the next step.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 ) no matter which way stage one was done.Example: Whichever tea you choose, all 4 kinds of cake are still available.
- ways
- Multiply the numbers of ways of the consecutive stages.Example: 3 kinds of tea and 4 kinds of cake: ways to choose one set.
TipWhen reading the problem and seeing the words "or", "one of", think of the addition rule; when seeing "then", "and", "next", think of the multiplication rule. Also ask yourself: after the first step, is the task done? If it is done, add; if it is not done and more must be done, multiply.
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.
Tree diagram
A tree diagram is a diagram that starts at a single node with branches spreading out to further nodes. We can use a tree diagram to count the number of ways to complete a task when the task requires consecutive actions.
How to draw it:
- From the root, draw branches for the ways of doing the first stage.
- From the end of each of those branches, draw further branches for the ways of doing the second stage, and so on for the later stages.
- Each path from the root to a leaf is one way of doing the task. The number of ways equals the number of leaves.
Example: Toss a coin twice. The first toss splits into 2 branches , ; from each branch 2 more branches split off , . There are leaves: , , , .
In plain words: A tree diagram is the visual picture of the multiplication rule. Each layer of branches is one stage, each path from the root to a leaf is one way. Why draw it? When there are three or more steps, listing in words easily misses some, while the tree grows evenly at each layer, so you see everything at a glance. Counting the leaves also checks the multiplication: when every path has the same number of branches at each layer, the number of leaves equals the product of the branch counts of the layers; if the number of branches changes depending on the path taken, you must count each leaf directly and cannot take the product.
Phrase by phrase
- Tree diagram
- A picture of branches splitting off step by step, each layer for one stage.Example: Toss a coin twice: the root splits into , ; each branch splits again into , .
- branch
- A segment for one way of doing one stage.Example: Branch at the first layer means the first toss comes up tails.
- leaf
- The end of a path, for one complete way.Example: Leaf : first tails, then heads.
Common mistakesCounting pairs without regard to order but counting twice: a tournament has 4 teams playing a single round robin, computing matches while each match is counted twice, when it should be matches.
TipDraw a tree diagram and count the leaves, each path from the root to a leaf is one way. If every level has the same number of branches at every node, the number of leaves equals the product of the numbers of branches of the levels; if the number of branches changes depending on the path taken, count each leaf directly, do not take the product.
Applying it to counting problems
Counting is important in mathematics and in real life, especially in statistics and probability. Counting results let us determine the number of possibilities in which an event can happen, as a basis for making decisions. The addition rule, the multiplication rule and tree diagrams are basic principles in counting problems.
- Applying it in solving problems: use the addition rule when splitting into separate cases, use the multiplication rule when a task has several consecutive steps, use a tree diagram to list and count without missing any.
- Applying it in real life: for example, a restaurant has 5 vegetable dishes, 4 fish dishes and 3 meat dishes. To make a combo with 1 vegetable dish, 1 fish dish and 1 meat dish, we do three consecutive stages: choose the vegetable (5 ways), choose the fish (4 ways), choose the meat (3 ways). By the multiplication rule, there are ways to make the combo.
In plain words: Counting problems are not just a brain game, they also help you calculate in daily life: from planning a menu, choosing an outfit, to working out probability in games of chance. When you meet a counting problem, work out whether the task is completed by one action or by several consecutive actions. If it is one action with several different, non-overlapping ways, use the addition rule. If the steps must be done one after another, use the multiplication rule. A tree diagram helps you see all the possibilities and avoid missing any. Remember to check that the options are really separate before adding.
Phrase by phrase
- counting problem
- A problem that asks for the number of ways to do some task.Example: Count the number of ways to choose an outfit from 3 shirts and 4 pairs of trousers.
- basic principle
- A foundational rule used in many counting problems.Example: The addition rule and the multiplication rule are two basic principles.
- combo
- A set of several dishes combined according to a rule.Example: A combo with 1 vegetable dish, 1 fish dish and 1 meat dish.
Tell apart 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. Clue in the problem: the words "or", "one of".
- Before adding, check that the options are disjoint: if some way belongs to both this option and 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. Clue in the problem: the words "then", "and", "next".
- Many problems need both: split the task into disjoint cases, and in each case there are consecutive steps.
Example: A class has 18 girls and 16 boys. Choose a duet with one boy and one girl: these are two consecutive steps, giving ways. Choosing just one student: ways.
In plain words: Remember the picture: the addition rule is taking one branch, 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 with a drink and a dish, multiply. When the problem says "or" but inside each option there are 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 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 job is done, nothing more is needed.Example: Choose one student to be the class monitor.
- carry out all the steps one after another
- You must do one step after another before it is done.Example: Choose a shirt then choose trousers to make an 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.
Common mistakesTaking out without putting back but still giving the next time as many choices as the first: a box has 3 balls, taking two balls in order without replacement yet computing results, when it should be because the second time only 2 balls remain.
Worked examples
Example 1
Phuong has 7 English books and 8 Literature books, all different. How many ways does Phuong have to choose one book to read?
Show the solution to example 1
Step 1: Identify the task as choosing one book to read, and once one book is chosen the job is done.
Why: The task is completed by one of two actions, so think of the addition rule.
Step 2: The two actions are choosing an English book (7 ways) and choosing a Literature book (8 ways). A book cannot be both an English book and a Literature book, so the two actions have ways of being done that are different from each other.
Step 3: By the addition rule, the number of ways to choose is .
Result: Phuong has 15 ways to choose one book to read.
Example 2
Nam plans to set the password for a suitcase lock as a three-digit number, each digit chosen from the digits 1, 2, 3, 4 (digits may repeat). How many ways does Nam have to set the password?
Show the solution to example 2
Step 1: The password has three digits, and you must choose the first, second, then third digit, so these are three consecutive steps.
Why: After choosing the first digit there is no password yet, two more digits still have to be chosen, so use the multiplication rule.
Step 2: The first digit has 4 ways to choose. Since digits may repeat, for each way of choosing the first digit, the second digit still has 4 ways, and the third digit also has 4 ways.
Step 3: By the multiplication rule, the number of ways to set the password is .
Result: Nam has 64 ways to set the password.
Example 3
Huong has 3 trousers of different colours: grey, black, light brown, and 4 shirts of different colours: pink, yellow, blue, purple. Describe in words the tree diagram showing the number of ways to choose an outfit, then calculate that number of ways.
Show the solution to example 3
Step 1: An outfit has one pair of trousers and one shirt, and you must choose trousers then choose a shirt, so these are two consecutive steps.
Step 2: Draw the diagram: from the root node spread 3 branches for the 3 trousers grey, black, light brown. From the end of each of those branches spread 4 branches for the 4 shirts pink, yellow, blue, purple.
Why: Each path from the root to a tip is one complete outfit, so the number of outfits equals the number of tips.
Step 3: Each level has the same number of branches on every path (the first level has 3 branches, the second level has 4 branches), so the number of tips is .
Result: There are 12 ways to choose an outfit, corresponding to 12 tips of the tree diagram.
Common mistakesDrawing a tree diagram with a missing level or missing branch, so the number of leaves does not match the product of the numbers of ways of the steps; draw every level corresponding to a step and check the number of leaves.
Example 4
Given 10 distinct points. How many vectors different from can be formed such that the two endpoints of each vector are two of the 10 given points?
Show the solution to example 4
Step 1: A vector is determined by its initial point and terminal point, and these two points must be different. Forming a vector has two consecutive steps: choose the initial point, then choose the terminal point.
Why: After choosing the initial point there is no vector yet, the terminal point still has to be chosen, so use the multiplication rule.
Step 2: The initial point has 10 ways to choose. For each way of choosing the initial point, the terminal point must be different from the initial point, so there are 9 ways to choose.
Step 3: By the multiplication rule, the number of vectors formed is .
Result: 90 vectors different from can be formed.
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 are there to choose?
Show the solution to example 5
Step 1: A trio singing team with both boys and girls can only consist of 1 girl with 2 boys, or 2 girls with 1 boy. These are two separate cases, so we add the results of the two cases.
Step 2: Case 1, choose 1 girl and 2 boys. Choosing the girl has 3 ways. Choosing 2 boys out of 2 boys has only 1 way (take both). By the multiplication rule, this case has ways.
Step 3: Case 2, choose 2 girls and 1 boy. Choosing 2 girls out of 3 girls has 3 ways (leave one out, that is, leave out the first girl, or leave out the second girl, or leave out the third girl). Choosing 1 boy has 2 ways. By the multiplication rule, this case has ways.
Why: Each case is a multi-step task, so we use the multiplication rule; the two cases do not overlap (a team cannot have both 1 girl and 2 girls), so we use the addition rule.
Step 4: By the addition rule, the number of ways is .
Result: There are 9 ways to choose a trio singing team of 3 students with both boys and girls.
Example 6
A restaurant has 5 vegetable dishes, 4 fish dishes and 3 meat dishes. a) How many ways are there to make a combo with exactly 1 vegetable dish, 1 fish dish and 1 meat dish? b) If a diner orders exactly one dish from the menu, how many choices are there?
Show the solution to example 6
Step 1: a) Making a combo is doing three steps in a row: choose vegetables, choose fish, choose meat.
Why: After choosing vegetables and fish the combo is not complete yet, meat must still be chosen, so we use the multiplication rule.
Step 2: a) Choosing vegetables has 5 ways, choosing fish has 4 ways, choosing meat has 3 ways. The number of ways is .
Step 3: b) Ordering exactly one dish means choosing one of the three kinds of dishes, and once chosen the task is done. The three options vegetables, fish, meat are separate because a dish cannot be both vegetables and fish.
Step 4: b) By the addition rule, the number of ways is .
Result: a) 60 ways to make a combo; b) 12 ways to choose one dish.
Common mistakesConfusing the addition rule with the multiplication rule: a class has 20 girls and 15 boys, yet computing ways to choose a single student. Choosing one student is done right after one action, the two options are separate, so it must be ways.
Terms
- Addition rule
- The task 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
- The task consists of consecutive steps; if the first step has ways and for each of those ways the next step has ways, then the number of ways to complete the task is .Example: 3 kinds of tea and 4 kinds of cake: ways to choose a set (for each kind of tea there are all 4 kinds of cake).
- Option
- One way to complete the whole task, used in the addition rule.Example: Taking the bus is one option for going from home to school.
- Step
- One step of the task, used in the multiplication rule.Example: Choosing a drink is the first step.
- Tree diagram
- A diagram that branches at each level, each path from the root to a leaf is one way.Example: Tossing a coin twice has 4 leaves.
- Leaf
- The endpoint of a path in the diagram, corresponding to one complete way.Example: Leaf : heads first, tails second.
- Separate options
- Options that have no way in common, so their numbers of ways can be added.Example: Choosing a boy and choosing a girl are two separate options.
Practise similar problems
Practice questions from the Ket noi tri thuc series on the same ideas as this lesson. Answer each one and get it marked straight away.