Jump to content

Cardinality

From Wikibase

Languages: English · français · Esperanto

The cardinality of a set $S$, denoted $|S|$, is its number of elements.

In everyday language, "size" is often used as an alternative term for cardinality.

Finity

$|S|$
$<\infty$ Finite set
$\infty$ Infinite set

Countability

If

$$ \exists f:\mathbb{N} \to S $$

then $S$ is said to be countable.

All finite sets are countable. Infinite sets may be either countable (e.g., $\mathbb{Z}$) or uncountable (e.g., $\mathbb{R}$).

Equipotence

If $|A|=|B|$, set $A,B$ are said to be equipotent, denoted by $A\sim B$. [1]

Cardinality of unions of sets

$$ \left|\bigcup_{i=1}^{n} A_i\right| = \sum_{k=1}^{n} (-1)^{k+1}S_k $$

where

$$ S_k = \sum_{1 \leq i_1 < \cdots < i_k \leq n} |A_{i_1} \cap \cdots \cap A_{i_k}| $$