Skip to main content

Cardinality of Sets

The cardinality of a set is the number of elements in it. It tells us how many distinct items are in the set.

If a set 𝐴={2,4,6,8}𝐴 =\{2,4,6,8\}, then the cardinality of 𝐴𝐴 is 4.

It is denoted by 𝑛(𝐴)𝑛(𝐴), meaning β€œnumber of elements in set A.”

Example: Let 𝑉={π‘Ž,𝑒,𝑖,π‘œ,𝑒}𝑉=\{π‘Ž,𝑒,𝑖,π‘œ,𝑒\} Then, 𝑛(𝑉)=5𝑛(𝑉) = 5

Q1. What is the cardinality of the set of letters in β€˜Mississippi’?

Show solution

The distinct letters in 'Mississippi' are: M, I, S, P. So, the cardinality is n=4n = 4.

Explanation

Distinct Elements - A set always has distinct elements. Meaning, no repetitions allowed!

Key Terms​

TermMeaning
CardinalityThe number of elements in a set
n(A)Number of elements in set A
n(A ∩ B)Number of elements common to both A and B
n(A βˆͺ B)Number of elements in either A or B or both
no(A)n_o(A)Number of elements only in A (i.e., in A but not in B)
Disjoint SetsSets with no common elements; A∩B=βˆ…A \cap B = \emptyset

Important Formulas​

Disjoint Sets

No common elements:

n(AβˆͺB)=n(A)+n(B)n(A \cup B) = n(A) + n(B)
Intersecting Sets

Some elements are common:

n(AβˆͺB)=n(A)+n(B)βˆ’n(A∩B)n(A \cup B) = n(A) + n(B) - n(A \cap B)
Only in A or B

Elements only in A:

no(A)=n(A)βˆ’n(A∩B)n_o(A) = n(A) - n(A \cap B)

Elements only in B:

no(B)=n(B)βˆ’n(A∩B)n_o(B) = n(B) - n(A \cap B)
Universal Set Relationships

If all elements are in A and B only:

n(U)=n(AβˆͺB)n(U) = n(A \cup B)

If U has other elements too:

n(U)=n(AβˆͺB)+n(outsideΒ AβˆͺB)n(U) = n(A \cup B) + n(\text{outside } A \cup B)

Method: How to Find Cardinality​

  • List all elements in each set.

  • Identify common elements (intersection).

  • Apply formulas based on whether sets are disjoint or intersecting.

  • Use Venn diagrams to visualize and verify.