Proof of the complement principle
Builds on Cardinality of a finite setBijective functionRule of sumDisjoint sets
Proof
We first show that every subset of a finite set is finite, by induction on the size. Then we apply the rule of sum.
- Claim: for each natural number , every subset of a set with elements is finite. We argue by induction on .
- For , the only set with elements is . Its only subset is , which is finite.
- Suppose the claim holds for . Let have elements, with a bijection . Let .
- Put and . The restriction of to is a bijection onto , so has elements.
- The set is a subset of . By the induction hypothesis it is finite.
- If , then is finite.
- If , then is the union of the disjoint finite sets and . By the rule of sum, is finite. This proves the claim.
- Now let be finite and . By the claim, and are finite.
- Every element of is in or in , and no element is in both. So is the disjoint union of and .
- By the rule of sum, . Hence .
Idea
The set splits into the part inside and the part outside , with no overlap. So the two sizes add up to , and the size of the outside part is a difference. The only extra work is to check that both parts are finite.
Reading path
To understand this page from the ground up, read these 25 pages in order. The foundations come first. The path takes the proof Proof of the rule of sum.
Show the path as a graph
- no evidence level
- Cardinality of a finite set definition
- Element definition
- Proposition concept
- Set definition
- Conjunction definition
- Implication definition
- Predicate definition
- Empty set object
- Ordered pair definition
- Intersection definition
- Existential quantifier definition
- Universal quantifier definition
- Cartesian product definition
- Disjoint sets definition
- Subset definition
- Uniqueness quantifier definition
- Binary relation definition
- Function definition
- Codomain definition
- Injective function definition
- Surjective function definition
- Bijective function definition
- Proof of the rule of sum proof
- Rule of sum statement
- Proof of the complement principle proof
Where this leads
75 pages build on this one.
- Stars and bars
- Recurrence for Bell numbers
- K5 and K3,3 are not planar
- Complement principle
- Formula for the number of derangements
- Fermat's theorem on sums of two squares
- Dirichlet's approximation theorem
- Sum of two squares theorem
- Number of edges of a complete graph
- Number of k-element subsets
- Generalized pigeonhole principle
- Number of permutations
- A finite integral domain is a field
- Existence of nontrivial solutions of Pell's equation
- A subgroup whose index is the smallest prime divisor of the order is normal
- Inclusion–exclusion principle
- Infinite pigeonhole principle
- Bertrand's ballot theorem
- Pigeonhole principle
- Solutions of Pell's equation are powers of the fundamental solution
- Kuratowski's theorem
- Sperner's theorem
- Fundamental solution of Pell's equation
- Reduction modulo p test for irreducibility
- Lagrange's four-square theorem
- Closed formula for Catalan numbers
- Z/pZ is a field for p prime
- Theorem on friends and strangers
- Order of the symmetric group
- The group of units of Z/pZ is cyclic
- Irreducibility of the cyclotomic polynomials over the rationals
- Erdős–Szekeres theorem
- Order of the alternating group
- A prime is a Gaussian prime if and only if it is 3 modulo 4
- Number of injections
- Gauss–Wantzel theorem
- Proof of the number of edges of a complete graph
- Proof of the Erdős–Szekeres theorem by the pigeonhole principle
- Proof of the sum of two squares theorem
- Proof of Sperner's theorem by Lubell's chain counting
- Proof of the number of k-element subsets by induction
- Proof of the formula for the number of derangements by inclusion–exclusion
- Proof of Fermat's theorem on sums of two squares by Thue's lemma
- Proof that K5 and K3,3 are not planar
- Proof of the order of the symmetric group
- Proof of the order of the alternating group
- Proof of the closed formula for Catalan numbers by the reflection principle
- Proof that a finite integral domain is a field
- Cyclotomic field
- Proof that a subgroup whose index is the smallest prime divisor of the order is normal
- Proof of the pigeonhole principle
- Proof of the number of injections
- Coxeter's integral octonions
- Proof that the solutions of Pell's equation are powers of the fundamental solution
- Proof of the existence of nontrivial solutions of Pell's equation by Dirichlet approximation
- Proof that a prime is a Gaussian prime if and only if it is 3 modulo 4
- Proof of Bertrand's ballot theorem by reflection
- Proof that the group of units of Z/pZ is cyclic by counting elements of each order
- Proof of Lagrange's four-square theorem by descent
- Proof of the irreducibility of the cyclotomic polynomials by reduction modulo primes
- Kronecker's approximation theorem
- Proof of the inclusion–exclusion principle by counting each element
- Proof of stars and bars by a bijection with subsets
- Proof of the recurrence for Bell numbers by the block of the last element
- Proof of Dirichlet's approximation theorem by the pigeonhole principle
- Hurwitz quaternions
- Proof of the theorem on friends and strangers
- 24-cell
- Proof of the number of permutations by counting injections
- No-three-in-line problem
- Proof of the Gauss–Wantzel theorem
- Number of strings of distinct letters
- Proof of the reduction modulo p test for irreducibility
- Inclusion–exclusion formula for elements with none of the properties
- Limiting proportion of derangements
Further reading
About this page
| Tag | DYSCY9R157 |
|---|---|
| URI | m2://DYSCY9R157 |
| Kind | proof |
| Writing | W0 stub |
| MSC | 05A05 |
| Proves | Complement principle |
| Uses | Cardinality of a finite set, Bijective function, Rule of sum, Disjoint sets |
| Methods | Mathematical induction |
| Changed | 4 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.