A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Categories and Morphisms

Graduate Depth 74 in the knowledge graph I know this Set as goal
161topics build on this
376prerequisites beneath it
See this on the map →
Naive Set TheoryBinary Relations+7 more2-Categories2-Categories and Weak Functors+19 more
categories morphisms objects composition identity

Core Idea

A category consists of a collection of objects and a collection of morphisms (arrows) between them, together with a composition operation that is associative and has identity morphisms for each object. Categories abstract the essential structure of mathematical systems: sets with functions, groups with homomorphisms, vector spaces with linear maps, and topological spaces with continuous maps all form categories. The morphisms, not the objects, carry most of the structural content—category theory studies what can be said about mathematical structures purely from the arrows between them.

How It's Best Learned

Start by recognizing familiar mathematical structures as categories: Set (sets and functions), Grp (groups and homomorphisms), Vect (vector spaces and linear maps). Verify the axioms—associativity of composition and existence of identities—in each case. Then work through small finite categories drawn as directed graphs to build intuition before abstract definitions.

Common Misconceptions

Explainer

Category theory begins with a unifying question: what do sets-and-functions, groups-and-homomorphisms, and vector-spaces-and-linear-maps have in common? The answer is the structure of a category: a collection of objects, a collection of morphisms (arrows) between them, and a composition operation. Category theory extracts this shared pattern and studies it in the abstract — any theorem proved from the category axioms alone holds simultaneously in every category, no matter how different the objects look.

A category C has two ingredients. First, a class of objects — think of these as the mathematical structures you care about (sets, groups, topological spaces). Second, for each ordered pair of objects A and B, a class of morphisms from A to B, written f: A → B. Morphisms compose: given f: A → B and g: B → C, there is a composite g ∘ f: A → C. Two axioms govern this composition. Associativity: (h ∘ g) ∘ f = h ∘ (g ∘ f) whenever the composites are defined — the order of association does not matter. Identity: every object A has an identity morphism id_A: A → A such that f ∘ id_A = f and id_B ∘ f = f for any f: A → B. That is the entire definition. No mention of elements, no mention of structure inside the objects.

The canonical example is Set: objects are sets, morphisms are functions, composition is function composition. You can verify the axioms directly — function composition is associative, and the identity function x ↦ x is a neutral element. Other examples reward careful examination. In Grp (groups and homomorphisms), morphisms must preserve the group operation — not every function between groups counts, only structure-preserving ones. In a poset viewed as a category, objects are elements of the poset and morphisms encode the ≤ relation: there is exactly one morphism from a to b if a ≤ b, and none otherwise. Morphisms here are not functions at all — they are just relationships. This variety shows why the definition is stated in terms of abstract arrows rather than functions.

The most important conceptual shift in category theory is from internal structure to relational structure. Set theory asks: what is inside a set? Category theory asks: how do objects relate to each other via morphisms? Two objects are considered isomorphic — essentially the same from the categorical perspective — if there are morphisms f: A → B and g: B → A such that g ∘ f = id_A and f ∘ g = id_B. They may look completely different internally, but if they behave identically with respect to all arrows, category theory treats them as equivalent. This relational point of view is what makes category theory so powerful as a unifying language across mathematics.

As you proceed to functors and natural transformations, you will see this abstraction pay off. A functor is a map between categories that preserves composition and identities — it is to categories what a homomorphism is to groups. Natural transformations are maps between functors. These higher-level structures let mathematicians transport theorems between entirely different areas of mathematics: a construction proved categorically in topology can apply immediately to algebra if both can be phrased in the same categorical language. The seemingly minimal axioms of a category are the foundation for this remarkable generality.

Practice Questions 3 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersIntroduction to ExponentsOrder of OperationsInteger Order of OperationsVariable ExpressionsThe Distributive PropertyVariables and Expressions ReviewIntroduction to PolynomialsAdding and Subtracting PolynomialsMultiplying PolynomialsFactorialPermutationsCombinationsCounting Principles: Addition and Multiplication RulesIntroduction to Graph TheoryPropositional Logic FoundationsLogical EquivalencesSet Operations: Union, Intersection, and ComplementCartesian Products and RelationsPartial OrdersBinary RelationsEquivalence RelationsInjective, Surjective, and Bijective FunctionsCategories and Morphisms

Longest path: 75 steps · 376 total prerequisite topics

Prerequisites (9)

Leads To (21)