Sets and Logic · Siblings

Mathematics has several kinds of “a bunch of things,” which differ in whether order and repetition matter. A set ignores order and repetition. A multiset keeps repetition. A sequence keeps order and repetition. “Collection” is informal, and “group” is a technical term for a set with an operation.

Definitions

collection

Elementary

A collection is a group of objects considered together.

Graduate (set theory)

Collection is an informal word, used as a synonym for “set,” to produced for variety (e.g., “a collection of subsets”) or for classes that are too large to be sets (“the collection of all sets”).

Examples

set

Elementary

A set is a collection of different objects, called its elements. Order and repetition do not matter: $\setdef{1, 2}$, $\setdef{2, 1}$, and $\setdef{1, 1, 2}$ are the same set.

Graduate (axiomatic set theory)

A set is an object of a set theory such as ZFC. By the axiom of extensionality, a set is determined entirely by its elements.

Examples
Non-examples
Properties
  • Not every collection is a set: the collection of all sets is not a set (Russell’s paradox).

sequence

Elementary

A sequence is a list of things in a particular order.

High school

A sequence is an ordered list of terms $a_1, a_2, a_3, \dots$ Both order and repetition matter: $(1, 2)$, $(2, 1)$, and $(1, 1, 2)$ are different sequences.

Undergraduate

A sequence is a function from $\nats$ (an infinite sequence) or from $\setdef{1, \dots, n}$ (a finite sequence, or $n$-tuple) to a set.

Examples
Non-examples

multiset

High school

Consider a set, in which each element appears only once. A multiset is like a set, except that an element can appear more than once.

Undergraduate

A multiset is a collection in which order does not matter but repetition does. Formally, a function from a set to the positive integers that gives the multiplicity of each element.

Examples
Non-examples

group

Undergraduate (abstract algebra)

Consider a set $G$ with a binary operation $\ast$. The set $G$ is a group if

  1. $\ast$ is associative: $(a \ast b) \ast c = a \ast (b \ast c)$ for all $a, b, c \in G$,
  2. $G$ has an identity element $e$ such that $e \ast g = g \ast e = g$ for all $g \in G$, and
  3. every element $g \in G$ has an inverse $g^{-1}$ such that $g \ast g^{-1} = g^{-1} \ast g = e$.
Examples
Non-examples
  • $\nats$ with addition
    $\nats$ with addition is not a group, because no positive integer has an additive inverse in $\nats$.
Properties
  • The identity element of a group is unique, and so is the inverse of each element.

indexed family

Undergraduate

Consider an index set $I$ and a set of values. An indexed family is a function $i \mapsto x_i$ from $I$ to the set, written \((x_i)_{i \in I}\). Unlike a set, an indexed family can repeat elements. A sequence is an indexed family with $I = \nats$.

Examples

Examples

Example collection set sequence multiset group indexed family Why
$\setdef{1, 2, 2}$ ✓✓–✓––
$(1, 2, 2)$ –✗✓✗–✓
The roots of $(x - 1)^2$ counted with multiplicity –✗–✓––
$\mathbb{Z}$ with addition ––––✓–
$\nats$ with addition ––––✗–
The class of all sets ✓✗––––

See also

All distinctions · All definitions