Lesson 8

Set notation and solution sets

Theory and examples

Sets are just collections

A set is a collection of objects. In this course, the objects are usually numbers.

The curly brackets mean “the set containing these things.”

{2,4,6,8}\{2,4,6,8\}

That means the set containing 22, 44, 66, and 88.

Belongs to and does not belong to

The symbol ∈\in means “belongs to” or “is an element of.” The symbol ∉\notin means “does not belong to.”

3∈Z3 \in \mathbb{Z}

33 is an integer.

2∉Q\sqrt{2} \notin \mathbb{Q}

2\sqrt{2} is not rational.

−5∈R-5 \in \mathbb{R}

−5-5 is real.

0∉N0 \notin \mathbb{N}

In this course, natural numbers start at 11.

Writing solution sets

A solution set is the set of all values that solve a question. Sometimes there is one value. Sometimes there are many values.

Example 1: one solution

If an equation gives x=3x=3, we can write the solution set as:

{3}\{3\}

This means the set containing only 33.

Example 2: a few integer solutions

If x∈Zx \in \mathbb{Z} and 1<x<51<x<5, the possible values are:

{2,3,4}\{2,3,4\}

Because xx must be an integer, and it must be between 1 and 5 (exclusive).

Set-builder notation

Set-builder notation describes a whole set using a rule. It looks strange at first, but it reads quite naturally once you know the pieces.

Example 3: read the notation

{x∈R:x>2}\{x \in \mathbb{R}: x>2\}

x∈Rx \in \mathbb{R}

xx is a real number.

::

such that

x>2x>2

xx is greater than 22.

So the full notation means: the set of real numbers greater than 22.

Interval notation

Interval notation is a compact way to describe continuous chunks of the number line.

Endpoint rule

[ ][\ ]

Square brackets include the endpoint.

( )(\ )

Round brackets exclude the endpoint.

Example 4: intervals

(2,5)(2,5)

Greater than 22 and less than 55.

[2,5][2,5]

From 22 to 55, including both endpoints.

(2,5](2,5]

Excludes 22, includes 55.

[2,5)[2,5)

Includes 22, excludes 55.

Visual: [2,5)[2,5)

023.557includedexcluded

Infinity intervals

Infinity is not a number you can land on, so we always use round brackets with ∞\infty and −∞-\infty.

(2,∞)(2,\infty)

All real numbers greater than 22.

(−∞,4](-\infty,4]

All real numbers less than or equal to 44.

A small note on or

Union means or

Sometimes a solution has two separate parts. The symbol ∪\cup means union, which you can read as “or.”

(−∞,1)∪(3,∞)(-\infty,1) \cup (3,\infty)

This means all values less than 11 or all values greater than 33. The middle section between 11 and 33 is not included.

Common traps

  • Mixing up ∈\in and ==. They do not mean the same thing.
  • Using square brackets with infinity. Infinity is never included.
  • Forgetting that x∈Zx \in \mathbb{Z} gives separate integer answers, not every real number in between.
  • Reading (2,5)(2,5) as the point (2,5)(2,5) instead of an interval. Context matters.

Summary

  • Curly brackets describe a set.
  • ∈\in means belongs to.
  • Solution sets contain all values that solve a question.
  • Set-builder notation describes a set using a rule.
  • Square brackets include endpoints; round brackets exclude endpoints.

Optional mastery

Mastery questions

Do you want a high study score? Be disciplined. Do the mastery questions.

Open mastery questions

Checkpoint

Multiple-choice questions

Answer every question correctly to unlock the next lesson. If something is marked red, change your answer and check again.

Question 1
What does x∈Rx \in \mathbb{R} mean?
Question 2
Which notation describes all real numbers greater than 22?
Question 3
What does the interval [1,5)[1,5) mean?
Question 4
If x∈Zx \in \mathbb{Z} and 1<x<51<x<5, what is the solution set?