# Difference between revisions of "Finite set"

en>JRSpriggs (Undid revision 566676304 by 2002:65DE:7B18:0:0:0:65DE:7B18 (talk) wrong) |
en>John of Reading m (→Foundational issues: Typo fixing, replaced: vice-versa → vice versa using AWB) |
||

Line 1: | Line 1: | ||

In [[mathematics]], a '''finite set''' is a [[Set (mathematics)|set]] that has a finite number of [[ | In [[mathematics]], a '''finite set''' is a [[Set (mathematics)|set]] that has a [[wikt:finite|finite]] number of [[Element (mathematics)|element]]s. For example, | ||

:<math>\{2,4,6,8,10\}\,\!</math> | :<math>\{2,4,6,8,10\}\,\!</math> | ||

is a finite set with five elements. The number of elements of a finite set is a [[natural number]] ([[non-negative]] [[integer]]) | is a finite set with five elements. The number of elements of a finite set is a [[natural number]] (a [[non-negative]] [[integer]]) and is called the [[cardinality]] of the set. A set that is not finite is called '''[[infinite set|infinite]]'''. For example, the set of all positive integers is infinite: | ||

:<math>\{1,2,3,\ldots\}.</math> | :<math>\{1,2,3,\ldots\}.</math> | ||

Finite sets are particularly important in [[combinatorics]], the mathematical study of [[counting]]. Many arguments involving finite sets rely on the [[pigeonhole principle]], which states that there cannot exist an [[injective function]] from a larger finite set to a smaller finite set. | Finite sets are particularly important in [[combinatorics]], the mathematical study of [[counting]]. Many arguments involving finite sets rely on the [[pigeonhole principle]], which states that there cannot exist an [[injective function]] from a larger finite set to a smaller finite set. | ||

==Definition and terminology== | == Definition and terminology == | ||

Formally, a set ''S'' is called '''finite''' if there exists a [[bijection]] | Formally, a set ''S'' is called '''finite''' if there exists a [[bijection]] | ||

:<math>f\colon S\rightarrow\{1,\ldots,n\}</math> | :<math>f\colon S\rightarrow\{1,\ldots,n\}</math> | ||

for some natural number ''n''. The number ''n'' is | for some natural number ''n''. The number ''n'' is the set's cardinality, denoted as |''S''|. The [[empty set]] {} or Ø is considered finite, with cardinality zero. | ||

If a set is finite, its elements may be written as a [[sequence]]: | |||

:<math>S = \{x_1,x_2,\ldots,x_n\}.</math> | :<math>S = \{x_1,x_2,\ldots,x_n\}.</math> | ||

In [[combinatorics]], a finite set with ''n'' elements is sometimes called an ''n-set'' and a subset with ''k'' elements is called a ''k-subset''. For example, the set {5,6,7} is a 3-set | In [[combinatorics]], a finite set with ''n'' elements is sometimes called an ''n-set'' and a subset with ''k'' elements is called a ''k-subset''. For example, the set {5,6,7} is a 3-set – a finite set with three elements – and {6,7} is a 2-subset of it. | ||

== Basic properties == | |||

Any proper [[subset]] of a finite set ''S'' is finite and has fewer elements than ''S'' itself. As a consequence, there cannot exist a [[bijection]] between a finite set ''S'' and a proper subset of ''S''. Any set with this property is called [[Dedekind-finite]]. Using the standard [[Zermelo–Fraenkel set theory|ZFC]] axioms for [[set theory]], every Dedekind-finite set is also finite, but this requires at least the [[axiom of countable choice]]. | |||

Any proper [[subset]] of a finite set ''S'' is finite and has fewer elements than ''S'' itself. As a consequence, there cannot exist a [[bijection]] between a finite set ''S'' and a proper subset of ''S''. Any set with this property is called [[Dedekind-finite]]. Using the standard [[Zermelo–Fraenkel set theory|ZFC]] axioms for [[set theory]], every Dedekind-finite set is also finite, but this requires | |||

Any | Any injective function between two finite sets of the same cardinality is also a [[surjective function]] (a surjection). Similarly, any surjection between two finite sets of the same cardinality is also an injection. | ||

The [[union (set theory)|union]] of two finite sets is finite, with | The [[union (set theory)|union]] of two finite sets is finite, with | ||

Line 21: | Line 25: | ||

In fact: | In fact: | ||

:<math>|S\cup T| = |S| + |T| - |S\cap T|.</math> | :<math>|S\cup T| = |S| + |T| - |S\cap T|.</math> | ||

More generally, the union of any finite number of finite sets is finite. The [[Cartesian product]] of finite sets is also finite, with: | More generally, the [[Union (set theory)|union]] of any finite number of finite sets is finite. The [[Cartesian product]] of finite sets is also finite, with: | ||

:<math>|S\times T| = |S|\times|T|.</math> | :<math>|S\times T| = |S|\times|T|.</math> | ||

Similarly, the Cartesian product of finitely many finite sets is finite. A finite set with ''n'' elements has 2 | Similarly, the Cartesian product of finitely many finite sets is finite. A finite set with ''n'' elements has 2{{sup|''n''}} distinct subsets. That is, the | ||

[[power set]] of a finite set is finite, with cardinality 2 | [[power set]] of a finite set is finite, with cardinality 2{{sup|''n''}}. | ||

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. | 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 are [[countable]], but not all countable sets are finite. ( | All finite sets are [[countable]], 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.) | ||

The [[free semilattice]] over a finite set is the set of its non-empty subsets, with the join operation being given by set union. | The [[free semilattice]] over a finite set is the set of its non-empty subsets, with the [[Join and meet|join operation]] being given by set union. | ||

== Necessary and sufficient conditions for finiteness == | |||

In [[Zermelo–Fraenkel set theory]] (ZF), the following conditions are all equivalent:{{Citation needed|date=October 2009}} | In [[Zermelo–Fraenkel set theory]] (ZF), the following conditions are all equivalent:{{Citation needed|date=October 2009}} | ||

# ''S'' is a finite set. That is, ''S'' can be placed into a one-to-one correspondence with the set of those natural numbers less than some specific natural number. | # ''S'' is a finite set. That is, ''S'' can be placed into a one-to-one correspondence with the set of those natural numbers less than some specific natural number. | ||

# ([[Kazimierz Kuratowski]]) ''S'' has all properties which can be proved by mathematical induction beginning with the empty set and adding one new element at a time. (See | # ([[Kazimierz Kuratowski]]) ''S'' has all properties which can be proved by mathematical induction beginning with the empty set and adding one new element at a time. (See [[#Set-theoretic definitions of finiteness|below]] for the set-theoretical formulation of Kuratowski finiteness.) | ||

# ([[Paul Stäckel]]) ''S'' can be given a total ordering which is [[well-order]]ed both forwards and backwards. That is, every non-empty subset of ''S'' has both a least and a greatest element in the subset. | # ([[Paul Stäckel]]) ''S'' can be given a total ordering which is [[well-order]]ed both forwards and backwards. That is, every non-empty subset of ''S'' has both a least and a greatest element in the subset. | ||

# Every one-to-one function from P(P(''S'')) into itself is onto. That is, the [[powerset]] of the powerset of ''S'' is Dedekind-finite (see below). | # Every one-to-one function from P(P(''S'')) into itself is onto. That is, the [[powerset]] of the powerset of ''S'' is Dedekind-finite (see below).<ref>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 by {{harvnb|Whitehead|Russell|2009|p=288}}. This Whitehead/Russell theorem is described in more modern language by {{harvnb|Tarski|1924|pp=73–74}}.</ref> | ||

# Every surjective function from P(P(''S'')) onto itself is one-to-one. | # Every surjective function from P(P(''S'')) onto itself is one-to-one. | ||

# ([[Alfred Tarski]]) Every non-empty family of subsets of ''S'' has a minimal element with respect to inclusion. | # ([[Alfred Tarski]]) Every non-empty family of subsets of ''S'' has a minimal element with respect to inclusion.<ref>{{harvnb|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 by {{harvnb|Kuratowski|1920|pp=130–131}}.</ref> | ||

# ''S'' can be well-ordered and any two well-orderings on it are [[order isomorphic]]. In other words, the well-orderings on ''S'' have exactly one [[order type]]. | # ''S'' can be well-ordered and any two well-orderings on it are [[order isomorphic]]. In other words, the well-orderings on ''S'' have exactly one [[order type]]. | ||

Line 51: | Line 56: | ||

== Foundational issues == | == Foundational issues == | ||

Even for those mathematicians who embrace infinite sets, in certain important contexts, the formal distinction between the finite and the infinite can remain a delicate matter. The difficulty stems from [[Gödel's incompleteness theorems]]. One can interpret the theory of hereditarily finite sets within [[Peano arithmetic]] (and certainly also vice | [[Georg Cantor]] initiated his theory of sets in order to provide a mathematical treatment of infinite sets. Thus the distinction between the finite and the infinite lies at the core of set theory. Certain foundationalists, the [[Finitism|strict finitists]], reject the existence of infinite sets and thus advocate a mathematics based solely on finite sets. Mainstream mathematicians consider strict finitism too confining, but acknowledge its relative consistency: the universe of [[hereditarily finite set]]s constitutes a model of [[Zermelo–Fraenkel set theory]] with the [[axiom of infinity]] replaced by its negation. | ||

Even for those mathematicians who embrace infinite sets, in certain important contexts, the formal distinction between the finite and the infinite can remain a delicate matter. The difficulty stems from [[Gödel's incompleteness theorems]]. One can interpret the theory of hereditarily finite sets within [[Peano arithmetic]] (and certainly also vice versa), so the incompleteness of the theory of Peano arithmetic implies that of the theory of hereditarily finite sets. In particular, there exists a plethora of so-called [[non-standard models]] of both theories. A seeming paradox, non-standard models of the theory of hereditarily finite sets contain infinite sets --- but these infinite sets look finite from within the model. (This can happen when the model lacks the sets or functions necessary to witness the infinitude of these sets.) On account of the incompleteness theorems, no first-order predicate, nor even any recursive scheme of first-order predicates, can characterize the standard part of all such models. So, at least from the point of view of first-order logic, one can only hope to characterize finiteness approximately. | |||

More generally, informal notions like set, and particularly finite set, may receive interpretations across a range of [[formal system]]s varying in their axiomatics and logical apparatus. The best known axiomatic set theories include Zermelo-Fraenkel set theory (ZF), Zermelo-Fraenkel set theory with the Axiom of Choice (ZFC), [[Von Neumann–Bernays–Gödel set theory]] (NBG), [[Non-well-founded set theory]], [[Bertrand Russell]]'s [[Type theory]] and all the theories of their various models. One may also choose among classical first-order logic, various higher-order logics and [[intuitionistic logic]]. | More generally, informal notions like set, and particularly finite set, may receive interpretations across a range of [[formal system]]s varying in their axiomatics and logical apparatus. The best known axiomatic set theories include Zermelo-Fraenkel set theory (ZF), Zermelo-Fraenkel set theory with the Axiom of Choice (ZFC), [[Von Neumann–Bernays–Gödel set theory]] (NBG), [[Non-well-founded set theory]], [[Bertrand Russell]]'s [[Type theory]] and all the theories of their various models. One may also choose among classical first-order logic, various higher-order logics and [[intuitionistic logic]]. | ||

Line 59: | Line 65: | ||

A [[formalism (mathematics)|formalist]] might see the meaning of ''set'' varying from system to system. A [[Mathematical Platonism|Platonist]] might view particular formal systems as approximating an underlying reality. | A [[formalism (mathematics)|formalist]] might see the meaning of ''set'' varying from system to system. A [[Mathematical Platonism|Platonist]] might view particular formal systems as approximating an underlying reality. | ||

==Set-theoretic definitions of finiteness== | == Set-theoretic definitions of finiteness == | ||

<!--Linked from [[#Necessary and sufficient conditions for finiteness]] above--> | |||

In contexts where the notion of [[natural number]] sits logically prior to any notion of set, one can define a set ''S'' as finite if ''S'' admits a [[bijection]] to some set of [[natural numbers]] of the form <math>\{x|x<n\}</math>. Mathematicians more typically choose to ground notions of number in [[set theory]], for example they might model natural numbers by the order types of finite [[well-ordered]] sets. Such an approach requires a structural definition of finiteness that does not depend on natural numbers. | In contexts where the notion of [[natural number]] sits logically prior to any notion of set, one can define a set ''S'' as finite if ''S'' admits a [[bijection]] to some set of [[natural numbers]] of the form <math>\{x|x<n\}</math>. Mathematicians more typically choose to ground notions of number in [[set theory]], for example they might model natural numbers by the order types of finite [[well-ordered]] sets. Such an approach requires a structural definition of finiteness that does not depend on natural numbers. | ||

Interestingly, various properties that single out the finite sets among all sets in the theory ZFC turn out logically inequivalent in weaker systems such as ZF or intuitionistic set theories. Two definitions feature prominently in the literature, one due to [[Richard Dedekind]], the other to [[Kazimierz Kuratowski]] (Kuratowski's is the definition used above) | Interestingly, various properties that single out the finite sets among all sets in the theory ZFC turn out logically inequivalent in weaker systems such as ZF or intuitionistic set theories. Two definitions feature prominently in the literature, one due to [[Richard Dedekind]], the other to [[Kazimierz Kuratowski]]. (Kuratowski's is the definition used above.) | ||

A set ''S'' is called [[Dedekind infinite]] if there exists an injective, non-surjective function <math>f:S \rightarrow S</math>. Such a function exhibits a bijection between ''S'' and a proper subset of ''S'', namely the image of ''f''. Given a Dedekind infinite set ''S'', a function ''f'', and an element ''x'' that is not in the image of ''f'', we can form an infinite sequence of distinct elements of ''S'', namely <math>x,f(x),f(f(x)),...</math>. Conversely, given a sequence in ''S'' consisting of distinct elements <math>x_1,x_2,x_3,...</math>, we can define a function ''f'' such that on elements in the sequence <math>f(x_i)=x_{i+1}</math> and ''f'' behaves like the identity function otherwise. Thus Dedekind infinite sets contain subsets that correspond bijectively with the natural numbers. Dedekind finite naturally means that every injective self-map is also surjective. | A set ''S'' is called [[Dedekind infinite]] if there exists an injective, non-surjective function <math>f:S \rightarrow S</math>. Such a function exhibits a bijection between ''S'' and a proper subset of ''S'', namely the image of ''f''. Given a Dedekind infinite set ''S'', a function ''f'', and an element ''x'' that is not in the image of ''f'', we can form an infinite sequence of distinct elements of ''S'', namely <math>x,f(x),f(f(x)),...</math>. Conversely, given a sequence in ''S'' consisting of distinct elements <math>x_1,x_2,x_3,...</math>, we can define a function ''f'' such that on elements in the sequence <math>f(x_i)=x_{i+1}</math> and ''f'' behaves like the identity function otherwise. Thus Dedekind infinite sets contain subsets that correspond bijectively with the natural numbers. Dedekind finite naturally means that every injective self-map is also surjective. | ||

Kuratowski finiteness is defined as follows. Given any set ''S'', the binary operation of union endows the [[powerset]] ''P(S)'' with the structure of a [[semi-lattice]]. Writing ''K(S)'' for the sub-semi-lattice generated by the [[empty set]] and the singletons, call set ''S'' Kuratowski finite if ''S'' itself belongs to ''K(S)''. Intuitively, ''K(S)'' consists of the finite subsets of ''S''. Crucially, one does not need induction, recursion or a definition of natural numbers to define ''generated by'' since one may obtain ''K(S)'' simply by taking the intersection of all sub-semi-lattices containing the empty set and the [[singleton (mathematics)|singletons]]. | Kuratowski finiteness is defined as follows. Given any set ''S'', the binary operation of union endows the [[powerset]] ''P(S)'' with the structure of a [[semi-lattice]]. Writing ''K(S)'' for the sub-semi-lattice generated by the [[empty set]] and the singletons, call set ''S'' Kuratowski finite if ''S'' itself belongs to ''K(S)''.<ref>The original paper by {{harvnb|Kuratowski|1920}} defined a set ''S'' to be finite when | ||

: P(''S'')∖{∅} = ⋂{''X'' ∈ P(P(''S'')∖{∅}); (∀''x''∈''S'', {''x''}∈''X'') and (∀''A'',''B''∈''X'', ''A''∪''B''∈''X'')}. | |||

In other words, ''S'' is finite when the set of all non-empty subsets of ''S'' is equal to the intersection of all classes ''X'' which satisfy: | |||

* all elements of ''X'' are non-empty subsets of ''S'', | |||

* the set {''x''} is an element of ''X'' for all ''x'' in ''S'', | |||

* ''X'' is closed under pairwise unions. | |||

Kuratowski showed that this is equivalent to the numerical definition of a finite set.</ref> Intuitively, ''K(S)'' consists of the finite subsets of ''S''. Crucially, one does not need induction, recursion or a definition of natural numbers to define ''generated by'' since one may obtain ''K(S)'' simply by taking the intersection of all sub-semi-lattices containing the empty set and the [[singleton (mathematics)|singletons]]. | |||

Readers unfamiliar with semi-lattices and other notions of abstract algebra may prefer an entirely elementary formulation. Kuratowski finite means ''S'' lies in the set ''K(S)'', constructed as follows. Write ''M'' for the set of all subsets ''X'' of P(''S'') such that: | Readers unfamiliar with semi-lattices and other notions of abstract algebra may prefer an entirely elementary formulation. Kuratowski finite means ''S'' lies in the set ''K(S)'', constructed as follows. Write ''M'' for the set of all subsets ''X'' of P(''S'') such that: | ||

Line 75: | Line 89: | ||

In ZF, Kuratowski finite implies Dedekind finite, but not vice-versa. In the parlance of a popular pedagogical formulation, when the axiom of choice fails badly, one may have an infinite family of socks with no way to choose one sock from more than finitely many of the pairs. That would make the set of such socks Dedekind finite: there can be no infinite sequence of socks, because such a sequence would allow a choice of one sock for infinitely many pairs by choosing the first sock in the sequence. However, Kuratowski finiteness would fail for the same set of socks. | In ZF, Kuratowski finite implies Dedekind finite, but not vice-versa. In the parlance of a popular pedagogical formulation, when the axiom of choice fails badly, one may have an infinite family of socks with no way to choose one sock from more than finitely many of the pairs. That would make the set of such socks Dedekind finite: there can be no infinite sequence of socks, because such a sequence would allow a choice of one sock for infinitely many pairs by choosing the first sock in the sequence. However, Kuratowski finiteness would fail for the same set of socks. | ||

==See also== | === Other concepts of finiteness === | ||

In ZF set theory without the axiom of choice, the following concepts of finiteness for a set ''S'' are distinct. They are arranged in strictly decreasing order of strength. In other words, if a set ''S'' meets one of the criteria in this list, it meets all of the criteria which follow that one. In the absence of the axiom of choice, the reverse implications are all unprovable. If the axiom of choice is assumed, then all of these concepts are equivalent.<ref>This list of 8 finiteness concepts is presented with this numbering scheme by both {{harvnb|Howard|Rubin|1998|pp=278–280}}, and {{harvnb|Lé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.</ref> (Note that none of these definitions need the set of finite ordinal numbers to be defined first. They are all pure "set-theoretic" definitions in terms of the equality and element-of relations, not involving ω.) | |||

* '''I-finite'''. Every non-empty set of subsets of ''S'' 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 ''S'' into two sets, at least one of the two sets is I-finite. | |||

* '''II-finite'''. Every non-empty ⊆-monotone set of subsets of ''S'' has a ⊆-maximal element. | |||

* '''III-finite'''. The power set ''P''(''S'') is Dedekind finite. | |||

* '''IV-finite'''. ''S'' is Dedekind finite. | |||

* '''V-finite'''. ∣''S''∣ = 0 or 2⋅∣''S''∣ > ∣''S''|. | |||

* '''VI-finite'''. ∣''S''∣ = 0 or ∣''S''∣ = 1 or ∣''S''∣² > ∣''S''|. | |||

* '''VII-finite'''. ''S'' is I-finite or not well-orderable. | |||

The forward implications (from strong to weak) are theorems within ZF. Counter-examples to the reverse implications (from weak to strong) are found using [[model theory]].<ref>{{harvnb|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.</ref> | |||

Most of these finiteness definitions and their names are attributed to {{harvnb|Tarski|1954}} by {{harvnb|Howard|Rubin|1998|p=278}}. However, definitions I, II, III, IV and V were presented in {{harvnb|Tarski|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. | |||

== See also == | |||

*[[FinSet]] | *[[FinSet]] | ||

*[[Ordinal number]] | *[[Ordinal number]] | ||

*[[Peano arithmetic]] | *[[Peano arithmetic]] | ||

==References== | == Notes == | ||

*{{ | {{reflist}} | ||

*{{ | |||

*{{ | == References == | ||

*{{ | * {{citation |last=Dedekind |first=Richard |author-link=Richard Dedekind |year=2012 |title=Was sind und was sollen die Zahlen? |publisher=Cambridge University Press |location=Cambridge, UK |edition=Paperback |series=Cambridge Library Collection |isbn=978-1-108-05038-8}} | ||

*{{ | * {{citation |last=Dedekind |first=Richard |author-link=Richard Dedekind |others=Beman, Wooster Woodruff |year=1963 |title=Essays on the Theory of Numbers |publisher=Dover Publications Inc. |edition=Paperback |series=Dover Books on Mathematics |isbn=0-486-21010-3}} | ||

* {{citation |last=Herrlich |first=Horst |author-link=Horst Herrlich |title=Axiom of Choice |publisher=[[Springer Science+Business Media|Springer-Verlag]] |location=Berlin |year=2006 |series=Lecture Notes in Math. 1876 |isbn=3-540-30989-6}} | |||

* {{cite book|ref=harv|last1=Howard|first1=Paul|last2=Rubin|first2=Jean E.|title=Consequences of the axiom of choice|year=1998|publisher=American Mathematical Society|location=Providence, Rhode Island|isbn=9780821809778}} | |||

* {{citation |last=Kuratowski |first=Kazimierz |author-link=Kazimierz Kuratowski |year=1920 |title=Sur la notion d'ensemble fini |journal=[[Fundamenta Mathematicae]] |volume=1 |publisher= |pages=129–131 |url=http://matwbn.icm.edu.pl/ksiazki/fm/fm1/fm1117.pdf |format=PDF}} | |||

* {{cite journal|ref=harv |last=Lévy |first=Azriel |author-link= Azriel Lévy|year=1958 |title=The independence of various definitions of finiteness |journal=[[Fundamenta Mathematicae]] |volume=46 |publisher= |pages=1–13 |url= http://matwbn.icm.edu.pl/ksiazki/fm/fm46/fm4611.pdf|format=PDF}} | |||

* {{citation |last=Suppes |first=Patrick |author-link=Patrick Suppes |year=1972 |origyear=1960 |title=Axiomatic Set Theory |publisher=Dover Publications Inc. |edition=Paperback |series=Dover Books on Mathematics |isbn=0-486-61630-4}} | |||

* {{cite journal|ref=harv |last=Tarski |first=Alfred |author-link=Alfred Tarski |year=1924 |title=Sur les ensembles finis |journal=[[Fundamenta Mathematicae]] |volume=6 |publisher= |pages=45–95 |url=http://matwbn.icm.edu.pl/ksiazki/fm/fm6/fm619.pdf |format=PDF}} | |||

* {{cite journal|ref=harv |last=Tarski |first=Alfred |author-link=Alfred Tarski |year=1954 |title=Theorems on the existence of successors of cardinals, and the axiom of choice|journal=Nederl. Akad. Wetensch. Proc. Ser. A., Indagationes Math. |volume=16|pages=26–32|mr=0060555}} | |||

* {{Cite book|ref=harv|last1=Whitehead|first1=Alfred North|author1-link=Alfred North Whitehead|last2=Russell|first2=Bertrand|author2-link=Bertrand Russell|date=February 2009|origyear=1912|title=Principia Mathematica|volume=Volume Two|publisher=Merchant Books|isbn=978-1-60386-183-0}} | |||

== External links == | == External links == | ||

*{{MathWorld |title=Finite Set |id=FiniteSet |author=[[Margherita Barile|Barile, Margherita]]}} | *{{MathWorld |title=Finite Set |id=FiniteSet |author=[[Margherita Barile|Barile, Margherita]]}} | ||

{{logic}} | {{Mathematical logic}} | ||

{{Set theory}} | {{Set theory}} | ||

[[Category:Basic concepts in set theory]] | [[Category:Basic concepts in set theory]] | ||

[[Category:Cardinal numbers]] | [[Category:Cardinal numbers]] |

## Latest revision as of 08:37, 4 January 2015

In mathematics, a **finite set** is a set that has a finite number of elements. For example,

is a finite set with five elements. The number of elements of a finite set is a natural number (a non-negative integer) and is called the cardinality of the set. A set that is not finite is called **infinite**. For example, the set of all positive integers is infinite:

Finite sets are particularly important in combinatorics, the mathematical study of counting. Many arguments involving finite sets rely on the pigeonhole principle, which states that there cannot exist an injective function from a larger finite set to a smaller finite set.

## Definition and terminology

Formally, a set *S* is called **finite** if there exists a bijection

for some natural number *n*. The number *n* is the set's cardinality, denoted as |*S*|. The empty set {} or Ø is considered finite, with cardinality zero.

If a set is finite, its elements may be written as a sequence:

In combinatorics, a finite set with *n* elements is sometimes called an *n-set* and a subset with *k* elements is called a *k-subset*. For example, the set {5,6,7} is a 3-set – a finite set with three elements – and {6,7} is a 2-subset of it.

## Basic properties

Any proper subset of a finite set *S* is finite and has fewer elements than *S* itself. As a consequence, there cannot exist a bijection between a finite set *S* and a proper subset of *S*. Any set with this property is called Dedekind-finite. Using the standard ZFC axioms for set theory, every Dedekind-finite set is also finite, but this requires at least the axiom of countable choice.

Any injective function between two finite sets of the same cardinality is also a surjective function (a surjection). Similarly, any surjection between two finite sets of the same cardinality is also an injection.

The union of two finite sets is finite, with

In fact:

More generally, the union of any finite number of finite sets is finite. The Cartesian product of finite sets is also finite, with:

Similarly, the Cartesian product of finitely many finite sets is finite. A finite set with *n* elements has 2^{n} distinct subsets. That is, the
power set of a finite set is finite, with cardinality 2^{n}.

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 are countable, 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.)

The free semilattice over a finite set is the set of its non-empty subsets, with the join operation being given by set union.

## Necessary and sufficient conditions for finiteness

In Zermelo–Fraenkel set theory (ZF), the following conditions are all equivalent:{{ safesubst:#invoke:Unsubst||date=__DATE__ |$B=
{{#invoke:Category handler|main}}{{#invoke:Category handler|main}}^{[citation needed]}
}}

*S*is a finite set. That is,*S*can be placed into a one-to-one correspondence with the set of those natural numbers less than some specific natural number.- (Kazimierz Kuratowski)
*S*has all properties which can be proved by mathematical induction beginning with the empty set and adding one new element at a time. (See below for the set-theoretical formulation of Kuratowski finiteness.) - (Paul Stäckel)
*S*can be given a total ordering which is well-ordered both forwards and backwards. That is, every non-empty subset of*S*has both a least and a greatest element in the subset. - Every one-to-one function from P(P(
*S*)) into itself is onto. That is, the powerset of the powerset of*S*is Dedekind-finite (see below).^{[1]} - Every surjective function from P(P(
*S*)) onto itself is one-to-one. - (Alfred Tarski) Every non-empty family of subsets of
*S*has a minimal element with respect to inclusion.^{[2]} *S*can be well-ordered and any two well-orderings on it are order isomorphic. In other words, the well-orderings on*S*have exactly one order type.

If the axiom of choice is also assumed (the axiom of countable choice is sufficient{{ safesubst:#invoke:Unsubst||date=__DATE__ |$B=
{{#invoke:Category handler|main}}{{#invoke:Category handler|main}}^{[citation needed]}
}}), then the following conditions are all equivalent:

*S*is a finite set.- (Richard Dedekind) Every one-to-one function from
*S*into itself is onto. - Every surjective function from
*S*onto itself is one-to-one. *S*is empty or every partial ordering of*S*contains a maximal element.

## Foundational issues

Georg Cantor initiated his theory of sets in order to provide a mathematical treatment of infinite sets. Thus the distinction between the finite and the infinite lies at the core of set theory. Certain foundationalists, the strict finitists, reject the existence of infinite sets and thus advocate a mathematics based solely on finite sets. Mainstream mathematicians consider strict finitism too confining, but acknowledge its relative consistency: the universe of hereditarily finite sets constitutes a model of Zermelo–Fraenkel set theory with the axiom of infinity replaced by its negation.

Even for those mathematicians who embrace infinite sets, in certain important contexts, the formal distinction between the finite and the infinite can remain a delicate matter. The difficulty stems from Gödel's incompleteness theorems. One can interpret the theory of hereditarily finite sets within Peano arithmetic (and certainly also vice versa), so the incompleteness of the theory of Peano arithmetic implies that of the theory of hereditarily finite sets. In particular, there exists a plethora of so-called non-standard models of both theories. A seeming paradox, non-standard models of the theory of hereditarily finite sets contain infinite sets --- but these infinite sets look finite from within the model. (This can happen when the model lacks the sets or functions necessary to witness the infinitude of these sets.) On account of the incompleteness theorems, no first-order predicate, nor even any recursive scheme of first-order predicates, can characterize the standard part of all such models. So, at least from the point of view of first-order logic, one can only hope to characterize finiteness approximately.

More generally, informal notions like set, and particularly finite set, may receive interpretations across a range of formal systems varying in their axiomatics and logical apparatus. The best known axiomatic set theories include Zermelo-Fraenkel set theory (ZF), Zermelo-Fraenkel set theory with the Axiom of Choice (ZFC), Von Neumann–Bernays–Gödel set theory (NBG), Non-well-founded set theory, Bertrand Russell's Type theory and all the theories of their various models. One may also choose among classical first-order logic, various higher-order logics and intuitionistic logic.

A formalist might see the meaning of *set* varying from system to system. A Platonist might view particular formal systems as approximating an underlying reality.

## Set-theoretic definitions of finiteness

In contexts where the notion of natural number sits logically prior to any notion of set, one can define a set *S* as finite if *S* admits a bijection to some set of natural numbers of the form . Mathematicians more typically choose to ground notions of number in set theory, for example they might model natural numbers by the order types of finite well-ordered sets. Such an approach requires a structural definition of finiteness that does not depend on natural numbers.

Interestingly, various properties that single out the finite sets among all sets in the theory ZFC turn out logically inequivalent in weaker systems such as ZF or intuitionistic set theories. Two definitions feature prominently in the literature, one due to Richard Dedekind, the other to Kazimierz Kuratowski. (Kuratowski's is the definition used above.)

A set *S* is called Dedekind infinite if there exists an injective, non-surjective function . Such a function exhibits a bijection between *S* and a proper subset of *S*, namely the image of *f*. Given a Dedekind infinite set *S*, a function *f*, and an element *x* that is not in the image of *f*, we can form an infinite sequence of distinct elements of *S*, namely . Conversely, given a sequence in *S* consisting of distinct elements , we can define a function *f* such that on elements in the sequence and *f* behaves like the identity function otherwise. Thus Dedekind infinite sets contain subsets that correspond bijectively with the natural numbers. Dedekind finite naturally means that every injective self-map is also surjective.

Kuratowski finiteness is defined as follows. Given any set *S*, the binary operation of union endows the powerset *P(S)* with the structure of a semi-lattice. Writing *K(S)* for the sub-semi-lattice generated by the empty set and the singletons, call set *S* Kuratowski finite if *S* itself belongs to *K(S)*.^{[3]} Intuitively, *K(S)* consists of the finite subsets of *S*. Crucially, one does not need induction, recursion or a definition of natural numbers to define *generated by* since one may obtain *K(S)* simply by taking the intersection of all sub-semi-lattices containing the empty set and the singletons.

Readers unfamiliar with semi-lattices and other notions of abstract algebra may prefer an entirely elementary formulation. Kuratowski finite means *S* lies in the set *K(S)*, constructed as follows. Write *M* for the set of all subsets *X* of P(*S*) such that:

*X*contains the empty set;- For every set
*T*in P(*S*), if*X*contains*T*then*X*also contains the union of*T*with any singleton.

Then *K(S)* may be defined as the intersection of *M*.

In ZF, Kuratowski finite implies Dedekind finite, but not vice-versa. In the parlance of a popular pedagogical formulation, when the axiom of choice fails badly, one may have an infinite family of socks with no way to choose one sock from more than finitely many of the pairs. That would make the set of such socks Dedekind finite: there can be no infinite sequence of socks, because such a sequence would allow a choice of one sock for infinitely many pairs by choosing the first sock in the sequence. However, Kuratowski finiteness would fail for the same set of socks.

### Other concepts of finiteness

In ZF set theory without the axiom of choice, the following concepts of finiteness for a set *S* are distinct. They are arranged in strictly decreasing order of strength. In other words, if a set *S* meets one of the criteria in this list, it meets all of the criteria which follow that one. In the absence of the axiom of choice, the reverse implications are all unprovable. If the axiom of choice is assumed, then all of these concepts are equivalent.^{[4]} (Note that none of these definitions need the set of finite ordinal numbers to be defined first. They are all pure "set-theoretic" definitions in terms of the equality and element-of relations, not involving ω.)

**I-finite**. Every non-empty set of subsets of*S*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*S*into two sets, at least one of the two sets is I-finite.**II-finite**. Every non-empty ⊆-monotone set of subsets of*S*has a ⊆-maximal element.**III-finite**. The power set*P*(*S*) is Dedekind finite.**IV-finite**.*S*is Dedekind finite.**V-finite**. ∣*S*∣ = 0 or 2⋅∣*S*∣ > ∣*S*|.**VI-finite**. ∣*S*∣ = 0 or ∣*S*∣ = 1 or ∣*S*∣² > ∣*S*|.**VII-finite**.*S*is I-finite or not well-orderable.

The forward implications (from strong to weak) are theorems within ZF. Counter-examples to the reverse implications (from weak to strong) are found using model theory.^{[5]}

Most of these finiteness definitions and their names are attributed to Template:Harvnb by Template:Harvnb. However, definitions I, II, III, IV and V were presented in Template:Harvnb, 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.

## See also

## Notes

- ↑ 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 by Template:Harvnb. This Whitehead/Russell theorem is described in more modern language by Template:Harvnb.
- ↑ Template:Harvnb, 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 by Template:Harvnb.
- ↑ The original paper by Template:Harvnb defined a set
*S*to be finite when- P(
*S*)∖{∅} = ⋂{*X*∈ P(P(*S*)∖{∅}); (∀*x*∈*S*, {*x*}∈*X*) and (∀*A*,*B*∈*X*,*A*∪*B*∈*X*)}.

*S*is finite when the set of all non-empty subsets of*S*is equal to the intersection of all classes*X*which satisfy:- all elements of
*X*are non-empty subsets of*S*, - the set {
*x*} is an element of*X*for all*x*in*S*, *X*is closed under pairwise unions.

- P(
- ↑ This list of 8 finiteness concepts is presented with this numbering scheme by both Template:Harvnb, and Template:Harvnb, although the details of the presentation of the definitions differ in some respects which do not affect the meanings of the concepts.
- ↑ Template:Harvnb 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.

## References

- {{#invoke:citation/CS1|citation

|CitationClass=citation }}

- {{#invoke:citation/CS1|citation

|CitationClass=citation }}

- {{#invoke:citation/CS1|citation

|CitationClass=citation }}

- {{#invoke:citation/CS1|citation

|CitationClass=book }}

- {{#invoke:citation/CS1|citation

|CitationClass=citation }}

- {{#invoke:Citation/CS1|citation

|CitationClass=journal }}

- {{#invoke:citation/CS1|citation

|CitationClass=citation }}

- {{#invoke:Citation/CS1|citation

|CitationClass=journal }}

- {{#invoke:Citation/CS1|citation

|CitationClass=journal }}

- {{#invoke:citation/CS1|citation

|CitationClass=book }}