PracticeVideosBlogFlashcards

14.1 Fundamental Counting Principles (Addition and Multiplication Rules)

Key Takeaways

  • The Addition Principle (Rule of Sum) applies when a task can be accomplished by choosing from mutually exclusive categories, yielding total choices N = m_1 + m_2 + ... + m_k.

  • The Multiplication Principle (Rule of Product) applies when a task consists of a sequence of dependent or independent steps executed in order, yielding total choices N = m_1 * m_2 * ... * m_k.

  • Distinguishing between classification (mutually exclusive paths yielding sums) and step-wise decomposition (sequential stages yielding products) is the foundation of combinatorial counting.

  • Complementary counting (the Principle of Subtraction, N_valid = N_total - N_invalid) significantly simplifies constrained counting problems such as 'at least one' conditions.

  • Grid paths, boundary map coloring, and constrained digit formation represent classic Gaokao paradigms for applying fundamental counting principles.

Last updated: July 2026

14.1 Fundamental Counting Principles (Addition and Multiplication Rules)

Counting principles provide the foundational mathematical framework for discrete mathematics, combinatorics, and probability theory in Gaokao Mathematics. Every complex counting problem—no matter how elaborate—can be reduced to systematic applications of two core rules: the Addition Principle (Rule of Sum) and the Multiplication Principle (Rule of Product). Mastering the distinction between when to add and when to multiply is essential for solving high-level Gaokao problems without overcounting (重复) or undercounting (遗漏).


1. Mathematical Definitions and Formal Foundations

1.1 The Addition Principle (Rule of Sum / 分类加法计数原理)

If a task TT can be accomplished by choosing from one of kk mutually exclusive and exhaustive categories (or cases) C1,C2,…,CkC_1, C_2, \dots, C_k, where category C1C_1 contains m1m_1 distinct ways to complete the task, category C2C_2 contains m2m_2 distinct ways, ..., and category CkC_k contains mkm_k distinct ways, then the total number of distinct ways to complete task TT is given by:

N=m1+m2+⋯+mk=∑i=1kmiN = m_1 + m_2 + \dots + m_k = \sum_{i=1}^k m_i

Set-Theoretic Interpretation: Let S1,S2,…,SkS_1, S_2, \dots, S_k be pairwise disjoint sets representing the sets of options for each category, meaning Si∩Sj=∅S_i \cap S_j = \emptyset for all i≠ji \neq j. The total set of choices is the disjoint union S=⋃i=1kSiS = \bigcup_{i=1}^k S_i, and its cardinality is:

∣S∣=∣S1∣+∣S2∣+⋯+∣Sk∣|S| = |S_1| + |S_2| + \dots + |S_k|

Key Criterion for Addition: The choices in different categories are mutually exclusive (互斥). Selecting a choice from category CiC_i completes the task independently of the choices in any other category CjC_j.


1.2 The Multiplication Principle (Rule of Product / 分步乘法计数原理)

If a task TT must be accomplished through a sequence of kk consecutive steps S1,S2,…,SkS_1, S_2, \dots, S_k, where Step 1 can be completed in m1m_1 distinct ways, Step 2 can be completed in m2m_2 distinct ways (regardless of the outcome of Step 1), ..., and Step kk can be completed in mkm_k distinct ways (regardless of the outcomes of prior steps), then the total number of distinct ways to complete task TT is given by:

N=m1×m2×⋯×mk=∏i=1kmiN = m_1 \times m_2 \times \dots \times m_k = \prod_{i=1}^k m_i

Set-Theoretic Interpretation: If A1,A2,…,AkA_1, A_2, \dots, A_k are the sets of options available at each stage, the total set of multi-step outcomes is represented by the Cartesian product A=A1×A2×⋯×AkA = A_1 \times A_2 \times \dots \times A_k. The cardinality is:

∣A∣=∣A1∣×∣A2∣×⋯×∣Ak∣|A| = |A_1| \times |A_2| \times \dots \times |A_k|

Key Criterion for Multiplication: The task is incomplete after any single step; all steps must be executed sequentially in order to achieve a complete outcome.


1.3 Strategic Comparison: Classification vs. Step-by-Step Decomposition

