





























































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!






























































Contents
- UMASS AMHERST MATH 300: NOTES FOR FALL 2 FARSHID HAJIR
Part 9. Complex Numbers 60
Dear Reader,
Hi, I am the slightly-edited and rearranged notes Farshid typed up for his students in Math 300 (Introduction to Fundamental Concepts of Mathematics) starting with the Spring term of 2005. Since you’ve read this far, it appears you’re taking Math 300 this semester, so you might be spending a fair bit of time with me. Allow me, therefore, to tell you a bit about myself. I am rough, as in unpolished: there are typos sprinkled throughout, and even errors, some of them are actually intentional (see the note at the end of Part 1), not to mention uncon- ventional words and even made-up words like “Shazzam” and “anyhoo.” I am also uneven: at times you’ll find I’m quite conversational and quirky (there are little one-act “plays” in most chapters), and at other times quite formal and stodgy, like a regular mathematics book for ≥ 300-level classes. I am, after all, supposed to help prepare you for the rather formal structures you will be studying as you continue your mathematically oriented learning ex- periences. I’m also a bit wordy and long-winded, explaining the same thing over and over again in only slightly different formulations, saying it this way, then that way, putting it in different words, finding alternate expressions for it, in short repeating myself, repeating myself. I guarantee Farshid will admonish you to be “cogent, correct, and concise!” But just between us, finding it rather difficult to be the latter himself, he likes to pretend that “repetition is a key hallmark of any educational process.” Having just listed some of my obvious faults, allow me a certain measure of complacecy in hoping that you will find these faults to be counterbalanced by my being a little less boring than other texts that cover the same material, such as the textbook used for Math 300 this term (Gilbert and Vanstone’s). Not to say that the latter text is boring, it’s quite good apparently, but I’m willing to bet it doesn’t have any one-act plays starring actual students from the class! Nor will you find Mr. Noodle mentioned anywhere within its pages, and key ideas in the proof will not be highlighted by SHAZZAM!. As it is, I think Farshid will be making you pay through the nose to buy the book because he thinks it’s valuable to have a real “published,” “well-organized,” “example-laden” textbook (alongside yours truly) that explains the same material in a different way: “The contrasts, as well as the similarities,” he says, will “enhance the students’ ability to learn.” You be the judge; I think you can guess where I stand on this issue. As the semester progresses, I suspect Farshid will attempt to polish me up and make cross-references, add examples, diagrams, all that jazzy stuff, which is alright I suppose, but I sure hope he doesn’t try to change my informal character; I don’t want to be prim and proper and pompous, like most mathematics texts. That would be a pity. Although I have to admit, grudgingly, that I wouldn’t mind having a real cover one day. Anyhoo, don’t bother printing out all my gazillion pages yet, as I’m bound to undergo quite a few changes.
4 FARSHID HAJIR
[What is meant here is shorthand for the following more precise version: Let us define our terms first: the integers are the elements of the familiar set
Z = {... , − 3 , − 2 , − 1 , 0 , 1 , 2 , 3 ,.. .}
on which we are given the usual operations of addition and multiplication. An integer a is even if there exists an integer m such that a = 2m. Now here, finally, is the meaning of our statement: If a is an arbitrary even integer, and b is an arbitrary even integer, then a + b is an even integer. Is P 1 true? Can you construct a proof of P 1 for yourself?] P 2: Every triangle is isosceles. [Although this is a very good example of a patently false proposition, assuming the notion of distance between two points is the usual one, there is a very important class of distance-measurements (called p-adic distance, where p is a prime) for which the statement is true! If you campaign long and hard, say one second, then I will be glad to tell you more about p-adic metrics.] P 3: If a and b are integers and b 6 = 0, then there exists exactly one ordered pair of integers (q, r) such that a = bq + r and 0 ≤ r ≤ |b| − 1. [See if you can figure out what commonly grasped mathematical process can convince you of the truth of this abstract- sounding statement!] P 4: Every dog will have his day. The status of the statement P 4 as a Proposition is dubious, unless we give precise def- initions to all the terms involved. In any case, the establishment of such a Proposition is outside the scope of mathematics.
1.2. Deductive Reasoning. Suppose you somehow establish the following facts.
MATH 300 NOTES FALL 05 5
Let me repeat: Our jobs as mathematicians is to seek out interesting statements which follow logically from (i.e. are implied by) the axioms and the definitions we have given. The statements that we establish to be logical consequences of the axioms are usually called “Propositions,” the more important ones get dubbed “Theorems.” When a Theorem has interesting consequences which follow without much difficulty from the theorem, we call the resulting propositions a “Corollary” of the theorem. When we need an intermediary or auxiliary result on the way toward proving a Proposition, we call that a “Lemma.” Certain Lemmas become so indispensable, they become the mathematical equivalent of a screwdriver (the tool, not the drink, where is your mind?). It’s great to prove a theorem that becomes famous and gets your name attached to it, but many mathematicians secretly pine for having a Lemma of theirs that becomes famous. You can decide for yourself: would you rather be known as the inventor of the screwdriver (the tool not the drink!) or the inventor of the HydroMagneticDestabilizingMultiChannelTransmogrifier? On an even more basic level, when we are plodding along trying to solve a problem having to do with one set of objects, over many years and much trial and error, a collection of properties and ideas may coallesce together and inspire us to define a new mathematical object. Sometimes these objects then are so fascinating on their own, that they become the thing many people want to study. How satisfying do you think that might be?
1.3. Inductive Reasoning. Before I say anything about Inductive Reasoning itself, let me say that later in the course we will discuss a very important Deductive Reasoning Tool known as “Mathematical Induction,” and that Mathematical Induction and Inductive Reasoning are NOT to be confused with each other. Inductive Reasoning produces a statement that may or may or not be true. Mathematical Induction is a useful method for proving certain kinds of statements. The term inductive reasoning refers to generalization based on observed patterns. It represents an “educated guess.” It is used in all the sciences, as well as in everyday life. Here are some examples: 1 = 1^2 is a perfect square; 1 + 3 = 4 = 2^2 is a square; 1 + 3 + 5 = 3^2 is a square, 1 + 3 + 5 + 7 = 4^2 is a square; 1 + 3 + 5 + 7 + 9 = 5^2 is a perfect square! Wow, (here comes the observation): when we take a small bunch of odd numbers in order (starting with 1) and add them up, we get a perfect square. Dude, maybe, (here comes the generalization) no matter how many odd numbers you take (starting with 1 and going in order) and add them up, you always get a perfect square! This is inductive reasoning. The next step in the inductive reasoning process is to test a few more cases to see if the pattern continues to hold: 1 + 3 + 5 + 7 + 9 + 11 is just (1 + 3 + 5 + 7 + 9) + 11, i.e. the previous number plus 11, i.e. 25 + 11 = 36. If we add the next odd prime we get 36 + 13 = 49 which is the next square! If we add 49 + 15 = 64 it’s the next square. Dude, this seems like no accident. There has got to be a “reason” behind this. If you feel that way too, you are thinking like a mathematician already. Later in the course, we will discuss how Mathematical Induction can be used to prove the following more precise version of our observation: Proposition. For any integer n ≥ 1, the sum of the first n odd numbers is n^2. NOTE ON HOMEWORK PROBLEMS AND BEING ON YOUR TOES IN CLASS: There number of problems given will be typically smaller than you expect from a mathematics class; but the problems will have several parts or will require quite a bit of thinking. So, get started on the homework right away, because it will take you a long time to come up
MATH 300 NOTES FALL 05 7
Part 2. Logic and Sets
8 FARSHID HAJIR
Since we know that an implication and its contrapositive are equivalent, sometimes instead of proving a statement directly, we can prove its contrapositive instead and be done more quickly. Here is an example. PROBLEM: Prove that if n is an integer and n^2 is odd, then n is odd. SOLUTION: We will prove the contrapositive, which will suffice for establising the theo- rem. The contrapositive is: If n is an integer and n is not odd, then n^2 is not odd. Recall that an integer not being odd means it is even, so we must prove: If n is an even integer, then n^2 is an even integer. This is easy: If n is an even integer, then n = 2m for some m ∈ Z by definition. Then n^2 = 4m^2 = 2(2m^2 ), so n^2 is even. This completes the proof.
Definition 3.1. A set X is a well-defined rule for determining whether any given object belongs or does not belong to X. Those objects that belong to X are called elements of X or the members of X. Here, “well-defined” means that the rule for belonging is very precisely described, that no ambiguity enters into checking whether an object belongs or does not belong to X; it does not depend, for instance, on who the person checking the condition is, or at what time of day the checking takes place. Below I will give some examples of “poorly-defined” rules of belonging to give you a better idea of “well-defined” means.
One simple way of describing the rule which distinguishes between the objects that belong to the set or not is simply to give a list of the elements of the set. To list the elements, we put them inside curly brackets ({...}) and separate them by commas. For instance, here are some sets defined in this way:
X = {a, b, c}, Y = {− 2 , 2 , 4 , 0 , − 4 }, , Z = {Aaron, Anna, Laura, Garret}. These sets are all finite meaning they have a finite number of elements. We will talk much more about sizes of sets in a moment. Let us see if we can give some alternative ways of defining the sets we defined above. Farshid: Can you describe the set X verbally without listing its elements explicitly?
10 FARSHID HAJIR
set” is a very solid, impeccably well-defined rule! There is absolutely no ambiguity about that rule: the bouncer guarding the gate of the empty set has a very simple job, namely don’t let anyone into the club, because nobody belongs. You might be uncomfortable with it at first: shouldn’t all sets have at least one element? The answer is no, it’s very convenient and useful to accept the empty set as a well-defined set; you’ll see in a moment why. Here are some more standard examples of sets (of numbers) you will encounter yet and again in this course as well as during the rest of your mathematical career. The bold letter N is reserved for the set of natural numbers. The elements of N are the counting numbers, namely 1, 2, 3, 4, 5, 6, 7, ... Remark. In some textbooks, 0 is also considered a natural number. Because of this ambiguity, I usually avoid using the notation N and specify more directly what I mean; for instance, I will write Z> 0 for the set of positive integers, Z≥ 0 for the set of non-negative integers, etc. The bold letter Z is reserved for the set of integers, positive, negative and 0. Namely Z = {... , − 3 , − 2 , − 1 , 0 , 1 , 2 , 3 ,.. .}. Leopold Kronecker, a very influential and important 19th century number theorist once said something to the effect that Z is at the heart of all mathematics. Being a number theorist myself, I agree with him. Another set of great importance is the set R of all real numbers. We will discuss the definition of this set in a bit more detail later on, but for now, think of a number line extending in two infinite directions, with the integers marked on it at regular intervals. The real numbers are exactly the distances from 0 along this line to any point on the line; it is positive if the point is to the right of 0 and negative if the point is to the left of 0. A real number r can be specified by giving a “decimal expansion” for it, i.e. by an integer followed by a decimal point followed by an infinite sequence of digits (0-9). Later, we will also discuss the complex numbers C; these are all the numbers of the form a + b
−1 where a, b are real numbers. Now, more notation. We write x ∈ X (read x is in X, or x belongs to X) to mean that x is an element of X and x 6 ∈ X to mean that x is not an element of X. If X and Y are sets, we write Y ⊆ X or sometimes Y ⊂ X if every element of Y is an element of X. In this case, we say that Y is a subset of X. Another, sometimes useful, way of saying this is that no element of Y fails to be in X. Let’s think about this a little. What does a set Y have to do in order for it NOT to be a subset of X? It would have to have an element y ∈ Y which is not in X. In other words, it would have to have an element y ∈ Y which fails to be in X. Therefore, if Y has no elements that fail to be in X, then Y is a subset of X. If you think back to the definition of a set, you will see that two sets X and Y are equal (written X = Y ) if and only if Y ⊆ X and X ⊆ Y. In other words, two sets are the same exactly when their membership lists coincide. By the way, recall that any given object x either belongs to a set X or not, there is no concept of half-beloning or not, or belonging twice. For instance, if X = {a, b, c} and Y = {a, b, c, c, c, c, c}, then X = Y. (It’s as if the guy “c” keeps losing his membership card, so we had to issue multiple club membership cards for him, which does not change in any way the fundamental fact that he is a member of Club X. Recall from our class discussion that in mathematics, the truth or falsity of any given statement is not as important as the implications that truth or falsity has on other statements; in other words, a mathematician is an investigator of the logical links between statements. In the same way, what is interesting to us is not so much sets of mathematical interest as the
MATH 300 NOTES FALL 05 11
relationships between sets. These “relationships” are mediated by functions between sets. I think it would be hard to refute that the single most important concept in all of mathematics is that of a function between sets.
Definition 3.2. A map or a function f from a set X to a set Y is a precise rule which assigns, to each element x ∈ X, a well-determined element f (x) ∈ Y. We write f : X → Y to denote a function with source X and target Y.
You have encountered many functions (usually from R to R) in Calculus, so they are somewhat familiar. You probably expect a function to be given by an explicit “formula” but there are many acceptable ways of defining a function that do not involve a formula. What is needed is precision, so that there is no ambiguity in how to assign a value f (x) ∈ Y to a given x ∈ X. For example, if we define f : R → R by f (x) is the nearest integer to x, then it is easy to that f (17.4) = 17 for example, and f (17) = f (16.9) = 17, but what is f (17.5)?! This number is equally close to 17 or 18. As defined, f is not a function. If we define f (x) = [x] is the greatest integer not exceeding x, then f is well-defined and [17.5] = 17. Here is another example. Let α be the set whose elements are the 26 lowercase English letters, and β the set of 26 uppercase English letters. The map sending a lowercase letter to its corresponding uppercase letter is a well-defined map from α to β.
Definition 3.3. Let X, Y be sets. Then X ∩Y = {a|a ∈ X ∧a ∈ Y } is called the intersection of X and Y , and X ∪ Y = {a|a ∈ X ∨ a ∈ Y } is the union of X and Y. We say that X and Y are disjoint if X ∩ Y = {} is empty. We define the set exclusion X \ Y , sometimes denoted X − Y as follows:
X \ Y = X − Y = {x ∈ X|x 6 ∈ Y }.
In other words, X \ Y consists of all those members of X which are not also members of Y.
Little Warmup Exercises: A. The President of Costless meets the President of Price- Chopped and brags: “If C denotes the set of members of Costless and P denotes the set of members of P riceChopped, then P \ C is empty.” The President of PriceChopped retorts: You don’t say. Consider this: I am not just the President of PriceChopped, I am also one of its members; however, I am not, nor have I ever been, a member of Costless. The President of Costless then leaves in a huff. Explain why. B. Suppose X, Y, Z are sets and let A = X \ Y , B = Y \ X. First show that A and B are disjoint. Suppose ∆ = {A, B, Z} is a partition of X ∪ Y. (See below for what “partition” means). What can you say about X ∩ Y? Explain. 3
It is clearly desirable that intersection be an operation that takes as input two sets and gives as output another set. Since many pairs of sets have no element in common, whose intersection is then void, it is a matter of tremendous convenience to define the empty set to be the set with no elements. Try this experiment: locate a kid aged at least 3 years – the optimal age for this experiment is probably 5 or 6; if the kid is a teenager, the experiment will probably fail miserably as it will be difficult as the reaction will probably consist of little more than “Whatever; you’re weird”. Anyway, find a kid and then say “Hey Kid, listen to this: 1,2,3,4,6,5,7,8,9,10. Chances are the kid will go ballistic. Kid: “Nooooo! That’s not how it goes!” You: “What’s
(^3) free advice: draw some blobs and call them X, Y etc. then shade in different regions for A, B etc.
MATH 300 NOTES FALL 05 13
Interlude on Proof by Contradiction We must show that I does NOT have a greatest element. One way to do this is to use the proof technique known as “Contradiction.” The idea behind this method is simple: you wish to prove that some premise P implies some conclusion Q. Recall that P ⇒ Q simply means that P ∧ −Q is impossible, i.e. is a contradiction, (i.e. its truth table has constant value FALSE.) So, the idea behind proving P ⇒ Q via contradiction is to place yourself inside a universe where P is true and −Q is true (i.e. P is true and Q is false). Our job is to show that this is impossible, so we look around this world we are imagining and look for cracks in its foundation: once we find a statement that is logically untenable and which must follow from the assumptions P ∧ −Q, then we will conclude that this world cannot exist, so P ∧ −Q must be impossible, so whenver P is true, Q must also be true, i.e. P ⇒ Q. Back to the statement we wish to prove, namely, I = (0, 1) does not have a greatest element. Proof By Contradiction. Let us suppose I = (0, 1) does in fact admit a greatest element x. By definition, x ∈ I and if y ∈ I, then x ≤ y. Let y = x + (1 − x)/2. [This is the definitive step; we have looked around in this weird universe where x is a greatest element, and noticed that since there is quite a gap between x and 1, we can slip in the number y in (0, 1) and check that y 6 ≤ x; this contradicts the fact that x is a greatest element of I]. In other words, on the one hand, y = 1/2 + x − x/2 = (1 + x)/ 2 < (1 + 1)/2 since x < 1 thanks to x ∈ I so y < 1, and on the other hand, y − x = (1 − x)/ 2 > 0 i.e. y > x. But then x < y < 1 so y ∈ I, so x is NOT the greatest element of I. This is a contradiction. Thus the hypothesis that I has a greatest element leads to an absurdity; it must therefore be false. We conclude that I has no greatest element. I have made the argument quite repetitive here, because I want to hammer home all the different components. Now prove that I has no least element, and give your argument cogently, concisely and correctly.
Definition 3.5. A set is called finite if it has a finite number of distinct elements. To be more formal, a set X is finite if there exists a non-negative integer n such that for all sequences x 0 , x 1 , x 2 ,... , xn of elements of X, there exist integers 0 ≤ i < j ≤ n such that xi = xj. If X is finite, then we can define the order of X, also called its cardinality and denoted by |X| as follows: |X| is the least non-negative integer n with the property that for all sequences x 0 , x 1 , x 2 ,... , xn of elements of X, there exist integers 0 ≤ i < j ≤ n such that xi = xj. Why does such an integer n exist? By the assumption that X is finite, we know that there exists at least one such non-negative integer n; now by the Well-Ordering Principle 6 there must be a least such integer n ≥ 0. In less formal language, the maximal number of distinct elements in X is called the size of X or the cardinality of X and is denoted by |X| or sometimes #X. A set which is not finite is called infinite. Equivalently, a set X is infinite if and only if for every positive integer n, there exists a sequence of n (pairwise) distinct elements of X. In this case, we write |X| = ∞. As we will see later, this statement is slightly misleading, as there are in fact multiple gradations of infinity.^7
For example, let us look at the finite set X = {a, c, b, c, c, b}; for this set, we have the sequence a, c, b with no repetitions, of length 3, but in any sequence of length 4 or more
(^6) NOTE that the missing hypothesis in the statement of the Well-Ordering Principle was that S 6 = {}!! (^7) Say what?!?... stay tuned!
14 FARSHID HAJIR
coming from this set, one of these letters at least must be repeated, so |X| = 3. On the other hand, the set I = (0, 1) is infinite because, for instance, given any positive integer n, the sequence of length n 3 / 4 , 1 / 2 , 1 / 3 ,... , 1 /n consists of n pairwise distinct elements of I. Of course, in real life, this is not how we count how many things are in a set. Again, imagine interviewing a child: Put a bunch of dots on a page, say two or three times the kid’s age and ask her to count how many dots there are. The child will probably point to each dot and count in sequence, 1,2,3, etc. An attempt will be made to make sure of two things: a) each dot is included in the count, and b) no dot is counted more than once. In other words, she will try to “cover” each dot exactly once. What is the child’s method? She attempts to set up a “one-to-one correspondence” between the dots on the page and a set of type { 1 , 2 , 3 , 4 ,... , n − 1 , n}. Then the child will know that there are n dots. The important principle behind her method is that whenever two sets are in one-to-one correspondence, then they must have the same cardinality, or size.
Definition 3.6. A map f : X → Y is called onto (or surjective) if for all y ∈ Y , there exists x ∈ X such that f (x) = y. A map f : X → Y is called one-to-one (or injective) if whenever x 1 , x 2 ∈ X and x 1 6 = x 2 , then f (x 1 ) 6 = f (x 2 ). A map f : X → Y is called bijective (or a set-equivalence, or most commonly a one-to-one correspondence) if it is injective and surjective. We say that two sets X and Y are equivalent if there exists a bijective map f : X → Y.
Example 3.7. The sets X = {a, b, c, d, e, f, g} and Y = {A, B, C, D, E, F, G} are equivalent. For instance, the map that sends a lower-case letter to the corresponding upper-case letter is clearly one-to-one and onto. The sets A = { 1 , 2 , 3 } and B = { 9 , 0 } are not equivalent, because any map f : A → B is not injective. How to prove this?
Lemma 3.8. Suppose f : X → Y is an injective map of a set X into some set Y. If X has n distinct elements, then Y has at least n distinct elements.
Proof. Let x 1 ,... , xn be n distinct elements of X. Since f is injective, and xi 6 = xj for 1 ≤ i < j ≤ n, we have f (xi) 6 = f (xj ) for the same i, j. Hence the elements f (x 1 ),... , f (xn) are n distinct elements of Y. So, Y has at least n distinct elements.
The moral is that you cannot shove a set of size 3 into a set of size 2 in a one-to-one fashion!
If X is a set, then the power set of X is the set P(X) consisting of all subsets of X. In other words, the elements of P(X) are subsets of X, and every subset of X is in fact a member of P(X). Now, let’s get one thing straight. If X is any set, any set at all, then the empty set {} is a subset of X. Let’s check why in two ways. First, the direct way is to check that every member of the empty set is in X. You might say that since the empty set has no elements, then we cannot do this ... but I say, since the empty set has not elements, what we have to check is an empty condition, so it holds by fiat, so to speak. There is nothing to check, so the fact is true. (If you wish, think that a statement is true unless proven false). Now here is the second way: perhaps you will find it more convincing. In order for the empty set to fail to be a subset of X, we have to produce an element of {} which does not belong to X. Since we can find no such suspect, the empty set must be a subset of X!
16 FARSHID HAJIR
Part 3. Sets and Maps
∩α∈AXα = {x|x ∈ Xα for all α ∈ A}.
If this intersection is the empty set, we say that the collection of sets is disjoint. There is a much stronger condition, namely that of the collection of sets being pairwise disjoint. This means that for every pair α, β ∈ A, Xα ∩ Xβ = {}. For instance, the collection { 1 , 2 }, { 2 , 3 }, { 3 , 4 } is disjoint (nobody is in all three sets simultaneously) but not pairwise disjoint. It happens often that we want to divide up a set into smaller pieces. For example, consider the set of students in Math 300 this semester. We may break them up (or “classify” them) in quite a few natural ways: 1. according to the student’s major; 2. according to the student’s registration status (fresh., soph., jr., sr., other) 3. according to the student’s TA. Pick any one of these schemes for breaking up the set of Math 300 students into smaller subsets and check that it enjoys the following property: every student belongs to exactly one subset. This means that the subsets do not overlap, and that the union of all the subsets is in fact the whole class. We say that each of these schemes for breaking up the class is a partition of it.
Definition 4.1 (BOGUS ALERT^10 ). A partition ∆ of a set X is a subset ∆ ⊆ P(X) of the power set of X with the following two properties: i) Given Y, Z ∈ ∆ with Y 6 = Z, then Y ∩ Z = {}, and ii) the union of all elements of ∆ is X. In other words, a partition of X is a collection of pairwise disjoint subsets of X whose collective union is X.
(^10) Recall that occasionally in class and in these notes, I will make bogus, slightly wrong, statements.
Okay, let’s be frank about it, I will just lie on purpose. The goal is to show you how doing mathematics is a progressive process, full of false starts and second attempts. We learn a lot everytime we crash the plane. Sometimes when I want you to be on the lookout for my lies, I will give you the BOGUS ALERT signal, and sometimes I won’t. In this particular case, I want you to be on the lookout for a missing assumption which would make the definition more elegant.
MATH 300 NOTES FALL 05 17
In the near future, we will explore the importance of partitions in more depth when we talk about equivalence classes.
Example 4.2. A. Let X = { 1 , 2 , 3 , 4 }. Then ∆ = {{ 1 }, { 2 , 3 }, { 4 }} is a partition of X. At the two extremes, we can partition X via the largest possible subdivision, namely ∆ = {{ 1 }, { 2 }, { 3 }, { 4 }}, or the smallest one ∆ = {X}. B. How many partitions does the empty set have? C. If X is a non-empty set, then ∆ = {X} is a partition, indeed it is the coarsest possible partition of X. At the other extreme, if ∆ consists of all singleton subsets of X, i.e. ∆ = {{x}|x ∈ X}, then ∆ is the finest partition of X. D. If S is the set of students at an elementary school, then two natural partitions are the “class partition” and the “grade partition.” Which one of these do you think is potentially “finer?” E. Consider the partition X = {X, {}}. It is a partition, according to our definition, because X ∩ {} = {} and X ∪ {} = X. But is it not a slightly annoying partition? Why do I find it annoying? I’ll tell you why. Suppose X is a set and ∆ is a partition of X where none of the chosen subsets is empty. So, ∆ specifies a certain scheme for how to divide up ∆ into “teams.” Now suppose we add to ∆ the empty set. Has the scheme for dividing up the teams changed at all? No. But the partition has! Putting the empty set in the partition doesn’t really add or subtract anything from how the set is actually broken up; it doesn’t serve any useful purpose. It just dirties the waters, so to speak. So, it would be more clean, more tight, more elegant, if we don’t allow the empty set to be one of the subsets allowed in the partition. This is the source of the BOGUS ALERT I gave you earlier. Accordingly, below is BOGUS-ALERT-FREE definition of partitions.
Definition 4.3. If X is a set, and ∆ ⊆ P(X) is a collection of subsets of X, then ∆ is a partition of X if: i) for all Y ∈ ∆, Y 6 = {}; ii) for all Y, Z ∈ ∆ with Y 6 = Z, Y ∩ Z = {}, and iii) ∪Y ∈∆Y = X^11. In other words, a partition of X is a collection of non-empty, pairwise disjoint (i.e. non-overlapping) subsets of X whose union is X.
Now, how many partitions does the empty set have?! I think it is probably intuitively clear what I meant by “coarser” and “finer” partions in the above examples. Here is a new kind of exercise or “problem” you may not have tried before: try your hand at making up a formal definition by completing the following.
Definition 4.4. Let X be a set, and suppose ∆ and ∆′^ are two distinct partitions of X. We say that ∆ is finer than ∆′^ if ......................... We say that ∆ is coarser than ∆′^ if ∆′^ is finer than ∆.
(^11) The notation ∪Y ∈∆Y means “the union of all Y as Y runs over all elements of ∆.”
MATH 300 NOTES FALL 05 19
for instance, Molly is a graduate TA, and Aaron is an undergraduate TA, so the map is tight as far as hitting every possible value is concerned. But now there are four undergraduate TAs, so you cannot necessarily determine the identity of a TA based soleley on his/her degree program status. On the other hand, say Y is the set consisting of the 26 lowercase English letters and X = {n ∈ Z| 1 ≤ n ≤ 26 }. The map f : X → Y sending n to the nth letter of the alphabet in the standard order does not miss any letters and no two distinct n go to the same letter. In other words, each number corresponds to exactly one letter and vice versa. In this case, the map is as tight as possible: we call it a “set-equivalence” (or sometimes a “one-to-one correspondence”^12 ). Let us formalize these concepts.
Definition 5.2. A map f : X → Y is called onto (or surjective) if for all y ∈ Y , there exists x ∈ X such that f (x) = y. A map f : X → Y is called one-to-one (or injective) if whenever x 1 , x 2 ∈ X and x 1 6 = x 2 , then f (x 1 ) 6 = f (x 2 ). A map f : X → Y is called bijective (or a set-equivalence) if it is injective and surjective. We say that two sets X and Y are equivalent if there exists a bijective map f : X → Y.
Example 5.3. The sets X = {a, b, c, d, e, f, g} and Y = {A, B, C, D, E, F, G} are equivalent. For instance, the map that sends a lower-case letter to the corresponding upper-case letter is clearly one-to-one and onto. The sets A = { 1 , 2 , 3 } and B = { 9 , 0 } are not equivalent, because any map f : A → B is not injective. How to prove this?
Lemma 5.4. Suppose f : X → Y is an injective map of a set X into some set Y. If X has n distinct elements, then Y has at least n distinct elements.
Proof. Let x 1 ,... , xn be n distinct elements of X. Since f is injective, and xi 6 = xj for 1 ≤ i < j ≤ n, we have f (xi) 6 = f (xj ) for the same i, j. Hence the elements f (x 1 ),... , f (xn) are n distinct elements of Y. So, Y has at least n distinct elements.
The moral is that you cannot shove a set of size 3 into a set of size 2 in a one-to-one fashion!
X → Y → Z x 7 → f (x) 7 → g(f (x)) (^12) Make sure you note that there is a big differnce between a map being one-to-one and a map being a
“one-to-one correspondence”; the former just means injective but the latter means injective AND surjective. This is one of the reasons I prefer the terms injective/surjective over one-to-one and onto.
20 FARSHID HAJIR
Note that in the picture, the map f comes before g, but in the “algebra”, g comes before (to the left of) f. This can be a little disorienting at first, but you’ll get used to it with practice. We write that h = g ◦ f. This means that the source of h is the source of f and the target of h is the target of g, and that for an arbitrary x in the source of f , h(x) = g(f (x)). We say that the map h is the composite of the maps f and g. You have seen composition of functions before when you studied the chain rule in calculus for example. Thus, the function h(x) = sin(x^2 ) (a function from R to R) for example is a composite of two maps, namely, if f : R → R is the map given by f (x) = x^2 and g : R → R is given by g(y) = sin(y), then g ◦ f = h. (You should check this). If X and Y are sets, we let Maps(X, Y ) be the set consisting of all maps from X to Y. Now let us study maps from a set X to itself. (These are sometimes called self-maps of X). Among all maps from X to itself, there is one very special one, called the identity map and usually denoted idX ; it is a very neutral map, as it is defined simply by idX (x) = x for all x ∈ X. Recall that a bijective map f : X → Y sets up a one-to-one correspondence between X and Y , so that if at any point we find ourselves at some point in Y , we know exactly one point in X to which it corresponds and if we are at a particular point in X, we know exactly which single point in Y it is linked with. For example, if there are four students in a section, say Emily Braley, Amy Jackson, Mike Malloy, and John McColgan, then we have a map F → L where F = {Emily, Amy, Mike,John} and L = {Braley, Jackson, Malloy, McColgan} which links each students’ first name with his or her last name. Note that this link is injective and surjective so that we can “go back and forth” from one list to the other without any ambiguity. More generally, if f : X → Y is a map, then we may ask: Under what conditions will there may be a map g in the reverse direction g : Y → X such that the maps f and g “undo” each other, i.e. g(f (x)) = x for all x ∈ X and f (g(y)) = y for all y ∈ Y? We can rephrase this as follows: Given a map f : X → Y , when is there a map g : Y → X such that g ◦ f = idX and f ◦ g = idY? If such a map exists, we call it an inverse function for f and denote it by f −^1. IMPORTANT EXAMPLE: It is very significant that for an inverse function, we insist not only that g undoes f , but that in turn f undoes g. As an example to illustrate that this does make a difference , let X = { 1 } and let Y = {− 1 , 1 }. Consider the map f : X → Y defined by f (1) = 1. Since X has only one element, a moment’s thought will convince you that there is only one map from Y to X, namely, g : Y → X which sends everyone to 1, i.e. g(1) = g(−1) = 1. Now it is clear that g undoes f , i.e. g ◦ f = idX. But note that f ◦ g 6 = idY !. Indeed, (f ◦ g)(1) = 1 and (f ◦ g)(−1) = 1, so f does not undo g. If you think about it, you will see that since X and Y do not have the same cardinality, no map from X to Y could ever undo a map from Y to X.
Definition 6.1. We say that a map f : X → Y admits an inverse if there is a map g : Y → X such that g(f (x)) = x for all x ∈ X and f (g(y) = y for all y ∈ Y. In other words, g is an inverse of f if g ◦ f = idX and f ◦ g = idY.
Now we can give a very satisfying answer to our question about which maps admit inverses. The following is a very important and useful theorem. You should study its statement and proof carefully.
Theorem 6.2. A map f : X → Y admits an inverse if and only if f is bijective.