# Empty set

In mathematics, the empty set or void set is the unique set having no elements; its size or cardinality (count of elements in a set) is zero. Some axiomatic set theories ensure that the empty set exists by including an axiom of empty set, while in other theories, its existence can be deduced. Many possible properties of sets are vacuously true for the empty set.
Any set other than the empty set is called non-empty.
In some textbooks and popularizations, the empty set is referred to as the "null set". However, null set is a distinct notion within the context of measure theory, in which it describes a set of measure zero (which is not necessarily empty).

## Notation

Common notations for the empty set include "{ }", "$\emptyset$", and "∅". The latter two symbols were introduced by the Bourbaki group (specifically André Weil) in 1939, inspired by the letter Ø (U+00D8 Ø LATIN CAPITAL LETTER O WITH STROKE) in the Danish and Norwegian alphabets. In the past, "0" (the numeral zero) was occasionally used as a symbol for the empty set, but this is now considered to be an improper use of notation.
The symbol ∅ is available at Unicode point U+2205 ∅ EMPTY SET. It can be coded in HTML as &empty; and as &#8709; or as &#x2205;. It can be coded in LaTeX as \varnothing. The symbol $\emptyset$ is coded in LaTeX as \emptyset.
When writing in languages such as Danish and Norwegian, where the empty set character may be confused with the alphabetic letter Ø (as when using the symbol in linguistics), the Unicode character U+29B0 REVERSED EMPTY SET ⦰ may be used instead.

## Properties

In standard axiomatic set theory, by the principle of extensionality, two sets are equal if they have the same elements (that is, neither of them has an element not in the other). As a result, there can be only one set with no elements, hence the usage of "the empty set" rather than "an empty set".
The only subset of the empty set is the empty set itself; equivalently, the power set of the empty set is the set containing only the empty set. The number of elements of the empty set (i.e., its cardinality) is zero. The empty set is the only set with either of these properties.
For any set A:
* The empty set is a subset of A
* The union of A with the empty set is A
* The intersection of A with the empty set is the empty set
* The Cartesian product of A and the empty set is the empty set
For any property P:
* For every element of $\varnothing$, the property P holds (vacuous truth).
* There is no element of $\varnothing$ for which the property P holds.
Conversely, if for some property P and some set V, the following two statements hold:
* For every element of V the property P holds
* There is no element of V for which the property P holds
then $V=\varnothing .$
By the definition of subset, the empty set is a subset of any set A. That is, every element x of $\varnothing$ belongs to A. Indeed, if it were not true that every element of $\varnothing$ is in A, then there would be at least one element of $\varnothing$ that is not present in A. Since there are no elements of $\varnothing$ at all, there is no element of $\varnothing$ that is not in A. Any statement that begins "for every element of $\varnothing$" is not making any substantive claim; it is a vacuous truth. This is often paraphrased as "everything is true of the elements of the empty set."
In the usual set-theoretic definition of natural numbers, zero is modelled by the empty set.

### Operations on the empty set

When speaking of the sum of the elements of a finite set, one is inevitably led to the convention that the sum of the elements of the empty set (the empty sum) is zero. The reason for this is that zero is the identity element for addition. Similarly, the product of the elements of the empty set (the empty product) should be considered to be one, since one is the identity element for multiplication.
A derangement is a permutation of a set without fixed points. The empty set can be considered a derangement of itself, because it has only one permutation ($0!=1$), and it is vacuously true that no element (of the empty set) can be found that retains its original position.

## In other areas of mathematics
### Extended real numbers

Since the empty set has no member when it is considered as a subset of any ordered set, every member of that set will be an upper bound and lower bound for the empty set. For example, when considered as a subset of the real numbers, with its usual ordering, represented by the real number line, every real number is both an upper and lower bound for the empty set. When considered as a subset of the extended reals formed by adding two "numbers" or "points" to the real numbers (namely negative infinity, denoted $-\infty \!\,,$ which is defined to be less than every other extended real number, and positive infinity, denoted $+\infty \!\,,$ which is defined to be greater than every other extended real number), we have that: $\sup \varnothing =\min(\{-\infty ,+\infty \}\cup \mathbb {R} )=-\infty ,$ and $\inf \varnothing =\max(\{-\infty ,+\infty \}\cup \mathbb {R} )=+\infty .$
That is, the least upper bound (sup or supremum) of the empty set is negative infinity, while the greatest lower bound (inf or infimum) is positive infinity. By analogy with the above, in the domain of the extended reals, negative infinity is the identity element for the maximum and supremum operators, while positive infinity is the identity element for the minimum and infimum operators.

