A collection of object is called a set. We will denote sets by capital letters
When an object is in set , we write , otherwise, we write . let he sets. If every is also in , we say that is a subset of , and write . Vacuously, the empty set is a subset of any set.
If and , then is a proper subset of , written .
If is a predicate, then there is a set that collects all objects for which is true. We write .
The set of elements that belong to both and , is called the intersection of and , dented .
the set of elements that belong to or , is called the union of and , denoted .
Properties of union and intersection
(i) identities:- .
(ii) interaction with the empty set
(iii) Symmetry:- .
(iv) Associativity:- , .
(y) Distribution:-
(Vi) Existence of Arbitrary unions and intersections. let be an index set (Probably infinite at any Cardinal), then and exist.
Difference of sets
if and an sets, is the set that contains all objects in , which are not in , written .
Properties of difference
(i)) , then . if , then .
(ii) if and andy if .
(ii) if and and if .
(iv) .
Contesian Products
let he sets, is the set of ordered -tuples with .
A property of cartesian products
Let , and . Then,$$(A \times B) \cap(C \times D)=(A \cap C) \times(B \cap D)$$
Let . Then, . hence and . Similarly, hence and . Therefore, and .
Functions
Functions, Image, Pre-image
is a function if for each , we associate exactly one .
Let , then the image of under is .
Let , then the pre-image of under is . is injective if the pre-image of any singleton has at most one element. is surjective if . is bijective if it is both injective and surjective, in which case, exists, and is a bijection from to .
Interaction of images and pre-images of functions with set operators
For the following discussion, let , , .
,
only if is injective.
only if is injective.
, .
Left for the reader.
Cardinality
Set isomorphisms
A set is isomorphic to set , denoted , if there exists a bijection , in which case we say that and have the same cardinality, sometimes written . The described relation is an equivalence, meaning that sets can be partitioned into classes, all of whose cardinality is the same.
Finite sets, countable sets, uncountable sets
let , where . A set is finite if , for some
A set is countable, if , otherwise it is uncountable
A set, and its power set
let be any set, then where is the power set of
Suppose there exists a bijection . collect all such that is mapped to a subset of that doesn't contain . , could be empty too. Then, notice that is a subset of , and since is surjective, we have for which . if , then , a contradiction. if , then , hence , also a contradiction.
The reals are uncountable
There exists no bijection .
Suppose There exists a bijection , write the real numbers, as infinite decimal digits, for example pick the one with infinite zeros. write then make Here, . Then , but ) . Contradicting the Surjectivity of the map .
Every Infinite subset of a countable set is countable
Let be a countable set, an infinite subset of . Then, is countable.
Use the bijection from , to index as . Now, consider the following algorithm, find with the smallest index in , that is for the smallest . set , delete from , and repeat this process (use a proof by induction), to show that is indexable.