Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Subjects to be Learned
union of sets
intersection of sets
difference of sets
complement of set
ordered pair, ordered n-tuple
equality of ordered n-tuples
Cartesian product of sets
Contents
Sets can be combined in a number of different ways to produce another set. Here
four basic operations are introduced and their properties are discussed.
Definition (Union): The union of sets Aand B, denoted by A B , is the set defined as
A B={x|x A x B}
A B={x|x A x B}
A-B={x|x A x B}
The fourth set operation is the Cartesian product We first define an ordered pairand
Cartesian product of two sets using it. Then the Cartesian product of multiple sets is
defined using the concept of n-tuple.
Two ordered pairs <a, b> and <c, d> areequal if and only if a = c and b = d. For example
the ordered pair <1, 2> is not equal to the ordered pair <2, 1>.
A B = {<1, a>, <1, b>, <2, a>, <2, b>, <3, a>,<3, b>} .
B A = {<a, 1>, <a, 2>, <a, 3>, <b, 1>, <b, 2>,<b, 3>} .
The concept of Cartesian product can be extended to that of more than two sets.
First we are going to define the concept ofordered n-tuple.
Definition (Cartesian product): Let A1, ...,An be n sets. Then the set of all ordered n-tuples <x1,
..., xn> , where xi Ai for all i, 1 i n , is called the Cartesian product of A1, ..., An, and is
denoted by A1 ... An .
Example 3:
Let A = {1, 2}, B = {a, b} and C = {5, 6}. Then
A B C = {<1, a, 5>, <1, a, 6>, <1, b, 5>, <1, b, 6>, <2, a, 5>, <2, a, 6>, <2, b, 5>, <2, b,
6>} .
Definition (equality of n-tuples): Two ordered n-tuples <x1, ..., xn> and <y1, ...,yn> are equal if
and only if xi = yi for all i, 1 i n .
For example the ordered 3-tuple <1, 2, 3> is not equal to the ordered n-tuple <2, 3, 1>.
thus and .