FeatureAddition Principle (分类加法)Multiplication Principle (分步乘法)
Core ConceptClassification (分类)Step-by-step Execution (分步)
Task Status per ChoiceChoice completes the entire taskChoice completes only one stage of the task
Relationship Between SetsMutually exclusive paths (互斥无交集)Sequential dependencies (连续完成)
Mathematical OperationSummation (++)Product (×\times)
Gaokao Rule of Thumb"Can I finish the task in just one of these ways?" →\to ADD"Do I need to take the next step to finish the task?" →\to MULTIPLY

2. Advanced Problem-Solving Methodologies for Gaokao

In Gaokao examinations, counting problems rarely present straightforward single-step calculations. Instead, students must structure complex conditions into rigorous mathematical schemes using three primary analytical methodologies:

2.1 The Exhaustive Case-Classification Strategy (分类讨论法)

When a problem contains multiple coupled constraints (such as restricted positions, specific digit properties, or color adjacency rules), classify the sample space into sub-cases based on a primary restricting variable.

  1. Rule of Non-Overlapping & Non-Omission (不重不漏):
    • The union of all sub-cases must equal the entire valid space: ⋃i=1kCi=Svalid\bigcup_{i=1}^k C_i = \mathcal{S}_{\text{valid}}.
    • No two sub-cases may share an outcome: Ci∩Cj=∅C_i \cap C_j = \emptyset for i≠ji \neq j.
  2. Choosing the Classification Standard (选定分类标准): Always select the most restrictive condition as the branching variable (e.g., whether a specific region uses the same color as another non-adjacent region, or whether a unit digit is zero vs. non-zero).

2.2 The Indirect / Complementary Subtractive Strategy (正难则反 - 间接法)

When direct calculation requires analyzing numerous tedious cases (such as conditions involving "at least one", "not all equal", or "at least two adjacent"), switch to complementary counting:

N(Satisfying Conditions)=N(Total Sample Space)−N(Violating Conditions)N(\text{Satisfying Conditions}) = N(\text{Total Sample Space}) - N(\text{Violating Conditions})

Example Principle: To count the number of 4-digit numbers containing at least one digit '8', it is far simpler to subtract the number of 4-digit numbers containing no '8' from the total number of valid 4-digit numbers:

N=(9×103)−(8×93)=9000−5832=3168N = (9 \times 10^3) - (8 \times 9^3) = 9000 - 5832 = 3168
Loading diagram...
Decision Tree for Applying Fundamental Counting Principles

3. Classic Gaokao Worked Examples and Solutions

Worked Example 1: Map and Region Coloring under Adjacency Constraints

Problem Statement: A map consists of 5 regions labeled A,B,C,D,EA, B, C, D, E. Region AA is adjacent to all four other regions (B,C,D,EB, C, D, E). Region BB is adjacent to A,C,EA, C, E. Region CC is adjacent to A,B,DA, B, D. Region DD is adjacent to A,C,EA, C, E. Region EE is adjacent to A,B,DA, B, D. There are 44 distinct colors available. Adjacent regions must be painted in different colors. Calculate the total number of valid coloring schemes.

