Learning Objectives
Terminology:
· Addition rule, multiplication rule
· Decision tree (tree diagram)
· Mutually exclusive options, sequential stages
Knowledge and Skills:
· Apply the addition rule and multiplication rule to compute the number of ways to perform a task or count the elements of a set.
· Use tree diagrams proficiently in basic counting problems to avoid omitting cases.
· Combine the addition and multiplication rules flexibly to solve complex real-world combinatorial problems (number formation, menu design, password generation).
Addition Rule and Tree Diagrams
a) Addition Rule
Definition and Statement of the Addition Rule: Suppose a task can be performed via one of two mutually exclusive (disjoint) options: • Option one can be performed in ways; • Option two can be performed in ways (with no overlap with any method from option one). Then the total number of ways to perform the task is:
Extension: The addition rule naturally extends to any task that can be partitioned into multiple pairwise disjoint options (performing exactly one of these options completes the task).
b) Tree Diagrams
Concept and Application: • A tree diagram is a graphical tool illustrating branching choices across distinct cases or sequential stages. • In combinatorial counting problems, tree diagrams provide a clear, visual representation of all possible outcomes, ensuring systematic counting without omissions.
c) Illustrative Examples and Practice on the Addition Rule
Example 1: A breakfast diner sells pho and bun. Pho has 2 varieties (beef pho, chicken pho). Bun has 3 varieties (beef bun, crab vermicelli, fish vermicelli). A customer wishes to choose one breakfast dish. How many choices does the customer have?
Solution for Example 1: • Choosing a breakfast dish is partitioned into 2 mutually exclusive options: + Option 1 (Choosing pho): has 2 ways. + Option 2 (Choosing bun): has 3 ways. • By the addition rule, the total number of ways to choose a breakfast dish is:
Example 2: A standard chess set contains 32 pieces. a) If all pawn pieces are removed, how many pieces are taken out? b) If all white pieces and all pawn pieces are removed, how many total unique pieces are removed?
Solution for Example 2: • a) Pawns consist of 2 subsets: white pawns (8 pieces) and black pawns (8 pieces). The number of pawns removed is: (pieces). • b) The set of white pieces contains 16 pieces, and the set of pawns contains 16 pieces, overlapping by the 8 white pawns. Applying the set-theoretic union formula:
Practice 1: How many integers from 1 to 30 are not relatively prime to 35?
Solution for Practice 1: • Prime factorization of 35: . • An integer from 1 to 30 is not relatively prime to 35 if and only if it is divisible by 5 or 7 (since the prime factors of 35 are only 5 and 7). • Let be the subset of integers from 1 to 30 divisible by 5: (6 numbers). • Let be the subset of integers from 1 to 30 divisible by 7: (4 numbers). • The intersection contains numbers divisible by both 5 and 7 (i.e., multiples of 35), of which none exist between 1 and 30. • By the addition rule, the number of integers not relatively prime to 35 is: numbers.
Multiplication Rule
a) Statement of the Multiplication Rule
Definition and Statement: Suppose a task must be completed through two consecutive stages: • Stage one can be performed in ways; • For each way of performing stage one, there are ways to perform stage two. Then the total number of ways to complete the task is: Remark: The multiplication rule applies to tasks consisting of sequential, independent stages.
b) Illustrative Examples and Practice on the Multiplication Rule
Example 3: A passenger wants to buy a train ticket from Hanoi to Vinh. There are 3 trains: SE5, SE7, and SE35. On each train, there are 2 seating classes: hard seat or soft seat. How many different ticket options are available?
Solution for Example 3: • Purchasing a ticket consists of 2 consecutive stages: + Stage 1: Choose the train (3 ways). + Stage 2: Choose the seating class on that train (2 ways). • By the multiplication rule, the total number of ticket options is: (options).
Practice 2: At the 2018 World Cup, the group stage involved 32 teams divided into 8 groups of 4 teams, where each team plays every other team in its group once (single round-robin). What is the total number of group-stage matches?
Solution for Practice 2: • Each group consists of 4 teams playing a single round-robin. • The number of matches per group is the number of ways to select 2 teams out of 4: matches. • Since there are 8 completely independent groups, the total number of group-stage matches is: matches.
Combining Addition and Multiplication Rules
a) Combined Principles
Collaborative Strategy: In practical combinatorial problems, counting often requires flexible combination of both addition and multiplication rules: • Use the Addition Rule when a task is partitioned into disjoint cases (options). • Use the Multiplication Rule when a single case is broken down into sequential stages.
b) Illustrative Examples and Practice on Combined Rules
Example 4: Design a menu consisting of one appetizer, one main course, and one dessert. The restaurant offers: 2 soups and 3 salads for appetizers; 4 poultry/meat, 3 fish, and 3 seafood dishes for mains; 5 ice creams and 3 cakes for desserts. How many distinct menus can be formed?
Solution for Example 4: • Stage 1 (Appetizer): ways (addition rule). • Stage 2 (Main course): ways (addition rule). • Stage 3 (Dessert): ways (addition rule). • By the multiplication rule, the total number of distinct menus is: (menus).
Practice 3: Using the digits , how many natural numbers can be formed such that: a) They are 3-digit numbers with distinct digits? b) They are even 3-digit numbers with distinct digits?
Solution for Practice 3: • a) Let the number be denoted as where , , and all digits are distinct. + Digit : 3 choices (). For each choice of : + Digit : 3 choices (distinct from ). + Digit : 2 choices (distinct from and ). By the multiplication rule, the number of 3-digit numbers with distinct digits is: numbers. • b) The number must be even (), so its last digit must be even (). We examine two cases: + Case 1: . - Digit : 3 choices (). - Digit : 2 choices. Number of such numbers: . + Case 2: . - Digit : 2 choices (, since and ). - Digit : 2 choices. Number of such numbers: . By the addition rule, the total number of even 3-digit numbers with distinct digits is: numbers.
Example 5 (Password Generation Problem): A website password consists of a sequence of 2 to 3 characters, where the first character is a lowercase English letter (from a to z) and each subsequent character is a digit from 0 to 9. How many different passwords can be created?
Solution for Example 5: • Case 1: Passwords of length 2 (). + Character has 26 choices; character has 10 choices. Number of passwords: . • Case 2: Passwords of length 3 (). + Character has 26 choices; has 10 choices; has 10 choices. Number of passwords: . • By the addition rule, the total number of distinct passwords that can be created is: passwords.
Applications and Exercises
a) Real-World Applications
Application (Forming a School Safety Team): Grade 10 has three classes: 10A (30 students), 10B (35 students), and 10C (32 students). The school wishes to select 4 students to form a safety patrol team such that representatives from all three classes are included. How many selection ways are possible?
Solution for Application: • Selecting 4 students from 3 classes with representation from all classes implies that exactly one class contributes 2 representatives, while the other two classes each contribute 1 representative. • We partition into 3 disjoint cases: + Case 1: Class 10A contributes 2 students, 10B contributes 1, 10C contributes 1. Number of ways: . + Case 2: Class 10B contributes 2 students, 10A contributes 1, 10C contributes 1. Number of ways: . + Case 3: Class 10C contributes 2 students, 10A contributes 1, 10B contributes 1. Number of ways: . • By the addition rule, the total number of valid team selections is:
b) Detailed Section Exercises
Exercise 8.1: A bookshelf holds 8 short story collections, 7 novels, and 5 poetry books (all distinct). How many ways does Phong have to choose one book to read over the weekend?
Solution for Exercise 8.1: • Choosing 1 book can be done via 3 disjoint options: + Short story: 8 ways. + Novel: 7 ways. + Poetry book: 5 ways. • By the addition rule, the total number of choices is: ways.
Exercise 8.2: A person tosses a two-sided coin 3 consecutive times and records each outcome as heads or tails. How many possible outcome sequences can occur?
Solution for Exercise 8.2: • Each toss has 2 possible outcomes (Heads or Tails). • Tossing 3 consecutive times consists of 3 sequential stages. By the multiplication rule, the total number of possible outcome sequences is:
Exercise 8.3: In a plant species, allele determines double flowers and allele determines single flowers. a) How many genotypes are formed by the combination of these two alleles? List them. b) During random fertilization, how many different cross-fertilization pairings can be formed from these genotypes?
Solution for Exercise 8.3: • a) The combination of alleles and yields 3 distinct genotypes: . • b) A cross-fertilization mating involves pairing 1 male genotype with 1 female genotype. By the multiplication rule, the number of different mating pairings is: pairings.
Exercise 8.4: How many 3-digit natural numbers satisfy each of the following conditions: a) All 3 digits are distinct? b) They are odd 3-digit numbers with distinct digits? c) They are 3-digit numbers divisible by 5? d) They are 3-digit numbers with distinct digits that are divisible by 5?
Solution for Exercise 8.4: • a) Number (, distinct digits): has 9 choices (); has 9 choices; has 8 choices. Total: numbers. • b) Odd 3-digit number with distinct digits : (5 choices); has 8 choices (); has 8 choices. Total: numbers. • c) 3-digit numbers divisible by 5 (): (2 choices); has 9 choices (); has 10 choices (). Total: numbers. • d) 3-digit numbers with distinct digits divisible by 5 (): Split into 2 cases for : + Case 1: has 9 choices, has 8 choices. Count: . + Case 2: has 8 choices (), has 8 choices. Count: . Total: numbers.
Exercise 8.5: a) A computer password consists of 3 numeric digits. How many different passwords can be created? b) Under a new rule, a password still consists of 3 characters, but the first character must be an uppercase English letter (26 letters) and the subsequent 2 characters are numeric digits. How many more passwords can the new rule create compared to the old rule?
Solution for Exercise 8.5: • a) Each digit has 10 choices (). Total old passwords: passwords. • b) Under the new rule: First character has 26 choices; each of the next 2 characters has 10 choices. Total new passwords: passwords. • The new rule creates: more passwords than the old rule.