PROJECTENGRAM

FUNDAMENTAL PRINCIPLE OF COUNTING

Tags: #◇Computer Science #◇STT101A #◇Conceptual #◇Fundamental Principle of Counting


◇Overview

The Fundamental Principle of Counting (Basic Multiplication Principle / Rule of Product) states that if a sequential process consists of kk stages where Stage 1 has n1n_1 possible outcomes, and for each outcome of the preceding stages Stage ii has nin_i possible outcomes, then the total number of distinct composite outcomes is the product:
N=n1×n2×⋯×nkN = n_1 \times n_2 \times \cdots \times n_k

◇Key Definitions

  • Two-Stage Rule of Product: If task AA can be performed in mm ways and for each of those ways task BB can be performed in nn ways, the sequence (A,B)(A, B) can be performed in m×nm \times n ways.
  • Cartesian Product Interpretation: For finite sets A1,A2,…,AkA_1, A_2, \dots, A_k, ∣A1×A2×⋯×Ak∣=∣A1∣⋅∣A2∣⋯∣Ak∣|A_1 \times A_2 \times \cdots \times A_k| = |A_1| \cdot |A_2| \cdots |A_k|.
  • Tree Diagram Uniformity: Every node at depth i−1i-1 must have the same branching factor nin_i (even if the specific set of options changes, as in sampling without replacement where n1=n,n2=n−1,…n_1 = n, n_2 = n-1, \dots).

◇Worked Example

Problem: Philippine license plates in a certain format consist of 33 uppercase English letters (2626 possibilities each) followed by 44 digits (00–99, 1010 possibilities each).

  1. If repetition of letters and digits is allowed: 263×104=17,576×10,000=175,760,00026^3 \times 10^4 = 17,576 \times 10,000 = 175,760,000.
  2. If no letter or digit may be repeated: (26×25×24)×(10×9×8×7)=15,600×5,040=78,624,000(26 \times 25 \times 24) \times (10 \times 9 \times 8 \times 7) = 15,600 \times 5,040 = 78,624,000.

◇References & Navigation

CONFIRMATION // 理解度の確認

ACTIVE RECALL VERIFICATION

Select an answer to verify conceptual comprehension and reveal the technical rationale.

Q1

A cloud deployment configuration requires choosing 11 of 44 regions, 11 of 33 instance sizes, and 11 of 55 operating system images. How many distinct deployment configurations exist?

Q2

For the Fundamental Principle of Counting (n1×n2n_1 \times n_2) to apply directly without splitting into cases, what must be true about n2n_2?

Q3

A multiple-choice quiz has 1010 questions, each with 44 options (A,B,C,DA, B, C, D). In how many ways can a student answer all 1010 questions?

Q4

How many positive divisors does the integer 360=23×32×51360 = 2^3 \times 3^2 \times 5^1 have, using the Fundamental Principle of Counting on the prime exponents?

Q5

Why does the number of subsets of an nn-element set equal 2n2^n by the Fundamental Principle of Counting?