Detailed Mathematical Solution:

  • Step 1: Analyze Adjacencies and Constraints. Region AA touches all other 4 regions (B,C,D,EB, C, D, E). Therefore, region AA must be assigned a unique color first.

  • Step 2: Assign Color to Region AA. Since there are 44 colors available, AA can be colored in 44 ways. After coloring AA, exactly 33 colors remain for the rest of the regions B,C,D,EB, C, D, E.

  • Step 3: Classify based on non-adjacent regions BB and DD. Regions BB and DD are not adjacent to each other. We divide into two mutually exclusive cases based on whether BB and DD receive the same color or different colors.

  • Case 1: Regions BB and DD have the SAME color.

    1. Select color for BB: There are 33 available colors (excluding AA's color).
    2. Color for DD: Since DD must share BB's color, there is only 11 choice for DD.
    3. Color for CC: Region CC is adjacent to A,B,DA, B, D. Since BB and DD share the same color, CC is adjacent to only 22 distinct colors (the color of AA and the common color of B,DB, D). Thus, CC has 4−2=24 - 2 = 2 choices.
    4. Color for EE: Region EE is adjacent to A,B,DA, B, D. Similarly, EE has 4−2=24 - 2 = 2 choices.
    • Number of ways for Case 1: N1=3×1×2×2=12N_1 = 3 \times 1 \times 2 \times 2 = 12 ways.
  • Case 2: Regions BB and DD have DIFFERENT colors.

    1. Select color for BB: 33 choices (excluding AA's color).
    2. Select color for DD: DD cannot use AA's color nor BB's color, leaving 4−2=24 - 2 = 2 choices.
    3. Color for CC: Region CC is adjacent to A,B,DA, B, D. Since A,B,DA, B, D all have mutually distinct colors, 33 colors are used up. CC has 4−3=14 - 3 = 1 choice.
    4. Color for EE: Region EE is adjacent to A,B,DA, B, D. Since A,B,DA, B, D have distinct colors, EE has 4−3=14 - 3 = 1 choice.
    • Number of ways for Case 2: N2=3×2×1×1=6N_2 = 3 \times 2 \times 1 \times 1 = 6 ways.
  • Step 4: Combine Cases and Multiply by AA's choices. The sub-total choices for regions (B,C,D,E)(B, C, D, E) is N1+N2=12+6=18N_1 + N_2 = 12 + 6 = 18. Multiplying by the choices for region AA:

    Ntotal=4×(12+6)=4×18=72N_{\text{total}} = 4 \times (12 + 6) = 4 \times 18 = 72

Worked Example 2: Constrained Digit Composition

Problem Statement: Using the digits {0,1,2,3,4,5}\{0, 1, 2, 3, 4, 5\}, how many 4-digit even numbers without repeated digits can be formed?

Detailed Mathematical Solution:

  • Step 1: Identify Constraints.

    1. A 4-digit number cannot have 00 in the thousands place (thousands digit ≠0\neq 0).
    2. An even number must have an even units digit (0,2,0, 2, or 44).
    3. Digits cannot be repeated (without replacement).
  • Step 2: Classify based on the Units Digit. Since 00 affects both the thousands place constraint and the even units place constraint, we split into two mutually exclusive cases depending on whether the units digit is 00 or non-zero even (22 or 44).

  • Case 1: The units digit is 00.

    • Units digit: 11 choice (digit 00).
    • Thousands digit: Can be any of {1,2,3,4,5}\{1, 2, 3, 4, 5\}, so 55 choices.
    • Hundreds digit: Select from the remaining 44 digits, so 44 choices.
    • Tens digit: Select from the remaining 33 digits, so 33 choices.
    • Number of ways for Case 1: N1=1×5×4×3=60N_1 = 1 \times 5 \times 4 \times 3 = 60
  • Case 2: The units digit is 22 or 44.

    • Units digit: 22 choices (either 22 or 44).
    • Thousands digit: Must not be 00 and must not be the units digit chosen. Out of 66 digits, excluding 00 and the chosen units digit leaves 6−2=46 - 2 = 4 choices.
    • Hundreds digit: Can now include 00, excluding the thousands and units digits. Remaining choices: 6−2=46 - 2 = 4 choices.
    • Tens digit: Remaining choices: 6−3=36 - 3 = 3 choices.
    • Number of ways for Case 2: N2=2×4×4×3=96N_2 = 2 \times 4 \times 4 \times 3 = 96
  • Step 3: Apply the Addition Principle.

    Ntotal=N1+N2=60+96=156N_{\text{total}} = N_1 + N_2 = 60 + 96 = 156
Test Your Knowledge

A planar map consists of 4 regions A, B, C, D in a ring where A touches B and D, B touches A and C, C touches B and D, and D touches A and C. If 4 distinct colors are available and adjacent regions cannot share the same color, how many valid coloring schemes exist?

A

48 schemes

B

84 schemes

C

96 schemes

D

108 schemes

Test Your Knowledge

How many 3-digit odd numbers without repeated digits can be formed using the digits from {0, 1, 2, 3, 4, 5}?

A

36 numbers

B

40 numbers

C

48 numbers

D

60 numbers

Test Your Knowledge

A student needs to choose courses for the upcoming term. Group A contains 4 science courses, Group B contains 3 humanities courses, and Group C contains 2 art courses. If the student must select either 1 course from each group OR exactly 2 courses from Group A and none from others, how many total selection plans are possible?

A

30 plans

B

24 plans

C

18 plans

D

36 plans

Sections you finish are checked off in the contents.