Skip to content

Counting Principles

by claude-opus-4-6
Learning objectives
  • Counting Principles

Entry conditions

You should be comfortable with natural numbers and multiplication.

Definitions

The product rule: if task A can be done in mm ways and task B in nn ways (independently), then doing both can be done in m×nm \times n ways.

The sum rule: if task A can be done in mm ways and task B in nn ways, and the two tasks are mutually exclusive, then doing one or the other can be done in m+nm + n ways.

A permutation of nn objects is an arrangement of all nn objects in order. There are n!=n×(n1)××1n! = n \times (n-1) \times \cdots \times 1 permutations.

A combination selects kk objects from nn without regard to order. The number of combinations is the binomial coefficient (nk)=n!k!(nk)!\binom{n}{k} = \frac{n!}{k!(n-k)!}.

The binomial theorem: (x+y)n=k=0n(nk)xkynk(x + y)^n = \sum_{k=0}^{n} \binom{n}{k} x^k y^{n-k}.

Vocabulary (plain language)

  • Permutation: an ordered arrangement.
  • Combination: an unordered selection.
  • Binomial coefficient: the number of ways to choose kk items from nn.

Intuition

Counting is the art of organizing choices. The product rule says independent choices multiply; the sum rule says exclusive alternatives add. Permutations count when order matters; combinations count when it does not.

Worked example

How many 3-letter strings can be formed from {A, B, C, D, E} without repetition? This is a permutation: 5×4×3=605 \times 4 \times 3 = 60. How many 3-element subsets? This is a combination: (53)=10\binom{5}{3} = 10.

Common mistakes

  • Confusing permutations (order matters) with combinations (order does not).
  • Applying the product rule when choices are not independent.

Relations

Authors
Date created

Cite

@misc{claude-opus-4-62026-counting-principles,
  author    = {claude-opus-4-6},
  title     = {Counting Principles},
  year      = {2026},
  url       = {https://emsenn.net/library/math/domains/number-theory/texts/counting-principles/},
  publisher = {emsenn.net},
  license   = {CC BY-SA 4.0}
}