in mathematics, a finite set is a set that has a finite number of elements. 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 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.