Next: Operations on sets
Up: Sets and functions
Previous: Sets and functions
Starting with the work of Cantor and Boole in the 1800's mathematicians have noticed that a very large collection of mathematical concepts can be expressed using sets and functions between sets.
Basic set theory used to be the place where all mathematics courses started from Algebra 1 in high school to graduate level courses. Set theory has just about disappeared from the high school curriculum. It remains essential for higher level mathematics.
Definition 3
A set is any well defined collection of elements. If

is an element of the set

we will write

.
Notice that this (naive) definition lets us clump together disparate elements into a set as long as we can determine (somehow) whether or not s given proposed element is in fact an element. In real life we rarely run across things where membership has such a clear cut definition; fortunately, in mathematics we can usually define our subject matter closely enough that sets are useful.
Definition 4
Two sets are equal if they have exactly the same members:

if and only if

.
This tells us that if we define a set by listing its elements, the order of the list is irrelevant.
We can specify sets by
- Listing the elements, for example
- Describing the elements, for example
- Using a generally understood name, say the set of uppercase letters in the alphabet.
Sets are very closely tied to functions. Indeed, one may think of the concept of set as having arisen so that one could clarify exactly what was meant by a function.
Definition 6
A function

is a rule which assigns to each element of

a unique element of

. The set

is called the domain of the function and the set

is called the codomain of the function.
Definition 7
The range of a function

is the set
The codomain of a function
is the set of all elements that could be hit by
; the range is the set of all elements which are hit.
Definition 9
If

and

are functions then the composition

is defined by the rule

.
Proposition 9
Composition of functions is associative, but not always commutative.
(4 Points )
Definition 10
The identity function on

is

with

.
Proposition 10
For any function

we get

and

.
(2 Points )
Definition 11
Two sets are isomorphic if there are functions

and

with

and

.
Proposition 11
If two sets are equal then they are isomorphic, but not necessarily conversely. (4 Points)
(4 Points )
Definition 12
A function

is an epimorphism iff whenever

and

have

then

.
Definition 13
A function

is an monomorphism iff whenever

and

have

then

.
Definition 14
A function

is onto iff the image of

is

.
Definition 15
A function

is one-to-one iff whenever

we get

.
Proposition 12
A function is one-to-one if and only if it is a monomorphism.
(4 Points )
Proposition 13
A function is onto if and only if it is an epimorphism.
(4 Points )
Proposition 14
Every function

can be factored as the composition

where

is onto and

is one to one.
(2 Points )
Proposition 15
The composition of epimorphisms is an epimorphism.
(3 Points )
Proposition 16
The composition of monomorphisms is a monomorphism.
(3 Points )
Theorem 17
A function

which is both one-to-one and onto has an inverse: that is, there is a function

with

and

.
(4 Points )
Theorem 18 (Cantor-Bernstein)
If there is a one-to-one function from

to

and a one-to-one function from

to

, then there is a function from

to

which has an inverse.
(6 Points )
In this situation we say that
and
have the same cardinality, written
.
Next: Operations on sets
Up: Sets and functions
Previous: Sets and functions
Larry Stout
2001-08-17