



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Iāll begin by discussing some pieces of set theory notation that I missed out last time. The most important, which Iām sorry to have neglected to mention, is the empty set ā . This is the set with no elements. It could be written {}, but for whatever reason it isnāt; the convention is ā . Note that saying āthe set with no elementsā really does specify exactly what I mean. If I say āthe set with one elementā, well, which element? There are infinitely many things that element could be. But for the set with no elements, there are really no choices. Another way of saying this is that ā is defined by the following property: for any x, x /ā ā . A couple of more minor things. If X is a set, weāll use the notation
{x ā X | x satisfies some property}
to pick out the subset of X consisting of those elements which have some prop- erty. For example, suppose X = { 1 , 2 , }.
Then {x ā X | x is a number} = { 1 , 2 }.
Finally, thereās the set difference operator ā \ ā; X \ Y is the set of elements of X which are not elements of Y. For instance,
{ 1 , 2 } \ { 1 } = { 2 }.
Moreover, { 1 , 2 } \ { 1 , 3 } = { 2 },
since you canāt take 3 out of a set it wasnāt a member of in the first place. Watch out: Munkres actually uses the minus sign for set difference, but most people nowadays use the backslash . Iām sorry to keep dumping notation on you, and I realize it might be a lot to keep in your head if you havenāt encountered it before; Iāll give reminders here and there when it comes up and youāll be used to it before you know it. Now weāre ready to start talking about functions. Youāve all encountered the idea of a function before, at least informally, so letās now make that math- ematically rigorous. A functor f from a set X to a set Y - we write
f : X ā Y
Definition 1. A function from X to Y is a subset
f ā X Ć Y
such that each x ā X is the first component of exactly one element of f. If (x, y) ā f , we say f (x) = y.
If we want to encode the values of a function as pairs like that, the condition on f is exactly the condition we need - it guarantees that f (x) has exactly one value in Y , rather than no values or more than one value, which is what we expect from a function. (Thereās some overcomplicated stuff about ārules of assignmentā in the book
S = { 1 , 2 }, T = {a, b, c}.
Let f 0 = {(1, c), (2, b)} ā S Ć T.
Then f 0 is a function with f 0 (1) = c, f 0 (2) = b.
f 1 = {(1, a), (2, a)}
is also a function with f 1 (1) = f 1 (2) = a. However,
f 2 = {(1, c), (1, a), (2, b)}
is not a function because there are two pairs with first component 1.
f 3 = {(1, c)}
is also not a function because thereās no pair with first component 2. The most fundamental example of a function is the identity function. If X is a set, then the identity function on X, written
idX : X ā X
In other words, everything in Y is a value of f. The image of f is the set
im f = {f (x) | x ā X} ā Y ;
itās the subset of elements of Y which are values of f. Another way of saying f is surjective is to say im f = Y.
The function f 0 is not surjective, because c is not in the image of f 0. Itās appropriate here to bring in an example from the book, which is probably more like the examples of functions youāre used to from calculus. Define g : R ā R by g(x) = x^2. Then (show of hands) g is not injective, because
g(ā1) = g(1) = 1.
g is also not surjective, because ā1 is not in the image of g; there is no real number whose square is ā1. Now let Rā„ 0 be the non-negative real numbers. We can think of g as defined on Rā„ 0 instead of all of R. This is something we can always do; we talk about the restriction of a function to a subset of the domain. We use the notation
g|Rā„ 0
for the new function obtained this way. Then g|Rā„ 0 , because a real number has at most one non-negative square root. We donāt have the problem that g(ā1) = g(1), because ā1 isnāt in the domain any more. On the other hand, notice that the values of g are all non-negative. That means we can think of g as a function from R to Rā„ 0. Since this function has a different codomain, itās technically a different function, so letās give it a different name: call it gā². Then gā²^ is surjective, because every non-negative real number has at least one square root. We could even do both things at once:
gā²|Rā„ 0
is both injective and surjective. We call such functions bijective. Bijective functions are special, because theyāre the functions which are invertible.
Definition 6. Let f : X ā Y be a function. Then an inverse for f is a function f ā^1 : Y ā X, pronounced āf inverseā, such that
f ā^1 ⦠f = idX , f ⦠f ā^1 = idY.
We think of f ā^1 as ādoing f backwardsā.
Theorem 7. f has an inverse if and only if itās bijective.
Proof. This is an āif and only ifā statement, so there are two things to prove: if f has an inverse, then itās bijective, and if f is bijective, then it has an inverse.
First, suppose f has an inverse. We need to show that itās injective and that itās surjective. For injectivity, suppose that f (a) = f (b). Then f ā^1 (f (a)) = f ā^1 (f (b)), so a = b. For surjectivity, let y ā Y. Then f (f ā^1 (y)) = y, so y is in the image of f. Now we prove the converse. Suppose f is bijective; we need to build an inverse f ā^1 to f. Let y ā Y. Since f is surjective, there is some x ā X such that f (x) = y. But since f is injective, there is only one such x. So we have a unique choice: we can simply decree f ā^1 (y) = x. Then
f (f ā^1 (y)) = f (x) = y
and f ā^1 (f (x)) = f ā^1 (y) = x.
Thatās the proof. If thereās a bijection f : X ā Y , weāll often say that X and Y are āin bijectionā, and weāll act kind of as if X and Y are the same, since the elements of Y are in one-to-one correspondence with the elements of X; theyāre just the elements of X under different names. Last time I promised you a result about equivalence relations. Iāll be able to give you the statement; the proof will have to wait until next week. Before I can talk about this, I have to talk about Let X be a set. We can form the set of all equivalence relations on X - equivalence relations are things, we can put them in a set. Call this set Eq(X).
Definition 8. A partition of X is a collection (Xi)iāI of subsets of X such that
iāI
Xi = X.
Donāt be scared of the notation (Xi)iāI ; the point is that we have a big list of subsets of X, and we have to give them names, so we index them with tags from some convenient index set I. It doesnāt matter exactly what I is; it just has to be the right size of set to index our collection. Now we can form the set of all partitions of X - call it Part(X). Then we have the following theorem:
Theorem 9. The sets Eq(X) and Part(X) are in bijection.