cardinality of disjoint union of finite sets
To begin we will need a lemma.
Lemma.
Suppose , , , and are sets, with , and suppose there exist bijective maps and . Thenthere exists a bijective map from to .
Proof.
Define the map by
(1) |
To see that is injective, let , where . If , then by the injectivity of we have
(2) |
Similarly if , by the injectivity of . If and , then , while , whence because and are disjoint. If and , then by the same reasoning. Thus is injective. To see that is surjective, let . If , then by the surjectivity of there exists some such that , hence . Similarly if , by the surjectivity of there exists some such that , hence . Thus is surjective.∎
Theorem.
If and are finite sets with , then .
Proof.
Let and be finite, disjoint sets.If either or is empty, the result holds trivially, so suppose and are nonempty with and . Then there exist bijections and . Define by for each . To see that is injective, let , and suppose . Then , whence . Thus is injective. To see that is surjective, let . By construction, , and consequently , so ; therefore we may take to have , so is surjective. Then, again by construction, the composition is a bijection from to , and as such, by the preceding lemma, the map defined by
(3) |
is a bijection. Of course, the domain of is simply , so , as asserted.∎
Corollary.
Let be a family of mutually disjoint, finite sets. Then .
Proof.
We proceed by induction on . In the case , the the preceding result applies, so let , and suppose. Then by our inductive hypothesis and the preceding result, we have
(4) |
Thus the result holds for , and by the principle of induction, for all .∎