Docsity

Definitions and Counting Questions in Set Theory, Study notes of Mathematics

Toggle sidebar
bg1
1 Counting Warm-Ups
1.1 Some Denitions
The
Cartesian product
of twosets
X
and
Y
is the set
X
Y
=
f
(
x; y
):
x
2
X; y
2
Y
g
:
That is, it is the set of all ordered pairs where the rst coordinate comes from
X
and the
second coordinate comes from
Y
.
A
relation
between two sets
X
and
Y
is
any
subset of
X
Y
. That is, it is any subset of
ordered pairs, where the rst coordinates are drawn from
X
and the second coordinates are
drawn from
Y
. The
domain
of a relation
S
is the set of rst coordinates in the relation; i.e.,
Domain(
S
)=
f
x
2
X
:(
x; y
)
2
S
for some
y
2
Y
g
:
The
range
of a relation
S
is the set of second coordinates in the relation; i.e.,
Range(
S
)=
f
y
2
Y
:(
x; y
)
2
S
for some
x
2
X
g
:
Here are my high school teacher's denitions: A
cklepicker
of a relation is a rst coor-
dinate that appears in more than one ordered pair of the relation. A
function
is a relation
with no cklepickers.
If
f
is a function, then we write, for example,
y
1
=
f
(
x
1
) to mean that the ordered pair
(
x
1
;y
1
) is in the function. When we write
f
:
X
,!
Y
is a function, we mean that the
domain of
f
is the entire set
X
, and the range of
f
is contained in (but not necessarily equal
to)
Y
.
A function
f
:
X
,!
Y
is
one-to-one
or an
injection
if no element of the range is paired
with more than one elementof
X
. A function
f
:
X
,!
Y
is
onto
or a
surjection
if its
range is all of
Y
. A function
f
:
X
,!
Y
is
one-to-one and onto
or a
bijection
if it is both
one-to-one and onto.
1
pf2

Partial preview of the text

Download Definitions and Counting Questions in Set Theory and more Study notes Mathematics in PDF only on Docsity!

1 Counting Warm-Ups

1.1 Some De nitions

The Cartesian product of two sets X and Y is the set

X  Y = f(x; y ) : x 2 X ; y 2 Y g:

That is, it is the set of all ordered pairs where the rst co ordinate comes from X and the second co ordinate comes from Y. A relation b etween two sets X and Y is any subset of X  Y. That is, it is any subset of ordered pairs, where the rst co ordinates are drawn from X and the second co ordinates are drawn from Y. The domain of a relation S is the set of rst co ordinates in the relation; i.e.,

Domain(S ) = fx 2 X : (x; y ) 2 S for some y 2 Y g:

The range of a relation S is the set of second co ordinates in the relation; i.e.,

Range(S ) = fy 2 Y : (x; y ) 2 S for some x 2 X g:

Here are my high scho ol teacher's de nitions: A cklepicker of a relation is a rst co or- dinate that app ears in more than one ordered pair of the relation. A function is a relation with no cklepickers. If f is a function, then we write, for example, y 1 = f (x 1 ) to mean that the ordered pair (x 1 ; y 1 ) is in the function. When we write f : X ! Y is a function, we mean that the domain of f is the entire set X , and the range of f is contained in (but not necessarily equal to) Y. A function f : X ! Y is one-to-one or an injection if no element of the range is paired with more than one element of X. A function f : X ! Y is onto or a surjection if its range is all of Y. A function f : X ! Y is one-to-one and onto or a bijection if it is b oth one-to-one and onto.

1.2 Some Counting Questions

When we write jX j = m, we mean that X is a nite set that contains exactly m elements; i.e., the cardinality of X is m.

  1. If jX j = m and jY j = n, how many relations b etween X and Y are there?
  2. If jX j = m and jY j = n, how many functions f : X ! Y are there?
  3. Supp ose jX j = m, jY j = n. Try to ll in the following table by giving a formula for the numb er of functions f : X ! Y in each case:

Injections Surjections Bijections

m < n

m = n

m > n