128
$\begingroup$

I'm a undergraduate who wishes to learn category theory but I only have basic knowledge of linear algebra and set theory, I've also had a short course on number theory which used some basic concepts about groups and modular arithmetic. Is it too early to start learning category theory? should I wait to take a course on abstract algebra?

Is it very important to use category theory facts in a first course in group theory, ring theory, fields and Galois theory, modules and tensor products (each of those is a one semester course), would that make it a 'better' course?

I was unsure to learn category theory early but this post Mathematical subjects you wish you learned earlier inspired me to ask you given my background.

$\endgroup$
8
  • 10
    $\begingroup$ Unless you are an abstract person, I guess it's better to see more concrete mathematical constructions before diving into category theory. It won't be late after a first course in abstract algebra, or even in the middle of algebraic topology, for otherwise you may not appreciate the generality. $\endgroup$
    – user325
    Feb 9, 2011 at 7:00
  • 4
    $\begingroup$ If possible could you please also change the question to "how get started in category theory" rather than "when"? I highly disagree with that there has to be spcific order to when a subject can be learned, I passed a PDE course before passing the DE course where it was considered that one has to do DE before they can do PDE. So you don't need others persmission to study category theory. Ask for list of recomended books/free web lectures etc. $\endgroup$
    – jimjim
    Feb 9, 2011 at 7:41
  • 33
    $\begingroup$ @Arjang Why should he change the question to something different than what what he wants to ask? You can ask your own question if you want. You can also leave an answer to the effect "whenever you want" if you know what you are talking about. $\endgroup$
    – Alex B.
    Feb 9, 2011 at 7:50
  • 5
    $\begingroup$ @Arjang As I said, you are welcome to post your (not very informed, I dare say) opinion as an answer. $\endgroup$
    – Alex B.
    Feb 10, 2011 at 1:05
  • 3
    $\begingroup$ Start reading Lang's 'Algebra', and when you'll get to categories, you'll see for yourself if it's time for you or not ;) $\endgroup$ Nov 23, 2011 at 9:25

8 Answers 8

65
$\begingroup$

Luckily these days there is a beautiful text that teaches algebra and category theory at the same time: Aluffi - Chapter 0. It deserves to be more well-known. Besides the fact that it uses (basic) category language from the outset, it is very well-written. If I would ever teach an algebra course, this would probably the text I would use.

$\endgroup$
2
  • 7
    $\begingroup$ I find that book way too "wordy". It is indeed well-written, but reading it takes ages. It has tons of exercises though, which is the best thing about the book. $\endgroup$ Feb 10, 2011 at 4:43
  • 5
    $\begingroup$ I just finished a three-semeseter sequence of algebra using Aluffi's book. I am very happy that I learned some category theory from this book. The only negative thing about the book is it lacks detialed examples in some sections (I was lucky to have an excellent prof who gave lots of examples and assigned a lot of exercises). However, if you combine it with Dummit and Foote, you will enjoy learning algebra. $\endgroup$
    – yaa09d
    Feb 25, 2012 at 17:40
42
$\begingroup$

I tried reading Mac Lane's classic Categories for the working mathematician the summer after I finished first year. That didn't go very well, and I didn't learn much. I suspect the reason was that the examples were too inaccessible at that stage. On the other hand, I did understand Lawvere and Rosebrugh's Sets for Mathematics at that time, but again the lack of examples meant that I didn't appreciate the significance and elegance of categorification.

I would recommend not learning category theory until you've seen enough concrete examples to be able motivate its study properly — at the very least one course in group theory, one in linear algebra, and one in general point-set topology. Generalised abstract nonsense is better appreciated when you realise, for example, that the Cartesian product of sets, the direct product of groups, the direct product of vector spaces, and the product topology all satisfy the same universal property: Given two objects $A$ and $B$, their product is an object $A \times B$ together with a pair of arrows (structure-preserving maps) $p_1 : A \times B \to A$, $p_2 : A \times B \to B$ which are universal, in the sense that for any pair of arrows $f: X \to A$, $g: X \to B$, there is a unique arrow $(f, g): X \to A \times B$ such that $p_1 \circ (f, g) = f$ and $p_2 \circ (f, g) = g$.

On the other hand, learning category theory can also lead to some insights: for example, it is a remarkable fact that in the category of vector spaces, the direct sum of finitely many vector spaces is the same as the direct product of them. This is a mysterious coincidence, since in the other categories you are familiar with, the constructions corresponding to direct sum and direct product are distinct and in general not the same. This, together with some other facts, should convince you that something special and very nice is going on in linear algebra.

