To save content items to your account,
please confirm that you agree to abide by our usage policies.
If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account.
Find out more about saving content to .
To save content items to your Kindle, first ensure no-reply@cambridge.org
is added to your Approved Personal Document E-mail List under your Personal Document Settings
on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part
of your Kindle email address below.
Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations.
‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi.
‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
Some demystification of the letters used in mathematics, including when we tend to use lower case, upper case, blackboard bold, curly, or Greek letters, and when we use particular letters for particular things, or particular types of thing.
This chapter introduces the idea of studying things via their relationships with other things. We start with family relationships and the idea of depicting relationships with arrows, and building up relationships by composition. We revisit some of the concepts already discussed, and reframe them as types of relationship. This includes symmetry, basic arithmetic, and modular arithmetic. We look at the relationships between different types of quadrilateral and explore how depicting the relationships with arrows is more powerful than using a Venn diagram. We explore diagrams of factors, fixing a number n and then drawing a lattice of its factors and factor relationships among them. We show that abstracting from this gives us a lattice of subsets of the prime factors of n and that a further abstraction gives us lattices of subsets of any sets. We show that this further abstraction enables us to include a much wider variety of examples, including an analysis of interactions between people with different types of privilege. The idea is to start seeing relationships as something quite general, and to start seeing how abstraction gives us structures that are more widely applicable.
We end by taking a step back and summing up some of the main principles of category theory, to make sure that the ideas have not been overwhelmed by the details. We begin with the motivations: the purpose of abstraction, and the idea of gaining structural understanding. We then move on to the general process of actually doing category theory, and end with some aspects of its practice: the idea of morphisms, diagrammatic reasoning, coherence, universal properties, structural awareness, and the nuance to be gained from higher dimensions.
In this chapter we look at the concept of morphisms between categories, using the principle of preserving structure. We give the definition in two ways, one for each of our two approaches to defining categories (by homsets or by graphs). We look at functors between small examples of categories, including functors between posets, monoids, and groups, expressed as categories. We consider functors from small drawable categories and show that they produce a diagram of that shape in the target category. We think about the category consisting of a single non-trivial isomorphism, and see that a functor out of it picks out an isomorphism in the target category. We describe free and forgetful functors, including the free monoid functor. We define the concept of functors preserving and reflecting structure, and show that not all functors preserve epics, but they all preserve split epics. We consider whether the above forgetful functors preserve terminal and initial objects. Further topics include the fundamental group functor, and Van Kampen’s theorem reframed as preservation of pushouts under certain circumstances. We introduce contravariant functors.
A first look at relations more abstractly. We begin by thinking about more relaxed notions of equality and observe that, if we relax the notion too much, then we might get some undesirable consequences. This motivates the concepts of reflexivity, symmetry, and transitivity. We’ll explore these properties for various relations, including informal ones such as “is at school with” and “is a friend of”, and then more formal mathematical ones such as “divides” and “is congruent modulo n”. We introduce equivalence relations, which are those satisfying all three properties, and observe that many relations are not equivalence relations but are nonetheless still interesting and worthy of study. This is to motivate the more relaxed axioms for a category. This chapter starts using more formal notation.
In this chapter we formalize the idea of characterizing things by the role they play in context. First we discuss the difference between characterizing something by role and characterizing it by intrinsic characteristic. We consider “extremities” in some of the small drawable categories we’ve seen before, that is, the places where all arrows start or all arrows end. We make this more precise and more formal in the definition of initial objects. We explore what sort of categories do not have initial objects, including those with an infinite string of composable arrows, non-trivial loops, or disconnected parts. We prove that initial objects are unique up to unique isomorphism. We then define terminal objects and explore them analogously, mentioning the fact that this is the dual concept, although duality is discussed more fully in the next chapter. We then examine terminal and initial objects in some of the categories we’ve seen already: sets, posets, monoids, groups, and different categories of privilege. We observe that we can only describe universal properties in context, as something initial in one category may not be initial in another.
Natural transformations are an appropriate notion of relationship between functors, so this chapter gives us our first glimpse of two-dimensional structures. We first give the definition by feeling our way through abstractly, and then by analogy with homotopies. We define identities and composition for natural transformations, and thus define functor categories. We define the category of presheaves on a category as a particular functor category. We show how to use natural transformations to define cones over a diagram formally. We look at isomorphisms in functor categories, and prove that these correspond to componentwise isomorphisms. We show how to read commutative diagrams “dynamically”. We define equivalence of categories via pseudo-inverses, and briefly mention the relationship with pointwise equivalence. We define horizontal composition of natural transformations, and whiskering, and prove the interchange law, so that we are ready for the concept of a 2-category.
We explore other large categories based on the category of sets and functions. We begin with monoids, and think of them as sets with extra structure. We introduce the concept of a structure-preserving function, which in this case gives us the definition of a monoid morphism. We check that we can assemble monoids and their morphisms into a category. We do the analogous construction for groups and group homomorphisms. We consider partially ordered sets and show how the structure-preserving functions in this case are order-preserving functions, and we assemble those into a category. We consider some cases of functions that are not order-preserving, illuminating some antagonism that can arise over the theory of privilege. We present the category of topological spaces and continuous maps. We introduce the idea of assembling categories themselves into a category, beginning to think about the idea of structure-preserving maps for categories. These are called functors, and are covered in full in a later chapter. Finally, we touch on matrices, introducing a category where the objects are natural numbers and a morphism from a to b is an a × b matrix. This concludes the interlude of the book.
We can regard all arrows in a category as pointing the other way, and this gives us the dual category. One advantage is that we immediately get a dual version of every construction and every theorem. We begin by exploring some small examples such as categories of factors, and turn all the arrows round to see what the resulting structure looks like. Thus motivated, we make the definition of dual category, and explain that any categorical structure has a dual version which is given by placing that structure in the dual category. We show that in this sense monics and epics are dual, and that isomorphisms are self-dual. We also describe the concept of duals of results, which are found by placing the result in the dual category. We show that the composite of two monics is monic, and that the dual result is that the composite of two epics is epic; we also consider the converse. We show that terminal and initial objects are dual. Finally, we briefly mention how the notion of dual category comes from symmetry in the definition of a category, more easily seen from the definition as an underlying graph with extra structure.
In this final chapter we continue applying the principle of looking at relationships between things, giving more dimensions. We define 2-categories directly, inspired by our understanding of categories, functors, and natural transformations. We revisit the definition of category by homsets, and generalize it to give the definition of 2-category by enrichment. We revisit the definition of category by underlying graph, and generalize it to give the definition of 2-category by underlying 2-graph. We define the two types of duality for 2-categories, and discuss the appropriate notions of sameness for different dimensions of morphism in a 2-category. We define monoidal categories as 2-categories with only a 0-cell, and show the dimension shift that is analogous to the one for monoids and categories. We discuss the issue of strictness and weakness, give the unit triangle and associativity pentagon, and discuss coherence. We discuss degeneracy and the Eckmann–Hilton argument, leading to braidings. We give an introduction to how research proceeds up the dimensions, giving an overview of various approaches. The chapter becomes less formal and rigorous as we end with a taste of open research.
Introduction to the idea that math is all relative to context, as things behave differently in different contexts. This chapter has a little more formality. We begin by discussing the myth that math is rigid and fixed, and introduce the idea that, on the contrary, it is contextual, and has great flexibility coming from the ability to move between different contexts. As an example, we look at the taxi-cab metric and examine what circles are in this context, and what ? (“pi”) is, where ? is defined as the ratio between the circumference and diameter of any circle. We then look at some different contexts in which 1 + 1 can be considered to be something other than 2, including the “n-hour clocks”, that is, arithmetic modulo n, and the zero world in which everything is zero. This is to open our thinking to the idea that different things can be true in different contexts.
A first example of a large category of mathematical structures. This means that, instead of looking at an individual structure as a category, we look at all structures of a certain type, and appropriate morphisms between them, and express that as a category. Sets and functions are an essential starting point of mathematics, and one of the fundamental motivating examples of category theory. We start by giving an account of functions that is more aligned with higher level mathematics, and is possibly different from how functions are usually treated in high school. We also examine the total number of possible functions between a given set of inputs and a set of outputs. We then define the identity function, and composition of functions, and check the unit and associativity laws, to show that sets and functions do indeed form a category, which we call Set. Finally, we introduce the idea of sets with extra structure, and the important difference between expressing properties of functions at the level of elements, or at the level of objects and morphisms in the category Set. The latter is the idea of expressing things “categorically”.
Pullbacks and pushouts are more advanced universal properties, showing some more of the general features that are missing from the universal properties we’ve seen so far. We describe the general idea of a cone over a diagram, and define a limit over a diagram as a universal cone over that diagram, and show that products are in fact limits over a discrete diagram. We define pullbacks as limits over a particular diagram which includes some arrows. We unravel pullbacks in Set, and show that intersections are an example. We also describe the category in which pullbacks are terminal objects, and show how pullbacks can be used to define composable pairs of arrows in the definition of a category. We define pushouts as the dual of pullbacks, and then unravel that as a direct definition. We examine pushouts in Set and show that, given two sets, the square involving their intersection and their union is both a pullback and a pushout. We briefly discuss pushouts of topological spaces as a way of glueing spaces together.
We gather small categories and functors into a category Cat, taking care with size issues to avoid a Russell-like paradox. We consider some functors from Cat to Set, and to the category of graphs and their morphisms. We sketch a free category functor. We look at structures in Cat, much as we have done with other examples of large categories of mathematical structures. We examine terminal and initial objects in Cat, then products and coproducts, and the relationship between (co)products in Cat and those in the categories of posets or monoids. We examine isomorphisms in Cat and show that these exhibit categories with the same arrow structure, such as the cube of factors of 30 and the cube of three types of privilege. We discuss the fact that this concept is overly strict, as it invokes equalities between objects, showing that Cat strains at its dimensions and is trying to expand into higher dimensions. This leads us to the definition of full, faithful, and essentially surjective. We show that full and faithful functors reflect isomorphisms. We define pointwise equivalence and discuss the sense in which this is a version of bijection, not of isomorphism.
An introduction to the concept of the book, the role it aims to play, and the intended audience. Traditionally, mathematics is often thought to progress through levels of difficulty, with category theory being very advanced and therefore only taught to advanced math students. However, in this book we take the view that mathematics is a network of interconnecting ideas, and that, while individual subject areas may progress cumulatively, there is no technical need to study any of them before category theory. So the book is aimed at a wide audience, especially including people who have not studied college-level mathematics.