Kahibaro
Discord Login Register

1.3.2 Set notation

In the parent chapter “Sets and elements,” you met the basic idea of a set and its elements. Here we focus on the symbols and ways we write sets clearly and efficiently. This is called set notation.

We will organize this into three main themes:

Basic set symbols

A set is usually named with a capital letter such as $A$, $B$, or $S$.

We often use lowercase letters like $a, b, x$ for elements, and uppercase like $A, B, X$ for sets.

Example:

Two main ways to describe a set

There are two very common notations to describe what elements are in a set:

  1. Roster (listing) notation
  2. Set-builder (rule) notation

Both describe the same idea, but in different styles.

Roster (listing) notation

In roster notation, you list all the elements inside curly braces, separated by commas.

Examples:

If the pattern is clear and the set goes on, we often use an ellipsis “$\dots$”:

Here, “$\dots$” means the pattern continues in the obvious way.

Important points:

Set-builder (rule) notation

In set-builder notation, instead of listing all elements, you describe them by a property or rule they satisfy.

The basic pattern looks like:
$$
\{\, x \mid \text{condition about } x \,\}
$$

You read the vertical bar “$\mid$” as “such that.”

Examples:

  1. The set of integers greater than $5$:
    $$\{x \mid x \text{ is an integer and } x > 5\}$$
  2. The set of even integers:
    $$\{n \mid n \text{ is an integer and } n \text{ is even}\}$$
  3. You can also write where elements come from:
    $$\{x \in \mathbb{R} \mid x > 0\}$$
    Read: “The set of all real numbers $x$ such that $x > 0$.”

Here “$\in \mathbb{R}$” tells us the universe (or domain) we are talking about: real numbers.

Special sets and their symbols

Some sets appear so often that we give them standard symbols.

Typical number sets:

Other common notations:

Examples:

Subset notation

Sometimes we want to express that every element of one set is also in another set. This is written with the subset symbols.

Let $A$ and $B$ be sets.

Examples:

  1. Let $A = \{1,2\}$, $B = \{1,2,3\}$.
    • $A \subseteq B$ is true.
    • $A \subset B$ is true (since $A \ne B$).
    • $B \subseteq B$ is true.
    • $B \subset B$ is false (a set is not a proper subset of itself).
  2. Let $C = \{2, 4, 6\}$, and let $D$ be the set of all even integers.
    • $C \subseteq D$.
  3. The empty set is a subset of every set:
    • $\emptyset \subseteq A$ for any set $A$.

Notation for basic set operations

The detailed meaning of operations like union and intersection belongs to a later chapter. Here we only introduce the symbols and how they are written.

Let $A$ and $B$ be sets.

Examples of notation (without going into full explanation):

Using “such that” and conditions carefully

Set-builder notation can include more complicated conditions, combined with logical words like “and” and “or.” Logical operators are studied in another chapter, but here is how they look in set notation:

Example with symbols:

Often, in beginner contexts, we simply write the words “and” and “or” instead of the logical symbols, but it is useful to recognize both styles.

Common pitfalls in reading and writing set notation

A few frequent mistakes to watch out for:

Practice reading examples

Here are a few sets written in notation. The goal is simply to be able to read them in words.

  1. $$A = \{x \in \mathbb{R} \mid x \le 2\}$$
    Read: “$A$ is the set of all real numbers $x$ such that $x$ is less than or equal to $.”
  2. $$B = \{n \in \mathbb{Z} \mid -5 < n < 5\}$$
    Read: “$B$ is the set of all integers $n$ such that $n$ is greater than $-5$ and less than $.”
  3. $$C = \{2, 4, 6, 8, 10\}$$
    Read: “$C$ is the set whose elements are $, $, $, $, and $.”
  4. $$D = \{x \in \mathbb{R} \mid x^2 = 1\}$$
    Read: “$D$ is the set of all real numbers $x$ such that $x$ squared equals $.”
    (You may later learn that this means $D = \{-1, 1\}$.)

Being comfortable with reading and writing this kind of notation will make later topics about sets, logic, functions, and beyond much easier to follow.

Views: 73

Comments

Please login to add a comment.

Don't have an account? Register now!