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

Kan Extensions

Research Depth 92 in the knowledge graph ☐ I know this ☆ Set as goal
1topic build on this
534prerequisites beneath it
See this on the map →
Left and Right AdjointsLimits and Colimits+10 more→→Kan Extensions and Pointwise Formulae
Kan extension left Kan extension right Kan extension pointwise Kan extension colimit formula universal construction

Core Idea

Given functors K: C → D and F: C → E, the left Kan extension Lan_K F: D → E is the universal functor extending F along K, satisfying a universal property: Nat(Lan_K F, G) ≅ Nat(F, G ∘ K) for all G: D → E. Dually, the right Kan extension Ran_K F satisfies Nat(G, Ran_K F) ≅ Nat(G ∘ K, F). When E is cocomplete, left Kan extensions can be computed pointwise as colimits: (Lan_K F)(d) = colim_{(c, K(c)→d)} F(c) over the comma category (K ↓ d). Saunders Mac Lane famously wrote that "all concepts are Kan extensions," since limits, colimits, adjunctions, and even the Yoneda embedding can be expressed as Kan extensions.

How It's Best Learned

Start with the simplest case: K is the inclusion of a subcategory and F assigns values on that subcategory. Compute the left Kan extension as a colimit over the relevant comma category for a concrete example (e.g., extending a functor defined on a discrete category to a larger one). Then verify that adjoint functors are a special case: the left adjoint of G is the left Kan extension of the identity along G.

Common Misconceptions

Explainer

The motivating question is simple: given a functor F: C → E and a functor K: C → D that "embeds" or "changes" the indexing, can you extend F to all of D in the most economical way? Concretely, imagine F is defined on a small subcategory C but you need a functor defined on all of D — the left Kan extension Lan_K F is the "best approximation from the left" to this problem. The universal property says: natural transformations from Lan_K F to any G: D → E are in natural bijection with natural transformations from F to G ∘ K. This is the same pattern you know from adjunctions: Lan_K F is left adjoint to the precomposition functor (− ∘ K) between functor categories. When you see Nat(Lan_K F, G) ≅ Nat(F, G ∘ K), read it as "the extension sees everything the original functor saw, and nothing more."

When E is cocomplete, you can compute the left Kan extension pointwise as a colimit. For each object d ∈ D, the comma category (K ↓ d) consists of all pairs (c ∈ C, K(c) → d) — the objects of C that map into d via K, together with those maps. The colimit of F over this comma category gives (Lan_K F)(d) = colim_{(K ↓ d)} F. Intuitively, to define the extension at d, you look at all the "ways d can be reached from C via K," take the values of F at those sources, and glue them together in the most general way — a colimit. The right Kan extension is the dual, using limits over the comma category (d ↓ K) instead. Pointwise Kan extensions are particularly well-behaved: they are preserved by representable functors and interact cleanly with composition.

Adjunctions are among the most important special cases. If you take K = G: D → C (a functor you want a left adjoint for) and set F = Id_C, then Lan_G Id_C: C → D is exactly the left adjoint of G — if it exists. The universal property of the Kan extension precisely recovers the adjoint bijection Hom_C(c, G(d)) ≅ Hom_D(Fd, d). This is why Mac Lane's dictum "all concepts are Kan extensions" carries weight: limits (right Kan extensions along the diagonal), colimits (left Kan extensions along the diagonal), the Yoneda embedding (the right Kan extension of the identity along itself), and adjoints all fall out of the one construction. Understanding Kan extensions is essentially understanding the universal properties that hold all of category theory together.

A practical technique worth mastering is computing Kan extensions via the coend formula for functor categories: (Lan_K F)(d) = ∫^{c ∈ C} Hom_D(K(c), d) ⊗ F(c), a "weighted colimit" that generalizes the pointwise formula. This expression makes it transparent that the extension at d is built by "gluing copies of F(c) weighted by how many ways K(c) maps to d." For discrete categories, it collapses to a coproduct; for enriched categories, it becomes a tensor product. Once you see this formula, constructions like Day convolution (the monoidal structure on functor categories) and nerve-realization adjunctions appear as instances of the same underlying Kan extension machinery.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Equivalences → Set Operations: Union, Intersection, and Complement → Cartesian Products and Relations → Partial Orders → Binary Relations → Equivalence Relations → Injective, Surjective, and Bijective Functions → Categories and Morphisms → Functors → Commutative Diagrams in Category Theory → Commutative Diagrams and Composition → Natural Transformations → 2-Categories and Weak Functors → Natural Isomorphisms Between Functors → Isomorphisms in Categories → Universal Properties → Initial and Terminal Objects → Products and Coproducts → Equalizers and Coequalizers → Limits and Colimits → Pullbacks and Pushouts → Adjoint Functors → Free Objects → Free and Forgetful Functors → Left and Right Adjoints → Kan Extensions

Longest path: 93 steps · 534 total prerequisite topics

Prerequisites (12)

Leads To (1)