$\endgroup$
7
  • $\begingroup$ Thanks for that, if that is all it takes to jump into a category theory why do an entire course on those subjects, instead of just learning the concepts you mentioned above as part of an introduction to category theory? $\endgroup$
    – jimjim
    Feb 9, 2011 at 7:45
  • 1
    $\begingroup$ @Arjang: Not everything can be phrased in categorical language, and some things are actually more cumbersome. For instance, the categorical definition of a subobject is a bit obscure and will seem mysterious unless you realise objects in a category need not be sets. Moreover not everything generalises. There is no analogue of the rank-nullity theorem in topology, for instance. And what would an analogue of Sylow's theorems look like in linear algebra? There are many good reasons to study individual categories in their own right. $\endgroup$
    – Zhen Lin
    Feb 9, 2011 at 8:19
  • 5
    $\begingroup$ I don't know if I agree that the coincidence of finite products and coproducts makes linear algebra special. After all, this is true for modules over an arbitrary ring, sheaves of abelian things, and so on: actually any abelian category has finite "biproducts." So this is quite a common thing. I would say linear algebra is special because vector spaces are free, and this of course can also be discussed categorically (free objects, the free functor is left adjoint to the forgetful functor, etc.). $\endgroup$ Feb 9, 2011 at 17:33
  • 1
    $\begingroup$ Also, while there is no analogue of the rank-nullity theorem in topology, there is one in any "algebraic" category in the form of the first isomorphism theorem, and again this can be discussed (but not proved) in the categorical framework of kernels, cokernels, etc. But Sylow's theorems are a great example of results which are very special to a particular category, in this case the category of groups. $\endgroup$ Feb 9, 2011 at 17:46
  • 1
    $\begingroup$ @Asaf: I don't really like hearing that from you. I don't go around saying set theory is not worth learning, not even as a joke. $\endgroup$
    – Zhen Lin
    Mar 1, 2013 at 13:12
42
$\begingroup$

I very often find some knowledge of category theory useful to understand things conceptually.

A book that one could read before studying mathematics at the university is Lawvere's and Schanuel's Conceptual mathematics. This is an introduction to category theoretic ideas on a most elementary level.

Edit: two days ago, there appeared a very interesting-looking book by David I. Spivak on the arxiv called Category theory for scientists.

$\endgroup$
2
  • 4
    $\begingroup$ I whole-heartily agree with the recommendation of Lawvere and Schanuel's text as an elementary introduction to category theory. $\endgroup$ Feb 9, 2011 at 15:19
  • $\begingroup$ and @ Greg Graviton, thank you both for mentioning "Conceptual mathematics" getting into category theory finally! $\endgroup$
    – jimjim
    Feb 10, 2011 at 3:49
20
$\begingroup$

I've already answered a similar question on MathOverflow here.

Here are some thoughts of mine:

category theory (seen as a language) should not be teached just in advanced courses, but it should be developed into the basics courses, in a very gradual way;

