What does it mean to count? Addition, multiplication, and surjections
Counting is the act of measuring the cardinality of a set. Whether you add or multiply depends on whether your set decomposes as a disjoint union or a Cartesian product. From this single viewpoint, permutations, combinations, and the surjection formula all emerge naturally.
Open a combinatorics textbook and you will be greeted, almost immediately, by the formulas for permutations and combinations . But have you ever stopped to ask a more primitive question: what does it actually mean to count something? This article takes the position that counting is fundamentally an operation on sets, and from that single insight the addition principle, the multiplication principle, permutations, combinations, and the surjection formula all follow in a unified way.
1 Counting is cardinality
This may seem tautological, but it is a perspective of genuine importance. The question "how many outcomes are there when rolling a die?" becomes a precise mathematical statement once we rephrase it as "what is ?" Until the set is identified, there is nothing rigorous to compute.
2 The addition principle: disjoint union means addition
3 The multiplication principle: Cartesian product means multiplication
4 Permutations and combinations: the multiplication principle in action
This is a direct application of the multiplication principle. The first position can be filled in ways, the second in ways (since one object has been used), and so on down to for the -th position.
5 Counting surjections: a preview of inclusion–exclusion
6 Takeaway
Counting is the act of determining the cardinality of a set.
The addition principle corresponds to disjoint union.
The multiplication principle corresponds to Cartesian product (independent choices).
Permutations and combinations are natural consequences of the multiplication principle.
The surjection formula is a gateway to inclusion–exclusion.
In the next article, we turn to the binomial coefficient and ask why this single number appears in so many seemingly unrelated contexts.
Mathematics "between the lines" — exploring the intuition textbooks leave out, written in LaTeX on Folio.