| Start |
| Sets and Subsets |
| Algebra of Sets |
| Functions |
| Caretesian Product |
| Relations |
| Denumerable Sets |
| Test |
| Message Board |
|
|
Basic
Operations| Disjoint Sets|
Partition| Laws| Principle of
Duality | Indexed Sets|
Generalized
Operations| Graphical Presentation
| |
|
ALGEBRA OF SETS
BASIC OPERATIONS As we have introduced meaning of the terms set, subset, null set and universal set, we can learn how to build new sets using the sets we already know. The way we do it is called set operations. The set operations are: union, intersection, difference and complement. They are called Boolean operations.
Let A and B be subsets of the universal set U. Then we can look at the
set C
C = { x | x Union
The
union of sets A and B is the set of all elements which belong to
A, to B or to both. It is denoted by A
A
The
conjunction “or” permits that x is an element in
set A and an element in set B. We can say that x is an element
of the set A
In the other words, we can observe the set C
The union of sets is the smallest subset of U, which embraces sets A and B as its subsets. IntersectionHowever, sets A and B also define a set of elements that are common to both of them.
The intersection of sets A and B is the set of elements that are
common to sets A and B. It is denoted by A
A
Thus, for sets A, B Set D is the intersection of sets A and B.
D=
A
DifferenceThe difference of sets A and B is the set of elements which belong to A, but do not belong to B. It is denoted by A – B or A \ B.
A \ B = {x | x
Complement Set
Let U be the universal set and A
AC = {b | b
DISJOINT SETS If sets A and B have no common elements i.e. no element of A is inB and no element of B is in A, then A and B are disjoint. In that case, set D is a set with no elements. The intersection ofsets A and B is the null set. Example: Suppose A and B are not comparable. If they are disjoint,they can be represented by the diagram on the left. If they are notdisjoint, they can be represented by the diagram on the right.
POWER SET AND PARTITION
OF SET
Sometimes, for a better understanding of the characteristics of a set, it is useful to know some of its parts. Let A be a non-empty set. A power set of the set A is the set of all subsets of A. A partition of the set A is a collection of non-empty disjoint subsets of A, whose union is A. Example for a partition of a set: Let X denote the set of all employees of one big company divided in several departments. We can say that employees are elements of disjoint subsets because each employee belongs to a different department. The union of those subsets is the set of all employees of the company. Each department has a chief. We can say that the chief is a representative of a subset.
We say that non-empty sets Ai, Ai
Suppose that U has only one element, i.e. U={a}. Such a set is called
a one member set. In that case,
P(U) is a two member set, because it contains only the
set U and the null set,
P(U)={
Take a look at this example for a power set: if we have a two member
set U={a, b}, a Take a look at an example for the partition of a set: let S = {1, 2, 3, 4, 5, 6}. Then the elements of the partition of S are: A1={1, 2}; A2 = {3, 4, 5}; A3= {6} or A1={1}; A2={2, 3}; A3={4}; A4={5, 6}or A 1={1,2,3}; A2={4,5,6}, etc.
Take a look to the set of all natural numbers N. Then one of its partitions
is the set of odd and even numbers, i.e., {2N, 2N0+1}. Here,
the elements are A1={2N} and A2={2N0
+1}. We know that N=2N Axiom of pair: If A and B are sets, then there exists a set F, that contains the set A and set B.
Axiom
of specification: Let U be any set and P any statement. Then there
exists a subset A According to the axiom of specification, there is a set that contains only A and B. That set is called a pair and is denoted by {A, B}. Axiom of power set: For each set A there exists a set P(A), which is called the power set of the set A and whose elements are subsets of A.
The power set of non-empty set U, set
P(U), together with operations union, intersection, difference
and complement ( Then follows the laws of the algebra of sets:
1.
Commutative Laws
2.
Associative Laws
3.
Idempotent Laws
4.
Distributive Laws
5. De
Morgan Laws
6.
Complement Laws
1. Let us prove commutative laws:
(
( 2. Let’s prove the associative law. Therefore, we have to prove these two statements:
a) (A
b) A
Let’s
prove a).
Let x be any element in the set (A
x
Then x
x
So, we have x
We can write it on this way: x
Therefore, x
We see that from x
Let’s
prove the statement b).
Let x
Now we have shown that x
Therefore, x
Then x
From (A
outcomes (A
3. Let
us prove idempotent laws:
(
(
4. Lets prove now distributive law
from
We have
to prove following two statements:
a) A b) (A Let
x
Therefore, x
If
x
So,
x
Let’s
prove statement b).
Let
x
If
x
If
x
That
means if x
Therefore in any case from x
From
A
5. Let
us prove De Morgan laws:
A
(A
Each of
the sets A and
(A
Since
null set is a subset of every set, then
The sets
U and A are always subsets of A
A
But
every set is a subset of the universal set, (A
(A
(A
6. Let
us prove complement laws:
On the
first way let it be A
(Ac)c
On the
second way let it be A
x
x
That was
the proof.
Set
operations as union and intersection are defined on the same way on any
number of sets. Let F be any number of sets, i.e. F is set
which elements are sets. Then union of F is
B=
the
smallest set, which contains all elements from all, sets A from F and nothing
else.
We can
say that more precisely: x
Analogous is defined the intersection of any number
of sets,
D=
as “the
biggest” set that is contained in each set of F. In the
other words: y
Accordingly we introduce de Morgans theorems:
(
(
Accepting the existence of union of any number of
sets is so natural that we take it as an axiom.
Axiom of
union: Let F be non-empty set of sets. Then
exist such a set B for which is valid that x
PRINCIPLE OF DUALITY
If we
interchange
Definition: If certain axioms imply their own duals,
then the dual of any theorem that is a consequence of the axioms is also a
consequence of the axioms.
For,
given any theorem and its proof, the dual of the theorem can be proven in
the same way by using the dual of each step in the original proof. Thus
the principle of duality applies to the algebra of sets.
INDEXED
SETS
Definition: An indexed family of sets {Ai}i
GENERALIZED OPERATIONS
For two
subsets A, B
A
A
A \ B =
{x
Example:
Let the
universal set U be the set of all natural numbers N. If A =
{1, 2, 3, 4} and B = {2, 3, 5, 6} then A
and A\B
= {1, 4} and B\A = {5, 6}.
A
A
A
A
A
A
We
denote the union and the intersection for a finite number of sets A1, A2, …, An, by
A1 A1 Consider
the indexed family of sets {Ai} i |