Contents

Definition of Sets

Fruit supermarket

When we shop in a fruit market or supermarket, we see fruits grouped by type, such as grapes, mangoes, and oranges. In mathematics, a collection like this can be called a set if its members are clearly defined.

Not every collection qualifies as a set. The objects in the collection must be identifiable without ambiguity.

Examples of collections that are sets:

  • the set of male students
  • the set of four-legged animals
  • the set of fruits whose names begin with the letter S

Examples of collections that are not sets:

  • the set of school subjects students like
  • the set of delicious foods
  • the set of clever students

From these examples, we can state:

A set is a collection of objects that is clearly defined.

The objects inside a set are called its members or elements.

General rules for writing sets:

  1. set names usually use capital letters such as AA, BB, or CC
  2. the members are written inside curly braces { }
  3. members are separated by commas

Examples:

A={natural numbers less than 10}B={2,3,5,7,11}C={Grade VII students who wear glasses} \begin{aligned} A &= \{\text{natural numbers less than } 10\}\\ B &= \{2,3,5,7,11\}\\ C &= \{\text{Grade VII students who wear glasses}\} \end{aligned}

Common number sets include:

  • natural numbers
  • whole numbers
  • integers
  • even numbers
  • odd numbers
  • prime numbers
  • rational numbers
  • irrational numbers
  • real numbers

A set can be written in several ways.

Example:

A={two-legged animals} A = \{\text{two-legged animals}\}

Examples:

K={xx is a prime number less than 15}L={x2<x<8, x is an integer} \begin{aligned} K &= \{x \mid x \text{ is a prime number less than } 15\}\\ L &= \{x \mid 2 < x < 8,\ x \text{ is an integer}\} \end{aligned}

Examples:

K={January, February, May, June, July}L={red, orange, yellow, green, blue, indigo, violet} \begin{aligned} K &= \{\text{January, February, May, June, July}\}\\ L &= \{\text{red, orange, yellow, green, blue, indigo, violet}\} \end{aligned}

Suppose:

A={1,2,3,4,5} A = \{1,2,3,4,5\}

Then 1, 2, 3, 4, and 5 are members of AA, written as:

1A, 2A, 3A, 4A, 5A 1 \in A,\ 2 \in A,\ 3 \in A,\ 4 \in A,\ 5 \in A

The symbol \in means “is a member of”, while \notin means “is not a member of”.

Since 6 is not in the set AA, we write:

6A 6 \notin A

If AA is a set, the number of its members is written as n(A)n(A). This is called the cardinality of AA.

  • a set with finitely many members is a finite set
  • a set with infinitely many members is an infinite set

Examples:

  1. If ZZ is the set of integers between 0 and 6, then

    Z={1,2,3,4,5} Z = \{1,2,3,4,5\}

    so:

    n(Z)=5 n(Z)=5
  2. If NN is the set of natural numbers, then

    N={1,2,3,4,5,} N = \{1,2,3,4,5,\ldots\}

    so:

    n(N)= n(N)=\infty

Definition: The empty set is a set with no members. Its symbol is \varnothing or { }.

The empty set is a subset of every set.

Examples:

  1. Let HH be the set of Indonesian presidents whose names begin with P. Since there are none:

    H= H = \varnothing
  2. Let MM be the set of months with exactly 20 days. Since no such month exists:

    M= M = \varnothing

Consider:

A={pedicab, carriage, car, bus, train, ship, airplane}B={car, bus, train, airplane, ship}C={pedicab, carriage, ship, train, bus} \begin{aligned} A &= \{\text{pedicab, carriage, car, bus, train, ship, airplane}\}\\ B &= \{\text{car, bus, train, airplane, ship}\}\\ C &= \{\text{pedicab, carriage, ship, train, bus}\} \end{aligned}

Every member of BB is also a member of AA, so:

BA B \subset A

But BB is not a subset of CC, so:

B⊄C B \not\subset C

Likewise:

C⊄B C \not\subset B

In general:

  • AA is a subset of BB if every member of AA is also a member of BB
  • AA is not a subset of BB if at least one member of AA is not in BB

Observe this pattern:

  • if A={1}A=\{1\}, then it has 2 subsets
  • if B={1,2}B=\{1,2\}, then it has 4 subsets
  • if C={1,2,3}C=\{1,2,3\}, then it has 8 subsets

So we get the formula:

If n(A)=n, then the number of subsets of A is 2n \text{If } n(A)=n,\ \text{then the number of subsets of } A \text{ is } 2^n

Examples:

  1. P={a,b,c,d,e}P=\{a,b,c,d,e\}, so n(P)=5n(P)=5. Therefore the number of subsets is:

    25=32 2^5 = 32
  2. K={xx is a natural number less than 7}={1,2,3,4,5,6}K=\{x \mid x \text{ is a natural number less than } 7\} = \{1,2,3,4,5,6\}, so n(K)=6n(K)=6. Therefore the number of subsets is:

    26=64 2^6 = 64

Universal set of transportation

If we are discussing cars, buses, trains, and airplanes, then the overall context is transportation. In set theory, this context is called the universal set.

The universal set is usually denoted by SS or UU.

Example:

Determine a possible universal set for:

A={2,4,6,8,10} A = \{2,4,6,8,10\}

Possible universal sets include:

  • the set of whole numbers
  • the set of natural numbers
  • the set of integers
  • the set of even numbers

Interactive exercises for this section are available in the original source.

This article introduced sets, set notation, the empty set, subsets, and the universal set. These are core ideas that support later topics in set theory and logic.

Related Content