HOW TO COUNT without counting:
Enumerative Combinatorics
- Basic principles of counting
Notation: The number of elements in a set A is denoted #A or |A|
or n(A).
- The one-to-one correspondence principle
- If A <--> B, then |A| = |B|.
- Tree diagrams: Possibilities <--> paths to leaves <-->
leaves.
- The addition principle: counting by cases
- Disjoint sets/cases
- Subtraction formula
| Ac | = |U\A| =
|U| - |A| if U = universal set.
- Inclusion-Exclusion Principle
- Tree diagrams: #leaves = sum of #leaves in subtrees.
- The multiplication principle: counting by stages
- Exponential formulas: counting functions, 1-1 functions, subsets
- # functions f: A --> B is |B||A|.
- # 1-1 functions f: A --> B is
|B||A|.
- # subsets of set A is 2|A|.
- Division formulas
- # distinguishable or unordered cases from # distinguishable
or ordered cases
- Counting and probability:
P(A) = |A|/|S|.
- Forms for answers
- Explicit, closed-form formulas
- Recurrences
- Generating functions
- Key questions
- What would a list of the possibilities look like?
- Is order important?
- What cases are indistinguishable?
- What are the constraints on repetitions?
- What is the answer in small cases?
- Linearly ordered arrangements
Finite sequences, strings, words, ...
- Ordered arrangements without repetitions, permutations
- Ordered arrangements with unlimited repetition allowed
- Ordered arrangements with limited repetition allowed
- Specified numbers of repetitions: permutations of a multiset
- Bounded numbers of repetitions: r-permutations of a multiset
- Other restrictions
- Unordered selections
- Selections without repetitions
Combinations,subsets, samples without replacement
- Selections with unlimited repetition allowed
Multisets, samples with replacement,
nonnegative integer solutions of
x1 + ... + xn = r.
- Selections with limited repetition allowed
Submultisets, r-combinations of a multiset with n
distinct elements
- Sampling
The Fourfold Way
(ps)
(pdf)
- Distributions/functions
- Number of ways to distribute a articles into b
boxes
- Distinguishable articles, distinguishable boxes,
unordered distribution
- Distinguishable articles, distinguishable boxes,
ordered distribution--flagpole problem
- Indistinguishable articles, distinguishable boxes
Flagpole problem with indistinguishable flags
- Number of ways to distribute a articles into b boxes
with a given number in each box
- Distinguishable articles, distinguishable boxes
- Multinomial distribution
- Maxwell-Boltzmann statistics
- Indistinguishable articles, distinguishable boxes
- Bose-Einstein statistics
- Fermi-Dirac statistics
- Number of ways to distribute a articles
into b indistinguishable boxes
- Distinguishable articles: partitions of a set
- Stirling numbers of the second kind
- Bell numbers
- Indistinguishable articles: partitions of an integer
- The Twelvefold Way
(ps)
(pdf)
The Sixteenfold Way
(ps)
(pdf)
- Generating functions
- Ordinary generating functions
- Exponential generating functions