Cardinality

Logic
definition

Also known as: |A|, size of set

Grade 9-12

View on concept map

The cardinality of a finite set is the number of distinct elements it contains, written |A| — it measures the size of the set without regard to element order or identity. Cardinality is the foundation of counting, combinatorics, and the surprising mathematics of infinity.

Definition

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

💡 Intuition

Cardinality answers "how many?" — count each distinct element once and you have the cardinality.

🎯 Core Idea

Cardinality measures the size of a set; infinite sets can have different cardinalities (e.g., |\mathbb{N}| < |\mathbb{R}|).

Example

|\{a, b, c\}| = 3. |\emptyset| = 0. |\{\{1, 2\}, 3\}| = 2 — there are two distinct elements.

Formula

|A \cup B| = |A| + |B| - |A \cap B| (inclusion-exclusion principle)

Notation

|A| or n(A)

🌟 Why It Matters

Cardinality is the foundation of counting, combinatorics, and the surprising mathematics of infinity.

💭 Hint When Stuck

Write out the distinct elements, then count them. For union problems, use |A| + |B| - |A intersect B| to avoid double-counting.

Formal View

|A \cup B| = |A| + |B| - |A \cap B| (inclusion-exclusion); |A| = n \Leftrightarrow \exists a bijection f : A \to \{1, 2, \ldots, n\}

Related Concepts

🚧 Common Stuck Point

Some infinities are bigger than others: |\text{integers}| < |\text{reals}|.

⚠️ Common Mistakes

  • Counting duplicate listings — |\{1, 1, 2\}| = 2, not 3, because duplicates are collapsed in a set
  • Confusing cardinality with the set itself — |\{a, b, c\}| = 3 is a number, not a set
  • Assuming all infinite sets have the same cardinality — |\mathbb{N}| < |\mathbb{R}| (Cantor's theorem)

Frequently Asked Questions

What is Cardinality in Math?

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

What is the Cardinality formula?

|A \cup B| = |A| + |B| - |A \cap B| (inclusion-exclusion principle)

When do you use Cardinality?

Write out the distinct elements, then count them. For union problems, use |A| + |B| - |A intersect B| to avoid double-counting.

Prerequisites

How Cardinality Connects to Other Ideas

To understand cardinality, you should first be comfortable with set and element.