Complement (set theory)

from Wikipedia, the free encyclopedia

In set theory and other branches of mathematics, two different complements are defined: the relative complement and the absolute complement .

Relative complement

definition

The (relative) complement of set A in B is in turn a subset of B and is colored blue here.

If and are sets and is a subset of , then the relative complement, also called set- theoretic complement or set- theoretic difference , is the set of precisely those elements which are not contained in. The formal definition of relative complement is

and you say "B without A". The complement only differs from the normal subtraction of sets in that the subset relationship must exist between the sets under consideration. It is called relative because one can not specify the complement for a set without knowing the context. If, on the other hand, the set is fixed, then instead of “the relative complement of A in B” one can simply name “the complement of A”.

Examples

  • For (real numbers) and (rational numbers), is the set of irrational numbers.

properties

Below are some properties of relative complements related to the set-theoretic operations union and intersection . Be , and sets, then the following identities hold:

Absolute complement

definition

The complement of A in U

If a universe is defined, the relative complement of in is also called the absolute complement (or simply complement) of for every set and is noted as (sometimes also as , or also as , or if is fixed), so it is:

example

For example, if the universe is the set of natural numbers, then the (absolute) complement of the set of even numbers is the set of odd numbers.

properties

Below are some properties of absolute complements related to the set-theoretic operations union and intersection . Be and subsets of the universe , then the following identities apply:

De Morgan's rules :

Complementary Laws:

  • Is so is

Involution:

Relationships between relative and absolute complements:

The first two complementary laws show that if is a true nonempty subset of, then is a partition of .

See also

literature

  • Oliver Deiser: Introduction to set theory. Georg Cantor's set theory and its axiomatization by Ernst Zermelo. 2nd, improved and enlarged edition. Springer, Berlin et al. 2004, ISBN 3-540-20401-6 .