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

Slice and Coslice Categories

Graduate Depth 76 in the knowledge graph ☐ I know this ☆ Set as goal
2topics build on this
384prerequisites beneath it
See this on the map →
Categories and MorphismsFunctors→→Kan Extensions
slice coslice comma relative over

Core Idea

The slice category C/X has objects as morphisms f: Y → X and morphisms as commutative triangles. The coslice category X/C has objects as morphisms X → Y with the same commutative structure. Slice categories formalize 'relative' categorical properties and are essential for defining limits and colimits in a relative sense. They appear naturally in studying fibrations and in defining universal properties with a fixed reference object.

How It's Best Learned

Study slice categories of Set over a set S (equivalent to S-indexed families of sets). Examine slice categories of a poset over an element, and verify that limits in the slice category correspond to special limits in the original category.

Common Misconceptions

A slice category is not a full subcategory—morphisms in C/X are defined relative to X. Not every limit in C/X lifts to a limit in C. The universal properties in slice categories are weaker than absolute universal properties because they depend on the choice of X.

Explainer

You already know that a category consists of objects and morphisms satisfying identity and composition laws. The slice construction takes a fixed object X in a category C and builds an entirely new category whose objects are morphisms landing in X. An object of the slice category C/X is a pair (Y, f) where f: Y → X is a morphism in C. Think of it as "everything that maps into X, organized as a category in its own right."

A morphism in C/X from (Y, f) to (Z, g) is a morphism h: Y → Z in C such that the triangle commutes: g ∘ h = f. In other words, h must be compatible with the maps to X — it doesn't just connect Y to Z, it connects Y to Z in a way that respects both objects' relationship to X. Composition is inherited from C (compose the underlying morphisms), and the commutativity condition is preserved under composition. Identity morphisms are the identity morphisms from C, which trivially satisfy the commutativity condition.

The concrete example worth internalizing is Set/S, the slice of Set over a set S. An object is a function f: A → S — equivalently, an S-indexed family of sets (the fiber over each s ∈ S is f⁻¹(s)). A morphism from f: A → S to g: B → S is a function h: A → B preserving fibers: g(h(a)) = f(a) for all a. This is precisely a morphism of S-indexed families of sets. So Set/S is equivalent to the category of S-indexed families — and this makes slice categories the correct setting for studying variable or parameterized structures.

The coslice category X/C reverses the arrows: its objects are morphisms X → Y (things that X maps into), and morphisms are commutative triangles pointing outward. Coslice categories capture "things equipped with a distinguished element or basepoint," since a morphism X → Y in Set is the same as a choice of element in Y (when X is a singleton). Both slice and coslice categories appear naturally in the theory of limits and colimits — a cone over a diagram D with apex X is exactly an object of the appropriate slice category built from D — and they are essential for expressing universal properties in a relative, contextual way. When the fixed object X changes, so does the entire categorical context for what "universal" means.

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 → Slice and Coslice Categories

Longest path: 77 steps · 384 total prerequisite topics

Prerequisites (2)

Leads To (1)