1.5 Counting and Combinatorics
Basic Principles
Addition Principle
If a task can be done in either of two disjoint ways, then the total ways are summed:
Multiplication Principle
If a task consists of two steps with
Permutations and Combinations
Permutations
Distinct: Number of ways to arrange
Partial: Number of ways to choose and order
With Repetition:
Combinations
Without Repetition: Number of ways to choose
With Repetition: Number of multisets of size
Binomial Theorem
For any integer
Pigeonhole Principle
If