In

category theory
Category theory formalizes mathematical structure and its concepts in terms of a Graph labeling, labeled directed graph called a ''Category (mathematics), category'', whose nodes are called ''objects'', and whose labelled directed edges are cal ...

, a branch of mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structure (algebra), space (geometry), and calculus, change (mathematical analysis, analysis). It has no generally ...

, a section is a right inverse of some morphism. Dually, a retraction is a left inverse of some morphism.
In other words, if ''f'' : ''X'' → ''Y'' and ''g'' : ''Y'' → ''X'' are morphisms whose composition ''f'' o ''g'' : ''Y'' → ''Y'' is the identity morphism on ''Y'', then ''g'' is a section of ''f'', and ''f'' is a retraction of ''g''.
Every section is a monomorphism (every morphism with a left inverse is left-cancellative), and every retraction is an epimorphism (every morphism with a right inverse is right-cancellative).
In algebra, sections are also called split monomorphisms and retractions are also called split epimorphisms. In an abelian category, if ''f'' : ''X'' → ''Y'' is a split epimorphism with split monomorphism ''g'' : ''Y'' → ''X'', then ''X'' is isomorphic to the direct sum of ''Y'' and the kernel (category theory), kernel of ''f''. The synonym coretraction for section is sometimes seen in the literature, although rarely in recent work.
Terminology

The concept of a retraction in category theory comes from the essentially similar notion of a retraction (topology), retraction in topology: $f:X\; \backslash to\; Y$ where $Y$ is a subspace of $X$ is a retraction in the topological sense, if it's a retraction of the inclusion map $i:Y\backslash hookrightarrow\; X$ in the category theory sense. The concept in topology was defined by Karol Borsuk in 1931. Borsuk's student, Samuel Eilenberg, was with Saunders Mac Lane the founder of category theory, and since the earliest publications on category theory concerned various topological spaces, one might have expected this term to have initially be used. In fact, their earlier publications, up to, e.g., Mac Lane (1963)'s ''Homology'', used the term right inverse. It was not until 1965 when Eilenberg and John Coleman Moore coined the dual term 'coretraction' that Borsuk's term was lifted to category theory in general. The term coretraction gave way to the term section by the end of the 1960s. Both use of left/right inverse and section/retraction are commonly seen in the literature: the former use has the advantage that it is familiar from the theory of semigroups and monoids; the latter is considered less confusing by some because one does not have to think about 'which way around' composition goes, an issue that has become greater with the increasing popularity of the synonym ''f;g'' for ''g∘f''.Cf. e.g., https://blog.juliosong.com/linguistics/mathematics/category-theory-notes-9/Examples

In the category of sets, every monomorphism (injective Function (mathematics), function) with a Empty set, non-empty Domain of a function, domain is a section, and every epimorphism (surjective function) is a retraction; the latter statement is equivalent to the axiom of choice. In the category of vector spaces over a Field (mathematics), field ''K'', every monomorphism and every epimorphism splits; this follows from the fact that linear maps can be uniquely defined by specifying their values on a basis (linear algebra), basis. In the category of abelian groups, the epimorphism Z → Z/2Z which sends every integer to its remainder modular arithmetic, modulo 2 does not split; in fact the only morphism Z/2Z → Z is the Zero morphism, zero map. Similarly, the natural monomorphism Z/2Z → Z/4Z doesn't split even though there is a non-trivial morphism Z/4Z → Z/2Z. The categorical concept of a section is important in homological algebra, and is also closely related to the notion of a section (fiber bundle), section of a fiber bundle in topology: in the latter case, a section of a fiber bundle is a section of the bundle projection map of the fiber bundle. Given a Quotient space (topology), quotient space $\backslash bar\; X$ with quotient map $\backslash pi\backslash colon\; X\; \backslash to\; \backslash bar\; X$, a section of $\backslash pi$ is called a Transversal (combinatorics), transversal.Bibliography

* *See also

*Splitting lemma *Inverse function#Left and right inverses *Transversal (combinatorics)Notes

{{Reflist Category theory Homological algebra