Definition · applies to sets · also called $\abs{A}$, $\#A$

Elementary

The cardinality of a set is how many elements it has.

Caveat. For infinite sets, “how many” needs a new idea: two sets have the same cardinality if their elements can be paired up one-to-one.
High school

The cardinality of a finite set is its number of elements.

Graduate (set theory)

Sets $A$ and $B$ have the same cardinality if there is a bijection between $A$ and $B$. This extends counting to infinite sets.

Examples

Worked examples

  • Value:

    $\mathfrak{c}$

    The cardinality of a solid box is $\mathfrak{c}$, the same as that of $\reals$.
  • Value:

    $\mathfrak{c}$

    The cardinality of the closed unit disk is $\mathfrak{c}$, the same as that of $\reals$.
  • $[0, 1]$ High school
    Value:

    $\mathfrak{c}$

    The cardinality of $[0, 1]$ is $\mathfrak{c}$, the same as that of $\reals$, because Cantor’s diagonal argument shows that $[0, 1]$ is uncountable, and $[0, 1]$ is in bijection with $\reals$.
  • Value:

    $\aleph_0$

    The cardinality of $\rationals \cap [0, 1]$ is $\aleph_0$, because its elements can be listed in order of their denominators.
  • Value:

    $\mathfrak{c}$

    The cardinality of $\reals$ is $\mathfrak{c}$, the continuum, which is uncountable.
  • Value:

    $2$

    The cardinality of $\setdef{0, 1}$ is $2$, because it has $2$ elements.
  • $\setdef{1, 2, 3}$ High school
    Value:

    $\abs{\setdef{1, 2, 3}} = 3$

  • Value:

    $\mathfrak{c}$

    The cardinality of the unit circle is $\mathfrak{c}$, because its points correspond to the angles in $[0, 2\pi)$.
  • The Cantor set Undergraduate
    Value:

    $\mathfrak{c}$

    The cardinality of the Cantor set is $\mathfrak{c}$, because its points correspond to the infinite sequences of $0$s and $2$s (their base-$3$ digits).

Properties

  • Infinite sets can have different cardinalities: $\abs{\nats} < \abs{\reals}$.
  • Every set has smaller cardinality than its power set (Cantor’s theorem).

All definitions · All distinctions · All examples · Notation