0% found this document useful (0 votes)
246 views

Concept Math 2dn

Uploaded by

Ignacio Caamaño
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
246 views

Concept Math 2dn

Uploaded by

Ignacio Caamaño
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 403
Conceptual Mathematics, 2nd Edition A first introduction to categories F. WILLIAM LAWVERE SUNY at Buffalo STEPHEN H. SCHANUEL SUNY at Buffalo Bj CAMBRIDGE qj) UNIVERSITY PRESS Session 1 Article I Summary: Session 2 Session 3 Article II Summary: Contents Preface Organisation of the book Acknowledgements Preview Galileo and multiplication of objects 1 Introduction 2 Galileo and the flight of a bird 3. Other examples of multiplication of objects PartI The category of sets Sets, maps, composition 1 Guide Definition of category Sets, maps, and composition 1 Review of Article I 2 An example of different rules for a map 3 External diagrams 4 Problems on the number of maps from one set to another Composing maps and counting maps Part II The algebra of composition Isomorphisms 1 Isomorphisms 2 General division problems: Determination and choice 3 Retractions, sections, and idempotents 4 Isomorphisms and automorphisms 5 Guide Special properties a map may have xiii xv xvii wEww 13 20 21 — ee) 27 28 29 31 39 45 49 54 59 viii Session 4 Session 5 Session 6 Session 7 Session 8 Session 9 Quiz Division of maps: Isomorphisms 1 Division of maps versus division of numbers 2. Inverses versus reciprocals 3. Isomorphisms as ‘divisors’ 4 A small zoo of isomorphisms in other categories Division of maps: Sections and retractions Determination problems A special case: Constant maps Choice problems Two special cases of division: Sections and retractions Stacking or sorting Stacking in a Chinese restaurant Auawn= Two general aspects or uses of maps 1 Sorting of the domain by a property 2. Naming or sampling of the codomain 3 Philosophical explanation of the two aspects Isomorphisms and coordinates 1 One use of isomorphisms: Coordinate systems 2. Two abuses of isomorphisms Pictures of a map making its features evident Retracts and idempotents 1 Retracts and comparisons 2 Idempotents as records of retracts 3 A puzzle 4 Three kinds of retract problems 5 Comparing infinite sets How to solve the quiz problems Composition of opposed maps Summary/quiz on pairs of ‘opposed’ maps Summary: On the equation p> j = 14 Review of ‘I-words’ Test 1 Session 10 Brouwer’s theorems 1 Balls, spheres, fixed points, and retractions 2. Digression on the contrapositive rule 3. Brouwer’s proof Contents 60 60 61 63 64 68 68 10 7 rR 74 16 81 81 82 84 86 86 89 91 99 99 100 102 103 106 108 109 14 116 117 118 119 120 120 124 124 Contents Article 111 Session 11 Session 12 Session 13 Session 14 Session 15 4 Relation between fixed point and retraction theorems How to understand a proof: The objectification and ‘mapification’ of concepts The eye of the storm Using maps to formulate guesses wa aa Part III Categories of structured sets Examples of categories 1 The category S© of endomaps of sets 2 Typical applications of S° 3 Two subcategories of SO 4 Categories of endomaps 5 Irreflexive graphs 6 Endomaps as special graphs 7 The simpler category S!: Objects are just maps of sets 8 Reflexive graphs 9 Summary of the examples and their general significance 10 Retractions and injectivity 11 Types of structure 12 Guide Ascending to categories of richer structures 1A category of richer structures: Endomaps of sets 2. Two subcategories: Idempotents and automorphisms 3. The category of graphs Categories of diagrams 1 Dynamical systems or automata 2. Family trees 3. Dynamical systems revisited Monoids Maps preserve positive properties 1 Positive properties versus negative properties Objectification of properties in dynamical systems Structure-preserving maps from a cycle to another endomap Naming elements that have a given period by maps Naming arbitrary elements The philosophical role of N Presentations of dynamical systems when 126 127 130 131 135 136 137 138 138 141 143 145 146 146 149 151 152 152 ae 156 161 161 162 163 166 170 173 175 175 176 177 180 182 x Session 16 Session 17 Test 2 Session 18 Article IV Session 19 Session 20 Session 24 Session 22 Session 23 Idempotents, involutions, and graphs 1 Solving exercises on idempotents and involutions 2. Solving exercises on maps of graphs Some uses of graphs 1 Paths 2. Graphs as diagram shapes 3 Commuting diagrams 4 Isa diagram a map? Review of Test 2 Part IV Elementary universal mapping properties Universal mapping properties 1 Terminal objects 2 Separating 3 Initial object 4 Products 5 Commutative, associative, and identity laws for multiplication of objects Sums Distributive laws Guide wD Terminal objects Points of an object Products in categories Universal mapping properties and incidence relations A special property of the category of sets 2A similar property in the category of endomaps of sets Incidence relations 4 Basic figure-types, singular figures, and incidence, in the category of graphs w More on universal mapping properties 1A category of pairs of maps 2. How to calculate products Contents 187 187 189 196 196 200 201 203 204 205 213 213 215 eae 216 220 222 222 223 225 230 236 245 245 246 249 250 254 255 256 Contents Session 24 Session 25 Session 26 Session 27 Session 28 Test 3 Test 4 Test 5 Session 29 Session 30 Uniqueness of products and definition of sum. 1 The terminal object as an identity for multiplication 2 The uniqueness theorem for products 3 Sum of two objects in a category Labelings and products of graphs 1 Detecting the structure of a graph by means of labelings 2 Calculating the graphs A x Y 3. The distributive law Distributive categories and linear categories 1 The standard map Ax B,+Ax By Ax (By + By) 2 Matrix multiplication in linear categories 3. Sum of maps in a linear category 4 The associative law for sums and products Examples of universal constructions 1 Universal constructions 2 Can objects have negatives? 3 Idempotent objects 4 Solving equations and picturing maps The category of pointed sets 1 An example of a non-distributive category Binary operations and diagonal arguments 1 Binary operations and actions 2 Cantor's diagonal argument Part V Higher universal mapping properties Map objects 1 Definition of map object 2 Distributivity 3 Map objects and the Diagonal Argument 4. Universal properties and ‘observables’ 5 Guide Exponentiation 1 Map objects, or function spaces xi 261 261 263 265 269 270 273 275 276 276 279 279 281 284 284 287 289 292 295 295 299 300 301 302 302 303 313 313 315 316 316 319 320 320 xii Session 31 Article VI Session 32 Session 33 Article VIL Session 34 Session 35 Appendices Appendix I Contents 2 A fundamental example of the transformation of map objects 3. Laws of exponents 4 The distributive law in cartesian closed categories Map object versus product 1 Definition of map object versus definition of product 2 Calculating map objects The contravariant parts functor 1 Parts and stable conditions 2. Inverse Images and Truth Subobject, logic, and truth 1 Subobjects 2 Truth 3. The truth value object Parts of an object: Toposes 1 Parts and inclusions 2 Toposes and logic The Connected Components Functor 1 Connectedness versus discreteness 2. The points functor parallel to the components functor 3. The topos of right actions of a monoid Group theory and the number of types of connected objects Constants, codiscrete objects, and many connected objects 1 Constants and codiscrete objects 2 Monoids with at least two constants Geometery of figures and algebra of functions 1 Functors 2 Geometry of figures and algebra of functions as categories themselves Appendix II Adjoint functors with examples from graphs and dynamical systems Appendix III The emergence of category theory within mathematics Appendix IV Annotated Bibliography Index ae 324 327 328 329 331 335 335 336 339 ae 342 344 348 348 KPa 358 358 359 360 362 366 366 367 368 369 369 370 ote 378 381 Preface Since its first introduction over 60 years ago, the concept of category has been increasingly employed in all branches of mathematics, especially in studies where the relationship between different branches is of importance. The categorical ideas arose originally from the study of a relationship between geometry and algebra; the fundamental simplicity of these ideas soon made possible their broader application. ‘The categorical concepts are latent in elementary mathematics; making them more explicit helps us to go beyond elementary algebra into more advanced mathematical sciences. Before the appearance of the first edition of this book, their simplicity was accessible only through graduate-level textbooks, because the available examples involved topics such as modules and topological spaces. Our solution to that dilemma was to develop from the basics the concepts of directed graph and of discrete dynamical system, which are mathematical structures of wide importance that are nevertheless accessible to any interested high-school student. As the book progresses, the relationships between those structures exemplify the elementary ideas of category. Rather remarkably, even some detailed features of graphs and of discrete dynamical systems turn out to be shared by other categories that are more continuous, e.g. those whose maps are described by partial differential equations. Many readers of the first edition have expressed their wish for more detailed indication of the links between the elementary categorical material and more advanced applications. This second edition addresses that request by providing two new articles and four appendices. A new article introduces the notion of connected component, which is fundamental to the qualitative leaps studied in elementary graph theory and in advanced topology; the introduction of this notion forces the recognition of the role of functors. ‘The appendices use examples from the text to sketch the role of adjoint functors in guiding mathematical constructions. Although these condensed appendices cannot substitute for a more detailed study of advanced topics, they will enable the student, armed with what has been learned from the text, to approach such study with greater understanding. Buffalo, January 8, 2009 F. William Lawvere Stephen H. Schanuel Organisation of the book ‘The reader needs to be aware that this book has two very different kinds of ‘chapters’: The Articles form the backbone of the book; they roughly correspond to the written material given to our students the first time we taught the course. The Sessions, reflecting the informal classroom discussions, provide additional examples and exercises. Students who had difficulties with some of the exercises in the Articles could often solve them after the ensuing Sessions. We have tried in the Sessions to preserve the atmosphere (and even the names of the students) of that first class, The more experienced reader could gain an overview by reading only the Articles, but would miss out on many illuminating examples and perspectives. Session 1 is introductory. Exceptionally, Session 10 is intended to give the reader a taste of more sophisticated applications; mastery of it is not essential for the rest of the book. Each Article is further discussed and elaborated in the specific subsequent Sessions indicated below: Article I Sessions 2 and 3 Article I Sessions 4 through 9 Article III Sessions 11 through 17 Article IV Sessions 19 through 29 Article V Sessions 30 and 31 Article VI Sessions 32 and 33 Article VII Sessions 34 and 35 The Appendices, written in a less leisurely manner, are intended to provide a rapid summary of some of the main possible links of the basic material of the course with various more advanced developments of modern mathematics. Acknowledgements First Edition This book would not have come about without the invaluable assistance of many people: Emilio Faro, whose idea it was to include the dialogues with the students in his masterful record of the lectures, his transcriptions of which grew into the Sessions; Danilo Lawvere, whose imaginative and efficient work played a key role in bring- ing this book to its current form; our students (some of whom still make their appearance in the book), whose efforts and questions contributed to shaping it; John Thorpe, who accepted our proposal that a foundation for discrete mathe- matics and continuous mathematics could constitute an appropriate course for beginners. Special thanks go to Alberto Peruzzi, who provided invaluable expert criticism and much encouragement. Many helpful comments were contributed by John Bell, David Benson, Andreas Blass, Aurelio Carboni, John Corcoran, Bill Faris, Emilio Faro, Elaine Landry, Fred Linton, Saunders Mac Lane, Kazem Mahdavi, Mara Mondolfo, Koji Nakatogawa, Ivonne Pallares, Norm Severo, and Don Schack, as well as by many other friends and colleagues. We are grateful also to Cambridge University Press, in particular to Roger Astley and Maureen Storey, for all their work in producing this book. Above all, we can never adequately acknowledge the ever-encouraging generous and graceful spirit of Fatima Fenaroli, who conceived the idea that this book should exist, and whose many creative contributions have been irreplaceable in the process of perfecting it. Thank you all, Buffalo, New York F. William Lawvere 2009 Stephen H. Schanuel Second Edition Thanks to the readers who encouraged us to expand to this second edition, and thanks to Roger Astley and his group at Cambridge University Press for their help in bringing it about. 2009 F, William Lawvere Stephen H. Schanuel Preview SESSION 1 Galileo and multiplication of objects 1. Introduction Our goal in this book is to explore the consequences of a new and fundamental insight about the nature of mathematics which has led to better methods for under- standing and using mathematical concepts. While the insight and methods are sim- ple, they are not as familiar as they should be; they will require some effort to master, but you will be rewarded with a clarity of understanding that will be helpful in unravelling the mathematical aspect of any subject matter. The basic notion which underlies all the others is that of a category, a ‘mathematical universe’. There are many categories, each appropriate to a particular subject matter, and there are ways to pass from one category to another. We will begin with an informal introduction to the notion and with some examples. The ingredients will be objects, maps, and composition of maps, as we will see. While this idea, that mathematics involves different categories and their relation- ships, has been implicit for centuries, it was not until 1945 that Eilenberg and Mac Lane gave explicit definitions of the basic notions in their ground-breaking paper ‘A general theory of natural equivalences’, synthesizing many decades of analysis of the workings of mathematics and the relationships of its parts. 2. Galileo and the flight of a bird Let's begin with Galileo, four centuries ago, puzzling over the problem of motion. He wished to understand the precise motion of a thrown rock, or of a water jet from a fountain. Everyone has observed the graceful parabolic arcs these follow; but the motion of a rock means more than its track. The motion involves, for each instant, the position of the rock at that instant; to record it requires a motion picture rather than a time exposure. We say the motion is a ‘map’ (or ‘function’) from time to space. 4 Session 1 The flight of a bird as a map from time to space TIME SPACE starting just ending time inter time Schematically: flight of bird TIME }——————————|_ SPACE ‘You have no doubt heard the legend; Galileo dropped a heavy weight and a light weight from the leaning tower of Pisa, surprising the onlookers when the weights hit the ground simultaneously. The study of vertical motion, of objects thrown straight up, thrown straight down, or simply dropped, seems too special to shed much light ‘on general motion; the track of a dropped rock is straight, as any child knows. However, the motion of a dropped rock is not quite so simple; it accelerates as it falls, so that the last few feet of its fall takes less time than the first few. Why had Galileo decided to concentrate his attention on this special question of vertical motion? The answer lies in a simple equation: SPACE = PLANE x LINE but it requires some explanation! Two new maps enter the picture. Imagine the sun directly overhead, and for each point in space you’ll get a shadow point on the horizontal plane: SPACE oP shadow ‘ PLANE ° shadow of p This is one of our two maps: the ‘shadow’ map from space to the plane. The second map we need is best imagined by thinking of a vertical line, perhaps a pole stuck into the ground. For each point in space there is a corresponding point on the line, the one at the same level as our point in space. Let’s call this map ‘level’: Galileo and multiplication of objects 5 space |—22!_.) une Pe level of p q level of g Together, we have: 1 space. | | Line shadow PLANE, These two maps, ‘shadow’ and ‘level’, seem to reduce each problem about space to two simpler problems, one for the plane and one for the line. For instance, if a bird is in our space, and you know only the shadow of the bird and the level of the bird, then you can reconstruct the position of the bird. There is more, though. Suppose you have a motion picture of the bird’s shadow as it flies, and a motion picture of its level — perhaps there was a bird-watcher climbing on our line, keeping always level with the bird, and you filmed the watcher. From these two motion pictures you can reconstruct the entire flight of the bird! So not only is a position in space reduced to a position in the plane and one on the line, but also a motion in space is reduced to a motion in the plane and one on the line. Let’s assemble the pieces. From a motion, or flight, of a bird flight of bird TIME |———~———+ | sPACE we get two simpler motions by ‘composing’ the flight map with the shadow and level maps. From these three maps, TIME \ lah oti 1 SPACE teva LINE shadow PLANE we get these two maps: level of fight of bird TIME |————————+|_ LINE shadow of flight of bird PLANE and now space has disappeared from the picture. Galileo’s discovery is that from these two simpler motions, in the plane and on the line, he could completely recapture the complicated motion in space, In fact, if the motions of the shadow and the level are ‘continuous’, so that the shadow does not suddenly disappear from one place and instantaneously reappear in another, the motion of the bird will be continuous too. This discovery enabled Galileo to reduce the study of motion to the special cases of horizontal and vertical motion. It would take us too far from our main point to describe here the beautiful experi- ments he designed to study these, and what he discovered, but I urge you to read about them. Session ] Does it seem reasonable to express this relationship of space to the plane and the line, given by two maps, SPACE, level LINE shadow PLANE Galileo and multiplication of objects 1 by the equation SPACE = PLANE x LINE? What do these maps have to do with multiplication? It may be helpful to look at some other examples. 3. Other examples of multiplication of objects Multiplication often appears in the guise of independent choices. Here is an exam- ple. Some restaurants have a list of options for the first course and another list for the second course; a ‘meal’ involves one item from each list. First courses: soup, pasta, salad. Second courses: steak, veal, chicken, fish. So, one possible ‘meal’ is: ‘soup, then chicken’; but ‘veal, then steak’ is not allowed. Here is a diagram of the possible meals: Meals 2" courses soup, steak pasta, steak steak soup, veal veal soup, chicken —+ [T chicken soup, fish fish Y ‘soup pasta salad 1 courses (Fill in the other meals yourself.) Notice the analogy with Galileo's diagram: MEALS |——>] 2" COURSES SPACE |—>| LINE 1* COURSES PLANE, This scheme with three ‘objects’ and two ‘maps’ or ‘processes’ is the right picture of multiplication of objects, and it applies to a surprising variety of situations. The idea of multiplication is the same in all cases. Take for example a segment and a disk from geometry. We can multiply these too, and the result is a cylinder. I am not referring to the fact that the volume of the cylinder is obtained by multiplying the area of the disk by the length of the segment. The cylinder itself is the product, segment times disk, because again there are two processes or projections that take us from the cylinder to the segment and to the disk, in complete analogy with the previous examples. 8 Session 1 a Every point in the cylinder has a corresponding ‘level’ point on the segment and a corresponding ‘shadow’ point in the disk, and if you know the shadow and level points, you can find the point in the cylinder to which they correspond. As before, the motion of a fly trapped in the cylinder is determined by the motion of its level point in the segment and the motion of its shadow point in the disk. ‘An example from logic will suggest a connection between multiplication and the word ‘and’. From a sentence of the form ‘A and B’ (for example, ‘John is sick and Mary is sick’) we can deduce A and we can deduce B: John is sick and Mary is sick John is sick ‘A and B’ a Mary is sick i But more than that: to deduce the single sentence ‘John is sick and Mary is sick’ from some other sentence C is the same as deducing each of the two sentences from C. In other words, the two deductions —A e——o amount to one deduction C—+(A and B). Compare this diagram [aa Aand B —» 4 with the diagram of Galileo’s idea. Galileo and multiplication of objects a One last picture, perhaps the simplest of all, hints at the relation to multiplication of numbers: level eee eee: 6 anin| 3 Why does 3 x 2 = 6? I hope these pictures seem suggestive to you. Our goal is to learn to use them as precise instruments of understanding and reasoning, not merely as intuitive guides. Exercise 1: Find other examples of combining two objects to get a third. Which of them seem to fit our pattern? That is, for which of them does the third object seem to have ‘maps’ to the two you began with? It may be helpful to start by thinking of real- life problems for which multiplication of numbers is needed to calculate the solution, but not all examples are related to multiplication of numbers. Exercise 2: The part of Galileo’s work which we discussed is really concerned with only a small portion of space, say the immediate neighbourhood of the tower of Pisa. Since the ground might be uneven, what could be meant by saying that two points are at the same level? Try to describe an experiment for deciding whether two nearby points are at the same level, without using ‘height’ (distance from an imaginary plane of reference.) Try to use the most elemen- tary tools possible. PARTI The category of sets A map of sets is a process for getting from one set to another. We investigate the composition of maps (following one process by a second process), and find that the algebra of composition of maps resembles the algebra of multiplication of numbers, but its interpretation is much richer. ARTICLEI Sets, maps, composition A first example of a category Before giving a precise definition of ‘category’, we should become familiar with one example, the category of finite sets and maps. ‘An [object] in this category is a finite set or collection. Here are some exam- ples: (the set of all students in the class) is one object, (the set of all desks in the classroom) is another, (the set of all the twenty-six letters in our alphabet) is another. You are probably familiar with some notations for finite sets: {John, Mary, Sam} is a name for the set whose three elements are, of course, John, Mary, and Sam. (You know some infinite sets also, e.g. the set of all natural numbers: {0,1,2,3,..-}.) Usually, since the order in which the elements are listed is irrelevant, it is more helpful to picture them as scattered about: where a dot represents each element, and we are then free to leave off the labels when for one reason or another they are temporarily irrelevant to the discussion, and picture this set as: Such a picture, labeled or not, is called an internal diagram of the set. 13 14 Article I A [map] fin this category consists of three things: 1. a set A, called the domain of the map, 2. a set B, called the codomain of the map, 3. a rule assigning to each element @ in the domain, an clement 6 in the codomain. This is denoted by f °a (or sometimes ‘f(a)’), read ‘f of a’. (Other words for map are ‘function’, ‘transformation’, ‘operator’, ‘arrow’, and ‘morphism’.) An example will probably make it clearer: Let A = {John, Mary, Sam}, and let B= {eggs, oatmeal, toast, coffee}, and let f assign to each person his or her favorite breakfast. Here is a picture of the situation, called the internal diagram of the map: f= favorite breakfast © toast © oatmeal . Coffee This indicates that the favorite breakfast of John is eggs, written f (John) = eggs, while Mary and Sam prefer coffee. Note some pecularities of the situation, because these are features of the internal diagram of any map: (a) From each dot in the domain (here {John, Mary, Sam}), there is exactly one arrow leaving. (b) To a dot in the codomain (here {eggs, oatmeal, toast, coffee}), there may be any number of arrows arriving: zero or one or more. The important thing is: For each dot in the domain, we have exactly one arrow leaving, and the arrow arrives at some dot in the codomain. Nothing in the discussion above is intended to exclude the possibility that A and B, the domain and codomain of the map, could be the same set. Here is an internal diagram of such a map g: = favorite person (Many 1950s movie plots are based on this diagram.) Sets, maps, composition 15 ‘A map in which the domain and codomain are the same object is called an endomap. (Why? What does the prefix ‘endo’ mean?) For endomaps only, an alter- native form of internal diagram is available. Here it is, for the endomap above: For each object A, there is a special, especially simple, endomap which has domain and codomain both A. Here it is for our example: A A Here is the corresponding special internal diagram, available because the map is an endomap: A map like this, in which the domain and the codomain are the same set A, and for each a in A, f(a) =a, is called an [identity map], To state it more precisely, this map is ‘the identity map from {John, Mary, Sam} to (John, Mary, Sam},’ or ‘the identity map on the object {John, Mary, Sam}.’ (Simpler still is to give that object a short name, A = {John, Mary, Sam}; and then call our map ‘the identity map on A’, or simply ‘1,°.) Sometimes we need a scheme to keep track of the domain and codomain, with- out indicating in the picture all the details of the map. Then we can use just a letter to stand for each object, and a single arrow for each map. Here are the external diagrams corresponding to the last five internal diagrams: 16 Article I ww" External diagrams are especially helpful when there are several objects and maps to be discussed, or when some of the exact details of the maps are temporarily irrele- vant. The final basic ingredient, which is what lends all the dynamics to the notion of category, is [composition of maps}, by which two maps are combined to obtain a third map. Here is an example: Or, in the external diagram: AS ALB If we ask: ‘What should each person serve for breakfast to his or her favorite person?’ we are led to answers like this: ‘John likes Mary, and Mary prefers coffee, so John should serve coffee.’ Working out the other two cases as well, we get: ‘Mary likes John, and John likes eggs, so Mary should serve eggs; Sam likes Mary, and Mary likes coffee, so Sam should serve coffee.’ Pictorially: Or in the external diagram: fe ASB ‘fg’ is read ‘f following g’, or sometimes ‘f of g’, as in: ‘The favorite breakfast of the favorite person of John is coffee,’ for ‘f © g° John = coffee.’ Let’s sum up: If we have Sets, maps, composition 7 two maps f and g, and if the domain of f is the same object as the codomain of g, pictorially xty4z then we can build from them a single map re xi'z We will soon be considering an analogy between composition of maps and multi- plication of numbers. This analogy should not be confused with the analogy in Session 1, between multiplication of objects and multiplication of numbers. That’s all! These are all the basic ingredients we need, to have a CATEGORY, or ‘mathematical universe’: Data for a category: Objects: Lo Maps: a Identity maps: (one per object); 4 —4-> A,... Composition of maps: assigns to each pair of maps of type A 2+ B+ C, posi ps: assig another map called ‘f following g’, A —£°£ 4 C Now comes an important, even crucial, aspect. These data must fit together nicely, as follows. Rules for a category: 1. The identity laws: (a) If ee te) then A—2u=8 iB (b) If 7 then A—2f=! 4p 2. The associative law: If de £ h A—— B—+ C——D ee phe lee N=theades . Here are some pictures to illustrate these properties in the category of sets: 18 Article I 1, The identity laws: ; gel, L ® jf | ns / Sree a Note that tis is the same as g x je be 2. The associative law: A f B : c 7 D \ SS @ eacenaet ts A a7 cy ; D (i) \ i | i> A holgef) 2. A B D f heg OS A D (hegef w) Sets, maps, composition 19 Exercise 1: Check to be sure you understand how we got diagrams (ii) and (ii) from the given diagram (i). Then fill in (iv) and (v) yourself, starting over from (i). Then check to see that (v) and (iii) are the same. Is this an accident, or will this happen for any three maps in a row? Can you give a simple explanation why the results ho(gef) and (heg)of will always come out the same, whenever we have three maps in a row Ll What can you say about four maps in a row? One very useful sort of set is a ‘singleton’ set, a set with exactly one element, Fix one of these, say (me), and call this set ‘I’. Look at what the maps from 1 to (John, Mary, Sam} are. There are exactly three of them: ‘John’ ye Definition: A point of a set X is a map 1—>X. (if A is some familiar set, a map from A to X is called an ‘A-element’ of X; thus ‘I- elements’ are points.) Since a point is a map, we can compose it with another map, and get a point again. Here is an example: ‘John’. The equation f ¢ John = eggs is read ‘f following John is eggs’ or more briefly, ‘f of John is eggs’ (or sometimes ‘f sends John to eggs’). 20 Article T To help familiarize yourself with the category of finite sets, here are some exercises. Take A = (John, Mary, Sam}, B = {eggs, coffee} in all of these. Exercise 2: How many different maps f are there with domain A and codomain B? One example is but there are lots of others: How many in all? Exercise 3: Same, but for maps 4 2s 4 Exercise 4: Same, but for maps B 2+ A Exercise 5: tf Same, but for maps B — B Exercise 6: How many maps A 2+ A satisfy fof =f? Exercise 7: How many maps B -*+ B satisfy go g = g? Exercise 8: ; Can you find a pair of maps A + B 5+ A for which gof = 1,? If so, how many such pairs? Exercise 9: ‘ Can you find a pair of maps B “+ A + B for which koh = 15? If so, how many such pairs? 1. Guide Our discussion of maps of sets has led us to the general definition of category, presented for reference on the next page. This material is reviewed in Sessions 2 and 3, Sets, maps, composition Definition of CATEGORY A category consists of the DATA: (1) OBJECTS (2) MAPS (3) For each map f, one object as DOMAIN of f and one object as CODOMAIN of f (4) For each object A an IDENTITY MAP, which has domain A and codomain A (©) For each pair of maps « At B-+56, @ COMPOSITE MAP 4 —sielowigl | satisfying the following RULES: @ WENTITY LAWS: If A 4B, then Igef =f and fo1,=f Gi) ASSOCIATIVE LAW: yAt+B*sc—t.p, then (hog)ef =he(gef) 21 + + with corresponding notation A,B,C, SB hy To indicate that f is a map, with domain 4 and codomain B, we write A + B (or f: A —>B) and we say ‘f is a map from 4 to B.’ We denote this map by 14, so AGA is one of the maps from A to A. We denote this map by sof ec (and sometimes say ‘g of ’). These notations are used in the following external diagrams illustrating the rules: LN. YN ____»B eh aie a aS ho(gef) The associative law allows us to leave out the parentheses and just write ‘hogef”, which we read as ‘h following g following f°. A longer composite like hegefeeed is also unambigu- ous; all ways of building it by composition of pairs give the same result. Hidden in items (4) and (5) above are the BOOKKEEPING rules. Explicitly these are: the domain and codomain of 14 are both A; gof is only defined if the domain of g is the codomain of f; the domain of g >f is the domain of f and the codomain of gf is the codomain of g. SESSION 2 Sets, maps and composition 1. Review of Article I Before discussing some of the exercises in Article I, let’s have a quick review. A set is any collection of things. You know examples of infinite sets, like the set of all natural numbers, {0, 1,2, 3,...}, but we'll take most of our examples from finite sets. Here is a typical internal diagram of a function, or map: Today's seat selection Other words that mean the same as function and map are transformation, operator, morphism, and functional; the idea is so important that it has been rediscovered and renamed in many different contexts. As the internal diagram suggests, to have a map / of sets involves three things: 1. a set A, called the domain of the map f: 2. a set B, called the codomain of the map f; and then the main ingredient: 3. a rule (or process) for f, assigning to each element of the domain A exactly one element of the codomain B. That is a fairly accurate description of what a map is, but we also need a means to tell when two different rules give the same map. Here is an example. The first map will be called f and has as domain and as codomain the set of all natural numbers. The rule for f will be: ‘add 1 and then square’. (This can be written in mathematical shorthand as f(x) = (x + 1)?, but that is not important for our discussion.) Part of the internal picture of f is: The second map will be called g. As domain and codomain of g we take again the set of all natural numbers, but the rule for g will be ‘square the input, double the input, 22 Sets, maps, and composition 2B add the two results, and then add \’, a very different rule indeed. Still, part of the internal diagram of g is: the same as for f. Not only that, you can check with any number you like and you will always get the same thing with the rule for f as with the rule for g. So, because the two rules produce the same result for each input (and the domains are the same and the codomains are the same), we say that f and g are the same map, and we write this as f = g. (Do you know how the encoded formula for the rule g looks? Right, g(x) =x? +2x + 1.) What the equation (x + 1)? = x7 + 2x +1 says is precisely that f =g, not that the two rules are the same rule (which they obviously are not; in particular, one of them takes more steps than the other.) The idea is that a function, or map of sets, is not the rule itself, but what the rule accomplishes. This aspect is nicely captured by the pictures, or internal diagrams. In categories other than the category of sets, ‘a map from A to B’ is typically some sort of ‘process for getting from A to B,’ so that in any category, maps f and g are not considered the same unless they have at least the properties: 1. f and g have the same domain, say 4, and 2. f and g have the same codomain, say B. Of course, there may be many different maps from A to B, so that these two proper- ties alone do not guarantee that f and g are the same map. If we recall that a point of a set is a map from a singleton set 1 to 4, we see that there is a simple test for equality of maps of sets 4 2+ Band 4 -. B: If for each point 1 + A, foa=goa, then f =g. (Notice that f° a and goa are points of B.) Briefly, ‘if maps of sets agree at points they are the same map.’ In doing the exercises you should remember that the two maps _ are not the same even though they have the same rule (‘Mike likes Fatima and Sheri likes Fatima’), because they have different codomains. On the other hand the two maps 24 Session 2 Mike fb» Fatima Sheri Enilio and are the same, even though their pictures don’t look quite the same. You should also remember that the composite of two maps like this: AS Bc is called ‘f ©g’, in the opposite order! This is because of a choice that was made by our great-grandparents. To say “Mike is sent by the map f to Fatima’, they wrote: S(Mike) = Fatima (read: ‘f of Mike is Fatima’). A better choice might have been: Mike f = Fatima Let me show you how the notation ‘f(Mike) = Fatima’ gave rise to the convention of writing ‘f © g” for the composite, g followed by f. Imagine we write the composite gf’. Then we would get (gf)(John) = f(g(John)) which is too complicated. With the present convention, we get (f°g)(John) = f(g(John)) which is easier to remember. So, in order not to get confused between the order in ‘fg’ and the order in the diagram (which is the order in which the rules are applied), you should get used to reading ‘fg’ as ‘f following g’. The first exercise in Article I was to use internal diagrams to check the associative law for the composition of the maps A first step is to fill in the figure OO Sets, maps, and composition 25 which Chad has done like this: i heg S Is this correct? Not quite, because we are supposed to draw two maps, and the thing drawn for heg is not a map; one of the points of the domain of hog has been left without an assigned output. This deficiency won’t matter for the next step, because that information is going to get lost anyhow, but it belongs in this step and it is incorrect to omit it. Chad’s trouble was that in drawing A» g, he noticed that the last arrow would be irrelevant to the composite (hog) f, so he left it out. CHAD: It seems the principle is like in multiplication, where the order in which you do things doesn’t matter; you get the same answer. Lam glad you mention order. Let me give you an example to show that the order does matter. Consider the two maps Work out the composite f'°g, and see what you get: Mite \ 1°8 [ Mike Sheri Sheri Fatima Fatima 26 Session 2 Now work out the composite in the opposite order: Mike Sheri Fatima Mike Sheri Fatima Mike Sheri Fatima The two results are different. In composition of maps the order matters. When I was little I had a large family, and in large families there are always many small chores to be done. So my mother would say to one of us: ‘Wouldn’t you like to wash the dishes?’ But as we grew, two or more tasks were merged into one, so that my mother would say: ‘Wouldn't you like to wash and then rinse the dishes?” or: ‘scrape and wash and then rinse and dry the dishes?” And you can’t change the order. You'll make a mess if you try to dry before scraping. The ‘associative law for tasks’ says that the two tasks: (scrape then wash) then (rinse then dry) and scrape then [(wash then rinse) then dry] accomplish the same thing. All that matters is the order, not when you take your coffee break. All the parentheses are unnecessary; the composite task is: scrape then wash then rinse then dry Think about this and see if it suggests an explanation for the associative law. Then look back at the pictures, to see how you can directly draw the picture for a com- posite of several maps without doing ‘two at a time’. Several students have asked why some arrows disappear when you compose two maps, i.e. when you pass from the diagrams - g and Sets, maps, and composition ae to the diagram for ‘g following f” sof To understand this you should realize that the composite of two maps is supposed to be another map, so that it just has a domain, a codomain and a rule. The pasting together of two diagrams is not the composite map, it is just a rule to find the composite map, which can be done easily by ‘following the arrows’ to draw the diagram of the resulting (composite) map. The point of erasing all the irrelevant detail (like the extra arrows) is that the simplified picture really gives a different rule which defines the same map, but a simpler rule. Suppose you carry a sleeping baby on a brief walk around town, first walking in the hot sun, then through the cool shade in the park, then out in the sun again. City of Buffalo w= your “/ Yoon Interval ‘Temperature of time es ow line baby's experience ‘The map w assigns to each instant your location at that time, and the map f assigns to each spot in Buffalo the temperature there. (‘Temperature line’ has as its points phy- sical temperatures, rather than numbers which measure temperature on some scale; a baby is affected by temperature before learning of either Fahrenheit or Celsius.) The baby was hot, then cool, then hot again, but doesn’t know the two maps that were composed to get this one map. 2. An example of different rules for a map The measurement of temperature provides a nice example of different rules for a ‘numerical’ map. If one looks at a thermometer which has both scales, Celsius and Fahrenheit, it becomes obvious that there is a map, change from Fahrenheit to Celsius Numbers. Numbers 28 Session 2 which sends the measure in degrees Fahrenheit of a temperature to the measure in degrees Celsius of the same temperature. In other words, it is the map that fits in the diagram F °c 212 100 ‘Temperatures 90 f \e 32 0 Numbers ————————> Numbers a Change from °F to °C -40 —40 How is this map calculated? Well, there are several possible rules. One of them is: ‘subtract 32, then multiply by 5/9.’ Another is: ‘add 40, multiply by 5/9, then subtract 40." Notice that each of these rules is itself a composite of maps, so that we can draw the following diagram: ‘Numbers -32 x5/9 Numbers PEE 10°C Numbers +40 40 Numbers ——*5/9_» Numbers The above example illustrates that a single map may arise as a composite in several ways. 3. External diagrams The pasting of the diagrams to calculate composition of maps is nice because from it you can read what f does, what g does, and also what the composite gf does. This is much more information than is contained in gf alone. In fact internal diagrams aren’t always drawn. We use schematic diagrams like those in our ‘temperature’ example, or this: Sets, maps, and composition 29 get These are called external diagrams because they don’t show what’s going on inside. In Session 1 we met an external diagram when discussing Galileo’s ideas: TIME \ ih of bird level Se et rae shadow PLANE, 4, Problems on the number of maps from one set to another Let's work out a few problems that are not in Article 1. How many maps are there from the set A to the set B in the following examples? () a= Answer: There are four maps because all a map does is to tell where Emilio goes, and there are four choices for that (3) Now the set 4 is... What shall I say? Ah! The set of all purple people-eaters in this room, and B is as before: 30 Session 2 Answer: There is precisely one map, and its internal diagram is This diagram doesn’t have any arrows, but it doesn’t need any. An internal diagram needs one arrow for each element of the domain, and in this case the domain has no clement. Try to convince yourself that this is right, but without giving yourself a headache! (4) Now we reverse the previous example, that is: Answer: Zero. We have four tasks, and each of them is impossible. (5) Both A and B are empty, ie.: 4-0 Answer: There is one map, and its internal diagram is @) O which is a valid diagram for the same reason that the one in (3) is valid. Why does the reasoning in (4) not apply here? Don’t worry too much about these extreme cases. The reason I mention them is that as you learn the general setting you will see that they fit in quite nicely. SESSION 3 Composing maps and counting maps Let’s look at some of the exercises from Article I, starting with Exercises 2 and 3. Can you explain why the results h (gef) and (he g) ef always come out the same? What can you say about four maps in a row, like these? Clarification of these questions is what I was aiming at with the story of my mother and the tasks of scraping, washing, rinsing, and drying the dishes. The tasks were meant as an analog of maps, so that the four-step task corresponds to the composite map. When we first explained composition of maps, we said that the basic thing is to compose two maps, for example those in the diagram This diagram, as we said in last session, can itself be regarded as a rule to calculate the composite map gef, namely the rule: ‘Look at this diagram and follow the arrows.’ The internal diagram of gof, sof is just a simplified rule to calculate the same map. If we do the same thing with h and k, we can pass by steps from 31 32 Session 3 to get koh Fill in any missing arrows yourself.) Then, repeating the process, we get (keh)o(gof) But this piecemeal work is unnecessary. The analogy of scrape, then wash, then rinse, then dry is meant to suggest that we can go from the beginning to the end in one step, if we stick to the idea that the diagram itself gives a good rule for calculating the composite keheg2f. Just ‘look at the whole diagram and follow the arrows’; for example: Composing maps and counting maps 33 Now let’s see if we can find a way to tell the number of maps between any two finite sets. For that we should start by working out simple cases. For example, Exercise 4 is to find the number of maps from a three-element set to a two-clement set. How can we do this? The most immediate way I can think of is to draw them (taking care not to repeat any and not to omit any), and then count them. Say we begin with eBES coffee Then we can do something else, ope ees pe coffee and then perhaps wo a and let’s see . ... Do we have all the maps that send John to eggs? Right, we need one more, sending Mary to eggs and Sam to coffee. So there are four maps that send ‘John’ to ‘eggs’, and I hope it is clear that there are also four maps that send ‘John’ to. ‘coffee’, and that their diagrams are the same as the four above, but changing the arrow from ‘John’. Thus the answer to this exercise is 8 maps. The same method of drawing all possibilities should give you the answers to Exercises 5, 6, and 7, so that you can start to fill in a table like this: Number of DOMAIN | 3 [3 [ 2 ‘Number of CODOMAIN | 2 | 3 | 3 Number of MAPS 8 [27] 9 ef}ry|es| hoping to find a pattern that may allow you to answer other cases as well. ALYSIA: It seems that the number of maps is equal to the number of elements of the codomain raised to a power (the number of elements of the domain.) That’s a very good idea. One has to discover the reason behind it. Let’s see if it also works with the extreme cases that we found at the end of last session. Adding those results to our table we get: 34 Session 3 ‘Number of DOMAIN [313] 2] 2[4[1]0]4]0 n]1[0[n40 Number of CODOMAIN] 2[3[3[2[1[4]4[o[o] and [i [n[n] 0 Number of MAPS [8 [27/9 [41 [4]i foi Tnfifo 2 3 3? 2 14 gt 4° of oP 1" nl nf on where n is any natural number, with the only exception that in the last column it must be different from zero. Now you should think of some reason that justifies this pattern. CHAD: For every element of the domain there are as many possibilities as there are elements in the codomain, and since the choices for the different elements of the domain are independent, we must multiply all these values, so the number of maps is the number of elements of the codomain multiplied by itself as many times as there are elements in the domain. Chad’s answer seems to me very nice. Still we might want a little more explanation. Why multiply? What does ‘independent’ mean? If John has some apples and Mary has some apples, aren’t Mary’s apples independent of John’s? So, if you put them all in a bag do you add them or multiply them? Why? Going back to Alysia’s formula for the number of maps from a set A to a set B, it suggests a reasonable notation, which we will adopt. It consists in denoting the set of maps from A to B by the symbol B%, so that our formula can be written in this nice way #84) = (#B)F9 or [BA] = [BIH where the notations #4 and |4| are used to indicate the number of elements of the set A. The notation 4.4 is self-explanatory since the symbol # is often used to denote ‘number’, while |] is similar to the notation used for the absolute value of a number. The bars indicate that you forget everything except the ‘size’; for numbers you forget the sign, while for sets you forget what the elements are, and remember only how many of them there are. So, for example, if then we wouldn’t say P = R, but rather |P| = |R|. To remember which set goes in the base and which one in the exponent you can imagine that the maps are lazy, so that they go down from the exponent to the base. Another way to remember this is to think of an especially simple case, for instance the case in which the codomain has only one element, and therefore the set of maps has also only one element (and, of course, remember that 1” = 1). In Exercise 9, we don’t ask for the total number of maps from one set to another, but only the number of maps g Composing maps and counting maps 35 from such that gog = g. Can you think of one? Right, eggs eggs coffee) ————(> coffee This is the first example anybody would think of. Remember from Article I that this, map is called an identity map. Any set B has an identity map, which is denoted BSB and sends each element of the domain to itself. This map certainly satisfies 10 1g = 1g. In fact it satisfies much more; namely, for any map A — B, and any map B + C, Ipef=f and gelg=g (These two equations give two different proofs of the property 1° 13 = 1g: one by taking f = 1g and one by taking g = I.) These properties of the identity maps are like the property of the number 1, that multiplied by any number gives the same number. So, identity maps behave for composition as the number 1 does for multi- plication. That is the reason a ‘I’ is used to denote identity maps. What's another map g from which satisfies g°g =? What about the map eggs Le eggs RICE This map also has the property, since the composite eggs TE &BES ye BBS ES CRS Se eggs — 885 SEF =D) Now try to do the exercises again if you had difficulty before. One suggestion is to look back and use the special diagrams available only for endomaps explained in Article I. Here are some exercises on the ‘bookkeeping rules’ about domains and codomains of composites. 36 Session 3 Exercise 1: A, B, and C are three different sets (or even three different objects in any cate- gory); f, g, h, and k are maps with domains and codomains as follows: ASB, BA AAC, chs Two of the expressions below make sense. Find each of the two, and say what its domain and codomain are: @kehogcf (b)kofog (gcfogokeh Exercise 2: Do Exercise 1 again, first drawing this diagram: f a A eae B IN jp Cc Now just read each expression from right to left; so (a) is ‘f then g then h then k? As you read, follow the arrows in the diagram with your finger, like this: ti i, ss 4 a4 B a a c Cc The composite makes sense, and goes from 4 to B. See how much easier this external diagram makes keeping track of domains, etc. PART II The algebra of composition We investigate the analogy: If composition of maps is like multiplication of numbers, what is like division of numbers? The answers shed light on a great variety of problems, including (in Session 10) ‘continuous’ problems. ARTICLE II Isomorphisms Retractions, sections, idempotents, automorphisms 1. Isomorphisms It seems probable that before man learned to count, it was first necessary to notice that sometimes one collection of things has a certain kind of resemblance to another collection. For example, these two collections are similar. In what way? (Remember that numbers had not yet been invented, so it is not fair to say ‘the resemblance is that each has three elements.) After some thought, you may arrive at the conclusion that the resemblance is actually given by choosing a map, for instance this one: Mother Father Child What special properties does this map f have? We would like them to be expressed entirely in terms of composition of maps so that we can later use the same idea in other categories, as well as in the category of finite sets. The properties should exclude maps like these: Be) 40 Article IT The crucial property that f has, and the other two maps do not have, is that there is an inverse map g for the map f. Here is a picture of g: The important thing to notice is that g and f are related by two equations afl, fog=1y As we will see, neither of these equations by itself will guarantee that A and B have the same size; we need both. This gives rise to the following concepts: Definitions: A map A“ B is called an isomorphism, or invertible map, if there is a map B *+ A for which gof = 14 and fog = Ip. A map g related to f by satisfying these equations is called an inverse for f. Two objects A and B are said to be isomorphic if there is at least one isomorphism A+B Notice that there are other isomorphisms from {Mother, Father, Child} to (feather, stone, flower}, for instance but to show that these two sets are isomorphic, we only need to find one of the many ~ how many? — isomorphisms from A to B. Once mankind had noticed this way of finding ‘resemblance’ between collections, it was probably not too long before some names for the ‘sizes’ of small collections — words like pair, or triple ~ came about. But first a crucial step had to be made: one ‘The word isomorphism comes from Greek: iso = same; morph = shape, form; though in our category of finite sets same size might seem more appropriate Isomorphisms 41 had to see that the notion of isomorphic or ‘equinumerous’ or ‘same-size’, or what- ever it was called (if indeed it had any name at all yet), has certain properties: Reflexive. A is isomorphic to A. Symmetric: If A is isomorphic to B, then B is isomorphic to A. Transitive: If A is isomorphic to B, and B is isomorphic to C, then A is isomorphic to C. Surprisingly, all these properties come directly from the associative and identity laws for composition of maps. Exercise 1: (R) Show that A 4s 4 is an isomorphism. (Hint: find an inverse for 14.) (S) Show that if A % B is an isomorphism, and B —+ 4 is an inverse for f, then g is also an isomorphism. (Hint: find an inverse for g.) (1) Show that if A +B and Bs C are isomorphisms, 4 + C is also an isomorphism. These exercises show that the three properties listed before them are correct, but the exercises are more explicit: solving them tells you not just that certain maps have inverses, but how actually to find the inverses. All this may seem to be a lot of fuss about what it is that all three-element sets have in common! Perhaps you will be partially persuaded that the effort is worthwhile if we look at an example from geometry, due to Descartes. P is the plane, the plane from geometry that extends indefinitely in all directions. R? is the set of all lists of two real numbers (positive or negative infinite decimals like V3 or —x or 2.1397). Descartes’ analytic approach to geometry begins with an isomorphism LR assigning to each point its coordinate-pair, after choosing two perpendicular lines in the plane and a unit of distance: Rr b units V5,3) V5 units| 42 Article I The map f assigns to each point p in the plane a pair of numbers, called the ‘coordinates of p in the chosen coordinate system’. (What does the inverse map g do? It must assign to each pair of numbers, like (x, 7), a point. Which point?) By systematically using this kind of isomorphism, Descartes was able to translate difficult problems in geometry, involving lines, circles, parabolas, etc., into easier Problems in algebra, involving equations satisfied by the coordinate-pairs of the points on the curves. We still use this procedure today, and honor Descartes by calling these coordinate systems ‘cartesian coordinates’. Our notion of ‘isomorphism’ is what makes this technique work perfectly: we can ‘translate’ any problem about a plane — i.e. apply the map f to it — to a problem about pairs of numbers. This problem about pairs of numbers may be easier to solve, because we have many algebraic techniques for dealing with it. Afterwards, we can ‘translate back’ — i.e. apply the inverse map for f ~ to return to the plane. (It should be mentioned that Descartes’ method has also proved useful in the opposite way - Sometimes algebraic problems are most easily solved by translating them into geo- metry!) You will notice that we have sneaked in something as we went along. Before, we talked of an inverse for f, and now we have switched to the inverse for f. This is justified by the following exercise, which shows that, while a map f may not have any inverse, it cannot have two different inverses! Exercise 2: : , Suppose B=» 4 and B+. 4 are both inverses for A L+ B. Show that gak. Since the algebra of composition of maps resembles the algebra of multiplication of numbers, we might expect that our experience with numbers would be a good guide to understanding composition of maps. For instance, the associative laws are parallel: So(geh)=(feg)oh 3x (5x 7) =(3x5)x7 But we need to take some care, since SoeFacf in general. The kind of care we need to take is exemplified in our discussion of inverses. For numbers, the ‘inverse of 5’, or 4, is characterized by: it is the number x such that 5 x x= 1; but for the inverse of a map, we needed fwo equations, not just one. Isomorphisms 43 More care of this sort is needed when we come to the analog of division. For numbers, 3 (or 3 + 5) is characterized as the number x for which Sxx=3; but it can also be obtained as xa}x3 Thus for numbers we really don’t need division in general; once we understand inverses (like !) and multiplication, we can get the answers to more general division problems by inverses and multiplication. We will see that a similar idea can be used for maps, but that not all ‘division problems’ reduce to finding inverses; and also that there are interesting cases of ‘one-sided inverses’, where f « g is an identity map but gef is not. Before we go into general ‘division problems’ for maps, it is important to master isomorphisms and some of their uses. Because of our earlier exercise, showing that a map A + Ban have at most one inverse, it is reasonable to give a special name, or symbol, to that inverse (when there is an inverse). Notation: If 4 2 B has an inverse, then the (one and only) inverse for f is denoted by the symbol f~! (read ‘f-inverse’, or ‘the inverse of f”.) Two things are important to notice: 1. To show that a map B -£+ A satisfies g = f~', you must show that gof= la, and fog=lp 2. If f does not have an inverse, then the symbol ‘f~!” does not stand for anything; it’s a nonsense expression like ‘grlbding’ or ‘. Exercise 3: If f has an inverse, then f satisfies the two cancellation laws: (a) Iffoh=fok, then h=k. (b) Ifhof =kef, then h=k. Warning: The following ‘cancellation law’ is not correct, even if f has an inverse. (©) (wrong): If hof =fok, then h =k. When an exercise is simply a statement, the task is to prove the statement. Let’s do part (a). We assume that f has an inverse and that f °/t = f°, and we try to show that f= k. Well, since fh and f ok are the same map, the maps frlo(feh) and fo'e(fok) are also the same: 44 Article IT Slo foh) =f o(fek) But now we can use the associative law (twice — once on each side of our equation), so our equation becomes: F' Sfyoha (fr eflok which simplifies to Iych=14ek (why?) which then simplifies to h=k (why?) So we have finished: h = k is what we wanted to show. You will notice that this kind of calculation is very similar to algebra with numer- ical quantities. Our symbols f,h,... stand for maps, not for numbers; but since composition of maps satisfies some of the rules that multiplication of numbers does, we can often do these calculations almost by habit; we must only be careful that we never use rules, like the commutative law, that are not valid for maps. Part (b) you should now be able to do yourself. Part (c), though, is a different story. How do you show that a general rule is wrong? To say it is wrong just means that there are cases (or really, at least one case) in which it is wrong. So to do part (c) select one example of a map f which has an inverse, and two maps hand k for which hef = fk; but not just any example, rather one in which h and k are different maps. The most interesting examples involve only one set, and three endomaps of that set. You should be able to find endomaps /, h, and k of a two-element set A, with f invertible and hof =f ok buth +k. Here are some exercises with sets of numbers.‘R’ stands for the set of all (real) numbers; ‘R59’ for all the (real) numbers that are > 0. To describe a map with an infinite set, like R, as domain, it is not Possible to list the output of f for each input in the domain, so we typically use formulas. For instance: LR4R 2. Roo ++ Rog 3.R-4R 4 RAL Roy 5. Roo + Ryo Exercise 4: For each of the five maps above: decide whether it is invertible; and if it is invertible, find a ‘formula’ for the inverse map. Isomorphisms 45 2. General division problems: Determination and choice In analogy with division problems for numbers (like 3 x x = 21, with exactly one solution: x = 7; of like 0 x x = 5, with no solutions; or like 0 x x = 0, with infinitely many solutions) we find two sorts of division problems for maps: 1. The ‘determination’ (or ‘extension’) problem Given f and A as shown, what are all g, if any, for which h = gof? f™ a; 8 A—— C 2. The ‘choice’ (or ‘lifting’) problem Given g and h as shown, what are all f, if any, for which h = gof? Let us study the determination problem first. If it has any solution g, we say that A is “determined by’ f, or h “depends only on’ f. (A particular solution g can be calledia ‘determination’ of h by f.) The same idea is often expressed by saying that h ‘is a function of f. After we have studied several examples, it will become clearer why this division problem is called the ‘determination problem’. Example 1, a ‘determination’ problem When B is a one-element set, then the possibility of factoring a given A —"s C across Bis a very drastic restriction on A. This is true because there is only one 4 — B, whereas to choose a map B —*> C is the same as choosing a single element of C. Bal Therefore, denoting the element of B by b, A(x) = (eof )(%) = a(f()) = 8(6) for all x in A. Such a map h is called constant because it has constantly the same value even though x varies. 46 Article IT Example 2, a ‘choice’ problem Now consider the following example in which B has three elements and h = 14 where A= C has two elements, while B + C is a given map with the property that every element of C is a value of g, such as C=A How many maps f can we find with g>f = 14? Such anf must be a map from A = C to Band satisfy g(f(x)) = x for both elements x. That is, f must ‘choose’ for each x an element z of B for which g(z) = x. From the picture we see that this determines the value of f at one x but leaves two acceptable choices for the value of f at the other x. Therefore there are exactly two solutions f to the question as follows: Gpy Gp} Le OT GY 7 CY) " On the other hand, suppose the first of these f is considered given, and we ask for all maps g for which g°f=J4, a ‘determination’ problem. The equation (f(x) = x can now be interpreted to mean that for each element of B which is of the form f(x), g is forced to be defined so as to take it to x itself; there is one Isomorphisms 47 element of B to which that does not apply, so g can be defined to take that element to any of the two elements of A. Hence there are two such g, one of which is the g given at the beginning of the discussion of this example. The fact that we got the same answer, namely 2, to both parts of the above example is due to the particular sizes of the sets involved, as seen by considering the two parts for the smaller example two-element set fT le got Jone one-element set and also for the larger pair of sets in the following exercise. Exercise 5: Given 4° GD how many maps f are there with gof = 110.1)? Choosing a particular such f, how many maps g (including the given one) satisfy the same equation? Here are two more ‘determination’ examples. Example 3 It surprised many people when Galileo discovered that the distance a dropped object falls in a certain time is determined by the time (in the absence of air resistance.) They had thought that the distance would depend also on the weight and/or density of the object. Example 4, Pick's Formula Imagine a grid of uniformly spaced points in the plane, and a polygonal figure with vertices among these points: 48 Article IT It turns out that the area (in square units) of such a polygon can be calculated from very little information: just knowing the number of interior dots and the number of boundary dots (in our example, 3 and 17) is enough. All the complicated details of the shape of the polygon are irrelevant to computing its area! Schematically G17) Set of pairs of natural numbers: 10.5 Set of all area in square units coal aba Set of all our polygons Once you guess there is such a map g, it is not too difficult to figure out a formula for g. (Try simple examples of polygons first, instead of starting with a complicated one like ours.) The history of Galileo’s problem was similar: once Galileo realized that the time of the fall determined the distance fallen, it did not take too many experiments before he found a formula for the distance in terms of the time; i.e. for g in Isomorphisms 49 duration of fall Falling bodies distance fallen Further examples will be discussed in the sessions that follow. 3. Retractions, sections, and idempotents The special cases of the determination and choice problems in which h is an identity map are called the ‘retraction’ and ‘section’ problems. Definitions: if A & B: a retraction for f is a map B —> A for which rof = 14; a section for f is a map B > A for which f os = Ip. The retraction problem looks this way if we draw it as a ‘determination’ problem: where we want r to satisfy ref = 50 Article IT Similarly, the section problem is a ‘choice’ problem: but it’s simpler just to draw where we ask that s satisfy fos = Ip. There is a slight advantage to drawing the triangular picture. It reminds us of the equation we want to satisfy, which just says the triangle ‘commutes’: the two ways of getting from the left corner to the right corner are equal. From the examples just discussed we know that if a map has sections, it may have several, and another map may have several retractions. Moreover, some maps have retractions but no sections (or vice versa), and many have neither. There are some important conditions, which we can often check by looking at the map itself, that are necessary in order that a given map f could have sections or retractions. These conditions are stated in the following propositions. The first proposition may be regarded as an analog for maps to the observation that once we have multiplication and ‘reciprocals’ (numbers like x =} to solve equations like 3 x x = 1) we can then express the answers to more general division problems like 3 x x = 5 by x =4x 5. The proposition says that if the single choice problem involving this same f has a solution. Isomorphisms sl Proposition 1: If a map A 2+ B has a section, then for any T and for any map T — B there exists a map T + A for which f ox = y. Proof: The assumption means that we have a map s for which f »s = 1p. Thus for any given map y as below we see that we could define a map x with at least the correct domain and codomain by taking the composite s following y =goy Does this map x actually satisfy the required equation? Calculating Sox=folsey)=(fes)oy= Inoy=y we see that it does. Ifa map f satisfies the conclusion of the above if... then ... proposition (for any y there exists an x such that fx = y), it is often said to be ‘surjective for maps from T.” Since among the T are the one-element sets, and since a map T —> B from a one- element set is just an element, we conclude that if the codomain B of f has some element which is not the value f(x) at any x in A, then f could not have any section s. A section s for a map f is often thought of as a ‘choice of representatives.’ For example if A is the set of all US citizens and B is the set of all congressional districts, then a map f such as f= residence A B divides the people up into clusters, all of those residing in a given district y consti- tuting one cluster. If s means the congressional representative choice, then the con- dition f °s = 1g means that the representative of district y must reside in y. Clearly, there are theoretically a very large number of such choice maps s unless there hap- pens to be some district which is uninhabited, in which case there will be no such maps s, as follows from Proposition 1. There is a ‘dual’ to Proposition 1, which we'll call Proposition 1*. It says, as you might expect, that if the single determination problem 52 Article IT has a solution (a retraction for f’), then every determination problem with the same f has a solution. Because the proof is so close to that of Proposition 1, we leave it as an exercise. Exercise 6: If the map A 4 B has a retraction, then for any map 4 -&+ T, there is a map B—>T for which tf = g. (This is Proposition 1*.) Here is another useful property of those maps that have retractions. Proposition 2: Suppose a map A LB has a retraction. Then for any set T and for any pair of maps T “+ A, T 2+ A from any set T to A if fox =f ox, then x, = xp. Proof: Looking back at the definition, we see that the assumption means that we have a map r for which ref = J4. Using the assumption that x, and x) are such that f composes with them to get the same T—+B, we can compose further with r as follows: * TS A—*_> 8 4 2 a1 = yom = (rofox =re(fom) =re (Lex) = (ref)ox =leom =x Definitions: A map f satisfying the conclusion of Proposition 2 (for any pair of maps T+ A and T+ A, if fox, =f oxy then x; =x) is said to be injective for maps from T. If f is injective for maps from T for every T, one says that f is injective, or is a monomorphism. Isomorphisms 53 Since T could have just one element, we conclude that if there were two elements x, and x, of A for which x, # x2 yet f(x;) =f(x2), then there could not be any retraction for f. Notice that Proposition 2 says that if f has a retraction, then f satisfies the ‘cancellation law’ (a) in Exercise 3. Proposition 2 also has a ‘dual’ saying that if f has a section, then f satisfies the cancellation law (b) in Exercise 3. Exercise 7: i Suppose the map A > B has a section. Then for any set T and any pair B-4T, B+ T of maps from B to T, if (ef =hef then t = ty. (This is Proposition 2*.) Definition: A map f with this cancellation property (if tof = ef then t, = th) for every T is called an epimorphism. Thus both ‘monomorphism’ and ‘epimorphism’ are ‘cancellation’ properties. When we are given both f and r, and ref = 14 then, of course, we can say both that r is a retraction for f and that f is a section for r. For which sets A and B can such pairs of maps exist? As we will see more precisely later, it means roughly (for non-empty A) that 4 is smaller (or equal) in size than B. We can easily prove the following proposition which is compatible with that interpretation. Proposition 3: If A + B has a retraction and if B £+ C has a retraction, then A®4C has a retraction. Proof: Let rj of = 14 and r.°g = 1g. Then a good guess for a retraction of the composite would be the composite of the retractions in the opposite order (which is anyway the only order in which they can be composed) af A—>—> B—4 + Does it in fact work? re(gof)=(nom)(gef)=ne(ne8)ef=nelaef =nof=l4 proves that r is a retraction for gef. 54 Article It Exercise 8: Prove that the composite of two maps, each having sections, has itself a sec- tion, Definition: An endomap e is called idempotent if eo = e. Exercise 9: Suppose r is a retraction of f (equivalently f is a section of r) and let e= for. Show that e is an idempotent. (As we'll see later, in most categories it is true conversely that all idempotents can ‘split’ in this way.) Show that if f is an iso- morphism, then e is the identity. A map can have many sections or many retractions, but if it has some of each they are all the same. That is, more exactly, we have: Theorem (uniqueness of inverses): [ff has both a retraction r and a section s then r = s, Proof: From the definition we have, if A + B, both of the equations ref=1, and fos=Iy Then by the identity laws and the associative law r=relp=ro(fes)=(ref)os=lyos= 4. Isomorphisms and automorphisms Using ‘section’ and ‘retraction’, we can rephrase the definition of ‘isomorphism’. Definitions: A map f is called an isomorphism if there exists another map f~! which is both a retraction and a section for f: 1 7 i ay 8 te Tacha Such a map f~' is called the inverse map for f: since both of the two equations are required, the theorem of uniqueness of inverses shows that there is only one inverse. Isomorphisms 55 Exercise 10: If AL. B-4; C are both isomorphisms, then gof is an isomorphism too, and a The important (and necessary) reversal of order in the statement of the last exer- cise can be explained in terms of shoes and socks. The act f of putting on socks can be followed by the act g of putting on shoes, together a composite act gof. The inverse of an act ‘undoes’ the act. To undo the composite act gf, I must take off my shoes, which is the act g~', then follow that by taking off my socks (the act f ae altogether performing f~! > g~! What is the relation of A to B if there is an isomorphism between them? In the category of finite sets this just says that A and B have the same number of elements. But this enables us to give a usable definition of ‘same number’ without depending on counting — a definition which is very significant even for infinite sets. That is, we say that A and B have the same number of elements if they are isomorphic in the category of sets, where (in any category) A and B are isomorphic means that there exists an isomorphism from A to Bin the category. Categories other than sets usually involve objects that are more richly structured, and, correspondingly, isomorphic objects will be alike in much more than just ‘number of elements’ — they will have the ‘same shape’, ‘same structure’, or whatever the category itself involves. Check the correctness of the above idea of equal number for finite sets: Exercise 11: If A= {Fatima, Omer, Alysia} and B = {coffee, tea, cocoa}, find an example of an isomorphism 4 + B. If C = {true, false}, can you find any isomorphism A—Cc? Now, how many isomorphisms are there from A to B? This question relates immediately to another question: How many isomorphisms A —+ A are there? Such a map, which is both an endomap and at the same time an isomorphism, is usually called by the one word automorphism. 356 Article IT Exercise 12: How many isomorphisms are there from A= {Fatima, Omer, Alysia} to B= {coffee, tea, cocoa}? How many automorphisms of A are there? The answers should be less than 27 — why? In general, if there are any isomorphisms A — B, then there are the same number of them as there are automorphisms of 4. This fact we can prove without counting by remembering the definition of ‘same number’ given above. If we let Aut(A) stand for the set of all automorphisms of A and Isom(A, B) stand for the set of all iso- morphisms from A to B, the definition says that we need only construct an iso- morphism between those two sets. Now Aut(A) is always non-empty since at least 14 is an example of an isomorphism A —+ A. If there is an isomorphism A ~> B, choose such an f and use it to construct Aut(A) + Isom(A, B) by defining F(a) = fa for any automorphism a of A. A eee F(a)=fea F(a) is indeed a member of Isom(A, B) because of our previous proposition that any composite f° of isomorphisms is an isomorphism. To show that F is itself an isomorphism, we have to construct an inverse Isom(A,B) + Aut(A) for it, and this we can do using the same chosen f as follows: S(g)=folog for all isomorphisms g in Isom(A, B) B A Freg A This f~' » g is an automorphism of A. Finally we have to show that S really is inverse to F, which involves showing two things: Isomorphisms 57 (Fe S)(g) = F(S(g)) = FU! 28) =fe(f 28) = (fof ')og =leg=g for all g, so that FeS = Tisom(4,8) and also (Se F)(a S(F(a)) = S(fea) =f! e (fea) = (ft ef)oa =lea= for all a, showing that SeF = lai) An automorphism in the category of sets is also traditionally called a permutation, suggesting that it shifts the elements of its set around in a specified way. Such a specified way of shifting is one of the simple, but interesting kinds of structure, so we can use this idea to describe our second example of a category, the category of permutations. An object of this category is a set A together with a given automorph- ism a of A. A map from AO? to BOP is a map of sets A 2+ B, which ‘respects’ or ‘preserves’ the given automorphisms a and 8 in the sense that foa=Bof iN er To compose maps f and g, the natural thing would seem to be to compose them as maps of sets A 2+ B £5 C, but we need to check that the composite as maps of sets is still a map in the category of permutations. That is, we suppose that f respects a and { and that g respects 8 and +, and we must verify that gf respects « and 7. We are assuming foa=Bof B°B=7°8 and so by associativity 58 Article IT (gof)oa=ge (fea) =g0(B-f) = (ge A)-f =(yoR) of = (gf) which completes the verification. We will learn later that an object in the category of permutations has not only a total number of elements, but also a whole ‘spectrum’ of ‘orbit lengths’ and ‘multiplicities’ with which these occur. The only point which we want to preview here is that two objects between which there exists an isomorphism in the sense of this category will have their whole spectra the same. 5. Guide We have discussed a number of important properties that a map may have, all related to division problems; these are summarized on the following page. Many examples will be presented in Sessions 4-9, followed by sample tests and review pages. Part II concludes, in Session 10, with an extended geometric example illus- trating the use of composition of maps, and in particular the use of retractions. Isomorphisms Summary: Special properties a map Choice and Determination in X\=|Y means ‘if X, then Y° or ‘X implies ¥° Inverse f is an isomorphism, or invertible map, ie. f has an inverse, g: a =B f has a section: map s arene A >> B satisfying fos = 1p. OR The choice problem 59 A a B| may have. ‘Cancellation For every T, and every 304 ~ B=3T ” b ee iftqef =hef hi uti then t; = ft, ae as aaa (/ is an ‘epimorphism’.) For every T, f is ‘surjective for maps from 7”, i.e. every choice problem ae =| o bg pe B has a solution. satisfying both gof = 1, and Sfeg=ls (Note: from either pair of ‘diagonally opposite’ f has a retraction: a map r ote satisfying ro OR (The three small boxes in each large box are just three ways to state the same property of f.) The determination problem B properties, yY Nor? /~ A T, -A on has a solution, OR a For every T, every you can prove that f has an inverse!) determination problem B A———+T has a solution. For every T, f is ‘injective for maps from T°, i. for every T= 4, if fea =f ea, then a, = a, (f is a ‘monomorphism’ or ‘injective map’.) SESSION 4 Division of maps: Isomorphisms jivision of maps versus division of numbers Numbers Maps multiplication composition division 2 If composition of maps is analogous to multiplication of numbers, what is the analog of division of numbers? Let’s first review the common features of composi- tion and multiplication. Both operations are associative and have identities, (The identity for multiplication is the number 1.) Multiplication of numbers Composition of maps For numbers x,y,z For maps 4 24 Bc. xxl=x=1xx folg=f=lpef Xx (yx z) = (xx y) xz ho(gef) =(hog)ef Like most analogies this one is only partial because in multiplication of numbers the order doesn’t matter, while in composition of maps it does. If we want both i * and ‘gef’ to make sense and to have the same domain, we must have Aand A 5, A, and even then: For all numbers x, y, For most maps f, g, XXVHyRx BS#FS OR Both multiplication of numbers and composition of maps are well-defined pro- cesses: you start with a pair (of numbers in one case, of maps in the other) and get a result. Usually, when you have a process like that there arises the question of rever- sing it, i.e. to find a new ‘process’ by which we can go from the output to the input, or from the result and one of the data, to the other datum. This reverse process may not give a unique answer. For multiplication of numbers this reverse process is called the division problem, which is relatively simple because given one of the data and the result there is usually exactly one value for the other datum. For example, if multiplying a number by 3 we get 15, 3x?=15 60 Division of maps: Isomorphisms 61 we know that the number could only have been 5 However, even in multiplying numbers we find problems for which there is no solution and problems for which there is more than one solution. This occurs when we multiply by zero. If we are told that multiplying a number by zero we get 7, we must reply that there is no such number, while if we are asked to find a number which multiplied by zero gives zero, we see that any number whatsoever is a solution. 0x?=7 no solution 0x ?=0 many solutions Such problems, which may be considered as exceptional in multiplication, are instead typical for composition of maps. For maps it usually happens that ‘division’ problems have several solutions or none. There is, however, one very useful case in which ‘division of maps’ produces exactly one solution, so we will treat this easier case first. 2. Inverses versus reciprocals A ‘reciprocal for the number 2° means a number satisfying ? x 2 = 1 (and therefore also 2 x ? = 1). As you know, 2 has precisely one reciprocal, 0.5 or 1/2. The corre- sponding notion for composition of maps is called ‘inverse.’ Definitions: 1f A 2+ B, an inverse for f is a map B -£+ A satisfying both gof=1, and fog=Ip If f has an inverse, we say f is an isomorphism, or invertible map. We really need both equations, as this example shows: ie g gofal, but fogt#ls You can make up more complicated examples of this phenomenon yourself. (What is the simplest example of maps f and g for which f ¢g is an identity map, but gof is not?) The internal diagram of an isomorphism of sets looks pretty simple: ee Serene eee oe = 7 i Session 4 though it might be drawn in a less organized way: f | These pictures suggest that a map with an inverse has only one inverse: just “reverse the arrows in the internal diagram.’ This is true, and will be deduced from just the associative and identity laws for composition of maps: Uniqueness of inverses: Any map f has at most one inverse. Proof: Say A + B, and suppose that both B -£s 4 and B -* A are inverses for S80 os, hof 14 and fog=Ip =I, and foh=Ig We only need two of these equations to prove that g and A are the same: glace =(hef)og=ho(feg)=holg=h (Do you see the justification for each step? Which two of the four equations did we use? The easiest way to remember this proof is to start in the middle: the expression hof og, with f sandwiched between its two supposed inverses, simplifies two ways.) There are two standard notations for the reciprocal of 2: 1/2 and 2~!. For maps, only the second notation is used: if f has an inverse map, then its one and only inverse is denoted by f~'. In both cases, numbers and maps, it makes no sense to use these symbols if there is no reciprocal or inverse: ‘0~!”, ‘1/0", and ‘f~"" if f is the map OED are nonsense-expressions that don’t stand for anything. One further small caution: Whether a number has a reciprocal depends on what your ‘universe of numbers’ is. If by ‘numbers’ you mean only integers (whole numbers), ie. ..., -2,—1,0, 1,2,3,.-., then only —1 and 1 have reciprocals; 2 does not. But if by numbers you mean real numbers (often represented by infinite decimal expansions), then every number except 0 has a reciprocal. In exactly the same way, whether a map has an inverse depends on what ‘universe of maps’ (category) you are in. We'll take the category of abstract sets (and all maps) for now, but much of what we say will depend only on the associative and identity laws for composition of maps, and therefore will be valid in any category. Division of maps: Isomorphisms 63 3. Isomorphisms as ‘divisors’ If you have ever arrived a few minutes late to a movie, you have no doubt struggled to determine which isomorphism of sets ‘Names of characters ——+ Characters on screen is involved. When two characters discuss ‘Titus,’ you try to gather clues which may indicate whether that is the tall bald guy or the short dark-haired one. Later, if you particularly liked the film but the actors were unfamiliar to you, you learn the isomorphism Characters on screen ——> Actors in film or if the actors are familiar, but you cannot recall their names, you learn the iso- morphism Actors in film ——+ Professional names of cast (An unfortunate recent practice is to show you at the end of the film only the composite of these three isomorphisms, called ‘cast of characters’.) ‘After you have grasped all of these isomorphisms, it is remarkable how easily you compose them. You perform a sort of mental identification of the name ‘Spartacus’ and the slave who led the revolt and the actor with the cleft chin and the name ‘Kirk Douglas,’ even while you are aware that each of these isomorphisms of sets resulted from many choices made in the past. Different actors could have been selected for these roles, the actors might have selected different professional names, etc.; cach arrow in the internal diagram of any one of the isomorphisms may represent a story of its own. At the same time, these four sets are kept quite distinct. You do not imagine that the slave dined on Hollywood Boulevard, nor that the cleft-chinned actor contains nine letters. Each set is an island, communicating with other sets only by means of maps. “In spite of this seeming complexity, you use these isomorphisms of sets, and composites of these and their inverses, so freely in discussing the film that it seems almost miraculous. Apparently an isomorphism is easier to master than other maps, partly because of its ‘two-way’ character: with each isomorphism comes its inverse, and passing back and forth a few times along each arrow in the internal diagram cements it firmly in your mind. But the ease in composing them comes also from the simplicity of the algebra of composition of isomorphisms. The process of following (or preceding) maps by a particular isomorphism is itself a ‘reversible’ process, just as the process of multiplication by 3 is reversed by multiplication by 1/3. There is only ‘one small difference. Because the order of composition matters, there are swo types of division problems for maps. Each has exactly one solution if the ‘divisor’ is an isomorphism: 64 Session 4 Problem: 3, f A—j—¢ 1 G Given f and A, find all g for Given g and h, find all f which gof =h. for which gof =h. (Analogous to: ? x 3 = 6) (Analogous to: 3 x ? = 6) Solution, if the ‘divisor’ f is an Solution, if the ‘divisor’ g is an isomorphism: isomorphism: There is exactly one map There is exactly one map g for which go f = h; S for which gof = h; itis g=hof-, itisf=g'o (Analogous to: ? = 6 x }) (Analogous to: ? = ! x 6) Please don’t bother memorizing these formulas. It’s easier, and more illuminating, to learn the proof; then you can instantly get the formulas whenever you need them. Here it is for the left-hand column. If g were a solution to g of = h, then (trying to get g by itself on the left-hand side) (gof)of-'!=hef-', but now the left side simplifies (how?) to g, so g=hef~'. Caution: All that we have shown is that the only possible solution to our equation is the candidate we found, ho f-'. We still must make sure that this candidate is really a solution. Is it true that (hof) ef = h? Simplify the lefi-hand side yourself to see that it’s so. Notice that in the first simplification we used f° f~' = Jp, and in the second simplification we used f~' ef = 14; we needed both. Now work out the proof for the right-hand column too, and you will have mastered this technique. 4. A small zoo of isomorphisms in other categories To appreciate isomorphisms you need to look at examples, some familiar, some more exotic. This is a bit of a leap ahead, because it involves exploring categories other than the category of sets, but you can manage it. We'll start with the more familiar, but perhaps get you to take a fresh viewpoint. In algebra, we often meet a set (usually of numbers) together with a rule (usually addition or multiplication) for combining any pair of elements to get another ele- ment. Let’s denote the result of combining a and b by ‘a+b’, so as not to prejudge whether we are considering addition or multiplication. An object in our algebraic category, then, is a set A together with a combining-rule *. Here are some examples: (R,+) Real numbers (usually represented by infinite decimal expansions, like 3.14159..., or -1.414..., or 2.000...) with addition as the combining- rule. (R, x) Same, but with multiplication as the combining-rule. Division of maps: Isomorphisms 65 (Ryo, x) Only positive real numbers, but still with multiplication. ‘A map in this category from an object (4, #) to an object (4’, +’) is any map of sets A — A which ‘respects the combining-rules,’ i.e. ‘f(a*b) = (fa) *' (fo) for each a and 6 in A Here are some examples of maps in this category: . (B+) 4 (R,+) by ‘doubling’: dx = 2x. We see that d is a map in our category, since d(a+) = (da) + (db) 2(a + b) = (2a) + (2) 2. (R, x) > (R, x) by ‘cubing’: cx = x°. We see that c is a map in our category since e(a x b) = (ca) x (cb) (ax b) = (a) x (B) » . (RR, +) 24 (Ryo, x) by ‘exponentiation’: exp.x =e, and exp is a map in our category since exp(a-+b) = (expa) x (exp) ele) = (6%) x () (If you don’t know the number e¢ = 2.718..., you can use 10 in its place.) These examples of maps in our algebraic category were specially chosen: each of them is an isomorphism. This requires some proof, and I'll only do the easiest one, the doubling map d. You'll guess right away the inverse for the doubling map, the ‘halving map:” (R,+) 4 (B+) by ‘halving’: hx = 4x Of course, we should check that / is a map in our category, from (IR, +) to (IR, +). Is it true, for all real numbers @ and 6, that h(a +b) = (ha) + (hb)? Yes. Now we still must check the two equations which together say that A is the inverse for d: Are hd and dh identity maps? . Session 4 Exercise 1: Finish checking that d is an isomorphism in our category by showing that hod and dh are indeed identity maps. We can find examples of objects in our algebraic category which aren’t sets of numbers. You have probably noticed that adding an even whole number to an odd one always produces an odd result: odd + even = odd. Also, odd + odd = even, and so on. So the two-element set {odd,even} with the ‘combining-rule,’ +, now has become an object in our algebraic category. Also, you know that multiplying positive numbers produces a positive result, while positive x negative = negative, and so on. In this way, the set {positive, negative} with the combining-rule x is also an object in our category. Our next exercise is an analog of the remarkable example (3) above, which showed that addition of real numbers and multiplication of positive numbers have the ‘same abstract form.’ Exercise 2: Find an isomorphism ({odd, even}, +) Hint: There are only two invertible maps of sets from {odd,even} to {pos., neg.}. One of them ‘respects the combining rules’, but the other doesn’t. ({positive, negative}, x) We should also get some experience in recognizing when something is not an isomorphism; the next exercise will challenge you to do that. Exercise 3: An unscrupulous importer has sold to the algebraic category section of our 200 some creatures which are not isomorphisms. Unmask the impostors. (a) (R, +) 2 (R, +) by ‘plus I's px= x41. () (R, x) “4 (R, x) by ‘squaring’: sqx (©) (RR, x) “4 (Ryo, x) by ‘squaring’: sq.x (d) (R, +) + (R, +) by ‘minus’: mx = —x. (e) (R, x) 7 (R, x) by ‘minus’: mx = —x. (/) (R, x) + (Ryo, x) by ‘cubing’: ex = 2°, Hints: Exactly one is genuine. Some of the cruder impostors fail to be maps in our category, ie. don’t respect the combining-rules. The crudest is not even a map of sets with the indicated domain and codomain. x If you have always found the algebraic rules that came up in discussing these examples somewhat mysterious, you are in good company. One of our objectives is to demystify these rules by finding their roots. We will get to that, and after we Division of maps: Isomorphisms 67 nourish the roots you will be surprised how far the branches extend. For now, though, it seemed fair to use the algebraic rules as sources of examples. The rest of the isomorphisms in our zoo will be easier to picture, and won’t require algebraic calculations. Since this is only a sightseeing trip, we will be pretty loose about the details. In geometry, a significant role is played by ‘Euclid’s category.’ An object is any polygonal figure which can be drawn in the plane, and a map from a figure F to a figure F’ is any map f of sets which ‘preserves distances’: if p and q are points of F, the distance from fp to fq (in F’) is the same as the distance from p to q. (Roughly, the effect of this restriction on the maps is to ensure that if F were made of some perfectly rigid material you could pick it up and put it down again precisely onto the space occupied by F’; but notice that any idea of actually moving F is not part of the definition.) Objects which are isomorphic in this category are called by Euclid ‘congruent’ figures. Here is an example. Isomorphic objects in Euclid’s category Do you see what the map f is, and what its inverse is? If so, you should be able to locate fr and s in the picture. We might enlarge Euclid’s category to include solid figures, and to allow curved boundaries. Then if you are perfectly symmetric, your left hand is isomorphic to your right hand when you stand at attention, and your twin’s right hand is isomorphic to both of these. In topology, sometimes loosely referred to as ‘rubber-sheet geometry,’ maps are not required to preserve distances, but only to be ‘continuous’: very roughly, if p is close to q then fp is close to fg. Objects which are isomorphic in such a category are said to be ‘homeomorphic.’ The physique of a tall thin man is homeomorphic to that of a short stout one unless accident or surgery has befallen one of them. A radiologist examining images of the human body from X-rays needs to make sharper distinctions, and so may use a more refined category. An object will have as additional structure a map associating to each point a density (measured by the darkness of its image); and a map in the radiologist’s category, in addition to being continuous, must have the property that if p and q are nearby and the density at p is greater than that at q, then correspondingly the density at fp is greater than that at fg. Failure to find an isomorphism in this category from your body to an ‘ideal’ body is regarded as an indication of trouble. (This example is not to be taken 100 seriously; it is intended to give you an idea of how one tries to capture important aspects of any subject by devising appropriate categories.) SESSION 5 Division of maps: Sections and retractions 1. Determination problems Many scientific investigations begin with the observation that one quantity f deter- ‘mines another quantity h. Here is an example. Suppose we have a cylinder, with a weighted piston pushing down on a trapped sample of gas. If we heat the system, the volume of the trapped gas will increase, raising the piston. If we then cool the system to its original temperature, the gas returns to its original volume, and we begin to suspect that the temperature determines the volume. (In the diagram below, f assigns to each state of the system its temperature, and A assigns to each state its volume.) ‘Temperatures \ States of system J Volumes Our suspicion is that there is a map g which makes h = gf; such a g is called a determination of h from f. The problem for the scientist is then to find one g (or all g, if there is more than one) which makes h = gf true. (In this example, it turns out that there is exactly one such g. If we choose the zero for temperatures appropriately, g even has a very simple form: multiplication by a constant.) Let’s put all this more generally. Suppose that we have a map of sets 4 + Band a set C. Then every map from B to C can be composed with f to get amap A —» C. Thus f gives us a process that takes maps B—+ C and gives maps A — C: B cons/ \ cone eee a we get gof and we are interested in reversing this process. The determination problem is: Given maps f from A to B and h from A to C, find all maps g from B to C such that gof = h. (See diagram below.) This problem asks: ‘Is h determined by f ? and more precisely asks for all ways of determining h from f, as shown in the diagram 68 Division of maps: Sections and retractions 69 Here is an example with finite sets. Let A be the set of students in the classroom and B the set of genders ‘female’ and ‘male’; and let A + B be the obvious map that gives the gender. If C is the set with elements yes and no, and h is the map which answers the question ‘Did this student wear a hat today?’, then depending on who wore a hat today there are many possibilities for the map h, But since there are so few maps female male (how many?), it is very unlikely that a given h is equal to f followed by one of the maps from B to C. female ‘male gender=f Set of fee eee EAS h= wore hat? Let’s try to figure out what special properties a map A + C has if it is equal to gef for some female g& male Obviously that means that by knowing whether a student is female or male you can tell whether the student wore a hat or not. In other words, either all females wore hats today or none did, and either all the males wore hats or none did. The existence of a map g such that h=gef would mean that A (whether a student wore a hat today) is determined by f (the gender of the student). Incidentally, the survey of our class revealed that Jan wore a hat today and Katie did not. This much information alone would force g to be as shown below 0 Session 5 But even this g does not satisfy g>f = h, since Chad is male but he did not wear a hat: (gf )(Chad) = g(f(Chad)) = g(male) = yes h(Chad) = no For a general idea of how a map f must be related to a map h in order that it be Possible to find an explicit ‘proof g that A is determined by f, try the following exercise. (Recall that ‘I’ is any singleton set.) Exercise 1: (a) Show that if there is a map g for which h = gf, then for any pair a,,a) of points 1 —+ 4 of the domain A of f (and of h) we have: if fay = fay then ha, = hay (So, if for some pair of points one has fa; = fay but hay 4 hap, then his not determined by /.) (b) Does the converse hold? That is, if maps (of sets) f' and h satisfy the condi- tions above (‘for any pair ... then ha; = ha’), must there be a map B 2 C with h=gef? 2. A special case: Constant maps Let’s suppose now that B is a one-element set, so f is already known: it takes all elements of A to the only element of B. For which maps h does our determination problem have a solution? According to Exercise 1, such a map fA must send all elements of A to the same element of C. This conclusion can also be reached directly: since B has only one Division of maps: Sections and retractions 1 element, a map g from B to C is the same as a choice of an element in C; and the composite gof will send all elements of A to that element of C. Such a map (which takes only one value) is called a constant map. Definition: 4 map that can be factored through 1 is called a constant map. 3. Choice problems Another division problem for maps consists in looking for the other factor, i.e. looking for f when g and A are given, like this: This is called the choice problem because in order to find a map f such that gf = we must choose for each element a of A an element b of B such that g(b) = h(a). Here is a choice problem. Let C be a set of towns, A the set of people living in those towns, and let A be the map from A to C assigning to each person his or her town of residence. Let's take as the set B the set of all supermarkets and as map g the location of the supermarkets: Supermarkets 4 location ———> People reatens: Towns To get a solution to this problem, each person must choose a supermarket located in his or her town of residence. It should be clear that as long as there are no inhabited towns without supermarkets, the problem has a solution, and usually more than one. As with the determination problem (Exercise 1), there is a criterion for the exis- tence of ‘choice’ maps: Exercise 2: (a) Show that if there is an f with gof = h, then h and g satisfy: For any a in A there is at least one 6 in B for which h(a) = g(b). (b) Does the converse hold? That is, if h and g satisfy the condition above, must there be a map f with h= gof? nR Session 5 4. Two special cases of division: Sections and retractions An important special case of the choice problem arises if the set A is the same as C, and the map A is its identity map. This asks for a map 4 S B which chooses for each element a of A an element b of B for which g(b) = a. This is less than being an inverse for g, since only one of the two conditions demanded of an inverse is required here. Still, this relationship of f to g is of such importance that we have given it a name: Definition: 4 4 B is a section of B-£+ 4 if gof = 14 One of the important applications of a section is that it permits us to give a solution to the choice problem for any map A ~"s C whatsoever. How? It’s a variant of "If you have 1/2 you don’t need division by 2; multiply by 1/2 instead.’ Suppose that we have a choice problem, such as the one of the supermarkets, and let’s suppose that the given B—*+ C has a section s. If we draw all the maps we have, in a single external diagram, we see that there is a way to go from A to B: the composite sh. Let’s check whether Putting f = sh gives a solution; that is, whether gof =A. This is easily checked with the following calculation Bef =ge(sch) (since f = seh) =(ges)eh) (associative law) =Icch (since s is a section of g) (identity law) This calculation is another example of the algebra of composition of maps, but it should look familiar. It was half of the calculation by which we showed that a choice Problem with an invertible divisor g has exactly one solution. So, each section of g gives a solution to any choice problem with g as divisor. However, usually there are other solutions to the choice problem besides those given by the sections of g (and Division of maps: Sections and retractions 2B different sections may give the same solution), so that the number of sections often differs from the number of solutions of the choice problem. FATIMA: How would that apply to the example of the supermarkets? Well, a section for the map g = location of the supermarkets assigns to every town a supermarket in that town. For example, imagine that there is a chain that has one supermarket in each town. Then one solution to the choice problem (the solution which comes from the chain’s section of g) is that everybody chooses to shop in the supermarket of that chain located in his or her own town. You'll notice that those solutions to choice problems which come from sections are pretty boring: in each town, everybody shops in the same supermarket. The same thing will happen for determination problems and retractions. Retractions give solutions of determination problems, as Exercise 6 of Article II shows, but the interesting cases of determination are usually those which do not come from retractions. omer: For the identity map it seems that the order should not matter, or should it? I'm glad you asked, because it is easy to make this mistake, and we should clear it up so that we will have it all neatly organized. Let’s compare a choice problem for the identity map, which we just looked at, with a determination problem for the identity map. It’s clearer if we don’t give the sets and maps any names (since every time you use these ideas the maps involved may have different names) and just draw the schematic external diagrams: Section Retraction choice determination You can see why confusion might arise; the only difference is which map is regarded as given. Let’s review. Say A 2+ Bis a map. (a) A section of fis any map s such that f° = 1p. (6) A retraction of f is any map r such that rof = 14. Comparing the definitions, we see that a section of f is not the same as a retraction of f. The symmetry comes in noticing that a single relationship between two maps can be described in two ways: if gf is an identity map we can either say that g isa retraction of f or that f is a section of g. The relationship among maps of ‘section’ to ‘retraction’ is nearly the same as the relationship among women of ‘aunt’ to ‘niece’. Just be careful not to use these words in isolation. You cannot ask whether a map is 74 Session 5 an inverse, or section, or retraction. It only makes sense to ask that it be an inverse (or section or retraction) of a specified map. Try Exercises 6 and 7 of Article II to see how a retraction gives solutions to determination problems, and how a section gives solutions to choice problems. 5. Stacking or sorting To find all the sections for a given map A B, it is useful to view the map f as ‘stacking’ or ‘sorting’ the elements of A. Here is an example. Let’s suppose that A is the set of all the books in the classroom and B is the set of people in the same classroom. We have a map 4 "2%", B which assigns to each book the person who brought it into the classroom. One way to picture this map is the internal diagram we have been using, Set of books Set of people But another picture can be drawn in which we arrange all the people in a row and stack on top of each one in a column all the books that belong to him or her: : : : A= = . = Books : 5 | = Owner 7s 4 5 Bele ce eG | arene In this picture we can read off easily what f does, and at the same time we clearly see the stack of books that belongs to each student. It might involve a lot of work to arrange the domain and codomain so as to get the ‘stacks picture’ of a particular map, but once it is done, it is a very useful picture and, in principle, every map can be viewed this way. Coming back to the sections, let’s see how the stacks picture of a map can help us to find all the sections of that map. What would be a section of the map f which assigns to every book the person who brought it into the classroom? It would be a map assigning to every person one of his or her books, such as: Division of maps: Sections and retractions 75 ae i \ \ ~ = Books | 7} ) Woops! Chad didn’t bring a book. There is no way of assigning one of Chad’s books to him, so there is no section for f. Thus, this stacks arrangement permits us to see right away that this particular map has no sections. In general, in order that a map f: A — B can have a section it is necessary that for every element of B its corre- sponding stack is not empty. In other words, for every element b of B there should be an element a of A such that f(a) = 6. The stacks picture of a map allows one to find a formula for the number of sections of a map. Suppose that f is the following: eeee . Exercise 3: Draw the internal diagrams of all the sections of f. You should get eight sections, many fewer than the total number of maps from B to A, which according to Alysia’a formula is what? Right, 6” = 36. Any guess as to the number of sections of an arbitrary map? cup: You multiply the number of elements in one stack by the number of elements in the next and so on. That's right. You multiply them because the choice you make in any stack is inde- pendent of the choices you made in the other stacks. 16 Session 5 SHERI: So, if one point has its stack empty what do you do? You count it too. If that stack has zero elements, one of the numbers being multi- plied is zero. And, of course, the result is zero: there are no sections. Now, as we saw, the same equation that says that s is a section for. ‘f means that f is a retraction for s, so that whenever we have a ‘commutative diagram’ (i.e. the two ways of getting from B to B give the same result) f B—+*—»4-__»3 le we are talking about a pair section-retraction. DANILO: If you want to expand that diagram to include the retraction, would you have to put the identity of A? No. The diagram as it stands means both things: that s is a section for f and that f is a retraction for s. The identity of A would be involved only if we had a retraction for Jf. We saw that when both diagrams commute, i.e. if we also have sof = 14 f 4 then s is the only section of f, and it is called the inverse of f. 6. Stacking in a Chinese restaurant Let me explain an interesting example of stacking based on the practice of a Chinese restaurant in New York City that we used to visit after the mathematics seminar. The example illustrates that the use of the category of sets can be more direct than translating everything into the more abstract numbers. In this restaurant the stacking of plates according to shape is consciously used systematically in order to determine the total bill for each given table of customers without having to make any written bill at all. In any restaurant there is the basic map Kinds of price Amounts of | fang | erate | money which may assign five dollars to ‘moo shu pork’, a dollar to ‘steamed tice’, ete. Each particular group of customers at a particular table on a particular occasion gives rise (by ordering and consuming) to another map Division of maps: Sections and retractions 11 Items consumed Kind Kinds of —_—_—— at the table items which is neither injective nor surjective because more than one item of the same kind may have been consumed and also some possible kinds were not actually ordered at all. The prices of the items consumed at the table on that occasion are given by the composed map f = price » kind: Items consumed at the table kind Z Kinds of |\__ Price Amounts of items | money The total bill for the table is obtained as the sum (>) of products price(k) - (size of the stack of kind over k) % where & ranges over all kinds of items. But knowing f, the total bill for the table can also be obtained using f alone, as the sum of products Y=: Gize of the stack of f over x) where x ranges over amounts of money. In most restaurants the specification of f is recorded in writing on a slip of paper, and the arithmetic is done by the waiter and checked by the cashier. In this particular Chinese restaurant, the problem of achieving rapid operation, even though cooks, customers, servers, and cashier may all speak different lan- guages, is neatly solved without any writing of words and numbers (and without any slips of paper at all); the map / is instead recorded in a direct physical way by stacking plates. In fact f is calculated via another map f, constructed as the composite of two maps price and Kind. The key to the plan is to have several different shapes of plates: small round bowls, large round bowls, square plates, round plates, triangular plates, elliptical plates, etc. (so that it is hard to stack one plate on top of a plate of different shape), and the cooks in the kitchen always put a given kind of food onto plates of a definite shape. Thus a map Kinds of shape Shapes of items =| plates 78 Session 5 is set up, but not arbitrarily: it is done in such a way that the price of an item is determined by the shape of the plate on which it is served. That is, there is a map price for which price = price » shape: Kinds of shape Shapes of items plates | price price } v Amounts of | money The cashier knows the map price, but doesn’t need to know the maps shape or price. The servers take big trays of many different dishes from the cooks and circulate through the restaurant, the diners at the tables selecting all the dishes that appeal to them without anyone's writing down any record. Empty plates are stacked at the table according to shape after use. Thus when the diners at a table have finished with their dinner, there remain the empty plates stacked according to shape, as shown in the picture. This defines a map whose external diagram is Empty plates left on table kind Shapes of plates This map, resulting from the particular choices made by the customers at the parti- cular table, can be composed with the map price resulting from the general organiza- tion of the restaurant, to yield a map f (with its own abstract ‘stack’ structure) Division of maps: Sections and retractions 79 Empty plates left on table find 2 Shapes of Price Amounts of | plates 1 money A glance at the table is sufficient for the cashier quickly to calculate the total bill as the sum of products DY price(s) - (size of the stack of kind over s) (where s ranges over all shapes of plates). The total can also be calculated using only the map f since the total bill is also given by Soprice(s) - (size of the stack of Kind over s) Y x: (size of the stack of f over x) where x ranges over possible amounts of money. To prove that the last formula in terms of f gives the same result as the earlier, more commonly used formula in terms of f, we need only see that for each amount x, the ‘stack’ sizes of f and f are the same. But that follows from the more basic fact that f and f are themselves ‘isomorphic’ as we will explain from the following diagram showing all our maps. Items consumed dining Empty plates at the table |= | leftontable ina PARTICULAR |m= Kinds of shape Shapes of items =| plates GENERAL price price Amounts of money Here we have explicitly introduced the map dining, which transforms each item consumed at the table into an empty plate, Then clearly shape ° kind = kind « dining 80 Session 5 in the ‘particular’ square and price = price » shape in the ‘general’ triangle. The map shape which occurs in both these equations is the restaurant’s key contact between the general and the particular. It is also pivotal in the proof, by associativity and by the definition of f and f, that Sf =f dining But for every empty plate on the table there was exactly one item consumed, so the map dining has an inverse. We can say that the two maps f and f (with codomain amounts of money) are isomorphic, which implies that their stack-sizes over each x are the same. While the detailed explanation of these relationships may take a little time to master, in practice the servers can work with a speed that is amazing to see, and the diners are well satisfied too. Moreover, the cashier can perform the f-summation at least as fast as cashiers in other restaurants perform the f-summation, the French expression ‘addition s'il vous plait’ taking on a surprising Chinese twist. ‘We can sce that though abstract sets and maps have more information than the more abstract numbers, it is often more efficient to use them directly. SESSION 6 Two general aspects or uses of maps 1. Sorting of the domain by a property The abstract sets we are talking about are only little more than numbers, but this little difference is enough to allow them to carry rich structures that numbers cannot carry. In the example of the Chinese restaurant that we discussed in Session 5, I used the word ‘stacking.’ Now I would like to introduce some other words which are often used for the same idea. For a general map X + B we can say that g gives rise to a sorting of X into B ‘sorts’, or that the map g is a sorting of X by B. (Note that we are speaking of ‘B’ as if it were a number.) Once g is given, every element b of B determines which elements of X are of the sort 6, namely those elements mapped by g to b. For example, suppose that B has three elements. Then, without changing the map g, we can arrange the elements of X into the three different sorts so that the picture of g may look like: (For other maps g some of the bunches may be empty.) Here we have put in the same bunch all elements of X that go to the same element (sort) in B. This way of viewing a map can also be described by saying that the map is a B- valued property on X. This means the same as saying that g is a stacking of the elements of XY into B stacks. The number of stacks is always equal to the number of elements of B, while it is the elements of X that get stacked. An example is the obvious map from the set of presidents of the United States to the set of political parties that have existed in this country. This map assigns to each president the party to which he belonged. In this way the presidents get sorted by the parties in the sense that to each political party there corresponds a sort of presidents, namely the pre- sidents that belonged to that party. Some of the sorts are empty since there are some parties which never had a president. 81 82 Session 6 Another word that is used to describe this point of view about a map is fibering, by the agricultural analogy in which a bunch is imagined in the shape of a line or fiber. We say that X is divided into B fibers. If one fiber is empty, the map has no sections. Furthermore, for maps between finite sets the converse is also true: if no sort is empty, then the map has a section. For such maps one also uses the word partition- ing. So, the terms ‘stacking,’ ‘sorting,’ and ‘fibering’ are here regarded as synonymous, while ‘partitioning’ has a more restricted meaning. All of these terms emphasize that a given map X — B produces a ‘structure’ in the domain X, and when we want to emphasize this effect we may refer to the map itself as a B-valued ‘property.’ An example is hair color. This is a map from the set of people to the set of colors, assigning to each person the hair color of that person. People are sorted by the property of hair color. Example: Sorts can themselves be sorted. Let XY be the set of all creatures and B the set of species, Then ¥ —+ B assigns to each creature the species to which it belongs. We can go further: species are sorted in genera by a map B + C which assigns to each species its genus; and by composing the two maps we obtain a coarser sorting h=gos of X. X= All creatures : (s sorts the creatures; it assigns to each creature its species) ‘B= Species gsah . (sorting the (but species are in turn sorted ‘creatures into by g into genera) genera) ‘C= Genera 2. Naming or sampling of the codomain All the words that we have discussed so far express one view of maps. But there is a second point of view that one can take about a map. Given a map A + X, we can say that f is a family of A elements of X. For example, suppose that A has three elements. Then a map Two general aspects or uses of maps 83 is a family of three elements of X. (Some of the three elements may coincide in other examples.) Again we are using A as if it were a number. Another word for this point of view (coming from geometry) is ‘figure’: a map from A to X is an A-shaped figure in X. We can also say ‘A-element,’ meaning the same as ‘figure of shape 4.” An ancient principle of mathematics holds that a figure is the locus of a varying element. An A-parameterized family 4 —+ X is a varying element, in that (a) if we evaluate it at various 1 —> A, we will vary it through various points of X, but also in that (b) we can replace the special 1 by D, thus deriving from the given map A — ¥ a family of D-clements of X, one for each D — A. For example, we can take D = A, and the identity D — A, thus revealing that (c) the varying element, as a single thing, is a single figure or element itself. We can also say that a map A — X is a naming of elements of X by A, or a listing of elements of X by A. Let me give you an example of this. Suppose that we ask each student to point out a country on a globe. Then we get a map from the set of students to the set of countries, and in an accompanying discussion we might speak of ‘Sheri’s country,’ “Danilo’s country,’ etc. Not all the countries are necessarily named, and some country may be named more than once. The word ‘listing’ usually has the connotation of ‘order’; this is not how it is meant in our discussion. Another couple of words for this point of view about maps are ‘exemplifying’ (in the sense of ‘sampling’) and ‘parameterizing’: we say that to give f: A—+ X is to parameterize part of X by moving along A following /. The above example of using students as ‘names’ for countries emphasizes that naming or listing is often done just for convenience and may have no permanent or inherent significance, in that we didn’t ask ‘why’ each student chose the country he or she did. In other examples the naming may have more permanent meaning. For example, let 4 be the set of all fraction symbols, which are just pairs of whole numbers 3/5, 2/7, 13/4, 2/6, 1/3, ..., and let B be the set of all possible lengths. We can use the fraction symbols to name lengths with help of a chosen unit such as ‘meter,’ as follows. The map A — B assigns to the fraction 3/4 the length obtained by dividing the meter into 4 equal parts, then laying off 3 of these, whereas (3/5) is the length obtained by dividing the meter instead into 5 parts and laying off 3 of those, etc. Many names name the same length since f(2/4) = f(3/6), but 2/4 and 3/6 are different names. Most lengths, such as V2 meters, are not named at all by /. The terms ‘naming,’ ‘listing,’ ‘sampling,’ ‘parameterizing’ emphasize that a map A—>+X produces a ‘structure’ in the codomain X, and when we want to emphasize this effect we may refer to the map itself as an A-shaped figure (or as an A-para- meterized family) in the codomain. The point of view about maps indicated by the terms ‘naming,’ ‘listing, ‘exemplifying,’ and ‘parameterizing’ is to be considered as ‘opposite’ to the point of view indicated by the words ‘sorting,’ ‘stacking,’ fibering,’ and ‘partitioning’. The sense in which this ‘opposition’ is meant can be explained philosophically in the following way. 84 Session 6 3. Philosophical explanation of the two aspects One explanation for these two aspects of a map comes from philosophy. Reality consists of fish, rivers, houses, factories, fields, clouds, stars, ie. things in their motion and development. There is a special part of reality: for example, words, discussions, notebooks, language, brains, computers, books, TV, which are in their motion and interaction a part of reality, and yet have a special relationship with reality, namely, to reflect it. REALITY Thinking ‘Thinking is going out and looking, manipulating, perceiving, considering, .... The result of this reflective process is knowledge, and the totality of accumulated knowledge with its inner relationships is science (a purpose of which is to plan further manipulation of reality). Science is actually a complex of interrelated sciences focussing on different aspects of reality. One of the particular sciences is philosophy, reflecting (as general knowledge) this particular relationship within reality, the relationship between thinking and reality. Thus within the complex of all scientific thinking there is the particular relation between objective and subjective: Thinking Subjective In the objective we strive to have as clear an image as possible of reality, as it is and moves in itself, independent of our particular thoughts; in the subjective we strive to Two general aspects or uses of maps 85 know as clearly as possible the laws of thinking (as defined above) in itself, arriving at laws of grammar, of pure logic, of algebra, etc. One further reflection within mathematical thinking of this relation between objec- tive and subjective arises when within some given objective category (such as the category of sets) we choose some of the objects A, B (say, the sets with fewer than four elements) to use as subjective instruments for investigating the more general objects, such as the set of all creatures, all countries, etc. Then a chosen object 4 may be used as domain for listing elements of X, and also a chosen B can be used as codomain for properties of X. The composites of such listings and sortings become map-expressed structures in and among the chosen objects A, B, ... themselves, and these structures record as knowledge the results of investigating X. OBJECTIVE CATEGORY x Category A of small objects With this division of the category into ‘small’ objects among all objects, the two ways of considering a given map become no longer merely two ‘attitudes’, but a real difference: maps whose domain is small (listing) versus maps whose codomain is small (properties). Of course, if X itself happens to be small, we still have two aspects: a property of indices is the same as a list of values iv for example, the map pred 2 t= blond [fr black may be a record of composing two maps through some set X of actual people, whereby we sample J people among X, then observe their hair color; from this map alone (i.e. without further investigation, recorded by like maps) we can’t tell — and it might be crucial in a criminal investigation — whether the first and third persons were the same or merely had the same hair color. The resulting ‘listing h of values’ has a repetition, or (equivalently) the ‘property A of indices’ has a sort with more than one element. SESSION 7 Isomorphisms and coordinates 1. One use of isomorphisms: Coordinate systems The idea of ‘subjective contained in the objective,’ or ‘familiar contained in the general,’ discussed in the last session, is especially simple if the ‘naming’ map is an isomorphism, That is, to have an isomorphism from a ‘known’ object A to an object X allows us to know X as well. To fit with the applications, let’s give the isomorph- ism and its inverse these names: plot A=—— VX ‘coordinate coordinate plot = 1, and plot > coordinate = 1y Here is an example. Imagine a geometrical line L, extending forever in both directions. It is often useful to choose an isomorphism from the set R of real numbers to the line L. The usual way to do this begins by choosing a point p on L, called an ‘origin’, and to decide that plot (0) = p. Choose also a ‘measuring stick’, or unit of distance (foot, meter, light-year, etc.), and choose a direction on L to call the ‘positive’ direction. Having made these three choices, we get a map Raa L in a way that is probably familiar to you. For instance, if our choices are as listed below, then plot (3.5) is the point g and plot (—4.3) is the point r. —— chosen unit of distance — + chosen positive direction P (below) chosen origin - ° ° ° r=plot(-43) x p= plot (0) q= plot (3.5) The remarkable utility of the map R 2 L comes from its invertibility; there is an inverse (and hence exactly one inverse) for plot: RL ‘coordinate assigning to each point a number. (What, approximately, is coordinate(x) for the point x in the picture?) 86 Isomorphisms and coordinates 87 We regard R %% 1 as ‘naming’ the points on the line, and so the inverse map coordinate assigns to each point its numerical name. Of course the decision as to which objects have been incorporated into our ‘subjective’ realm is not eternally fixed. Euclid would have found it more natural to treat the geometric line L as known, and to use points as names for numbers. ‘There are other well-established isomorphisms with Ras domain. When we say that Columbus sailed to America in 1492, we depend on having fixed an isomorph- ism from R to the ‘time-line.’ (What are the choice of origin, positive direction, and unit of ‘distance’ involved in specifying this isomorphism? Which of them would seem natural to an inhabitant of another planet?) If you have read popular accounts of relativity theory, you may doubt how well established even the time-line is, let alone an isomorphism from it to . Nevertheless, such an isomorphism has proved extremely useful; racing-car drivers, historians, and geologists are equally unwilling to part with it. Modern scientific theories of time still take our description as an excellent first approximation to a more refined theory. Back to geometry. The cartesian (after René Descartes) idea of using an isomorph- ism from R”, the pairs (x,y) of real numbers, to a geometric plane P was sketched in Article II. (What choices need to be made in order to specify such an isomorphism?) ‘coordinate If you type ‘plot(2, 1.5)’ into a computer programmed for graphing, a dot will appear on the screen. The computer actually displays the output of the map plot at the input (2, 1.5). But before all this, you have to tell the computer which particular isomorph- ism plot, from pairs of numbers to the plane of the screen, you wish it to use. You must input your choices of origin, unit of distance, and even directions of axes, if you don’t wish them to be horizontal and vertical. In this example, two additional maps, which can be called first and second, are relevant: woe Re "4, first(x,y) =x second(x,y) = y For instance, first (3.12, 4.7) = 3.12. Now if q is a point in the plane, we can compose these three maps 1 Aa p coordinate py Sst py to get a number, first coordinate © q, called, naturally enough, ‘the first coordinate of g. Here is an example which doesn’t involve R. Tennis tournaments are usually arranged so that a loss of one match will eliminate the loser. For simplicity, let’s take an eight-player tournament. ‘Brackets’ are set up as in the diagram below. The names of the eight players are to be listed in the left column. In the first round each ‘bracketed pair’ will play a match and the winner’s name will be entered in the 88 Session 7 adjacent space in the second column, and then the whole process is repeated with the remaining four players, etc. Before the tournament can begin, though, there is the job of ‘seeding’ the players, i.e. choosing an isomorphism of finite sets (and thereby also its inverse): rank {1,2,3,...,8} == P = set of players seed For example, rank 1 may be Pete Sampras, so that the ‘seed’ of Sampras is the number 1. Then, no matter who the players are, they are bracketed according to the following scheme: rank | rank 8 rank 4 rank 5 rank 2 rank 7 rank 3 rank 6 Every effort is made to seed fairly, so that the best player as judged by past perfor- mance is seeded number one, the next best number two, and so on. (You'll notice a ‘particular versus general’ aspect to this example. The assignment of numbers to positions in the chart above is general, applying to every eight-player tournament, while the isomorphism seed is particular to the past performances of the eight players who are involved in this one tournament.) Incidentally, can you figure out any rational explanation for the curious bracketing above? What would be a suitable bracketing by rank for four players, or for sixteen players? The rest of our discussion applies to all examples. Once a coordinate system, a pair plot AX coordinate of maps inverse to each other, is established, we tend to pass freely back and forth between A and X as if they were the same object. In the plane example, we speak of ‘the point (2, 3.7),’ meaning ‘the point plot (2, 3.7).’ In the tennis tournament, we say, ‘There has been an upset; number eight beat number one.’ A practice so common, which seldom seems to cause confusion (but see ‘Abuses’ below), must have its explanation, and indeed it does. Once we have fixed an isomorphism A — X, it is harmless to treat A and X as the same object, precisely because we have the maps and f~! to ‘translate.’ For example, if we want to specify a map X + Y we can instead specify a map A -% Y, and everyone who is aware of the chosen isomorph- ism will understand that we mean the composite map X —> A —» Y. But why do we cause everyone the trouble of making this translation? We shouldn’t, unless A is a Isomorphisms and coordinates 89 better-known’ object than X, ie. an object incorporated into our ‘subjective’ cate- gory inside the large ‘objective’ category. Or, as in the tennis example, it may be that the object A is more familiar to our audience than X. Someone who understands tournaments in general, but hasn’t followed tennis in recent years, might fail to be surprised if Becker beat Sampras, but still could understand that a defeat of number one by number eight is cause for comment. Notice, though, that this is only because the isomorphism rank from numbers to players was not arbitrary. In a friendly tournament at school, numbers might be assigned to players at random; then a defeat of number one by number eight would not be surprising. Our professional tournament seeding was not just an isomorphism of sets, but an isomorphism in the category of ‘ordered sets’, sets whose elements are arranged in an order which maps in the category are required to ‘respect’. The study of various types of ‘structure’ and the categories to which they give rise will be a recurring theme in the rest of the book, and you will see how ‘respecting structure’ is made precise. 2. Two abuses of isomorphisms Since a principal use of isomorphisms is to give coordinate systems, you would expect the main abuses of isomorphisms to stem from this use, and they do. There are two fundamental errors to avoid. Most often they occur when the ‘familiar’ object 4 is some set of numbers (or related to numbers, like R? in our ‘plane’ example). Watch carefully for these abuses when you suspect that mathematics is being misapplied. The first abuse is to assume that an isomorphism of sets A — X means that some additional structure that A has, for instance by virtue of being a set of numbers, will be meaningful in X. An example was given above: it is neither an honor nor an advantage to be ranked number one in a tournament if the rankings were drawn from a hat. Similarly, identifying points on a line with numbers doesn’t make adding two points to get a third point a reasonable operation. The second abuse is subtler, involving one familiar object A and two objects ¥ and Y coordinatized by A. I'll just give you one example, to which actual students have been subjected. (I hope not you!) The physicist Richard Feynman was pleased to see that his child’s elementary-school textbook gave meaning to large numbers by listing the distances from the planets to the sun, the masses of the planets, and various other astronomical data. But then, to his dismay, followed exercises of this type: add the distance from Venus to the sun, the mass of Mars, and the .... Well, you see the point. It only appeared to make sense to add a distance to a mass because the objects ‘distances’ and ‘masses’ had each separately been identified with the object ‘numbers,’ by choosing a unit of measurement for each. While these simple examples may appear ludicrous, errors of exactly these two types have often been made by people who should know better. Soon, when you 90 Session 7 have become familiar with some ‘types of structure,’ you should be in little danger of commiting these abuses. For now, the best advice I can give you is this. To decide what calculations to do, think in the large ‘objective’ category. As we'll see, a surprising variety of calculations can actually be carried out in objective categories, But if it is necessary, after determining the calculations to be done, you can choose coordinate systems and calculate in the smaller ‘subjective’ category, and then translate the results back into the objective category. It will not occur to you to add two tennis players to get a third player; you could only make this mistake after identifying (objective) players with (subjective) numbers. SESSION 8 Pictures of a map making its features evident Let’s start by doing Exercise 5 from Article I. Given the map g from the set A to the set B pictured below, how many maps f are there with gof = 110.1) (the identity map on {0,1})? Obviously such an f must go from B to A, so that schematically we may picture the maps f and g as A map f with this property is called a section of g, so that another way to phrase the problem is: How many sections does the map g have? Did anybody find any? KATIE: Yes, I found two. Tell me one of them. KATIE: The one that sends 0 to g and 1 to r. Alll right, so you have f(0) = g and f(1) =r. To see whether this map is really a section for g, we have to check the equation g°f = 10,1. Now we have two maps gef and 1, and we want to know whether they are equal. When are two maps equal? FATIMA: They must have the same domain and the same codomain. So, you are saying: 1. the domain of gof must be the same as the domain of 19, and 2. the codomain of g>f must be the same as the codomain of 10,1). Is that all? No. Let’s review our test for equality of maps of sets. A map of sets f: X — ¥ is specified by a rule which to each element of X (the domain of ') assigns exactly one element of ¥ (the codomain of f ). The question is: If we have two rules, 91 92 Session 8 when do we say that they specify the same map? Let’s call these two rules h and k. In order to verify that h = k you have to check that for each particular input you get the same output with both rules. In summary: to say h = k means three things: 1. the domain of / is the same as the domain of k, 2. the codomain of A equals the codomain of k, and most importanily, 3. for each x in the domain of h and k, we must have h(x) = k(x). In the third condition, the number of things one has to check is equal to the number of elements of the domain, because the condition has to be checked for each element of the domain. So, let’s see: goes from B to A, and g goes from A to B, so gf goes from B to B, and 1(9,1 also goes from B = {0,1} to B. So we do have 1. the domain of g°f is B = {0,1}, which equals the domain of 10,1), and 2. the codomain of gof is B= {0,1}, the same as the codomain of 10,. All this writing is really not necessary, though. You can see directly from the dia- gram with the arrows f and g going back and forth between 4 and B that (1) and (2) are true. When you get used to this, conditions (1) and (2) aren’t much of a fuss because you won't even ask if two maps are equal if they don’t have the same domain and codomain. It is like asking whether two travellers followed the same route; you wouldn't ask the question if one of them travelled from Berlin to Paris and the other from New York to Boston. So the essential thing in order to check that gf = 1(0, is condition (3). We have to check that gf acting on any element of its domain (the set {0,1}) gives the same a 1191). In other words, since the identity 149.1, sends 0 to 0 and I to 1, what we have to check is (gef)(0)40 and (gef)(1)21. Now, what does gef mean? OMER: First calculate f and then stick g to that. Right. So first calculate /(0), i.e. ... g, and g(q) = 0, so it checks: (gf )(0) = 0. And for (gof)(1), first f(1), ie. r, and then g(r) = 1. So we really have: 3. (gef)(0)=0 and (gef)(1)=1 and we are done. The map that Katie gave us was truly a section for g. But if you found that one, you must be able to find others. Let’s see how all this can be seen directly in the pictures. We need a map f : B—> A. Conditions (1) and (2) are automatically satisfied. Now we have to guarantee (gof)(0)=0 and (gof )(1) = 1. The first means g(f(0)) = 0. But the only things that g sends to 0 are b, p, and q, so f(0) has to be one of these three. Similarly, the only things that g sends to 1 are r or s, so in order that g(f(1)) = 1, it must be that f(1) is equal to either r or s. So to find a section boils down to finding a map f : B— A such that 4(0) is either 4, p or g, and f(1) is r or s. So how many are there? Pictures of a map 93 KATIE: Six, because if 0 goes to 6, 1 can either go torors, ... Right. And if 0 goes to p we get two more possibilities, and two more if 0 goes to q. The pictures of all these possibilities are: S| | —1 M. ott Even better would be to arrange all the possibilities systematically, something like this: nor] Tf f(l)=s \ a o ° ° (Add the rest of the arrows yourself.) Someone asked why these maps are called sections. The word ‘section’ here is actually short for ‘cross section.’ Imagine holding a cucumber vertically over the table. Consider the map that projects each point in the cucumber perpendicularly down on its shadow on the table. If you take a knife and slice through the cucumber as in the picture on the right, you have a section of that map! In general, a section of that projection map may have any funny shape, not just a straight cut. 94 Session 8 — There is a similar picture for the section f that Katie gave for our map g where we have put directly above 0 only the elements that are mapped by g to 0, and above | the elements that are mapped by g to |. In both cases the ‘cross section’ is a copy of the smaller set at the bottom (the codomain of g) inside the set on top. You should now be able to answer any question of this type. Let’s see if you can. Consider the map a 0 . eeoe How many sections does it have? KATIE: Twelve. Right. Three choices for one point and four for the other .... What about Pictures of a map 95 where again the map g assigns to every point in the set on top that point in the bottom set that lies directly below? How many sections does g have? Right, 24 =3x2-x 4, That’s the formula Chad gave us earlier. A section can also be called a choice of representatives. In fact, a very good example is the section of the population of the United States constituted by the congressional representatives. We have a map from the set of people in the United States to the set of all congressional districts because every person lives in some congressional district Set of all district where one lives Set of all people congressional in the USA districts By law, a choice of congressional representatives must be done in such a way that every congressman lives in the district he represents. This is precisely to say that a choice of representatives must be a section of the map above. We should do one more example to remind ourselves of something we noticed earlier. Suppose we have the map How many sections are there? Zero. Chad’s formula also gives the correct answer: 3x4x0x2=0. Our next problem is to find the number of retractions for a given map. For example we can start with the map 96 Session 8 and ask how many maps 4 : A —+ Bare retractions for f. Retraction means that he f is the identity on .... Well, you figure it out. First you apply /, which goes from B to A, then apply h, which goes from A back to B. Therefore hf goes from B to B, and it must be equal to the identity on B = {0,1}. Thus we must have h ef = 19,1). So the map A must satisfy the conditions (hef)O)=0 — (hef (1)=1 which are the same as WFO) =9 — A(F(1)) =1 Just two conditions. Since we know f(0) and f(1) because they are given to us (they are respectively q and r), the two conditions are really H(q)=0 Air) Other than that, A can send each of }, p, s to either 0 or 1. DANILO: So, for the rest h is just like any map from {b,p,s} to {0, 1}. That’s right. This idea can even be used to find a formula for the number of retrac- tions when there are any at all. In this case, it shows that our map f has eight retractions, since 2° = 8. OMER: Why is it that some maps have a section and no retraction, and other maps have a retraction and no section? The first thing one has to realize is that to say that a map A —> B has a section means that there is a map coming back: Ac B, such that res = 1s. According to our discussion earlier, this implies that B is at most as big as A. Remember that in our problems of finding sections, the big set was always on top and it was the codomain of the section. This allows us to tell whether a set is smaller than another without using numbers. If there are maps A == B such that res = 1g, then B is smaller than (or at most as big as) 4. . In fact, even before numbers were invented people knew how to tell which of two sets was smaller: you just have to pair off the elements of one set with those of the other and see which set has elements left over. This is practical too. Imagine that you are setting up the chairs for people to sit at a chamber music concert. What is the simplest way to know whether you have enough chairs? You won't start counting all Pictures of a map 97 the people and then counting all the chairs. You just ask everybody to sit down. If anybody remains standing you need more chairs. This is something worth remem- bering; the primitive notion is ISOMORPHISM; the fancy abstract notion is NUMBER. Now let’s try Exercise 8 from Article II. Prove that the composite of two maps that have sections has a section. So, suppose that we have two maps that we can compose. Let’s call them k and p k PB A———> B ——C pok and they are supposed each to have a section. A section for p goes from C to B (let’s call it s) and a section for k goes from B to A (let’s call it s’), Putting all this in our diagram, we have: Now, what does it mean to say that s is a section of p? OMER: Is it that s following p is the identity on B? No, that would mean that s is a retraction of p. Remember that the domain of the section is the ‘smaller’ set and that the condition always involves the identity on the smaller set. So, the condition for s to be a section of p is that p following s is the identity on C, or pes = 1c. And what is the condition for s’ to be a section for k? ALYSIA: k following s’ is the identity on B. Right. So, what we have so far is posse and kes'= Ip What we want is a section for pe k, a map from C to A ok AP oc ~ such that (pok)oS = fc. Is there any guess as to what S could be? omer: Compose sand s’. That's about the simplest thing we can try. There are other ways to go from C to 4, but let’s try the simplest first. So we'll try to prove that s' = is a section for p°k. In other words, we are faced with the question 98 Session 8 (pek)o(s'os) = Ic? Any suggestions? OmER: We can compose k with s’ and substitute it with the identity on B. Right. (pek)o(s'es) =pe(kes')os=polpos And now what? CHAD: Igos is equal to s. Very good, so we can put p> 1g°5= p> (tps) = pos, and now we are ready to use the condition that s is a section for p, which is that pos is the identity on C, Therefore indeed the map S = 5's is a section for pok. Notice how similar to multiplication of numbers our calculation is. The main difference is that multiplication of numbers is commutative. Now you should try to work out the remaining exercises. SESSION 9 Retracts and idempotents 1, Retracts and comparisons We have seen that a reasonable notion of ‘same size’ is given by isomorphism: A = B (read ‘A is isomorphic to B’) means that there is at least one invertible map (isomorphism) from A to B. For finite sets, A & B tells us precisely that A and B have the same number of points, or maps from a singleton set 1. (In other categories, we'll see that it tells us much more.) What is a good way to express that A is ‘at most as big as’ B? There are several answers, and we'll discuss two of them. The first is: Definition: A < B means that there is at least one map from A to B. This has two reasonable properties that a notion of ‘smaller than’ (really ‘at most as big as’) ought to have: (R, for ‘reflexive’); A B —> A with rs = 14. (We write this as A

B is an idempotent map, a splitting of e consists of an object A together with two maps A= B with rs = 1, and sr =e. It will turn out that in many categories, a device very similar to the one we used in sets will give a splitting for any idempotent endomap. In any case, there cannot be two essentially different splittings for e, as the following exercise shows. Exercise 3: : (In any category) Suppose that both ASB and A'=+~>B split the same idempotent B “+ B. Use these maps to construct an isomdrphism A 4’. One can show that this isomorphism f is the only one ‘compatible’ with the maps we started from, and one can even study how to reconstruct maps between retracts from maps between the large objects B; but this should be enough to give you the crucial idea: all the essential information about A, r, and s is really contained in B and e. Here is an example from arithmetic. Let B be the set of all ‘fraction symbols’ nid with 1 and d whole numbers and d # 0. Different fraction symbols, like 8/6 and 4/3 may represent the same rational number. In school you were taught a ‘reduction process’ B + B: cancel the greatest common factor in the numerator and denomi- nator, and then if the denominator is negative change the signs of both numerator and denominator. For example, e(6/—4) =—3/2. This map e is idempotent, because reducing a reduced fraction doesn’t change it. A rational number can now be described either as a reduced fraction (fixed point of e) or as the cluster of all fractions which reduce to that reduced fraction. In this example there is even a way to test whether two fraction symbols are in the same cluster without reducing them: e(n/d) = e(m/c) exactly when nc = md. This is convenient, because it is easier to multiply large numbers than to find their greatest common factor. Curiously, it is casier to find the greatest common factor of two numbers, by a process called the ‘Euclidean algorithm’, than it is to factor either of them into its prime factors! Recent unbreakable(?) codes depend on the apparent difficulty of factoring large numbers. 3. A puzzle If we think of B as a known set, incorporated into our ‘subjective’ category, what we have achieved is that the less-known set A has been captured by a description in our subjective category, namely by B and its idempotent endomap e. This seems puz- Retracts and idempotents 103 zling. Why would we want to describe the smaller set A in terms of the larger set B? Normally we wouldn’t, and it isn’t too often done in the category of finite abstract sets (but see the examples in the section below.) One exception occurs in program- ming computers, where the sort of set that is most easily managed consists of all strings of zeroes and ones of a particular length, say n. There are 2” of these, and you can see that it might be useful to represent any set A in which you are interested as a retract of a set B of n-strings, provided you can then record nicely the idempotent endomap of B. The study of how to do that gets one into ‘Boolean algebra,’ which is a basic topic in computer science. Still, the main use of ‘describing the smaller in terms of the larger’ occurs in other categories. It often happens that even though B is bigger, it is ‘structurally simpler’ than A. 4. Three kinds of retract problems Let’s return to the two general aspects of maps. We have seen that if a map B > A is given and we seek sections for it, a good way to picture the situation is to regard r as a ‘sorting of B into A sorts’: This enables us to picture a section s of r as choosing for each sort an ‘example’ of that sort. This might be called the ‘museum director’s problem’. Suppose you need to assemble an exhibit of mammals, with one mammal of each species. Then you start with the sorting map r from the set B of mammals B= mammals A= species of mammals Your job is to choose a section s of r; that involves selecting one exemplary specimen for each species. ‘The opposite, or dual, problem is the ‘bird-watcher’s problem.’ The bird-watcher starts with a manual giving an example of each species, a ‘sampling’ or ‘exemplifying’ map s: 104 Session 9 B= birds observed ir? Y A= species of birds His job is to assign to each bird he sees (real or pictured) a species, and his manual at least gives him sufficient direction to ensure that rs = ie To the young is given the most difficult problem. The small child sees a variety of animals, and with whatever assistance can be gathered from picture-books and parents, tries to select an idempotent endomap e: B= Animals The map e should assign to each animal the most familiar animal it closely resem- bles. Having selected e, the child is asked (again with some assistance) to split this idempotent: to form the abstract idea of ‘sorts of animals’ (e.g. cat, dog, cow) and to master the maps: B= Animals rs=1, A= Sorts of animals The map s assigns to each ‘sort’ of animal, say ‘cow’, the most familiar example, say Bossie; r assigns to each particular animal, say ‘the big scary barking thing next door’, its sort. These three kinds of problems were described in a way that made it seem that one solution could be preferable to another. In the rarified world of abstract sets, this would not be so; the sets in our examples have additional structure. Perhaps some abstract pictures may not be out of order, to illustrate that all three problems are solved by giving the large set B additional ‘structure’. Museum director’s problem: Given B —+ A, choose A —» B satisfying rs = 14. Mental picture: View r as sorting B into A sorts: Retracts and idempotents 105 Then choose a ‘cross-section’: Bird-watcher’s problem: Given 4A —+B, choose B—» A satisfying rs= 14. Mental picture: View s as a sampling of B by A: Then choose for each unidentified bird the most similar bird which is identified in the manual s: This constructs the idempotent e, clustering the birds around the sample birds, but then r is easy to find. While we're here, we should see whether we can calculate the number of solutions to the bird-watcher’s problem. Suppose there were a thousand birds and only three species, so the sampling map would look like this: How many retractions are there for this map? 106 Session 9 DANILO: The three birds that are sampled have to go back where they came from, but for the rest it is just any map to the three-element set of species; so there are 3-3) or 3%7 retractions for s. Good. You can see that Danilo's method finds the number of retractions for any map of sets that has any, ie. any map s that ‘preserves distinctness’: if x # y then sx # sy. Child’s problem: Given B, choose a map B— B satisfying ce =e. Having watched children for years, I remain as puzzled as ever about the selection of the idempotent endomap e associating to each animal the most familiar animal it resembles. After that’s done, though, the rest of the job (splitting the idempotent) is easy: The ‘sorts’ are all there in the mental picture, and all that is needed is to learn the names ‘cow,’ ‘cat,’ and ‘dog’ for these sorts. As a picture of the actual learning Process, this description is surely oversimplified, because the selection of the idem- potent map and the learning of the sort-names go on concurrently, 5. Comparing infinite sets There is one glaring omission from our account of ‘same size’ (isomorphism) and ‘at most as big as’ (retract). From our experience with finite sets, we would expect that if both 4

2". If C == D satisfy poqep = p, use the given maps p and q to devise a map q’ satisfying both: Peq'ep=p and qcpeq'=q' (and explain how you know that your q’ has these properties.) 1*. Same question as Problem | at top of page, except that both sets A and B are required to be infinite sets. 108 How to solve the quiz problems I have written down the thoughts that might reasonably go through your mind in trying to solve the problems, to show how you might arrive at a solution; and then how a solution might look. You will notice that the thought-process looks long, if you write it all down, and by comparison, a solution, after you finally find it, seems brief. Exactly how you use all this to help you learn how to solve problems is, of course, up to you. I suggest reading just a little at a time of the description of the possible thought process, and then returning to the problem to see if you are able to finish it without reading the rest. Afterwards, you can compare the way you arrived at a solution with the way this imaginary student did, and perhaps learn some new strategies to add to your techniques for thinking about problems. Problem 1 Let’s see ... I'm asked to pick an awful lot of stuff out of the air here. I have to pick the sets A and B, and the map f. My problem is that I know a lot of examples of sets, and I know a lot of examples of maps from one set to another — which should T choose? First, I had better decide how big I need to make these sets — the smaller I can make them, the better! What do I want? A + B is supposed to be chosen so there is a retraction for f — let me give that retraction for f a name — maybe ‘r’ would be a good letter, to remind me that it is supposed to be a retraction for f. Let me add r to the picture A 2+ B. Which way must r go? That's easy ~ any retraction or section for f goes backwards from f. So my ‘external diagram’ is going to look like this: [ase But of course I have to remember the definition of the phrase ‘r is a retraction for f.’ I memorized the definitions: ‘r is a retraction for f” means rf = 14. (I heeded the warning that was repeated so often in class that I had better learn by heart the difference between ‘g is a retraction for f° and ‘g is a section for f”, since they mean different things!) 109 110 How to solve the quiz problems Now I want to pick two sets A and B and two maps r and f, arranged as in the box above; but not just any two maps, they have to satisfy the equation rof=l, If I remember correctly, a retraction for a map tends to go from a bigger set to a smaller one. I ought to choose my sets so that Bis at least as big as A. In fact, I think it would be safer to choose it a bit bigger. Maybe if I try taking A with no members, and B with one member, it would work? f —— a r WOOPS! I can’t possibly have a map r that goes from B to A, because there is no member in A to be r(b)! Try again: maybe A with one member, B with two members 76) 5 I still must make up my maps r and f. There is only one map from B to 4 (I? = 1), there is no choice for r; it looks like: What about picking my map ASB Here there are two choices, I will just pick one, since they seem to look rather alike, anyway. Did this work? I was supposed to choose r and f so that rof = 1, How to solve the quiz problems HI That means I need, for each member of A, that r(f (that member)) = that member But there is only one member in A! What I need is r(f(a)) = it: r(f(a)) = r(b,) = a. Yes, it’s true! (Actually, now I realize that I didn’t even have to check it! There is only one map from A to A(1' = 1); any two maps, like ref and 14, from A to A have to be the same map.) Have I finished? Let me reread the problem .... Yes, I have done everything, except showing that there is no section for f. How do I do that? Well, a section for f would be a map B +> A satisfying f © s = 1g. (Good thing I learned the defini- tions!) Is there a map s that satisfies that equation? Well, there is only one map from Bto A, my s would have to be that one. And I have already named that ‘r’. I need to know: i, that’s all. Let’s check Is for = 1p or not? That would say F(r(b)) = 1 (*) and S(r(b2)) = br (#*) Are these true? f(r(b,)) = f(a) = by, («) is true; and f(r(b2)) = f(a) = by, (+*) is false! Therefore this map r is not a section for f; and it was the only map from B to A. Thus f has no section. Too bad! No, wait ... that’s what I wanted! f has a retraction, but it does not have any section. GOOD! Maybe, just to make it prettier, and to satisfy this fussy professor who asked me to make the sets and maps ‘explicit’, I will give the example with ‘concrete’ sets, but keep the picture I drew with Take A to be the set whose only member is lan; and take B = {Katie, Sheri} and A 2 Bo be given by f(Jan) = Katie. (— Here is how a good solution would look, written out: 112 How to solve the quiz problems I choose First: I claim f has a retraction r, a map B —> A satisfying rf = 1,. What is it? r is the only map from B to A! And since ref and 14 are both maps from A to A, and there is only one map from A to A, these two maps must be the same: ref = 14. Here is a picture of r, if you want: : fn) Second: I claim there is no section for f. A section for f would be a map B+ A satisfying f °s = 1. The Theorem on Uniqueness of Inverses said: If s is a section for f and r is a retraction for f then r = s. So the only possible sec- tion for f is r! And r is not a section for f, since f(r(Sheri)) = f (Ian) = Katie, shows that for # L;Katie shri): QED Note: After finding his original solution, this student found an alternative argument to show that this f has no section. Either argument would have been fine; but this one is maybe slightly better, because it employs a general principle: If you know that a map 4 + B has a retraction r, then the only possible section for f is r itself; if r is not a section for f, then f has no section! Problem 2(a) This one looks easier: I don’t have to invent everything myself. What I know is that p C==pD @ (read ‘p is a map from C to D and q is a map from D to C) and that Peqep=p What do I need to find out? I need to see that pq is idempotent; of course I need to know what it means to say that a map is ‘idempotent.’ Fortunately I learned that a map e is idempotent if it satisfies the equation ece=e How to solve the quiz problems 113 That seemed a bit peculiar to me at first, since usually if you have a map A + B, ‘fof doesn’t make any sense. You can follow one map by another, like f » g, only if the domains and codomains match up properly: Wyo The only case in which f © f makes sense is if the domain and codomain of f are the same set, like That is, f has to be ~ what was the word? — an endomap. Only endomaps have a chance to be idempotent; and even then, most endomaps are not idempotent. Just to be sure they're not trying to trick me, I had better check: is p » q even an endomap? Well, its domain is — let’s see, q was done first, so the domain of pq is the domain of q, which was D. And the codomain of pq is the codomain of p, which was ... yes, D. Since D -2°4, D is an endomap, at least it has a chance to be idempotent. Let’s write down exactly what it is that I want to show about p> q. I need to see that if you follow this complicated map by itself, you get it back again; i.e. I need to show: (peg)e(peg)2 peg What I know is: p> qop = p. My problem boils down to: KNOW: | pegep=p |* WANT TO SHOW: | (pog)o(pog)=pog |** That should be pretty easy — I have done problems like this before. Here is my solution: (p°q)° (peg) =peqgepeg (I can omit the parentheses) =(peqep)eq (I put parentheses back in to use #) =P°q (by *) Therefore, pq is idempotent. QED Now try Problem 2(b) yourself. Composition of opposed maps We should work through some examples of composition of maps of sets. While the algebra of composition is very simple, involving only the associative and identity laws, the understanding of how this algebra is applied is greatly aided by practice with concrete examples, first in the category of sets and later in richer categories. Let’s consider the following maps: mother Men ———= Women father One of them assigns to each man his mother, and the other assigns to each woman her father. What is the composite mothers father, or more briefly gof, where g = mother and f = father? For example, let’s ask Sheri: Who is gef > Sheri? First you have to decide who is f » Sheri. seri: My father is Mike. And who is g > Mike? seri: My father’s mother was Lee. Good, so gf ° Sheri = Lee. Is the map f gf equal to the map f? How do we test whether two maps of sets are equal? CHAD: When the same input gives the same output. So what about these two maps? ALYSIA: They are equal. Really? Let’s calculate both for the input 1“, women Who is f » Alysia? ALYSIA: Rocco. And who is go Rocco? ALYSIA: Dolores. And f ° Dolores? 114 Composition of opposed maps 115 ALYSIA: I don’t remember his first name, but his family name was R. All right, so fogef Alysia = Mr R. Is f° gf =f? Is Mr R. = Rocco? ALYSIa: No, fogof and f are different maps. Right. There is an input for which they give different outputs, so they are different. Notice that our test for equality of maps A == B of sets f=h] if and only if [Foa=hoa for every point 12rd is equivalent to the following: f*h| if'and only if | foratleastone1**A foathea Any such element a for which f is different from h is a counterexample proving the difference of f and h. So, Alysia, what is the counterexample proving that f' and fogof are different? ALYSIA: Me. Right. Because you are the member of the set of women for which we verified Segof> Alysia ¢ f > Alysia In fact for these two maps fogs fox £ fs x for every woman x, since otherwise we would have the biologically impossible situation that the father of x, y =/'ox, would satisfy y = f° gy; he would be his mother’s father. Often a composite map has a special name because of its importance. With g = mother and f = father, the composite gf, mother of father, is called ‘paternal grandmother.’ Notice how often it is possible to read the symbol ‘+’ as ‘of,’ instead of ‘following,’ This is true also of the symbol ‘x’ for multiplication of numbers. We usually read it as ‘times’, but for fractional factors, as in 3 x 6 = 4, we often say, ‘Two-thirds of six is four.’ Summary/quiz on pairs of ‘opposed’ maps = ee 0.) 4 = B Fill in the blanks; when [ys?] occurs, cross out the false alternative 1. Given two maps f, g with domains and codomains as above, we can (sometimes [vs] always) form the composites gf and fg. All we can say about gef and fg as maps in themselves is that they are : 2. If we know that g is a retraction for f, that means gf is actually ; then we can prove that f © g is not only an » but actually an . The latter means that the equation is true. » . If we even know that f is an isomorphism and that gof = 1,, then fg is not only an idempotent, but is . If, moreover, s is a map for which fos = Ip, we can conclude that s = 4. Going back to 0, i.e. assuming no equations, but only the domain and codomain statements about f and g, the composite f ° g°f (could be different from [ys?] must be the same as) f. Likewise f ogo f °g (could be different from [ys?] must be the same as) fg. 116 Summary If maps A 4+ ¥ £4 A satisfy (*) poj In any category The endomap ¥“* x (call it ‘a for short satisfies ao a we say «vis idempotent. Written out in full, this is Gcp)> Gop) =Gen). We will see more consequences later. On the equation po j = 1, 14, several consequences follow: | In the category of finite sets (1) p satisfies: for each member a of 4, there is at least one member x of X for which p(x) = a; (We say p is surjective.) (2) j satisfies: if j(a,) = j(a,), then a) = ay; (We say j is injective.) (3) HA < #X, and if #4 = 0, then #¥ =0 too! Problems involving the equation (*): (four types) Given X 2+ A, find all AL ¥ satisfying (*). Such a jis called a section for p. |r a | In finite sets, j is also called a ‘choice of representatives’ for p. Unless p is surjective, there will be no sections for p. More generally, the number of sections for pis T] #(p™a) (‘Chad's formula’). ipa Given A 2+ X, find all X £5 A satisfying (*). Such a p is called a retraction for j. In finite sets, unless j is injective, there will be no retractions for j. If is injective, the number of retractions for j is (#4)(#*-#4) (Danilo’s formula’). 4 x : | |r 4 X Given only X and A, find all p, J satisfying (*). If there is at 21) |P? least one such pair we say 4 is a retract of X (via p and j) 4 and sometimes write “A < YX’. Unless #4 < #X, there can be no such pairs p, i.e. A cannot be a retract of X. The formula for the number of pairs p, j in terms of #X and #£4 is rather complicated. XQq Given only an endomap X¥ + X find an A and j, p satisfying (*) | p? and j «p= a. Such a pair p, jis called a splitting for a. Unless 24 @is idempotent, there cannot be a splitting for a. In the category of finite sets, for each idempotent endomap a there is a splitting p, j. The number of elements of the desired turns out to be the number of fixed points of a (elements x of X satisfying a(x) = x). 117 Review of ‘I-words’ Identity map: For each object X there is an identity map ¥ + X. It satisfies 1yf =f and g1y = g whenever (the domains and codomains match, so that) the left side is defined. Inverse, isomorphism: ‘Inverse’ is the basic word, and involves two maps AB £ To say that ‘g is an inverse for f” means fg = 1p and gf = 14. If f has an inverse, it has only one, and we call that one f-!. If f has an inverse, we say that f is an isomorphism. Here is an analogy to get the grammar straight: MAPS g is the INVERSE for f. Not all maps have inverses, but a map can’t have two inverses. J is an ISOMORPHISM Meaning: there is some g which is an inverse for f, in fact exactly one. 7" (the inverse of f ) It is forbidden to use this as a name of a map, unless f has an inverse. a More precisely, if f has an inverse, then f~ also has an inverse, namely f. Idempotent, PEOPLE Ginger is the SPOUSE of Fred. Not all people have spouses, but you are not allowed to have two spouses Fred is MARRIED Meaning: there is some person who is a spouse for F., in fact exactly one. Fred's spouse It is forbidden to use this to specify a person, unless Fred has a spouse. The spouse of the spouse of F. is F. More precisely, if F. has a spouse, then that spouse also has a spouse, namely F. involution: (ee Article 111) Both are properties that only an endomap A+ A an have, since they involve f of. If fof =f, we say f is (an) idempotent. Iffef = 14, we say f is an involution. Remarks: The only idempotent which has an inverse is an identity map. Every involution has an inverse, namely itself. 118 Test 1 1. Throughout this problem (a) Find an invertible map A.A, different from the identity map 1. (b) Find an idempotent map A—*—A, different from the identity map J4. (Draw the ‘special internal diagrams’ of your maps f and e — the diagrams that are available only for endomaps.) (©) Find another set B and two maps s BoA for which ros = Ip and ser =e. (Draw the internal diagrams of r and s. In this part, ¢ is still the map you chose in part (b),) 2. Riis the set of all real numbers, and R—4—R is the map given by the explicit formula f(x) =4x—7 for each input x. show that f has an inverse map. To do this, give an explicit formula for the inverse map g, and then show that (a) (gef)(x) =x for each real number x, and that (b) (f°g)(x) =x for each real number x. 119 SESSION 10 Brouwer’s theorems 1. Balls, spheres, fixed points, and retractions The Dutch mathematician L.E.J. Brouwer (1881-1966) proved some remarkable theorems about ‘continuous’ maps between familiar objects: circle, disk, solid ball, etc. The setting for these was the ‘category of topological spaces and continuous maps.’ For our purposes it is unnecessary to have any precise description of this category; we will instead eventually list certain facts which we will call ‘axioms’ and deduce conclusions from these axioms. Naturally, the axioms will not be selected at random, but will reflect our experience with ‘cohesive sets’ (sets in which it makes sense to speak of closeness of points) and ‘continuous maps.’ (Roughly, a map f is continuous if f(p) doesn’t instantaneously jump from one position to a far away position as we gradually move p. We met this concept in discussing Galileo's idea of acontinuous motion of a particle, i.e. a continuous map from an interval of time into space.) There is even an advantage in not specifying our category precisely: our reasoning will apply to any category in which the axioms are true, and there are, in fact, many such categories (‘topological spaces’, ‘smooth spaces’, etc.). We begin by stating Brouwer’s theorems and by trying to see whether our intuition about continuous maps makes them seem plausible. First we describe the Brouwer fixed point theorems. (1) Let Ibe a line segment, including its endpoints (I for Interval) and suppose that f: 1 —+1is.a continuous endomap. Then this map must have a fixed point: a point x in I for which f(x) = x. Example: Suppose that J is an interval of time, and that R is an interval of road, say the highway from Buffalo to Rochester. Suppose that two cars drive on this road. The first car drives at a constant speed from Buffalo to Rochester, so its motion is described by J “+ R (u for ‘uniform’ motion). Meanwhile, the second car starts anywhere along the road and just travels aimlessly along, perhaps occasionally parking for a while, then retracing its path for a while, and ending its Journey at any point along the road. Let’s denote the motion of this second car by 1s R. Now u is an invertible map, so we get RJ, and let I 4+ J be the composite f = u-! om. Brouwer’s theorem tells us that there must be some time ¢ in J at which f(t) = 4; that is, wu"! m=, so mt = ut, which says there is some 120 Brouwer’s theorems 121 time ¢ at which the two cars are at the same point on the road. This seems not very surprising; if the first car drives from Buffalo to Rochester and the second car is always on the road, then of course the first car must at some time meet the second. The next theorem is similar, but about a disk instead of an interval, and I find it much less obvious. (2) Let D be a closed disk (the plane figure consisting of all the points inside or on a circle), and f a continuous endomap of D. Then f has a fixed point. Example: Rotating the disk by a certain angle gives a continuous endomap of the disk; f could be the process ‘turn 90 degrees.’ ALYSIA: What about the center? Exactly! That is a fixed point. For this map it was easy to see that it has a fixed point, but for other maps it may not be so easy; yet the theorem says that as long as f is continuous, it will have at least one fixed point. This theorem seems to me much more surprising than the previous one. Example: Suppose my disk is a portion of the Washington DC area, say the part inside or on the circular beltway. I also bring a map of the region, drawn on a piece of paper P. My map is thus a continuous map D -"+ P. If I am so callous as to crumple up the map and throw it out of the car window, so that it lands inside the beltway, I get an additional continuous map P—+D (p for projection’), assigning to each point on the crumpled paper the point on the ground directly under it. Brouwer’s theorem, applied to the map f =pom: D— D, tells me that some point x inside the beltway is directly under the point m(x) that represents x on the map. Do you find that surprising? I did when I first heard it. You can try the experiment, but please pick up the map afterward. If it occurred to you that a perfect map would show every detail of the area, even including a picture of the discarded map, congratulate yourself. You have discovered the idea behind Banach’s fixed point theorem for ‘contraction’ maps. You only have to goa step further: the discarded map has a small picture of the discarded map, and 122 Session 10 that picture has a smaller picture which has a smaller picture .... These pictures gradually close in on the one and only fixed point for our endomap. This beautifully simple idea only works for an endomap which shrinks distances, though. Brouwer’s theorem applies to every continuous endomap of the disk. Example: Here is a map to which Brouwer’s theorem applies and Banach’s doesn’t. Suppose D is a disk-shaped room in a doll’s house, and F is a larger- than-life floor plan of that room; we crumple F and discard it on D as before. The composite map D + F "+ D this time will not shrink all distances, so the Banach idea doesn’t apply. (In fact pom may have many fixed points, but they are not so easy to locate. It often happens that if a problem has only one solution, it’s easy to find it; but if there are many solutions, it’s hard to find even one of them.) The next theorem is about .... Any guess? FATIMA: A ball? Exactly! A solid ball. It says the following: (3) Any continuous endomap of a solid ball has a fixed point. To imagine an endomap, think of deforming the ball in any arbitrary way, but without tearing it. DANILO: Something like folding dough? Yes, but without breaking it into separate pieces. I find it easier to imagine this endomap of the ball if I first have two ‘objects,’ a wad W of dough and a ball-shaped region B in space. Then I can use two maps from W to B: a ‘uniform’ placement u: W—+B in which the wad W exactly fills the region B, and the new placement after kneading the dough, p : W— B. Now w is invertible, and the endomap we want is pu. It assigns to each point in the region the new location of the point in the dough that was originally there; it’s a sort of ‘change of address’ map. Now we describe the sequence of theorems known as Brouwer retraction theorems. (1) Consider the inclusion map j : E—-I of the two-point set E as boundary of the interval I. There is no continuous map which is a retraction for j. Recall that this means there is no continuous map r : / — E such that roj = 1g. E . eh r? No In other words, it is not possible to map the interval continuously to its two endpoints and leave the endpoints in place. Isn’t this reasonable? Isn’t it pretty Brouwer’s theorems 123 obvious that one cannot put one part of the interval on one of its endpoints and another part of it on the other without tearing it? The next retraction theorem is about the disk and its boundary. (I) Consider the inclusion map j : C— D of the circle C as boundary of the disk D into the disk. There is no continuous map which is a retraction for j. Circle Disk Again, this should seem quite reasonable. Suppose we have a drum made of a very flexible stretchable sheet. To get a retraction for the inclusion of the boundary we might imagine taking the sheet and squeezing it into the rim but without moving its boundary. One would think that this is not possible without puncturing or tearing the sheet. What this retraction theorem says is that this thought is correct. The third retraction theorem is, as you can imagine, about the ball and its bound- ary (the sphere). (III) Consider the inclusion j :S—+B of the sphere S as boundary of the ball B into the ball. There is no continuous map which is a retraction for j. Now, here is the point about all these theorems: (1) and (1) are actually equivalent theorems, and so are the Theorems (2) and (ID), and also Theorems (3) and (III). In other words, after proving the retraction theorems, which seem so reasonable, Brouwer could easily get as a consequence the fixed point theorems (which seem much less intuitive). We shall illustrate this by showing how Brouwer proved that (II) implies (2), and we'll leave the other cases for you to think about. Let's write clearly what Brouwer promised to show: Uf there is no continuous retraction of the disk to its boundary then every con- tinuous map from the disk to itself has a fixed point. However, Brouwer did not prove this directly. Instead of this he proved the follow- ing: Given a continuous endomap of the disk with no fixed points, one can construct a continuous retraction of the disk to its boundary. 124 Session 10 This is an example of the contrapositive form of a logical statement. The contra- positive form of “A implies B’ is ‘not B implies not A,’ which conveys exactly the same information as ‘A implies B,’ just expressed in a different way. Below is an example of how it is used. 2. Digression on the contrapositive rule A friend of mine, Meeghan, has many uncles. All of Meeghan’s uncles are doctors. In Meeghan’s world (implies) uncle doctor (PARTICULAR SITUATION) I went to her wedding and met some of them. There I had an interesting discussion with an intelligent man who I thought was another uncle, but in the course of the conversation he said that he was a mechanic. So I thought mechanic 2, not doctor (GENERAL KNOWLEDGE about our society) not doctor “2, not Meeghan's uncle (CONTRAPOSITIVE of what is known of the particular situation) Therefore this man is not one of Meeghan’s uncles. M his statement | ae not D u fact about ———, — ow ao SSE | Mecghan’s family not U D 3. Brouwer’s proof We return to Brouwer’s theorems. To prove that the non-existence of a retraction implies that every continuous endomap has a fixed point, all we need to do is to assume that there is a continuous endomap of the disk which does not have any fixed point, and to build from it a continuous retraction for the inclusion of the circle into the disk. Brouwer's theorems 125 So, let j : C —+ D be the inclusion map of the circle into the disk as its boundary, and let’s assume that we have an endomap of the disk, f: D — D, which does not have any fixed point. This means that for every point x in the disk D, f(x) 4 x. From this we are going to build a retraction for j, i.e. a map r: D— C such that roj is the identity on the circle. The key to the construction is the assumed property of f, namely that for every point x in the disk, fix) is different from x. Draw an arrow with its tail at f(x) and its head at x. This arrow will ‘point to’ some point r(x) on the boundary, When x was already a point on the boundary, r(x) is x itself, so that r is a retraction for j, ie. rj = tc. Two things are worth noting: first, that sometimes something that looks impos- sible or hard to prove may be easily deduced from something that looks much more reasonable and is, in fact, easier to prove; and second, that to know that a map has no retraction often has very powerful consequences. The reasoning leading to the proof of Brouwer’s fixed point theorem can be summarized in the following diagram: proof JS without fixed point. ——————————} retraction on the boundary contrapositive principle no retraction b _nofwithout fixed point (reasonable and true) (surprising but now known to be true) DANILO: Your conclusion sounds peculiar. Instead of ‘every f has a fixed point,’ you get ‘there is no f without fixed point.’ You are right. We need to use another principle of logic, that nor(not A) implies 4, to reach ‘every f has a fixed point.’ Brouwer himself seriously questioned this rule of logic; and we will later see that there are examples of useful categories in whose ‘internal’ logic this rule does not hold. (This ‘logical’ difficulty turns out to be connected with the difficulty of actually locating a fixed point for f, if f is not a ‘contraction map’.) 126 Session 10 4. Relation between fixed point and retraction theorems Exercise 1: Let j: C—+D be, as before, the inclusion of the circle into the disk. Suppose that we have two continuous maps D ——: D, and that g satisfies goj =j. Use the retraction theorem to show that there must be a point x in the disk at which f(x) = g(x). (Hint: The fixed point theorem is the special case g = Ip, so try to generalize the argument we used in that special case.) I mentioned earlier that each retraction theorem is equivalent to a fixed point theorem. That means that not only can we deduce the fixed point theorem from the retraction theorem, as we did, but we can also deduce the retraction theorem from the fixed point theorem. This is easier, and doesn’t require a clever geometrical construction. Here is how it goes. Exercise 2: Suppose that A is a ‘retract’ of X, ie. there are maps A-—>X with ros = Ly. Suppose also that X has the fixed point property for maps from T, ie. for every endomap X 4+ X, there is a map T —+ X for which fx = x. Show that A also has the fixed point property for maps from 7. (Hint: The proof should work in any category, so it should only use the algebra of composition of maps.) Now you can apply Exercise 2 to the cases: T is 1 (any one-point space), X is the interval, the disk, or the ball, and A is its boundary (two points, circle, or sphere.) Notice that in each of these cases, there is an obvious ‘antipodal’ endomap a of 4, sending each point to the diametrically opposite point; and a has no fixed point. Exercise 3: Use the result of the preceding exercise, and the fact that the antipodal map has no fixed point, to deduce each retraction theorem from the corresponding fixed point theorem. In solving these exercises, you will notice that you have done more than was required. For example, from the fixed point theorem for the disk, you will have concluded not only that the inclusion map C— D has no retraction, but also Brouwer’s theorems 127 that C is not a retract of D (by any pair of maps.) In fact, the argument even shows that none of E, C, S, is a retract of any of 1, D, B. You will probably have noticed that the same reasoning is used in all dimensions; for instance, Exercise | applies to the interval or ball as well as the disk. In the next section we state things for the ‘ball’ case, but draw the pictures for the ‘disk’ case. 5. How to understand a proof: The objectification and ‘mapification’ of concepts You may have felt that none of our reasoning about Brouwer’s theorems was valid, since we still have no precise notion of ‘continuous map.’ What we wish to do next is to extract those properties which are needed for our reasoning, and see that our conclusions are valid in any category in which these properties (which we will call Axiom | and Axiom 2) hold. Brouwer introduces in his proof, besides the sphere S and ball B and the inclusion map S > B, several new concepts: 1. arrows in B: 2. each arrow has a head, in B: this point is the head of the arrow 3. each arrow in B points to a point in S: this is where the arrow points To analyze his proof, then, we must bring these concepts into our category @. This means that we will need: 1. an object A (whose points are the arrows in B); 2. a map A 4. B (assigning to each arrow its head); and 3. a map A. S (telling where each arrow points). (Remember that a map in @ means a ‘continuous’ map, so that any map obtained by composing maps in @ will automatically be continuous.) 128 Session 10 Now we have three objects and three maps: A Ly | Jer neat i and we can begin to ask: what special properties of these (now ‘objectified’) concepts are used in Brouwer’s proof? First, we observe that if an arrow has its head on the boundary, then its head is the place to which it points: this is both paand ha We will bring this into our category, by noting that a map T -*+ 4 is a (smooth) ‘listing’ of arrows: T > A. Axiom 1: If T is any object in @, and T + A and T ++ S are maps satisfying ha=js, then pa=s. The diagram below shows all the maps involved. Te 17 SB 7 (Instead of just one arrow, we imagine a ‘parameterized family’ of arrows, one for each point in a ‘parameter space’ or ‘test object’ T; ie. a map T —+ A. The rest of the translation process leading to Axiom 1 just requires taking care to notice that p of an arrow is in S, while h of an arrow is in B; so to compare them we need to use the inclusion map S > B.) Already from Axiom 1, we can carry out part of Brouwer’s argument: Theorem 1: If B “+ A satisfies hoj = j, then pa is a retraction for j. Proof: Put T = S,s= 1s, and a = qj in Axiom 1. Corollary: If he = 1p, then pe is a retraction for j. Second, we notice that if two points of B are different, there is an arrow from the first to the second; in fact each arrow in A should be thought of as having its head Brouwer’s theorems 129 and tail distinct, otherwise it wouldn’t ‘point to’ a definite place on the boundary S. ‘We use the method of test objects again, with the idea that for each t, at is the arrow from ft to gt. Axiom 2: If T is any object in @, and T B are any maps, then either there is a point 1 “+ T with ft = gt, or there is a map T -“+ A with ha = g. Now we can finish his argument: Theorem 2: Suppose we have maps and gj = j, then either there is a point 1 + B with fo = gh, or there is a retraction for SB. Proof: Take T= in Axiom 2. We get: either there is a point 1—"+ B with fo=gb, or there is a map B—+A with ha=g; but then haj=gj=j, so Theorem 1 says that pa is a retraction for j. If we take g = J in Theorem 2, we get a corollary. Corollary: if B 4+ B, then either there is a fixed point for f or there is a retraction for ss. (We gave, in Theorem 2, the more general version of Brouwer’s theorem; the cor- ollary is the original version.) We will see later that in many categories @, an object T may be large, and still have no ‘points’ 1-4 T. In such a category, we should notice that we really didn’t use the full strength of Axioms 1 and 2 in our proofs. It was enough to have Axiom 1 just for T = S, and Axiom 2 for T = B. The main thing to study, though, is the way in which by objectifying certain concepts as maps in a category, the combining of concepts becomes composition of maps! Then we can condense a complicated argument into simple calculations using the associative law. Several hundred years ago, Hooke, Leibniz, and other great scientists foresaw the possibility of a ‘philosophical algebra’ which would have such features. This section has been quite condensed, and it may take effort to master it. You will need to go back to our previous discussion of Brouwer’s proof, and carefully compare it with this version. Such a study will be helpful because this example is a model for the method of ‘thinking categorically.” 130 Session 10 6. The eye of the storm Imagine a fluid (liquid or gas) moving in a spherical container. (If you want a two- dimensional example, you can imagine water swirling in a teacup and observe the surface current, say by imagining tiny boats drifting.) Right now, each point in our ball is moving, and we draw an arrow with tail at that point to represent its velocity. That is, the length of the arrow is proportional to the speed of the point, and the arrow points in the direction of travel. Could it be that every point is moving with non-zero speed, or must there be at least one instantaneous ‘eye of the storm?” To answer this, we take a slightly different arrow-object A than we imagined before. Its points are to be the possible velocity arrows of particles moving in our ball with non-zero speed. These arrows are less constrained than in our previous arrow-object, since the head of the arrow may be outside the ball; the only restriction is that if a point is on the surface of the ball, its velocity arrow cannot ‘point out- ward’ — at worst it is tangent to the sphere. Here is a picture for dimension 2: a The arrows a; and a, are allowed as points in A, but a3 is forbidden. Now we'll suppose that every point is moving, so we get a map B -*> A, assigning to each point of B the ‘velocity arrow’ at that point. For the map A ~~» B, we take the map assigning to each arrow its ‘home.’ (Remember that an arrow is supposed to repre- sent the velocity of a moving point, so the tail of the arrow is the current home of the point.) Finally, for the map A + S, we assign to each arrow its imaginary ‘place of birth.’ (It is customary to name winds in this way, as if a wind arriving from the north had always blown in one direction, and came from the farthest point that it could.) a P(a) Axiom 1 says that if the moving point is on the sphere, then its ‘place of birth’ is its current location: Brouwer’s theorems 131 ha) = pa) That is, the dot in the picture above is both A(a) (as a point in the ball) and p(a) (as a point on the sphere). Now you can work out for yourself that the corollary to Theorem | tells us that if there were a storm with no instantaneous ‘eye,’ there would be a retraction for the inclusion of the sphere into the ball. 7. Using maps to formulate guesses Let's return to the one-dimensional case, the two cars traveling on the highway. ae Buffalo Rochester Actually, the highway extends beyond these two cities. Suppose I drive along the road, starting in Buffalo and ending in Rochester; you start and finish at the same times, starting and finishing anywhere between Buffalo and Rochester. During our travels, we're allowed to go anywhere along the highway we want, even west of Buffalo or east of Rochester. Are you convinced that at some time we must meet? Why? Notice that there are now three objects involved: /, an interval; E, its endpoints; and R, the long road. (You can imagine R as the whole line if you want.) We also have two ‘inclusion maps’: HL LA Buffalo Rochester R My travel gives an additional map: J + R, and your travel gives another: I 2+ R. The relations among these four maps are investigated in the exercises below. 132 Session 10 Exercise 4: (a) Express the restrictions given above on my travel and yours by equations involving composition of maps, introducing other objects and maps as needed. (b) Formulate the conclusion that at some time we meet, in terms of composition of maps. (You will need to introduce the object 1.) (c) Guess a stronger version of Brouwer’s fixed point theorem in two dimensions, by replacing E, J, and R by the circle, disk, and plane. (You can do it in three dimensions too, if you want.) (d) Try to test your guess in (c); ¢.g. try to invent maps for which your conjec- tured theorem is not true. PART III Categories of structured sets We use maps to express extra ‘structure’ on sets, leading to graphs, dynamical systems, and other examples of ‘types of structure.’ We then investigate ‘structure-preserving’ maps. ARTICLE III Examples of categories Directed graphs and other structures We recall from Session 10: 1. Given an endomap of the ball with no fixed point, we can construct a retraction of the ball to its boundary. 2. Brouwer proved that no such retraction is possible. We deduced by pure logic: 3. Every endomap of a ball has a fixed point. We saw further that: 4, The sphere and the ball cannot be isomorphic (since the sphere does have a fixed point free endomap, for example, its antipodal map.) It is critical that the category which we were discussing is not the category of abstract sets and arbitrary functions; it must rather be some category of ‘cohesive’ objects and ‘continuous’ maps Precisely which category of this type does not matter for our purposes; it only matters that spheres and balls are related by certain maps with certain properties, which we specified in detail in the case of (1). Crucially, (2) does not hold in the category of sets and functions on which most of our earlier discussions centered. Nor does (3) or (4): for example, the sphere, ball, and circle are all isomorphic in the category of sets! There are, in fact, many categories having the needed properties: the category of topological spaces and continuous maps the category of smooth spaces and smooth maps, etc. These categories differ substantially from each other, and to specify these categories precisely and discuss their differences is a task better left to more advanced works. We propose instead to define and study certain simpler categories which are of great interest in their own right, and which exhibit many of the features of cohesive categories. All our examples will illustrate a basic method: to make precise some imprecisely-known category, we can try to model it by structures in the category of abstract sets. These structures are always expressed by some configuration of given maps. When these categories arise later, we will treat them more slowly and in more detail; our main aim here is to give a rapid preview of some possible notions of 135 136 Article IIT structure, and especially to provide a first introduction to the powerful idea of Structure-preserving map. The exercises in this article, like our previous exercises, involve only the application of the associative law to given definitions. 1. The category S© of endomaps of sets An important example already implicitly alluded to is the category in which an object is a set equipped with a specified endomap. Before defining it, let us denote by S the category of sets and maps which we have been discussing up to now. The maps in $ are to be thought of as ‘arbitrary’; that is, any conceivable process or scheme, which has only the property that to every point of a specified domain it gives a unique value in a specified codomain, counts as a map in S. As a consequence S itself cannot really assign any property to distinguish one point of a set A from another point of A, though the number of points of 4 is an isomorphism-invariant in S. Most of the interesting examples we discussed, such as the time-line, are only partly captured by S, since, for example the order of time involves further ‘structure’; however, all the examples have their shadow in S, and already the calculations we can do in S (using composition, the forthcoming products, etc.) shed some light on the real examples. By ascending to the consideration of categories of objects more richly structured than those in S, we can hope to see a much sharper image above the shadow, and to shed much more light on the examples by the same kind of categorical calculations. Schematically, the program is ae Shamperimage gr = J. s where % denotes an imprecise but real category, T denotes a specific chosen notion of structure, and $7 denotes the category of structures of kind T which can be built in S; the arrows denote the appropriate kind of maps between categories, known as functors, which we will discuss later. Now we return to the category in which an object is an endomap of a set. A suggestive notation for it is S°. An object of S° is any set X equipped with an endomap a. But the most important thing about a category is its maps and how they compose ~ what are the maps of S©? They are maps which ‘respect the given structure,” i.e. a map ~* f YP between two objects of $° is an S-map ¥ G ¥ which, moreover, satisfies foa=Bof Examples of categories 137 After doing several exercises you will see that this equation really is the most appro- priate expression of the idea that f preserves the given structure, i.e. that f is a way of mirroring the structure of a in the structure of 3. Exercise 1: Show that if both f as above and also yobs] 2 -» [P7 are maps in $9, then the composite gof in $ actually defines another map in ©. Hint: What should the domain and the codomain (in the sense of S°) of this third map be? Transfer the definition (given for the case f) to the cases g and gef; then calculate that the equations satisfied by g and f imply the desired equation for gf. An object of $© actually has all the structure suggested by our internal picture of an endomap a: This is because an isomorphism in S© has an inverse which is also a map in S$. It can thus be shown that if between two objects of S© there exists an isomorphism of 5°, then not only do the two sets have the same total number of points (as already mere S-isomorphism would imply), but also equal numbers of fixed points, the same number of cycles of length seven, equal numbers of points that move four steps before stopping, equal numbers of points which move two steps before entering a cycle of length three, etc. and, moreover, equal numbers of components, etc. This array of numbers (which we may learn to organize) describes the kind of structure inherent in an object of SO. 2. Typical applications of S° Objects of S© arise frequently as dynamical systems or automata. The idea is that X is the set of possible states, either of a natural system or of a machine, and that the given endomap a represents the evolution of states, either the natural evolution in one unit of time of the system left to itself, or the change of internal state that will 138 Article IIT occur as a result of pressing a button (or other control) a on the outside of the machine once. If the system happens to be in state x now, then after one unit of time or one activation of the control, it will be in state a(x). After two units of time or pressing the button twice, it will be in the state. a@(a(x)) = (@ a)(x) Similarly, a? = a aca effects the three-step evolution, etc. Questions which could be asked about a particular object of S© thus include the question of accessibility: Given a state x, is it possible to get into that state, i.e. does there exist a state x’ for which a(x") = x? as well as the question of convergence to equilibrium: Given a state x, is it possible by activating o enough times (or waiting long enough, in the natural system view) to arrive at a state which no longer changes, i.e. for some ny al™"(x) = a"(x)? 3. Two subcategories of S° By putting restrictions on the kind of endomaps allowed, we obtain subcategories 2 s* 2 s where S* means the category whose objects are all idempotent endomaps of sets and S> means the category whose objects are all invertible endomaps of sets (also known as automorphisms of sets or just as permutations); in both of these categories the definition of map between objects is the same as that stated above for SO. The numerical (or other) description of the detailed structure of a typical object in one of these two subcategories may be regarded as a specialization (somewhat less com- plicated) of the description for $©. But, as categories in their own right, these three are strikingly different, as we will see. 4. Categories of endomaps If @ is any category, we can build @© from @ in the same way we built S© from S. An object is an endomap in @ and a map is a @-map satisfying the same equation as before. There are many full subcategories of @° (the category whose objects are endomaps in @ and whose maps are ‘equivariant’ maps), for example 5@ 5 a. é é 2 e 2 Examples of categories 139 meaning: automorphisms = isomorphic endomaps. > _involutions 2 » endomaps identities > 2 idempotents where 0 is an involution of A if and only if 0° = 14. Note that an involution is automatically an automorphism (i.e. an endomap which is also an isomorphism) for it has an obvious inverse: 0~' is 0 itself if @ is an involution. Every object 4 of @ has only one identity map, but may have many idempotents and many involutions, some automorphisms which are not involutions, and some endomaps which are neither idempotents nor automorphisms. Question: Could an endomap be both an automorphism and idempotent? Yes, 1, is obviously both. Are there any others? Well, suppose we know both aoa=a acB= 1, Boa=y that is, that a is idempotent and also has a (two-sided) inverse 8. Then 14 = 028 = (00) B= 0(aef) =a0l,=0 in other words, the only idempotent automorphism is the identity. From the proof we see in fact that the only idempotent which has even a section is 14. Exercise 2: What can you prove about an idempotent which has a retraction? When @ = S, what do the internal pictures of such special endomaps look like? If 606 = 14, then the internal diagram of @ must look like this 140 Article HT that is, a certain number of ‘2-cycles’ and a certain number of fixed points (x for which 6(x) = x). Exercise 3: A finite set A has an even number of elements iff (i. if and only if) there is an involution on A with no fixed points; A has an odd number of elements iff there is an involution on A with just one fixed point. Here we rely on known ideas about numbers — but these properties can be used as a definition of odd- ness or evenness that can be verified without counting if the structure of a real situation suggests an involution. The map ‘mate of” in a group A of socks is an obvious example, Let us exemplify the above types of endomaps on the set Z={...—3,-2,-1,0,1,2,3,...} of all (positive and negative) whole numbers, considered as an object of S. Exercise 4: If a(x) = —x is considered as an endomap of Z, is @ an involution or an idem- potent? What are its fixed points? Exercise 5: Same questions as above, if instead a(x) = |x|, the absolute value. Exercise 6: If a is the endomap of Z, defined by the formula at morphism? If so, write the formula for its inverse. =x+3, is a an auto- Exercise 7: Same questions for a(x) = 5x. There are many other subcategories of @°, for example, the one whose objects are all the endomaps a in @ which satisfy acaca=a Exercise 8: Show that both @, @” are subcategories of the category above, i.e. that either an idempotent or an involution will satisfy a3 = a. Examples of categories 141 Exercise 9: In S, consider the endomap a of a three-element set defined by the internal picture . 1e Show that it satisfies a’ = a, but that it is not idempotent and that it is not an involution. 5. Irreflexive graphs There is another important category of structures of which S© itself may be con- sidered to be a subcategory. We refer to the category S'! of (irreflexive directed multi-) graphs. An object of this category is any pair of sets equipped with a parallel pair of maps, as in this diagram: a fa where X is called the set of arrows and P the set of dots of the graph. If xis an ‘arrow’ (clement of X), then s(x) is called the source of x, and ¢(x) is called the target of x. The terminology refers to the fact that any graph has an internal picture of the type Here X has five elements (a,b,...) and P has six (k, m, ...) and s(a) =k, «(e) =r, 1(d) =4q, etc. Exercise 10: Complete the specification of the two maps X—++P and XP which express the source and target relations of the graph pictured above. Is there any element of X at which s and ¢ take the same value in P? Is there any element to which 1 assigns the value k? 142 Article TIT The maps in S"! are again defined so as to respect the graph structure. That is, a map in $'! is defined to be any pair of S-maps ¥ 4 y, Ps Q for which both equations oy Wt are valid in S. We say briefly that ‘f preserves the source and target relations’ of the graphs. (The subscripts 4, D are merely to suggest the part of the map f that operates on arrows and the part that operates on dots.) Exercise 11: If f is as above and if Zz | { R is another map of graphs, show that the pair gy°f4, gp °fp of S-composites is also an S“map. Graphs have many important applications — we might consider dots as towns, and arrows as possible roads; or dots as nouns, and arrows as transitive verbs with specified subject and object. Electrical wiring diagrams, information flow diagrams, etc. are often considered explicitly as graphs, i.e. as objects in S!!, and many impor- tant relationships between graphs are expressed in terms of maps in S!!. Among the many numerical properties of graphs which remain unchanged by isomorphism are, not only the total number of arrows and of dots, but also the number of loops and the number of components. Examples of categories 143, 6. Endomaps as special graphs Why did we say that S° ‘may be considered as a subcategory of $!!7 Any such statement involves a specific way / of inserting Ft go which in this case is the following: Given any set X* equipped with an endomap, we may consider as a special kind of graph, in which the number of arrows is the same as the number of dots, and in which more precisely the source of the arrow named x is the dot also named x, but the target of the arrow named x is the dot named a(x). Now you see the method in our madness: the internal picture of an endomap is a special case of the internal picture of a graph! We said that the category S° could be considered as a subcategory of S''. Since a big part of a category is its maps, this means that our insertion idea must apply to maps as well. Indeed, if (=) + x ¥ ‘lf ‘lp Cg a satisfies the two equations required of a map in S!. in S®, then it is easy to see that — —_ a Exercise 12: If we denote the result of the above process by (f), then I(g°f) = I(g)°I(f) so that our insertion J preserves the fundamental operation of categories. 144 Article HI Exercise 13: (Fullness) Show that if we are given any S!-morphism I x—t+y Cat between the special graphs that come via J from endomaps of sets, then it fol- lows that f, = fp, so that the map itself comes via J from a map in S°. Considering J as understood, we see that our examples are related as i Q oo S285 5 7. The simpler category S!: Objects are just maps of sets A different subcategory of S"! is S!, in which an object is an arbitrary single map between two sets, and a map is a ‘commutative square of maps’ in S. Here the intended inclusion involves considering those graphs for which the source and target structures are the same map (i. graphs all of whose arrows are loops). Since an endomap is a special case of a map, there is also an obvious insertion J of S© into s!; but, crucially, it does not satisfy ‘fullness.’ There are maps J(X2") — J(¥9%) in 's! which do not come via J from maps ¥O° — Y°? in S© Exercise 14: Give an example of S of two endomaps and two maps as in ae ‘ 8 x ra ae which satisfy the equation fp °a = 8» f4, but for which f, # fo. Since it is easy to give many examples as in the last exercise, we may say that the structure preserved by an S!-map F(XO*) — (YO?) Examples of categories 145 is much ‘looser’ than the structure preserved by an actual SO-map [P< )——+ [F This remains true even for isomorphisms, so that the rich structure which S© sees in an endomap is degraded by considering it as just a map (that happens to be an endomap) to the much simpler questions: How many points are in the set and how many a-stacks of each possible size are there? 8. Reflexive graphs A final very important example is reflexive graphs: these may be considered as graphs with a third structural map i x i Ip S| | i=l, B of which both source and target are retractions; or equivalently, iis a given common section of both the source map and the target map. The following exercise asks you to prove certain consequences of these equations. Exercise 15: In a reflexive graph, the two endomaps e, = is, eo = it of the set of arrows are not only idempotent, but even satisfy four equations: exe = 6 for k,j=0,1 Of course, maps of reflexive graphs are required to respect not only source and target, but also the extra ingredient i. You should formulate the definition of map of reflexive graphs before beginning Exercise 16 Exercise 16: Show that if f4, fp in S constitute a map of reflexive graphs, then fy is determined by f, and the internal structure of the two graphs. Exercise 17: Consider a structure involving two sets and four maps as in Mr BT) Ip" (no equations required) poe (for example M = males, F = females, p and ¢' are father, and ys and y’ are mother). Devise a rational definition of map between such structures in order to make them into a category. 146 Article IIT 9. Summary of the examples and their general significance In the diagram below, the horseshoe symbols indicate full insertions. Note that J followed by the inclusion to S!! is not the same as the insertion J. The relation U between reflexive and irrefiexive graphs is not a full insertion, but a forgetful functor {it just neglects the structural ingredient 1); similarly for V. a ei A ae Reflexive es OD a ome) ei rae \ s io In all of the examples, the general kind of ‘structure’ involved can be more pre- cisely described. Each example involves a ‘category’ (species or mode) of cohesive or active sets. As opposed to the abstract sets $, which have zero internal cohesion or internal motion, these ‘sets’ have specific ways of internally sticking together and/or internally moving, and the maps in these categories permit comparing and studying these objects without tearing or interrupting them. By applying specified forgetful functors, we can also study how the objects compare if we imagine permitting (partial) tearing or interrupting to specified degrees. 10. Retractions and injectivity When does a map a have a retraction? An important necessary condition is that it should be injective. Recall the definition: Definition: We say that a map X —+ Y is injective iff for any maps T + X and T + X (in the same category) if ax, = axy then x; = x2 (or, in contrapositive form, ‘the map a does not destroy distinctions,’ i.e. if x; # Xp in the diagram below, then ax, # ax as well) Exercise 18: If a has a retraction, then a is injective. (Assume pa = /y and ax, = ax; then try to show by calculation that x; = x2.) Examples of categories 147 In the category S of abstract sets and arbitrary maps, the converse of the above exercise is almost true: If X — ¥ is any injective map in S for which X # 0, then there exist maps ¥ + X for which pa = 1y, as we have seen before. However, it is very important that this converse is not true in most categories. For example, in a category of continuous maps, the inclusion a of a circle X¥ as the boundary of a disk Y does not have a retraction; any of the S-retractions of p of the underlying sets of points would have to ‘tear’ the disk, i.e. would not underlie a continuous retraction of the spaces. We now consider an example of the same phenomenon in xe Pe | 09D Let ax = y and a0 = 0, with ¥, Y, a, and # as pictured above. Exercise 19: Show that ais a map [X22] 4» [>] in 50. Exercise 20: Show that a is injective Exercise 21: Show that, as a map Y —+ Y in S, a has exactly two retractions p. Exercise 22: how that neither of the maps p found in the preceding exercise is a map yo? |—»| yc | in S*. Hence a has no retractions in Exercise 23: How many of the eight S-maps Y —+ X (if any) are actually $°-maps? PF |_»[ oe Exercise 24: Show that our map a does not have any retractions, even when considered (via the insertion J in Section 7 of this article) as being a map in the ‘looser’ category S!. 148 Article HIT Exercise 25: Show that for any two graphs and any S!!-map between them | t Paar — on y the equation fp °s = fy °t can only be true when f, maps every arrow in X to a loop (relative to s‘, t’) in Y. To say that Ox) is an automorphism would be wrong, since Z doesn’t have fractions in it. On the other hand, there would be a germ of truth in the statement, because if Q denotes the set of rational numbers, then: Exercise 26: ; There is an ‘inclusion’ map Z ++ Q in S for which 1, [POL [PO] is a map in $, and 2. QO js an automorphism, and 3. f is injective. Find the f and prove the three statements. Exercise 27: Consider our standard idempotent Pt=| by and let YO? be any automorphism, Show that any SO-map XO* y°* must be non-injective, i.e. must map both elements of X to the same (fixed) point of f in ¥. Exercise 28: If XO° is any object of S© for which there exists an injective S°-map f to some Y“? where @ is in the subcategory of automorphisms, then a itself must be injective. Examples of categories 149 11. Types of structure A type of structure can be specified by giving the following ingredients: 1. a set of names (perhaps more than one or two) for the objects we expect as components of each single structure of the type; . another set of names for the crucial structural maps that must be specified to determine any single structure of the type; and the specification of which structural component object is required to be the domain and codomain of each structural map, but in terms of the abstract names. v » Each concrete structure of the type is required to have its structural maps conform to the abstract specification. For example, discrete dynamical systems have one com- ponent object of ‘states’ and one structural map, the ‘dynamic’, whereas graphs have two component objects ‘arrows’ and ‘dots’ and two structural maps ‘source’ and ‘target.’ Reflexive graphs have three structural maps. Our discussion of kinship systems involves also component sets and structural maps. (Note that an abstract specification of a type of structure can itself be considered a graph — see Session 17.) The pattern for defining the notion of map in any category of concrete structures is now explicitly the same for all abstract types. Namely, suppose X and Y are two structures of a given type, modeled in sets. Then for each component name A in the type, there are given sets X(A) and Y(A), so that a map XY 4 ¥ is required to involve, for each such A, a map of sets X(4) —» Y(A); but these maps are required to preserve all the structure in order to be considered to constitute together a single map of structures. Namely, for cach structural map-name a in the type, ¥ has specified a map ay : X(A) + ¥(B) where A, B are the source and target of « in the type, and also Y has specified a structural map ay: ¥(A)— ¥(B) with the same name a and the same A, B; thus the natural meaning of the statement that ‘f preserves a’ is that x) > 1 @fi-hoty ey a XO 18) in the background category of sets. To be a map of structures, f is required to preserve ail the structural maps as named by the type of structure. Thus a map in a category of structures has as many component maps as there are component-object 150 Article IIT names in the type, and is required to satisfy one preservation-equation for each structural-map name in the type. ‘There are many more categories than just those given by abstract types of struc- ture; however, those can be construed as full subcategories of the latter, so that the notion of map does not change. Such full subcategories are determined by putting restrictive conditions on the diagram that constitutes an object, the simplest sort of such condition just being a composition-equation that the structural maps are required to satisfy. For example, a dynamical system might be required to be an involution, or a ‘preferred loop’ structure in a graph might be required to have source and target both equal to the identity on dots in order to have a reflexive graph, etc. An abstract structure type often arises from a particular example as follows. Suppose # is a small family of objects and maps in a category %, with the domain and codomain of any map in # being in #. Let each object A in # be considered as the name of ‘A-shaped figures’ and each map a in # be considered as a name a* of structural map. The domain of a* is the codomain of a, and the codomain of a” is the domain of a. Then every object X of % gives rise to an #-structure whose A-th component set is the set of all #-maps A — X and wherein for each B-“+ A the structural map on these figures has for all x a(x) = xoa Exercise 29: t Every map X —+ Y in % gives rise to a map in the category of #-structures, by the associative law. For example, the abstract notion of graph structure can be identified with the con- crete diagram of graphs below because for any graph X the arrows in X may be identified with the graph maps A—+X, the dots in X with the graph maps D — X, and the source of x is then si¢(x) = xs; for any graph map X —+ Y, the associativity f(xs) = (/x)s then sub- stantiates, inside the category itself, the fact that f preserves sources: syof =fosk Examples of categories 151 Any instance of a structure ‘opposite’ to a given type (e.g. the type ‘graph’) in any category @ gives rise to an interpretation of @ into the category of ‘sets with struc- ture’ of the given type. For example if @ is some category of cohesive spaces, we might take in place of the objects D and A the objects 1 and S, a one-point space and an object representing the space of a room. In addition, we need two selected points in the room, 1+ § and 1+ S. Once these data are fixed, each object in the category @ gets an ‘interpretation’ as a graph. For example, if T is the temperature line, a dot of the ‘temperature graph’ is a point of T (a map 1 — T), and an arrow of the graph is a ‘temperature field’ in this room (a map ST). The ‘source’ of a temperature field is the temperature at the point s in the room; the ‘target’ is the temperature at 1. Exercise 30: If S, s, 1 is a given bipointed object as above in a category @, then for each object X of @, the graph of ‘X fields’ on S is actually a reflexive graph, and for each map X “ Y in @, the induced maps on sets constitute a map of reflexive graphs. 12. Guide Several useful examples of categories have been constructed by a common method, and we have begun to explore some ways in which these categories do and do not resemble the category of sets. Extended discussion of these and other categories is given in Sessions 11-18, along with a sample test after Session 17.

You might also like