ArticleslgStudy

science

Comma category

Comma category is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Comma category rather than just read about it. In short: In mathematics, a comma category is a construction in category theory. It provides another way of looking at morphisms: instead of simply relating objects of a category to one another, morphisms become objects in their own right.

Comma category — main illustration
Comma category — illustration

Key takeaways

  • Comma category belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Comma category to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Comma category from memory before moving on to harder problems.

Reference excerpt

In mathematics, a comma category is a construction in category theory. It provides another way of looking at morphisms: instead of simply relating objects of a category to one another, morphisms become objects in their own right. This notion was introduced in 1963 by F. W. Lawvere (Lawvere, 1963 p. 36), although the technique did not become generally known until many years later. Several mathematical concepts can be treated as comma categories, such as the special case of a slice category. Comma categories also guarantee the existence of some limits and colimits. The name comes from the notation originally used by Lawvere, which involved the comma punctuation mark. The name persists even though standard notation has changed, since the use of a comma as an operator is potentially confusing, and even Lawvere disliked the uninformative term "comma category" (Lawvere, 1963 p. 13).

Definition The most general comma category construction involves two functors with the same codomain. Often one of these will have domain 1 (the one-object one-morphism category). Some accounts of category theory consider only these special cases, but the term comma category is actually much more general.

General form Suppose that 𝒜, ℬ, and 𝒞 are categories, and S and T (for source and target) are functors:

We can form the comma category (S↓T) as follows:

The objects are all triples (A,B,h) with A an object in 𝒜, B an object in ℬ, and h:S(A)→T(B) a morphism in 𝒞. The morphisms from (A,B,h) to (A′,B′,h′) are all pairs (f,g) where f:A→A′ and g:B→B′ are morphisms in 𝒜 and ℬ respectively, such that the following diagram commutes:

Morphisms are composed by taking (f′,g′)∘(f,g) to be (f′∘f,g′∘g), whenever the latter expression is defined. The identity morphism on an object (A,B,h) is (idA,idB).

Slice category

The first special case occurs when 𝒞=𝒜, the functor S is the identity functor, and ℬ=𝟏 (the category with one object ∗ and one morphism). Then T(∗)=A∗ for some object A∗ in 𝒜.

In this case, the comma category is written (𝒜↓A∗), and is often called the slice category over A∗ or the category of objects over A∗. The objects (A,∗,h) can be simplified to pairs (A,h), where h:A→A∗. Sometimes, h is denoted by πA. A morphism (f,id∗) from (A,πA) to (A′,πA′) in the slice category can then be simplified to an arrow f:A→A′ making the following diagram commute:

Coslice category

The dual concept to a slice category is a coslice category. Here, 𝒞=ℬ, S has domain 𝟏 and T is an identity functor.

In this case, the comma category is often written (B∗↓ℬ), where B∗=S(∗) is the object of ℬ selected by S. It is called the coslice category with respect to B∗, or the category of objects under B∗. The objects are pairs (B,ιB) with ιB:B∗→B. Given (B,ιB) and (B′,ιB′), a morphism in the coslice category is a map g:B→B′ making the following diagram commute:

Arrow category S and T are identity functors on 𝒞 (so 𝒜=ℬ=𝒞).

In this case, the comma category is the arrow category 𝒞→. Its objects are the morphisms of 𝒞, and its morphisms are commuting squares in 𝒞.

Other variations In the case of the slice or coslice category, the identity functor may be replaced with some other functor; this yields a family of categories particularly useful in the study of adjoint functors. For example, if T is the forgetful functor mapping an abelian group to its underlying set, and s is some fixed set (regarded as a functor from 1), then the comma category (s↓T) has objects that are maps from s to a set underlying a group. This relates to the left adjoint of T, which is the functor that maps a set to the free abelian group having that set as its basis. In particular, the initial object of (s↓T) is the canonical injection s→T(G), where G is the free group generated by s. An object of (s↓T) is called a morphism from s to T or a T-structured arrow with domain s. An object of (S↓t) is called a morphism from S to t or a S-costructured arrow with codomain t. Another special case occurs when both S and T are functors with domain 𝟏. If S(∗)=A and T(∗)=B, then the comma category (S↓T), written (A↓B), is the discrete category whose objects are morphisms from A to B. An inserter category is a (non-full) subcategory of the comma category where 𝒜=ℬ and f=g are required. The comma category can also be seen as the inserter of S∘π1 and T∘π2, where π1 and π2 are the two projection functors out of the product category 𝒜×ℬ.

Properties For each comma category there are forgetful functors from it.

Domain functor, S↓T→𝒜, which maps: objects: (A,B,h)↦A; morphisms: (f,g)↦f; Codomain functor, S↓T→ℬ, which maps: objects: (A,B,h)↦B; morphisms: (f,g)↦g. Arrow functor, S↓T→𝒞→, which maps: objects: (A,B,h)↦h; morphisms: (f,g)↦(Sf,Tg);

Examples of use

Some notable categories Several interesting categories have a natural definition in terms of comma categories.

… excerpt ends here. Continue reading the full article.

Illustrations

Comma category: Slice Diagram
Slice Diagram
Comma category: Coslice Diagram
Coslice Diagram
Comma category: Arrow Diagram
Arrow Diagram

Worked examples

Example 1 — a first encounter with Comma category

Start with the simplest possible case. Write down what Comma category claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Comma category before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Comma category ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Comma category

In research
Comma category appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Comma category in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Comma category is common in secondary-school and first-year university syllabi. It links to neighbouring topics Categories in category theory, so understanding it makes those chapters shorter.
In everyday life
Look for Comma category outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Comma category” →

How to study Comma category in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Comma category means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Comma category out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Comma category in simple terms?

In mathematics, a comma category is a construction in category theory. It provides another way of looking at morphisms: instead of simply relating objects of a category to one another, morphisms become objects in their own right.

Why does Comma category matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Comma category?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Comma category.

Tags

  • Categories in category theory

Keep exploring