In
category theory, a branch of
mathematics, the diagonal functor
is given by
, which maps
objects as well as
morphisms. This
functor
In mathematics, specifically category theory, a functor is a mapping between categories. Functors were first considered in algebraic topology, where algebraic objects (such as the fundamental group) are associated to topological spaces, an ...
can be employed to give a succinct alternate description of the product of objects ''within'' the
category
Category, plural categories, may refer to:
Philosophy and general uses
*Categorization, categories in cognitive science, information science and generally
* Category of being
* ''Categories'' (Aristotle)
* Category (Kant)
* Categories (Peirce) ...
: a product
is a universal arrow from
to
. The arrow comprises the projection maps.
More generally, given a
small index category , one may construct the
functor category , the objects of which are called
diagrams. For each object
in
, there is a
constant diagram that maps every object in
to
and every morphism in
to
. The diagonal functor
assigns to each object
of
the diagram
, and to each morphism
in
the
natural transformation
In category theory, a branch of mathematics, a natural transformation provides a way of transforming one functor into another while respecting the internal structure (i.e., the composition of morphisms) of the categories involved. Hence, a na ...
in
(given for every object
of
by
). Thus, for example, in the case that
is a
discrete category with two objects, the diagonal functor
is recovered.
Diagonal functors provide a way to define
limits and
colimit
In category theory, a branch of mathematics, the abstract notion of a limit captures the essential properties of universal constructions such as products, pullbacks and inverse limits. The dual notion of a colimit generalizes constructions su ...
s of diagrams. Given a
diagram , a natural transformation
(for some object
of
) is called a
cone for
. These cones and their factorizations correspond precisely to the objects and morphisms of the
comma category , and a limit of
is a terminal object in
, i.e., a
universal arrow
In mathematics, more specifically in category theory, a universal property is a property that characterizes up to an isomorphism the result of some constructions. Thus, universal properties can be used for defining some objects independently fr ...
. Dually, a
colimit
In category theory, a branch of mathematics, the abstract notion of a limit captures the essential properties of universal constructions such as products, pullbacks and inverse limits. The dual notion of a colimit generalizes constructions su ...
of
is an initial object in the comma category
, i.e., a universal arrow
.
If every functor from
to
has a limit (which will be the case if
is
complete), then the operation of taking limits is itself a functor from
to
. The limit functor is the
right-adjoint of the diagonal functor. Similarly, the colimit functor (which exists if the category is cocomplete) is the left-adjoint of the diagonal functor.
For example, the diagonal functor
described above is the left-adjoint of the binary
product functor and the right-adjoint of the binary
coproduct functor. Other well-known examples include the
pushout, which is the limit of the
span
Span may refer to:
Science, technology and engineering
* Span (unit), the width of a human hand
* Span (engineering), a section between two intermediate supports
* Wingspan, the distance between the wingtips of a bird or aircraft
* Sorbitan es ...
, and the
terminal object, which is the limit of the
empty category.
See also
*
Diagram (category theory)
*
Cone (category theory)
*
Diagonal morphism
References
*
*
Category theory
{{cattheory-stub