Free groups The construction of
free groups is a common and illuminating example. Let be the functor assigning to each set the
free group generated by the elements of , and let be the
forgetful functor, which assigns to each group its underlying set. Then is left adjoint to : {{defn|One can also verify directly that and are natural. Then, a direct verification that they form a counit–unit adjunction (\varepsilon,\eta):F\dashv G is as follows: {{defn|1_F = \varepsilon F\circ F\eta says that for each set the composition FY\xrightarrow\overset{}{\;F(\eta_Y)\;}FGFY\xrightarrow{\;\varepsilon_{FY}\,}FY should be the identity. The intermediate group is the free group generated freely by the words of the free group . (Think of these words as placed in parentheses to indicate that they are independent generators.) The arrow F(\eta_Y) is the group homomorphism from into sending each generator of to the corresponding word of length one () as a generator of . The arrow \varepsilon_{FY} is the group homomorphism from to sending each generator to the word of it corresponds to (so this map is "dropping parentheses"). The composition of these maps is indeed the identity on .}} {{defn|1_G = G\varepsilon \circ \eta G says that for each group the composition GX\xrightarrow{\;\eta_{GX}\;}GFGX\xrightarrow\overset{}{\;G(\varepsilon_X)\,}GX should be the identity. The intermediate set is just the underlying set of . The arrow \eta_{GX} is the "inclusion of generators" set map from the set to the set . The arrow G(\varepsilon_X) is the set map from to , which underlies the group homomorphism sending each generator of to the element of it corresponds to ("dropping parentheses"). The composition of these maps is indeed the identity on .}} }}
Free constructions and forgetful functors Free objects are all examples of a left adjoint to a
forgetful functor, which assigns to an algebraic object its underlying set. These algebraic
free functors have generally the same description as in the detailed description of the free group situation above.
Diagonal functors and limits Products,
pullbacks,
equalizers, and
kernels are all examples of the categorical notion of a
limit. Any limit functor is right adjoint to a corresponding diagonal functor (provided the category has the type of limits in question), and the counit of the adjunction provides the defining maps from the limit object (i.e. from the diagonal functor on the limit, in the functor category). Below are some specific examples.
Colimits and diagonal functors Coproducts,
pushouts,
coequalizers, and
cokernels are all examples of the categorical notion of a
colimit. Any colimit functor is left adjoint to a corresponding diagonal functor (provided the category has the type of colimits in question), and the unit of the adjunction provides the defining maps into the colimit object. Below are some specific examples. •
Coproducts. If assigns to every pair of abelian groups their
direct sum, and if is the functor which assigns to every abelian group the pair , then is left adjoint to , again a consequence of the universal property of direct sums. The unit of this adjoint pair is the defining pair of inclusion maps from and into the direct sum, and the counit is the additive map from the direct sum of to back to (sending an element of the direct sum to the element of ).Analogous examples are given by the
direct sum of
vector spaces and
modules, by the
free product of groups and by the disjoint union of sets.
Further examples Algebra •
Adjoining an identity to a rng. This example was discussed in the motivation section above. Given a rng , a multiplicative identity element can be added by taking and defining a -bilinear product with . This constructs a left adjoint to the functor taking a ring to the underlying rng. •
Adjoining an identity to a semigroup. Similarly, given a semigroup , we can add an identity element and obtain a
monoid by taking the
disjoint union S \sqcup \{1\} and defining a binary operation on it such that it extends the operation on and is an identity element. This construction gives a functor that is a left adjoint to the functor taking a monoid to the underlying semigroup. •
Ring extensions. Suppose and are rings, and is a
ring homomorphism. Then can be seen as a (left) -module, and the
tensor product with yields a functor . Then is left adjoint to the forgetful functor . •
Tensor products. If is a ring and is a right -module, then the tensor product with yields a functor . The functor , defined by for every abelian group , is a right adjoint to . •
From monoids and groups to rings. The
integral monoid ring construction gives a functor from
monoids to rings. This functor is left adjoint to the functor that associates to a given ring its underlying multiplicative monoid. Similarly, the
integral group ring construction yields a functor from
groups to rings, left adjoint to the functor that assigns to a given ring its
group of units. One can also start with a
field and consider the category of -
algebras instead of the category of rings, to get the monoid and group rings over . •
Field of fractions. Consider the category of integral domains with injective morphisms. The forgetful functor from fields has a left adjoint—it assigns to every integral domain its
field of fractions. •
Polynomial rings. Let be the category of pointed commutative rings with unity (pairs where is a ring, and morphisms preserve the distinguished elements). The forgetful functor has a left adjoint – it assigns to every ring the pair where is the
polynomial ring with coefficients from . •
Abelianization. Consider the inclusion functor from the
category of abelian groups to
category of groups. It has a left adjoint called
abelianization which assigns to every group the quotient group . •
The Grothendieck group. In
K-theory, the point of departure is to observe that the category of
vector bundles on a
topological space has a commutative monoid structure under
direct sum. One may make an
abelian group out of this monoid, the
Grothendieck group, by formally adding an additive inverse for each bundle (or equivalence class). Alternatively one can observe that the functor that for each group takes the underlying monoid (ignoring inverses) has a left adjoint. This is a once-for-all construction, in line with the third section discussion above. That is, one can imitate the construction of
negative numbers; but there is the other option of an
existence theorem. For the case of finitary algebraic structures, the existence by itself can be referred to
universal algebra, or
model theory; naturally there is also a proof adapted to category theory, too. •
Frobenius reciprocity in the
representation theory of groups: see
induced representation. This example foreshadowed the general theory by about half a century.
Topology •
A functor with a left and a right adjoint. Let be the functor from
topological spaces to
sets that associates to every topological space its underlying set (forgetting the topology, that is). has a left adjoint , creating the
discrete space on a set , and a right adjoint creating the
trivial topology on . •
Suspensions and loop spaces. Given
topological spaces and , the space of
homotopy classes of maps from the
suspension of to is naturally isomorphic to the space of homotopy classes of maps from to the
loop space of . The suspension functor is therefore left adjoint to the loop space functor in the
homotopy category, an important fact in
homotopy theory. •
Stone–Čech compactification. Let be the category of
compact Hausdorff spaces and be the inclusion functor to the category of
topological spaces. Then has a left adjoint , the
Stone–Čech compactification. The unit of this adjoint pair yields a
continuous map from every topological space into its Stone–Čech compactification. •
Direct and inverse images of sheaves. Every
continuous map between
topological spaces induces a functor from the category of
sheaves (of sets, or abelian groups, or rings, etc.) on to the corresponding category of sheaves on , the
direct image functor. It also induces a functor from the category of sheaves of abelian groups on to the category of sheaves of abelian groups on , the
inverse image functor. is left adjoint to . Here a more subtle point is that the left adjoint for
coherent sheaves will differ from that for sheaves (of sets). •
Soberification. The article on
Stone duality describes an adjunction between the category of topological spaces and the category of
sober spaces that is known as soberification. Notably, the article also contains a detailed description of another adjunction that prepares the way for the famous
duality of sober spaces and spatial locales, exploited in
pointless topology.
Posets Every
partially ordered set can be viewed as a category (where the elements of the poset become the category's objects and we have a single morphism from to if and only if ). A pair of adjoint functors between two partially ordered sets is called a
Galois connection (or, if it is contravariant, an
antitone Galois connection). See that article for a number of examples: the case of
Galois theory of course is a leading one. Any Galois connection gives rise to
closure operators and to inverse order-preserving bijections between the corresponding closed elements. As is the case for
Galois groups, the real interest lies often in refining a correspondence to a
duality (i.e.
antitone order isomorphism). A treatment of Galois theory along these lines by
Kaplansky was influential in the recognition of the general structure here. The partial order case collapses the adjunction definitions quite noticeably, but can provide several themes: • adjunctions may not be dualities or isomorphisms, but are candidates for upgrading to that status • closure operators may indicate the presence of adjunctions, as corresponding
monads (cf. the
Kuratowski closure axioms) • a very general comment of
William Lawvere is that
syntax and semantics are adjoint: take to be the set of all logical theories (axiomatizations), and the power set of the set of all mathematical structures. For a theory in , let be the set of all structures that satisfy the axioms ; for a set of mathematical structures , let be the minimal axiomatization of . We can then say that is a subset of if and only if logically implies : the "semantics functor" is right adjoint to the "syntax functor" . •
division is (in general) the attempt to
invert multiplication, but in situations where this is not possible, we often attempt to construct an
adjoint instead: the
ideal quotient is adjoint to the multiplication by
ring ideals, and the
implication in
propositional logic is adjoint to
logical conjunction.
Category theory {{defn|1=If is an
equivalence of categories, then we have an inverse equivalence , and the two functors and form an adjoint pair. The unit and counit are natural isomorphisms in this case. If for which and are counit–unit pairs for and ; they are \begin{align} \varepsilon'&=\varepsilon\circ(F\eta^{-1}G)\circ(FG\varepsilon^{-1})\\ \eta'&=(GF\eta^{-1})\circ(G\varepsilon^{-1}F)\circ\eta \end{align} }}
Categorical logic {{defn|If \phi_Y is a unary predicate expressing some property, then a sufficiently strong set theory may prove the existence of the set Y=\{y\mid\phi_Y(y)\} of terms that fulfill the property. A proper subset T\subset Y and the associated injection of T into Y is characterized by a predicate \phi_T(y)=\phi_Y(y)\land\varphi(y) expressing a strictly more restrictive property.The role of
quantifiers in predicate logics is in forming propositions and also in expressing sophisticated predicates by closing formulas with possibly more variables. For example, consider a predicate \psi_f with two open variables of sort X and Y. Using a quantifier to close X, we can form the set \{y\in Y\mid \exists x.\,\psi_f(x,y)\land\phi_{S}(x)\} of all elements y of Y for which there is an x to which it is \psi_f-related, and which itself is characterized by the property \phi_{S}. Set theoretic operations like the intersection \cap of two sets directly corresponds to the conjunction \land of predicates. In
categorical logic, a subfield of
topos theory, quantifiers are identified with adjoints to the pullback functor. Such a realization can be seen in analogy to the discussion of propositional logic using set theory but the general definition make for a richer range of logics. So consider an object Y in a category with pullbacks. Any morphism f:X\to Y induces a functor f^{*} : \text{Sub}(Y) \longrightarrow \text{Sub}(X) on the category that is the preorder of
subobjects. It maps subobjects T of Y (technically: monomorphism classes of T\to Y) to the pullback X\times_Y T. If this functor has a left- or right adjoint, they are called \exists_f and \forall_f, respectively. They both map from \text{Sub}(X) back to \text{Sub}(Y). Very roughly, given a domain S\subset X to quantify a relation expressed via f over, the functor/quantifier closes X in X\times_Y T and returns the thereby specified subset of Y.
Example: In \operatorname{Set}, the category of sets and functions, the canonical subobjects are the subset (or rather their canonical injections). The pullback f^{*}T=X\times_Y T of an injection of a subset T into Y along f is characterized as the largest set which knows all about f and the injection of T into Y. It therefore turns out to be (in bijection with) the inverse image f^{-1}[T]\subseteq X. For S \subseteq X, let us figure out the left adjoint, which is defined via {\operatorname{Hom}}(\exists_f S,T) \cong {\operatorname{Hom}}(S,f^{*}T), which here just means \exists_f S\subseteq T \leftrightarrow S\subseteq f^{-1}[T]. Consider f[S] \subseteq T . We see S\subseteq f^{-1}[f[S\subseteq f^{-1}[T]. Conversely, If for an x\in S we also have x\in f^{-1}[T], then clearly f(x)\in T . So S \subseteq f^{-1}[T] implies f[S] \subseteq T . We conclude that left adjoint to the inverse image functor f^{*} is given by the direct image. Here is a characterization of this result, which matches more the logical interpretation: The image of S under \exists_f is the full set of y's, such that f^{-1} [\{y\}] \cap S is non-empty. This works because it neglects exactly those y\in Y which are in the complement of f[S]. So \exists_f S = \{ y \in Y \mid \exists (x \in f^{-1}[\{y\}]).\, x \in S \; \} = f[S]. Put this in analogy to our motivation \{y\in Y\mid\exists x.\,\psi_f(x,y)\land\phi_{S}(x)\}. The right adjoint to the inverse image functor is given (without doing the computation here) by \forall_f S = \{ y \in Y \mid \forall (x \in f^{-1} [\{y\}]).\, x \in S \; \}. The subset \forall_f S of Y is characterized as the full set of y's with the property that the inverse image of \{y\} with respect to f is fully contained within S. Note how the predicate determining the set is the same as above, except that \exists is replaced by \forall.}}
Probability The twin fact in probability can be understood as an adjunction: that expectation commutes with affine transform, and that the expectation is in some sense the best
solution to the problem of finding a real-valued approximation to a distribution on the real numbers. Define a category based on \R, with objects being the real numbers, and the morphisms being "affine functions evaluated at a point". That is, for any affine function f(x) = ax + b and any real number r, define a morphism (r, f): r \to f(r). Define a category based on M(\R), the set of probability distribution on \R with finite expectation. Define morphisms on M(\R) as "affine functions evaluated at a distribution". That is, for any affine function f(x) = ax + b and any \mu\in M(\R), define a morphism (\mu, f): \mu \to \mu\circ f^{-1}. Then, the
Dirac delta measure defines a functor: \delta: x\mapsto \delta_x, and the expectation defines another functor \mathbb E: \mu \mapsto \mathbb E[\mu], and they are adjoint: \mathbb E \dashv \delta. (Somewhat disconcertingly, \mathbb E is the left adjoint, even though \mathbb E is "forgetful" and \delta is "free".) ==Adjunctions in full==