The concept of category is typically taught later in undergrad math than the concept of group is. It is supposedly a more advanced concept. Indeed, the typical examples of categories used in applications are more advanced than some of those in group theory (for example, symmetries of geometric shapes and operations on numbers).
Here are some thoughts on how categories could be taught as early as groups, if not earlier.
Nodes and arrows
Small finite categories can be pictured as a graph using nodes and arrows, together with a specification of the identity arrows and a definition of the composition. (I am using the word “graph” the way category people use it: a directed graph with possible multiple edges and loops.)
An example is the category pictured below with three objects and seven arrows. The composition is forced except for $kh$, which I hereby define to be $f$.
This way of picturing a category is easy to grasp. The composite $kh$ visibly has to be either $f$ or $g$. There is only one choice for the composite of any other composable pair. Still, the choice of composite is not deducible directly by looking at the graph.
A first class in category theory using graphs as examples could start with this example, or the example in Note 1 below. This example is nontrivial (never start any subject with trivial examples!) and easy to grasp, in this case using the extraordinary preprocessing your brain does with the input from your eyes. The definition of category is complicated enough that you should probably present the graph and then give the definition while pointing to what each clause says about the graph.
Most abstract structures have several different ways of representing them. In contrast, when you discuss categorial concepts the standard object-and-arrow notation is the overwhelming favorite. It reveals domains and codomains and composable pairs, in fact almost everything except which of several possible arrows the composite actually is. If for example you try to define category using sets and functions as your running example, the student has to do a lot of on-the-go chunking — thinking of a set as a single object, of a set function (which may involve lots of complicated data) as a single chunk with a domain and a codomain, and so on. But an example shown as a graph comes already chunked and in a picture that is guaranteed to be the most common kind of display they will see in discussions of categories.
After you do these examples, you can introduce trivial and simple graph examples in which the composition is entirely induced; for example these three:
(In case you are wondering, one of them is the empty category.) I expect that you should also introduce another graph non-example in which associativity fails.
Multiplication tables
The multiplication table for a group is easy to understand, too, in the sense that it gives you a simple method of calculating the product of any two elements. But it doesn’t provide a visual way to see the product as a category-as-graph does. Of course, the graph representation works only for finite categories, just as the multiplication table works only for finite groups.
You can give a multiplication table for a small finite category, too, like the one below for the category above. (“iA” means the identity arrow on A and composition, as usual in category theory, is right to left.) This is certainly more abstract than the graph picture, but it does hit you in the face with the fact that the multiplication is partial.
Notes
1. My suggested example of a category given as a graph shows clearly that you can define two different categorial structures on the graph. One problem is that the two different structures are isomorphic categories. In fact, if you engage the students in a discussion about these examples someone may notice that! So you should probably also use the graph below,where you can define several different category structures that are not all isomorphic.
2. Multiplication tables and categories-as-graphs-with-composition are extensional presentations. This means they are presented with all their parts laid out in front of you. Most groups and categories are given by definitions as accumulations of properties (see concept in the Handbook of Mathematical Discourse). These definitions tend to make some requirements such as associativity obvious.
Students are sometimes bothered by extensional definitions. “What are h and k (in the category above)? What are a, b and c?” (in a group given as a set of letters and a multiplication table).
Send to Kindle