some elementary concepts are so simple that also a first year student can understand them, if these concepts are presented in the right way: for instance you can see a category just as a graph with operations and functors as graph morphisms preserving the operations (this definition is not more complex or abstract then group-group homomorphism and vectorial space-linear map definitions; because these concepts are so simple way not introducing them early?

learning category theory helps in making connections between many different concepts, because it shows the deep unity in maths;

category theory is first of all a language, and so it gives us a new way of reasoning; this new way of reasoning requires some time to be fully assimilated, and this assimilation could require years; for this reason I think it's best starting to learn category soon;

having category theory help to learn new maths: for instance I've learned category theory for my interest in logic and foundations, then knowing those concepts helped to understand constructions in algebraic topology and algebraic geometry faster then what I would have done without it;

Other things can be found in the link above.

$\endgroup$
1
  • $\begingroup$ great, great answer! $\endgroup$
    – Vicfred
    Nov 24, 2011 at 4:21
16
$\begingroup$

Echoing a bit of user1728 and Sean's comments, Category Theory is a wonderful unifying language that ties together a lot of ideas and makes certain things much easier, but it is pretty rough going to learn in the abstract.

I was lucky enough that the professor that taught Abstract Algebra at the National University in Mexico when I took it did a lot of the proofs as if they were category theory, but without actually saying "Category Theory". So he proved that the product of groups has the universal property of a product, and the uniqueness up to unique isomorphism, and so on, with diagrams; did the same thing with rings. Etc. By the end of the course, he was mentioning that all of these ideas were special cases of a general theory called "Category Theory". And so on.

By the time I got to an actual course in Category Theory, I had a whole library of mental examples to draw upon when looking at all the different concepts, amplified with some of the less algebraic-flavored examples (such as considering a partially ordered set as a category, etc) that the professor for that course gave. With that in hand, the first couple of chapters of Mac Lane's book became easier to digest and understand, and use elsewhere.

Of course, this may slant my view; I tend to view Category Theory more as a useful unifying language than as a particular subject (in which I am at least somewhat wrong, if not more). But I suspect you'll be able to get into, and get a lot more out of, Category Theory if you have the library of examples on hand.

Of course, as I said, I was lucky: I was primed for Category Theory with examples that were essentially Category Theory without saying so. You may not benefit from that. Still, I think that waiting until you study some abstract algebra and see some of these constructions in action might be a good idea.

$\endgroup$
12
$\begingroup$

I agree a lot with user1728's answer. IMO category theory is a beautiful subject, but one that does not make a whole lot of sense without examples. I think it would be pretty hard to learn category theory while also learning all of the standard examples. I consider having an abstract algebra and/or a topology course an absolute prerequisite to understanding category theory. For me, the best part about category theory is that it is a framework that makes life easier.

There are some subjects that it is absolutely necessary to know category theory before hand, but a pass familiarity with the definitions should suffice for a first algebra or galois theory course.

$\endgroup$
11
$\begingroup$

The professor of the short algebraic topology course I took during my second year refused to give us the definition of functor, saying that it is better to start using them and building up interesting examples before looking at the abstract definitions. I remember that at the time I tough that this was quite stupid, but now I actually agree with him. I was happy to learn the basics of category theory the following year having more examples in mind. Most of the concepts of category theory are extremely natural but to realize that you need a good background. Otherwise you will most likely struggle against the abstractness with few chances to understand what's truly going on. Moreover, I don't think that you will profit much from knowing some category theory this early, before an advanced course in abstract algebra. I learned it while studying module theory, quite a long time after a first course in abstract algebra and a course in Galois theory, and I felt that that was perfect.

$\endgroup$
4
  • $\begingroup$ (I actually wanted to write my small anecdote as a comment but it looks like I don't have enough reputation to comment on other people's posts) $\endgroup$
    – user1728
    Feb 9, 2011 at 10:51
  • 17
    $\begingroup$ What a silly idea. If you understand what a group homomorphism is, you can understand what functors are. $\endgroup$ Feb 9, 2011 at 21:07
  • 1
    $\begingroup$ knowing something is never bad, knowing the wrong things is. He could have at least give a definition and tell you it will all become clear with examples. So when looking at the examples one would be trying to see how they relate to the definition. $\endgroup$
    – jimjim
    Feb 9, 2011 at 22:04
  • $\begingroup$ Well, of course you can read what categories and functors are (I'm pretty sure that the OP already did), but the only point that I can see for doing this is to recognise a functor as you see one (which imo is a good thing precisely because you prepare yourself for when you'll really learn category thoery). I'd say that there's no need at all of more advanced category theory before you'll actually need to use tools like equivalences of categories or limits. $\endgroup$
    – user1728
    Feb 10, 2011 at 7:56
9
$\begingroup$

I think there are good reasons to learn category theory early on for the unifying perspective it gives and also good reasons to wait until you have a healthy amount of examples on hand. One thing I want to emphasize, since no one here has mentioned it thus far: elementary category theory is largely a matter of learning a new language, with many definitions and few results. In fact, I would go so far as to say there are no results in elementary category theory. The Yoneda lemma might count, depending on whether it is actually elementary and whether its proof is actually more than a tautology.

Anyway, I think this helps the case of those who would encourage you to learn the subject earlier, since reading or talking about category theory is pretty smooth sailing in the sense that there are no intricate proofs to follow. Note, however, that the definitions of basic categorical concepts may themselves be somewhat intricate, but hopefully after a while they will seem natural and not cumbersome.

$\endgroup$
4
  • 3
    $\begingroup$ I don't know if it should be considered "elementary category theory", but the fact that a functor is an equivalence of categories if and only if it is fully faithful and essentially surjective is an higly nontrivial result in my opinion. $\endgroup$
    – user1728
    Feb 10, 2011 at 8:07
  • 1
    $\begingroup$ @user1728: I think that is an elementary fact, and I disagree that the proof is "highly nontrivial." In my opinion it's a pretty routine proof, although it does require the axiom of choice. $\endgroup$ Feb 11, 2011 at 19:20
  • $\begingroup$ But I agree at least that are there are some things which are not self-evident and require checking for yourself. Another, more complicated example is the equivalence of the two or three common definitions of an adjunction of functors. So maybe the claim that there are no results at this level whatsoever was hyperbolic. $\endgroup$ Feb 11, 2011 at 19:22
  • $\begingroup$ I think that the RAPL theorem also qualifies as a non-trivial result in elementary category theory. $\endgroup$ Aug 17, 2012 at 10:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .