Set Theory
What Is a Set?
A set is a collection of objects that we treat as a single group.
The objects are called Elements.
If a set contains the numbers 1, 2, and 3, we write it as {1, 2, 3}.
Sets can hold anything: numbers, letters, animals, or even other sets.
For example, {apple, banana, cherry} is a set of fruits.
Two sets are the same when they have exactly the same elements, no matter the order.
Common Set Notations
| Symbol | Meaning | Example |
|---|---|---|
{} | List the elements of a set | {a, b, c} |
∈ | “is an element of” | 2 ∈ {1, 2, 3} |
∉ | “is not an element of” | 5 ∉ {1, 2, 3} |
⊆ | “is a subset of” (all elements are also in the other set) | {1, 2} ⊆ {1, 2, 3} |
⊂ | “is a proper subset of” (subset but not equal) | {1, 2} ⊂ {1, 2, 3} |
∪ | Union (all elements from both sets) | {1, 2} ∪ {2, 3} = {1, 2, 3} |
∩ | Intersection (elements common to both) | {1, 2} ∩ {2, 3} = {2} |
\ | Difference (elements in the first set but not the second) | {1, 2, 3} \ {2} = {1, 3} |
Simple Set Operations
Union
The union puts two sets together.
If A = {red, blue} and B = {blue, green}, then A ∪ B = {red, blue, green}.
Duplicates are removed automatically.
Intersection
The intersection finds what the sets share.
With the same A and B, A ∩ B = {blue} because blue is the only common element.
Difference
The difference shows what is in the first set but not the second.
A \ B = {red} because red is in A and not in B.
B \ A = {green} for the opposite direction.
Why Sets Matter
Sets help us organize information.
They appear in computer science, statistics, and everyday problem‑solving.
Understanding sets gives a solid foundation for later math topics like probability and algebra.
Try creating your own sets!
Write down a set of your favorite games, a set of the colors in your room, or a set of the books you’ve read this year.
Then practice union, intersection, and difference with a friend’s sets.
Exploring sets is like playing with building blocks—each block is an element, and together they make something bigger and more interesting. Happy set‑building!