### Topology

In any topological space $X$, the empty set is open by definition, as is $X$. Since the complement of an open set is closed and the empty set and $X$ are complements of each other, the empty set is also closed, making it a clopen set. Moreover, the empty set is compact by the fact that every finite set is compact.
A topological space $X$ is said to have the indiscrete topology if the only open sets are $\varnothing$ and the entire space.
The closure of the empty set is empty. This is known as "preservation of nullary unions."

### Category theory

If $A$ is a set, then there exists precisely one function $f$ from $\varnothing$ to $A,$ the empty function. As a result, the empty set is the unique initial object of the category of sets and functions.
The empty set can be turned into a topological space, called the empty space, in just one way: by defining the empty set to be open. This empty topological space is the unique initial object in the category of topological spaces with continuous maps. In fact, it is a strict initial object: only the empty set has a function to the empty set.

### Set theory

In the von Neumann construction of the ordinals, 0 is defined as the empty set, and the successor of an ordinal is defined as $S(\alpha )=\alpha \cup \{\alpha \}$. Thus, we have $0=\varnothing$, $1=0\cup \{0\}=\{\varnothing \}$, $2=1\cup \{1\}=\{\varnothing ,\{\varnothing \}\}$, and so on. The von Neumann construction, along with the axiom of infinity, which guarantees the existence of at least one infinite set, can be used to construct the set of natural numbers, $\mathbb {N} _{0}$, such that the Peano axioms of arithmetic are satisfied.

## Questioned existence
### Historical issues

In the context of sets of real numbers, Cantor used $P\equiv O$ to denote "$P$ contains no single point". This $\equiv O$ notation was utilized in definitions; for example, Cantor defined two sets as being disjoint if their intersection has an absence of points; however, it is debatable whether Cantor viewed $O$ as an existent set on its own, or if Cantor merely used $\equiv O$ as an emptiness predicate. Zermelo accepted $O$ itself as a set, but considered it an "improper set".

### Axiomatic set theory

In Zermelo set theory, the existence of the empty set is assured by the axiom of empty set, and its uniqueness follows from the axiom of extensionality. However, the axiom of empty set can be shown redundant in at least two ways:
* Standard first-order logic implies, merely from the logical axioms, that something exists, and in the language of set theory, that thing must be a set. Now the existence of the empty set follows easily from the axiom of separation.
* Even using free logic (which does not logically imply that something exists), there is already an axiom implying the existence of at least one set, namely the axiom of infinity.

### Philosophical issues

While the empty set is a standard and widely accepted mathematical concept, it remains an ontological curiosity, whose meaning and usefulness are debated by philosophers and logicians.
The empty set is not the same thing as nothing; rather, it is a set with nothing inside it and a set is always something. This issue can be overcome by viewing a set as a bag—an empty bag undoubtedly still exists. Darling (2004) explains that the empty set is not nothing, but rather "the set of all triangles with four sides, the set of all numbers that are bigger than nine but smaller than eight, and the set of all opening moves in chess that involve a king."
The popular syllogism
    Nothing is better than eternal happiness; a ham sandwich is better than nothing; therefore, a ham sandwich is better than eternal happiness
is often used to demonstrate the philosophical relation between the concept of nothing and the empty set. Darling writes that the contrast can be seen by rewriting the statements "Nothing is better than eternal happiness" and "[A] ham sandwich is better than nothing" in a mathematical tone. According to Darling, the former is equivalent to "The set of all things that are better than eternal happiness is $\varnothing$" and the latter to "The set {ham sandwich} is better than the set $\varnothing$". The first compares elements of sets, while the second compares the sets themselves.
Jonathan Lowe argues that while the empty set
    was undoubtedly an important landmark in the history of mathematics, … we should not assume that its utility in calculation is dependent upon its actually denoting some object.
it is also the case that:
    "All that we are ever informed about the empty set is that it (1) is a set, (2) has no members, and (3) is unique amongst sets in having no members. However, there are very many things that 'have no members', in the set-theoretical sense—namely, all non-sets. It is perfectly clear why these things have no members, for they are not sets. What is unclear is how there can be, uniquely amongst sets, a set which has no members. We cannot conjure such an entity into existence by mere stipulation."
George Boolos argued that much of what has been heretofore obtained by set theory can just as easily be obtained by plural quantification over individuals, without reifying sets as singular entities having other entities as members.