Cardinality Math Example 1

Follow the full solution, then compare it with the other examples linked below.

Example 1

easy
Find the cardinality of: (a) A={2,4,6,8,10}A = \{2, 4, 6, 8, 10\}, (b) B={xN:x0}B = \{x \in \mathbb{N} : x \le 0\}, (c) C={{1,2},3,{4}}C = \{\{1,2\}, 3, \{4\}\}.

Solution

  1. 1
    (a) Count the distinct elements: 2,4,6,8,102, 4, 6, 8, 10 — five elements, so A=5|A| = 5.
  2. 2
    (b) The only natural number 0\le 0 is 00 (assuming 0N0 \in \mathbb{N}). So B={0}B = \{0\} and B=1|B| = 1.
  3. 3
    (c) CC has three elements: the set {1,2}\{1,2\}, the number 33, and the set {4}\{4\}. So C=3|C| = 3.

Answer

A=5,B=1,C=3|A|=5,\quad |B|=1,\quad |C|=3
Cardinality counts distinct top-level elements. When a set contains other sets as elements, each sub-set counts as one element regardless of its own size.

About Cardinality

The cardinality of a finite set is the number of distinct elements it contains, written A|A| — it measures the size of the set without regard to element order or identity.

Learn more about Cardinality →

More Cardinality Examples