Mini Review: Sets and Relations
Additional Set Operations
Intersection
The intersection between two sets X and
Y is written as
X∩Y and defined as follows:
X∩ Y={x|x∈Xandx∈Y}
Example
For X={a,b} and
Y={b,c}, the intersection is
X∩Y={b}.
Difference
The difference between two sets X and
Y is written as
X∖Y (or sometimes as
X−Y and is also called the relative complement of
Y in
Y. It is defined as follows:
|
Example
For X={a,b} and
{b,c}, the set difference is
X∖Y={a}.