Skip to content

Set

Definition

A set AA is an unordered collection of objects. If xx is an object, we say that xx is an element of AA or write x∈Ax\in A if xx lies in the collection; otherwise, we write x∉A.x\notin A\text{.}


Interpretation

A set collects objects without imposing order: all that matters is whether x∈Ax\in A or x∉Ax\notin A. Order and repetition play no role, so {1,2,3}\{1,2,3\}, {3,1,2}\{3,1,2\} and {1,1,2,3}\{1,1,2,3\} are the same set.

A set can be given by listing its elements, as in {0,1,2,3}\{0,1,2,3\}, or by a condition, as in {n∈N ⁣:n2<10}\{n\in\mathbb{N}\colon n^2<10\}, read "the set of natural numbers nn such that n2<10n^2<10"; these two descriptions give the same set. Two sets are equal when they have the same elements, so equality is usually shown by proving both inclusions, A⊆BA\subseteq B and B⊆AB\subseteq A. Elements may themselves be sets: {∅}\{\varnothing\} has one element, the empty set.

A common slip is to confuse "is an element of" with "is a subset of": 1∈{1,2}1\in\{1,2\} and {1}⊆{1,2}\{1\}\subseteq\{1,2\}, but {1}∉{1,2}\{1\}\notin\{1,2\}, because the elements of {1,2}\{1,2\} are the numbers 11 and 22, not sets.

Ignoring order is what separates a set from a sequence, a list in which order and repetition matter.


Key Results

  • Sets are defined by membership, not order.
  • Equality of sets depends on having the same elements.
  • Sets may be finite or infinite.

Examples

  • {1, 2, 3}\{1,\,2,\,3\} is a set.
  • We have π∉N.\pi\notin \mathbb{N}\text{.}

Sources

Symbols: element of, natural numbers, pi, subset

Last updated: 20 October 2026 03:02