What is Intersection?
You and your friend both have playlists. You want to find songs you both have.
That’s intersection — only what’s shared.
Symbol: — looks like a cap (the overlap).
This reads: “A intersect B”
Example
Find :
Check each element — is it in both sets?
- 1: in A, not in B → out
- 2: in A, not in B → out
- 3: in A, in B → keep
- 4: not in A → out
- 5: not in A → out
If it’s not in both, it’s out.
More Examples
| Why? | |||
|---|---|---|---|
| b and c are shared | |||
| Nothing in common | |||
| All of A is in B | |||
| Empty set shares nothing |
Disjoint Sets
When two sets share nothing, we call them disjoint.
Examples: even and odd numbers, and .
Properties
Intersection with itself:
Everything in A is also in A, so you keep everything.
Intersection with empty set:
The empty set has nothing to share.
Order doesn’t matter (commutative):
“What we both have” is the same from either perspective.
Grouping doesn’t matter (associative):
When finding what three sets share, the grouping doesn’t matter.
The Formal Definition
This reads: “The set of all such that is in A and is in B.”
Intersection asks: is it in both sets?