Inmathematics, afinite set is a collection of finitely many different things; the things are calledelements ormembers of the set and are typicallymathematical objects, such as numbers, symbols, points in space, lines, othergeometric shapes, variables, or other sets.
Informally, a finite set is a set which one could in principle count and finish counting. For example,is a finite set with five elements. The number of elements of a finite set is anatural number (possibly zero) and is called thecardinality (or thecardinal number) of the set. A set that is not a finite set is called aninfinite set. For example, the setof all positive integers is infinite.
Finite sets are particularly important incombinatorics, the mathematical study ofcounting. Many arguments involving finite sets rely on thepigeonhole principle, which states that there cannot exist aninjectivefunction from a larger finite set to a smaller finite set.
Thenatural numbers are defined abstractly by thePeano axioms, and can be constructed set-theoretically (for example, by theVon Neumann ordinals). Then, formally, a set is calledfinite if there exists abijectionfor some natural number, analogous tocounting its elements. If isempty, this isvacuously satisfied for with theempty function. The number is the set's cardinality, denoted as.
If a nonempty set is finite, its elements may be written in asequence:Ifn ≥ 2, then there are multiple such sequences.Incombinatorics, a finite set with elements is sometimes called an-set and asubset with elements is called a-subset. For example, the set is a 3-set – a finite set with three elements – and is a 2-subset of it.
Anyproper subset of a finite set is finite and has fewer elements thanS itself. As a consequence, there cannot exist abijection between a finite setS and a proper subset ofS. Any set with this property is calledDedekind-finite. Using the standardZFC axioms forset theory, every Dedekind-finite set is also finite, but this implication cannot beproved in ZF (Zermelo–Fraenkel axioms without theaxiom of choice) alone.Theaxiom of countable choice, a weak version of the axiom of choice, is sufficient to prove this equivalence.
Any injective function between two finite sets of the same cardinality is also asurjective function (a surjection). Similarly, any surjection between two finite sets of the same cardinality is also an injection.
In fact, by theinclusion–exclusion principle:More generally, the union of any finite number of finite sets is finite. TheCartesian product of finite sets is also finite, with:Similarly, the Cartesian product of finitely many finite sets is finite. A finite set with elements has distinct subsets. That is, thepower set of a finite setS is finite, with cardinality.
Any subset of a finite set is finite. The set of values of a function when applied to elements of a finite set is finite.
All finite sets arecountable, but not all countable sets are finite. (Some authors, however, use "countable" to mean "countably infinite", so do not consider finite sets to be countable.)
Thefree semilattice over a finite set is the set of its non-empty subsets, with thejoin operation being given by set union.
Necessary and sufficient conditions for finiteness
is a finite set. That is, can be placed into a one-to-one correspondence with the set of those natural numbers less than some specific natural number.
(Kazimierz Kuratowski) has all properties which can be proved by mathematical induction beginning with the empty set and adding one new element at a time.
(Paul Stäckel) can be given atotal ordering which iswell-ordered both forwards and backwards. That is, every non-empty subset of has both a least and a greatest element in the subset.
Every one-to-one function from into itself isonto. That is, thepowerset of the powerset of is Dedekind-finite (see below).[2]
Every surjective function from onto itself is one-to-one.
(Alfred Tarski) Every non-empty family of subsets of has aminimal element with respect to inclusion.[3] (Equivalently, every non-empty family of subsets of has amaximal element with respect to inclusion.)
can be well-ordered and any two well-orderings on it areorder isomorphic. In other words, the well-orderings on have exactly oneorder type.
In ZF set theory without theaxiom of choice, the following concepts of finiteness for a set are distinct. They are arranged in strictly decreasing order of strength, i.e. if a set meets a criterion in the list then it meets all of the following criteria. In the absence of the axiom of choice the reverse implications are all unprovable, but if the axiom of choice is assumed then all of these concepts are equivalent.[5] (Note that none of these definitions need the set of finiteordinal numbers to be defined first; they are all pure "set-theoretic" definitions in terms of the equality and membership relations, not involving ω.)
I-finite. Every non-empty set of subsets of has a-maximal element. (This is equivalent to requiring the existence of a-minimal element. It is also equivalent to the standard numerical concept of finiteness.)
Ia-finite. For every partition of into two sets, at least one of the two sets is I-finite. (A set with this property which is not I-finite is called anamorphous set.[6])
II-finite. Every non-empty-monotone set of subsets of has a-maximal element.
The forward implications (from strong to weak) are theorems within ZF. Counter-examples to the reverse implications (from weak to strong) in ZF withurelements are found usingmodel theory.[7]
Most of these finiteness definitions and their names are attributed toTarski 1954 byHoward & Rubin 1998, p. 278. However, definitions I, II, III, IV and V were presented inTarski 1924, pp. 49, 93, together with proofs (or references to proofs) for the forward implications. At that time, model theory was not sufficiently advanced to find the counter-examples.
Each of the properties I-finite thru IV-finite is a notion of smallness in the sense that any subset of a set with such a property will also have the property. This is not true for V-finite thru VII-finite because they may have countably infinite subsets.
An important property of finite sets is that, for example, if a set has cardinality 4, then it cannot also have cardinality 5. Intuitively meaning that a set cannot have both exactly 4 elements and exactly 5 elements. However, it is not so obviously proven. The following proof is adapted fromAnalysis I byTerence Tao.[8]
Lemma: If a set has cardinality and then the set (i.e. with the element removed) has cardinality
Proof: Given as above, since has cardinality there is a bijection from to Then, since there must be some number in We need to find a bijection from to (which may be empty). Define a function such that if, and otherwise. Then is a bijection from to
Theorem: If a set has cardinality then it cannot have any other cardinality. That is, cannot also have cardinality
Proof: If is empty (has cardinality 0), then there cannot exist a bijection from to any nonempty set since,vacuously, nothing can map to Assume, byinduction that the result has been proven up to some cardinality If has cardinality assume it also has cardinality We want to show that By the lemma above, must have cardinality and Since, by induction, cardinality is unique for sets with cardinality it must be that and thus
^The equivalence of the standard numerical definition of finite sets to the Dedekind-finiteness of the power set of the power set was shown in 1912 byWhitehead & Russell 2009, p. 288. This Whitehead/Russell theorem is described in more modern language byTarski 1924, pp. 73–74.
^Tarski 1924, pp. 48–58, demonstrated that his definition (which is also known as I-finite) is equivalent to Kuratowski's set-theoretical definition, which he then noted is equivalent to the standard numerical definition via the proof byKuratowski 1920, pp. 130–131.
^This list of 8 finiteness concepts is presented with this numbering scheme by bothHoward & Rubin 1998, pp. 278–280, andLévy 1958, pp. 2–3, although the details of the presentation of the definitions differ in some respects which do not affect the meanings of the concepts.
^Lévy 1958 found counter-examples to each of the reverse implications in Mostowski models. Lévy attributes most of the results to earlier papers by Mostowski and Lindenbaum.
Dedekind, Richard (2012),Was sind und was sollen die Zahlen?, Cambridge Library Collection (Paperback ed.), Cambridge, UK: Cambridge University Press,ISBN978-1-108-05038-8