Math ClubMath Club
v1 · padrão canônico

Lesson 36 — Fundamental Counting Principle

FCP: if a task has k independent stages with n₁, n₂, …, nₖ options each, the total number of possible sequences is the product. Additive principle, factorial, and applications.

Used in: High school year 1 (age 15) · Equiv. Math A Japanese · Equiv. Class 10 German

N=n1×n2××nkN = n_1 \times n_2 \times \cdots \times n_k

The Fundamental Counting Principle: if a task divides into kk independent stages, with nin_i choices at the ii-th stage, the total number of possible sequences is the product n1×n2××nkn_1 \times n_2 \times \cdots \times n_k. The connector "AND" between stages generates multiplication; the connector "OR" between mutually exclusive alternatives generates addition.

Choose your door

Rigorous notation, full derivation, hypotheses

Rigorous statement and additive principle

Multiplicative Principle (FCP)

"If you have mm ways to do one thing and nn ways to do another, then there are mnm \cdot n ways to do both things." — OpenStax College Algebra 2e, §11.5

Formal justification: the set of all sequences is the Cartesian product E1×E2××EkE_1 \times E_2 \times \cdots \times E_k, and A×B=AB|A \times B| = |A| \cdot |B| (proved by induction). The FCP is exactly this theorem.

Additive Principle

Connector between stagesOperation
"AND" — sequential independent stagesmultiplication
"OR" — mutually exclusive alternativesaddition

"The Addition Principle states that if there are mm outcomes in event AA and nn outcomes in event BB, and AA and BB are mutually exclusive, then there are m+nm + n outcomes in event AA or BB." — OpenStax College Algebra 2e, §11.5

Factorial

Tree of possibilities

A decision tree with kk levels represents the FCP graphically: each node at level ii generates nin_i children. The total number of leaves is n1×n2××nkn_1 \times n_2 \times \cdots \times n_k.

rootn₁=3n₂=26 leaves= 3 × 2

Tree with 3 options at the 1st level and 2 at the 2nd level: 6 leaves = 3 × 2. The FCP in action.

Functions and subsets via FCP

  • Total functions f:ABf: A \to B with A=m,B=n|A| = m,\, |B| = n: nmn^m (each element of AA has nn independent images).
  • Total subsets of SS with S=n|S| = n: 2n2^n (each element is included or excluded).
  • Injective functions f:ABf: A \to B (mnm \leq n): n(n1)(nm+1)=n!(nm)!n \cdot (n-1) \cdots (n-m+1) = \frac{n!}{(n-m)!} — basis of arrangement (Lesson 37).

Worked examples

Exercise list

44 exercises · 11 with worked solution (25%)

