Set Theory Basics: Learn It 4

Cardinality

Often times we are interested in the number of items in a set or subset. This is called the cardinality of the set.

cardinality

The number of elements in a set is the cardinality of that set.

 

Notation: The cardinality of the set [latex]A[/latex] is often notated as [latex]{\lvert}A{\rvert}[/latex] or [latex]n\left(A\right)[/latex]

In the definition of cardinality above, note that the symbol [latex]{\lvert}A{\rvert}[/latex] looks like the absolute value of [latex]A[/latex] but does not denote the absolute value. This symbol would be understood to represent the cardinality of set [latex]A[/latex] rather than absolute value by the context in which it is used. Note that the symbol [latex]n\left(A\right)[/latex] is also used to represent the cardinality of set [latex]A[/latex].
Let [latex]A = \{1, 2, 3, 4, 5, 6\}[/latex] and [latex]B = \{2, 4, 6, 8\}[/latex]. What is the cardinality of:

  1. [latex]B[/latex]
  2. [latex]A \cup B[/latex]
  3. [latex]A \cap B[/latex]

It is possible to identify the cardinality of unions, intersections, and complements of sets. In order to do so we must apply the cardinality properties.

A note about the cardinality properties

You’ve already seen how to use the properties of real numbers and how they can be written as “templates” or “forms” in the general case. The properties of cardinality, although they are not the same as number properties, can be learned in a similar way, by speaking them aloud, writing them out repeatedly, using flashcards, and doing practice problems with them.

Remember to employ more than one study strategy along with repetition and practice to learn unfamiliar mathematical concepts.

Cardinality Properties

  1. [latex]n(A \cup B) = n(A) + n(B) – n(A \cap B)[/latex]
  2. [latex]n(A^c) = n(U) – n(A)[/latex]

Notice that the first property can also be written in an equivalent form by solving for the cardinality of the intersection:

 

[latex]n(A \cap B) = n(A) + n(B) – n(A \cup B)[/latex]

Fifty students were surveyed and asked if they were taking a social science (SS), humanities (HM), or natural science (NS) course the next quarter.

  • [latex]21[/latex] were taking a SS course
  • [latex]19[/latex] were taking a NS course
  • [latex]7[/latex] were taking SS and NS
  • [latex]3[/latex] were taking all three
  • [latex]26[/latex] were taking a HM course
  • [latex]9[/latex] were taking SS and HM
  • [latex]10[/latex] were taking HM and NS
  • [latex]7[/latex] were taking none

How many students are only taking a SS course?