A cardinality is the size of a set, understood up to bijection: two AA and BB have the same cardinality if there exists a f:A→Bf:A\to B. The cardinality of AA is often denoted ∣A∣|A|.

Remarks

Cardinality comparisons can be expressed using and between sets. A set is when its cardinality is at most that of the .

Examples
  • The has cardinality ∣∅∣=0|\varnothing|=0.
  • If A={1,2,3}A=\{1,2,3\}, then ∣A∣=3|A|=3, and the P(A)\mathcal{P}(A) has ∣P(A)∣=8|\mathcal{P}(A)|=8.