What is a Set?
A set is a collection of distinct objects.
Examples from everyday life:
- A bag of marbles — that’s a set of marbles
- Your playlist — that’s a set of songs
- Your contacts list — that’s a set of people
Writing Sets
We use curly braces to write sets:
This is a set containing 1, 2, and 3.
More examples:
| Set | Description |
|---|---|
| A set of letters | |
| A set of even numbers | |
| A set of fruits |
Two Important Rules
Rule 1: No Duplicates
Duplicates are ignored. Each element appears only once.
A set cares about what’s in it, not how many times you wrote it.
Rule 2: Order Doesn’t Matter
A set is just a collection — there’s no “first” or “last” element.
A set cares about what’s in it, not what order you wrote it.
Set Membership
How do we say “this thing is in the set”?
The symbol means “is an element of” or “belongs to”:
This reads: “2 is in the set ”
The symbol means “is NOT an element of”:
This reads: “5 is not in the set ”
Practice:
| Statement | True or False? |
|---|---|
| True | |
| False | |
| True | |
| True |
The Empty Set
A set with nothing in it is called the empty set.
Two ways to write it:
- — curly braces with nothing inside
- — the special empty set symbol
Think of it as an empty bag — still a bag, just nothing inside.
Key facts about the empty set:
- is true for any (nothing is in it)
- There is only one empty set (all empty sets are equal)
Set-Builder Notation
Sometimes listing every element is impossible or tedious.
Instead, we describe a set by a rule:
This reads: “The set of all such that is an even number.”
The vertical bar means ”such that.”
Some books use a colon instead:
Examples:
| Set-builder notation | Meaning | As a list |
|---|---|---|
| All positive numbers | ||
| Numbers whose square is 4 | ||
| All prime numbers |
Common Number Sets
Some sets are used so often they have special symbols:
| Symbol | Name | Elements |
|---|---|---|
| Natural numbers | ||
| Integers | ||
| Rational numbers | All fractions where | |
| Real numbers | All numbers on the number line |
Why these letters?
- — Natural
- — Zahlen (German for “numbers”)
- — Quotient (fractions are quotients)
- — Real
Note: Some definitions include 0 in the natural numbers. We use here.