Application 27Understanding 6Modeling 5Challenge 3Proof 3
  1. Ex. 36.1Proof

    Assume event A can occur in nn ways and event B can occur in mm ways, and A and B are mutually exclusive. In how many ways can event A or B occur?

    Select the correct option
    Select an option first
    Show solution
    Since the events are mutually exclusive, just add the possibilities: n+mn+m.
  2. Ex. 36.2Proof

    Assume event A can occur in nn ways and event B can occur in mm ways, and A and B are independent. In how many ways can events A and B occur together?

    Select the correct option
    Select an option first
    Show solution
    For independent events, we multiply the possibilities: n×mn\times m.
  3. Ex. 36.3Understanding

    Which conjunction indicates that we should use the Addition Principle?

    Select the correct option
    Select an option first
    Show solution
    The word "or" indicates choice between possibilities, so we use addition.
  4. Ex. 36.4Understanding

    What is the formula for the number of permutations of nn distinct objects?

    Select the correct option
    Select an option first
    Show solution
    Permuting nn distinct objects results in n!n! arrangements.
  5. Ex. 36.5UnderstandingAnswer key

    What is the formula for combinations of nn objects taken rr at a time (order does not matter)?

    Select the correct option
    Select an option first
    Show solution
    Combination without order is given by n!r!(nr)!\frac{n!}{r!(n-r)!}.
  6. Ex. 36.6Application

    Consider the set A={5,3,1,2,3,4,5,6}A = \{-5, -3, -1, 2, 3, 4, 5, 6\}. In how many ways can you choose a negative number or an even number from AA?

    Select the correct option
    Select an option first
    Show solution
    Negatives: 5,3,1-5,-3,-1 (3). Evens: 2,4,62,4,6 (3). No intersection, so 3+3=63+3=6.
    Show step-by-step (with the why)
    1. List the negative elements of AA.
    2. List the even elements of AA.
    3. Count how many are in each list.
    4. Verify that no elements are both negative and even.
    5. Add the two counts to get the total.
  7. Ex. 36.7ApplicationAnswer key

    Consider the set B={23,16,7,2,20,36,48,72}B = \{-23, -16, -7, -2, 20, 36, 48, 72\}. In how many ways can you choose a positive number or an odd number from BB?

    Select the correct option
    Select an option first
    Show solution
    Positives: 20,36,48,7220,36,48,72 (4). Odds: 23,7-23,-7 (2). No intersection, total 4+2=64+2=6.
    Show step-by-step (with the why)
    1. Identify the positive numbers in BB.
    2. Identify the odd numbers in BB.
    3. Count each group.
    4. Confirm that no number belongs to both groups.
    5. Add the counts.
  8. Ex. 36.8Application

    In how many ways can you choose a red ace or a spade card from a standard deck?

    Select the correct option
    Select an option first
    Show solution
    Red aces: 2 (hearts and diamonds). Spades: 13. No overlap, so 2+13=152+13=15.
    Show step-by-step (with the why)
    1. Count the red aces (hearts and diamonds).
    2. Count the spade cards.
    3. Check intersection (none).
    4. Add the two counts.
  9. Ex. 36.9Application

    In how many ways can you choose a paint color among 5 shades of green, 4 shades of blue, or 7 shades of yellow?

    Select the correct option
    Select an option first
    Show solution
    Adding the options: 5+4+7=165+4+7=16.
    Show step-by-step (with the why)
    1. Count the shades of green.
    2. Count the shades of blue.
    3. Count the shades of yellow.
    4. Add the three counts.
  10. Ex. 36.10Application

    How many outcomes are possible when flipping two coins?

    Select the correct option
    Select an option first
    Show solution
    Each coin has 2 faces; 2×2=42\times2=4 combinations.
    Show step-by-step (with the why)
    1. Identify that each coin has 2 possible outcomes.
    2. Apply the Multiplication Principle: 2×22\times2.
    3. Get the total of 4 outcomes.
  11. Ex. 36.11Application

    How many outcomes are possible when flipping a coin and rolling a 6-sided die?

    Select the correct option
    Select an option first
    Show solution
    Coin: 2 outcomes; die: 6 outcomes; 2×6=122\times6=12.
    Show step-by-step (with the why)
    1. Count the outcomes of the coin (2).
    2. Count the outcomes of the die (6).
    3. Multiply: 2×62\times6.
    4. Get 12 outcomes.
  12. Ex. 36.12ApplicationAnswer key

    How many two-letter strings can be formed if the first letter comes from the set A={b,c,d}A=\{b,c,d\} and the second from the set B={a,e,i,o,u}B=\{a,e,i,o,u\}?

    Select the correct option
    Select an option first
    Show solution
    Using multiplication: 3×5=153\times5=15 strings.
    Show step-by-step (with the why)
    1. Count the options for the first letter (3).
    2. Count the options for the second letter (5).
    3. Multiply: 3×53\times5.
    4. Result: 15 strings.
  13. Ex. 36.13Application

    In how many ways can you build a sequence of 3 digits if numbers can be repeated?

    Select the correct option
    Select an option first
    Show solution
    Each position has 10 options; 103=100010^3=1000.
    Show step-by-step (with the why)
    1. Identify that there are 10 digits (0-9).
    2. Apply the Multiplication Principle three times.
    3. Calculate 10×10×1010\times10\times10.
    4. Get 1000 sequences.
  14. Ex. 36.14ApplicationAnswer key

    In how many ways can you build a sequence of 3 digits if numbers cannot be repeated?

    Select the correct option
    Select an option first
    Show solution
    First digit: 10 options; second: 9; third: 8; 10×9×8=72010\times9\times8=720.
    Show step-by-step (with the why)
    1. Choose the first digit (10 options).
    2. Choose the second digit (9 remaining options).
    3. Choose the third digit (8 remaining options).
    4. Multiply: 10×9×810\times9\times8.
    5. Result: 720.
  15. Ex. 36.15Application

    Evaluate the expression P(5,2)P(5,2).

    Select the correct option
    Select an option first
    Show solution
    P(5,2)=5×4=20P(5,2)=5\times4=20.
    Show step-by-step (with the why)
    1. Use the formula P(n,r)=n(n1)(nr+1)P(n,r)=n\cdot (n-1)\cdots (n-r+1).
    2. Substitute n=5n=5, r=2r=2: 5×45\times4.
    3. Multiply to get 20.
  16. Ex. 36.16Application

    Evaluate the expression P(8,4)P(8,4).

    Select the correct option
    Select an option first
    Show solution
    P(8,4)=8×7×6×5=1680P(8,4)=8\times7\times6\times5=1680.
  17. Ex. 36.17Application

    Evaluate the expression P(3,3)P(3,3).

    Select the correct option
    Select an option first
    Show solution
    P(3,3)=3×2×1=6P(3,3)=3\times2\times1=6.
  18. Ex. 36.18Application

    Evaluate the expression P(9,6)P(9,6).

    Select the correct option
    Select an option first
    Show solution
    P(9,6)=9×8×7×6×5×4=60480P(9,6)=9\times8\times7\times6\times5\times4=60480.
  19. Ex. 36.19Application

    Evaluate the expression P(11,5)P(11,5).

    Select the correct option
    Select an option first
    Show solution
    P(11,5)=11×10×9×8×7=55440P(11,5)=11\times10\times9\times8\times7=55440.
  20. Ex. 36.20Application

    Evaluate the expression C(8,5)C(8,5).

    Select the correct option
    Select an option first
    Show solution
    C(8,5)=8!5!3!=56C(8,5)=\frac{8!}{5!\,3!}=56.
  21. Ex. 36.21Application

    Evaluate the expression C(12,4)C(12,4).

    Select the correct option
    Select an option first
    Show solution
    C(12,4)=12!4!8!=495C(12,4)=\frac{12!}{4!\,8!}=495.
  22. Ex. 36.22Application

    Evaluate the expression C(26,3)C(26,3).

    Select the correct option
    Select an option first
    Show solution
    C(26,3)=26×25×246=2600C(26,3)=\frac{26\times25\times24}{6}=2600.
  23. Ex. 36.23Application

    Evaluate the expression C(7,6)C(7,6).

    Select the correct option
    Select an option first
    Show solution
    C(7,6)=C(7,1)=7C(7,6)=C(7,1)=7.
  24. Ex. 36.24Application

    Evaluate the expression C(10,3)C(10,3).

    Select the correct option
    Select an option first
    Show solution
    C(10,3)=10×9×86=120C(10,3)=\frac{10\times9\times8}{6}=120.
  25. Ex. 36.25ApplicationAnswer key

    How many different skateboards can be built by combining 10 types of decks, 3 types of trucks, and 4 types of wheels?

    Select the correct option
    Select an option first
    Show solution
    Multiplying the options: 10×3×4=12010\times3\times4=120.
  26. Ex. 36.26UnderstandingAnswer key

    How many distinct subsets exist in the set {1,2,3,4,5,6,7,8,9,10}\{1,2,3,4,5,6,7,8,9,10\}?

    Select the correct option
    Select an option first
    Show solution
    A set with nn elements has 2n2^{n} subsets; here 210=10242^{10}=1024.
  27. Ex. 36.27Understanding

    How many distinct subsets exist in the set of the 26 letters of the alphabet?

    Select the correct option
    Select an option first
    Show solution
    With 2626 elements, the number of subsets is 2262^{26}.
  28. Ex. 36.28UnderstandingAnswer key

    How many distinct subsets exist in a set containing 5 distinct numbers, 4 distinct letters, and 3 distinct symbols?

    Select the correct option
    Select an option first
    Show solution
    Total elements 5+4+3=125+4+3=12; subsets 212=40962^{12}=4096.
  29. Ex. 36.29ModelingAnswer key

    How many distinct arrangements can be made with the letters of the word "juggernaut"?

    Select the correct option
    Select an option first
    Show solution
    The word has 10 letters with two repetitions of "g" and two of "u". Arrangements =10!2!2!=907200=\frac{10!}{2!\,2!}=907200.
  30. Ex. 36.30Modeling

    How many distinct arrangements can be made with the letters of the word "academia"?

    Select the correct option
    Select an option first
    Show solution
    There are 8 letters, with 3 "a"s. Arrangements =8!3!=6720=\frac{8!}{3!}=6720.
  31. Ex. 36.31Modeling

    How many distinct arrangements can be made with the letters of the word "academia" that begin and end with "a"?

    Select the correct option
    Select an option first
    Show solution
    Fixing "a" at the ends, 6 distinct letters remain; arrangements 6!=7206!=720.
  32. Ex. 36.32ModelingAnswer key

    Suni has 20 plants: 6 tulips, 6 roses, and 8 daisies. How many distinct arrangements along the garden border are possible?

    Select the correct option
    Select an option first
    Show solution
    Use arrangements with repetitions: 20!6!6!8!\frac{20!}{6!\,6!\,8!}.
  33. Ex. 36.33ModelingAnswer key

    A family of 2 parents and 3 children poses for a photo. How many arrangements are possible with no restrictions?

    Select the correct option
    Select an option first
    Show solution
    There are 5 people; arrangements 5!=1205!=120.
  34. Ex. 36.34Challenge

    The set SS contains 900,000,000 integers, all with the same number of digits and none can start with 0. How many digits does each number in SS have?

    Select the correct option
    Select an option first
    Show solution
    dd-digit numbers: 910d1=900,000,0009\cdot10^{d-1}=900{,}000{,}000, so 10d1=100,000,000=10810^{d-1}=100{,}000{,}000=10^{8}, thus d1=8d-1=8 and d=9d=9.
  35. Ex. 36.35Challenge

    The number of 5-element subsets of a set with nn elements equals the number of 6-element subsets of that same set. What is nn?

    Select the correct option
    Select an option first
    Show solution
    Equality (n5)=(n6)\binom{n}{5}=\binom{n}{6} implies n5=6n-5=6, therefore n=11n=11.
  36. Ex. 36.36Challenge

    A conductor has 10 cellists and 16 violinists. What is the ratio between the total number of possible rankings of the cellists and the total number of possible rankings of the violinists?

    Select the correct option
    Select an option first
    Show solution
    Rankings: 10!10! and 16!16!. Ratio =10!16!=1161514131211=1:5,765,760=\frac{10!}{16!}=\frac{1}{16\cdot15\cdot14\cdot13\cdot12\cdot11}=1:5,765,760.
  37. Ex. 36.37Proof

    Is it possible for C(n,r)C(n,r) to equal P(n,r)P(n,r)? Explain when this occurs.

    Select the correct option
    Select an option first
    Show solution
    Equality requires r!=1r! =1, so r=0r=0 or r=1r=1 (for r=0r=0, both equal 1; for r=1r=1, both equal nn).
  38. Ex. 36.38ApplicationAnswer key

    A company offers 6 voice packages and 8 data packages, with 3 packages including both. In how many ways can you choose voice or data, but not both?

    Select the correct option
    Select an option first
    Show solution
    Voice only: 63=36-3=3; data only: 83=58-3=5; total 3+5=83+5=8.
  39. Ex. 36.39Application

    In a race with 14 horses, how many different trifectas (first, second, and third places) are possible?

    Select the correct option
    Select an option first
    Show solution
    Trifecta = permutation of 3 out of 14: P(14,3)=14×13×12=2184P(14,3)=14\times13\times12=2184.
  40. Ex. 36.40Application

    A T-shirt company offers 4 sizes, 2 cotton types, and 5 colors. How many different T-shirts can be chosen?

    Select the correct option
    Select an option first
    Show solution
    Multiplying: 4×2×5=404\times2\times5=40.
  41. Ex. 36.41Application

    In how many ways can you choose 15 neighborhoods from 30 available?

    Select the correct option
    Select an option first
    Show solution
    It is (3015)=155117520\binom{30}{15}=155117520.
  42. Ex. 36.42Application

    A store has 4 brands of paint markers, 12 different colors, and 3 types of ink. How many different markers exist?

    Select the correct option
    Select an option first
    Show solution
    Multiplying: 4×12×3=1444\times12\times3=144.
  43. Ex. 36.43Application

    In how many ways can a committee be formed with 3 freshmen and 4 seniors from 8 freshmen and 11 seniors?

    Select the correct option
    Select an option first
    Show solution
    Choose freshmen (83)=56\binom{8}{3}=56 and seniors (114)=330\binom{11}{4}=330; product 56×330=1848056\times330=18480.
  44. Ex. 36.44Application

    How many different batting orders of 9 batters can be formed from 15 players?

    Select the correct option
    Select an option first
    Show solution
    The number of arrangements of 9 players out of 15 is P(15,9)=15×14×13×12×11×10×9×8×7=1.816.214.400P(15,9)=15\times14\times13\times12\times11\times10\times9\times8\times7=1.816.214.400, which corresponds to the correct option.

Sources for this lesson

Updated on 2026-05-05 · Author(s): Clube da Matemática

Found an error? Open an issue on GitHub or submit a PR — open source forever.