Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Adjoint functors
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Relationship between two functors abstracting many common constructions}} {{About||the construction in field theory|Adjunction (field theory)|the construction in topology|Adjunction space}} {{More footnotes needed|date=January 2025}} In [[mathematics]], specifically [[category theory]], '''adjunction''' is a relationship that two [[functor]]s may exhibit, intuitively corresponding to a weak form of equivalence between two related [[category (mathematics)|categories]]. Two functors that stand in this relationship are known as '''adjoint functors''', one being the '''left adjoint''' and the other the '''right adjoint'''. Pairs of adjoint functors are ubiquitous in mathematics and often arise from constructions of "optimal solutions" to certain problems (i.e., constructions of objects having a certain [[universal property]]), such as the construction of a [[free group|free group on a set]] in [[algebra]], or the construction of the [[Stone–Čech compactification]] of a [[topological space]] in [[topology]]. By definition, an adjunction between categories <math>\mathcal{C}</math> and <math>\mathcal{D}</math> is a pair of functors (assumed to be [[Covariant functor|covariant]]) :<math>F: \mathcal{D} \rightarrow \mathcal{C}</math> and <math>G: \mathcal{C} \rightarrow \mathcal{D}</math> and, for all objects <math>c</math> in <math>\mathcal{C}</math> and <math>d</math> in <math>\mathcal{D}</math>, a [[bijection]] between the respective morphism sets :<math>\mathrm{hom}_{\mathcal{C}}(Fd,c) \cong \mathrm{hom}_{\mathcal{D}}(d,Gc)</math> such that this family of bijections is [[natural transformation|natural]] in <math>c</math> and <math>d</math>. Naturality here means that there are [[natural isomorphism]]s between the pair of functors <math>\mathcal{C}(F-,c) : \mathcal{D} \to \mathrm{Set^{\text{op}}}</math> and <math>\mathcal{D}(-,Gc) : \mathcal{D} \to \mathrm{Set^{\text{op}}}</math> for a fixed <math>c</math> in <math>\mathcal{C}</math>, and also the pair of functors <math>\mathcal{C}(Fd,-) : \mathcal{C} \to \mathrm{Set}</math> and <math>\mathcal{D}(d,G-) : \mathcal{C} \to \mathrm{Set}</math> for a fixed <math>d</math> in <math>\mathcal{D}</math>. The functor <math>F</math> is called a '''left adjoint functor''' or '''left adjoint to <math>G</math>''', while <math>G</math> is called a '''right adjoint functor''' or '''right adjoint to <math>F</math>'''. We write <math>F\dashv G</math>. An adjunction between categories <math>\mathcal{C}</math> and <math>\mathcal{D}</math> is somewhat akin to a "weak form" of an [[Equivalence of categories|equivalence]] between <math>\mathcal{C}</math> and <math>\mathcal{D}</math>, and indeed every equivalence is an adjunction. In many situations, an adjunction can be "upgraded" to an equivalence, by a suitable natural modification of the involved categories and functors. == Terminology and notation == The terms ''[[wikt:adjoint|adjoint]]'' and ''[[wikt:adjunct|adjunct]]'' are both used, and are [[cognate]]s: one is taken directly from Latin, the other from Latin via French. In the classic text ''Categories for the Working Mathematician'', [[Saunders Mac Lane|Mac Lane]] makes a distinction between the two. Given a family : <math>\varphi_{cd}: \mathrm{hom}_{\mathcal{C}}(Fd,c) \cong \mathrm{hom}_{\mathcal{D}}(d,Gc)</math> of hom-set bijections, we call <math>\varphi</math> an '''adjunction''' or an '''adjunction between <math> F </math> and <math> G </math>'''. If <math>f</math> is an arrow in <math> \mathrm{hom}_{\mathcal{C}}(Fd,c) </math>, <math>\varphi f</math> is the right '''adjunct''' of <math>f</math> (p. 81). The functor <math> F </math> is '''left adjoint''' to <math>G</math>, and <math>G</math> is '''right adjoint''' to <math>F</math>. (Note that <math>G</math> may have itself a right adjoint that is quite different from <math>F</math>; see below for an example.) In general, the phrases "<math> F </math> is a left adjoint" and "<math> F </math> has a right adjoint" are equivalent. We call <math>F</math> a left adjoint because it is applied to the left argument of <math>\mathrm{hom}_{\mathcal{C}}</math>, and <math>G</math> a right adjoint because it is applied to the right argument of <math>\mathrm{hom}_{\mathcal{D}}</math>. If ''F'' is left adjoint to ''G'', we also write :<math>F\dashv G.</math> The terminology comes from the [[Hilbert space]] idea of [[adjoint operator]]s <math>T</math>, <math>U</math> with <math>\langle Ty,x\rangle = \langle y,Ux\rangle</math>, which is formally similar to the above relation between hom-sets. The analogy to adjoint maps of Hilbert spaces can be made precise in certain contexts.<ref>{{cite arXiv|arxiv=q-alg/9609018|first=John C.|last=Baez|title=Higher-Dimensional Algebra II: 2-Hilbert Spaces|year=1996}}</ref> == Introduction and motivation == {{Quote|The slogan is "Adjoint functors arise everywhere".|Saunders Mac Lane, ''[[Categories for the Working Mathematician]]''}} Common mathematical constructions are very often adjoint functors. Consequently, general theorems about left/right adjoint functors encode the details of many useful and otherwise non-trivial results. Such general theorems include the equivalence of the various definitions of adjoint functors, the uniqueness of a right adjoint for a given left adjoint, the fact that left/right adjoint functors respectively preserve [[Limit (category theory)|colimits/limits]] (which are also found in every area of mathematics), and the general adjoint functor theorems giving conditions under which a given functor is a left/right adjoint. === Solutions to optimization problems === In a sense, an adjoint functor is a way of giving the ''most efficient'' solution to some problem via a method that is ''formulaic''. For example, an elementary problem in [[ring theory]] is how to turn a [[Rng (algebra)|rng]] (which is like a ring that might not have a multiplicative identity) into a [[ring (mathematics)|ring]]. The ''most efficient'' way is to adjoin an element '1' to the rng, adjoin all (and only) the elements that are necessary for satisfying the ring axioms (e.g. ''r''+1 for each ''r'' in the ring), and impose no relations in the newly formed ring that are not forced by axioms. Moreover, this construction is ''formulaic'' in the sense that it works in essentially the same way for any rng. This is rather vague, though suggestive, and can be made precise in the language of category theory: a construction is ''most efficient'' if it satisfies a [[universal property]], and is ''formulaic'' if it defines a [[functor]]. Universal properties come in two types: initial properties and terminal properties. Since these are [[dual (category theory)|dual]] notions, it is only necessary to discuss one of them. The idea of using an initial property is to set up the problem in terms of some auxiliary category ''E'', so that the problem at hand corresponds to finding an [[initial object]] of ''E''. This has an advantage that the ''optimization''—the sense that the process finds the ''most efficient'' solution—means something rigorous and recognisable, rather like the attainment of a [[supremum]]. The category ''E'' is also formulaic in this construction, since it is always the category of elements of the functor to which one is constructing an adjoint. Back to our example: take the given rng ''R'', and make a category ''E'' whose ''objects'' are rng homomorphisms {{math|''R'' → ''S''}}, with ''S'' a ring having a multiplicative identity. The ''morphisms'' in ''E'' between {{math|''R'' → ''S''<sub>1</sub>}} and {{math|''R'' → ''S''<sub>2</sub>}} are [[commutative diagram|commutative triangles]] of the form ({{math|''R'' → ''S''<sub>1</sub>, ''R'' → ''S''<sub>2</sub>, ''S''<sub>1</sub> → ''S''<sub>2</sub>}}) where {{math|S<sub>1</sub> → S<sub>2</sub>}} is a ring map (which preserves the identity). (Note that this is precisely the definition of the [[comma category]] of ''R'' over the inclusion of unitary rings into rng.) The existence of a morphism between {{math|''R'' → ''S''<sub>1</sub>}} and {{math|''R'' → ''S''<sub>2</sub>}} implies that ''S''<sub>1</sub> is at least as efficient a solution as ''S''<sub>2</sub> to our problem: ''S''<sub>2</sub> can have more adjoined elements and/or more relations not imposed by axioms than ''S''<sub>1</sub>. Therefore, the assertion that an object {{math|''R'' → ''R''{{sup|∗}}}} is initial in ''E'', that is, that there is a morphism from it to any other element of ''E'', means that the ring ''R''* is a ''most efficient'' solution to our problem. The two facts that this method of turning rngs into rings is ''most efficient'' and ''formulaic'' can be expressed simultaneously by saying that it defines an ''adjoint functor''. More explicitly: Let ''F'' denote the above process of adjoining an identity to a rng, so ''F''(''R'')=''R''{{sup|∗}}. Let ''G'' denote the process of "forgetting" whether a ring ''S'' has an identity and considering it simply as a rng, so essentially ''G''(''S'')=''S''. Then ''F'' is the ''left adjoint functor'' of ''G''. Note however that we haven't actually constructed ''R''{{sup|∗}} yet; it is an important and not altogether trivial algebraic fact that such a left adjoint functor {{math|''R'' → ''R''{{sup|∗}}}} actually exists. ===Symmetry of optimization problems=== It is also possible to ''start'' with the functor ''F'', and pose the following (vague) question: is there a problem to which ''F'' is the most efficient solution? The notion that ''F'' is the ''most efficient solution'' to the problem posed by ''G'' is, in a certain rigorous sense, equivalent to the notion that ''G'' poses the ''most difficult problem'' that ''F'' solves. This gives the intuition behind the fact that adjoint functors occur in pairs: if ''F'' is left adjoint to ''G'', then ''G'' is right adjoint to ''F''. ==Formal definitions== There are various equivalent definitions for adjoint functors: * The definitions via universal morphisms are easy to state, and require minimal verifications when constructing an adjoint functor or proving two functors are adjoint. They are also the most analogous to our intuition involving optimizations. * The definition via hom-sets makes symmetry the most apparent, and is the reason for using the word ''adjoint''. * The definition via counit–unit adjunction is convenient for proofs about functors that are known to be adjoint, because they provide formulas that can be directly manipulated. The equivalency of these definitions is quite useful. Adjoint functors arise everywhere, in all areas of mathematics. Since the structure in any of these definitions gives rise to the structures in the others, switching between them makes implicit use of many details that would otherwise have to be repeated separately in every subject area. ===Conventions=== The theory of adjoints has the terms ''left'' and ''right'' at its foundation, and there are many components that live in one of two categories ''C'' and ''D'' that are under consideration. Therefore it can be helpful to choose letters in alphabetical order according to whether they live in the "lefthand" category ''C'' or the "righthand" category ''D'', and also to write them down in this order whenever possible. In this article for example, the letters ''X'', ''F'', ''f'', ε will consistently denote things that live in the category ''C'', the letters ''Y'', ''G'', ''g'', η will consistently denote things that live in the category ''D'', and whenever possible such things will be referred to in order from left to right (a functor ''F'' : ''D'' → ''C'' can be thought of as "living" where its outputs are, in ''C''). If the arrows for the left adjoint functor F were drawn they would be pointing to the left; if the arrows for the right adjoint functor G were drawn they would be pointing to the right. ===Definition via universal morphisms=== By definition, a functor <math>F: \mathcal{D} \to \mathcal{C}</math> is a '''left adjoint functor''' if for each object <math>X</math> in <math>\mathcal{C}</math> there exists a [[universal morphism]] from <math>F</math> to <math>X</math>. Spelled out, this means that for each object <math>X</math> in <math>\mathcal{C}</math> there exists an object <math>G(X)</math> in <math>\mathcal{D}</math> and a morphism <math>\epsilon_X: F(G(X)) \to X</math> such that for every object <math>Y</math> in <math>\mathcal{D}</math> and every morphism <math>f: F(Y) \to X</math> there exists a unique morphism <math>g: Y \to G(X)</math> with <math>\epsilon_X \circ F(g) = f</math>. The latter equation is expressed by the following [[commutative diagram]]: [[File:Definition of the counit of an adjunction.svg|center|Here the counit is a universal morphism.|190px]] In this situation, one can show that <math>G</math> can be turned into a functor <math>G :\mathcal{C} \to \mathcal{D}</math> in a unique way such that <math>\varepsilon_X \circ F(G(f)) = f \circ \varepsilon_{X'}</math> for all morphisms <math>f: X' \to X</math> in <math>\mathcal{C}</math>; <math>F</math> is then called a '''left adjoint''' to <math>G</math>. Similarly, we may define right-adjoint functors. A functor <math>G: \mathcal{C} \to \mathcal{D}</math> is a '''right adjoint functor''' if for each object <math>Y</math> in <math>\mathcal{D}</math>, there exists a [[universal morphism]] from <math>Y</math> to <math>G</math>. Spelled out, this means that for each object <math>Y</math> in <math>\mathcal{D}</math>, there exists an object <math>F(Y)</math> in <math>C</math> and a morphism <math>\eta_Y: Y \to G(F(Y))</math> such that for every object <math>X</math> in <math>\mathcal{C}</math> and every morphism <math>g: Y \to G(X)</math> there exists a unique morphism <math>f: F(Y) \to X</math> with <math>G(f) \circ \eta_Y = g</math>. [[File:Definition of the unit of an adjunction 1.svg|center|The existence of the unit, a universal morphism, can prove the existence of an adjunction.|190px]] Again, this <math>F</math> can be uniquely turned into a functor <math>F: \mathcal{D} \to \mathcal{C}</math> such that <math>G(F(g)) \circ \eta_Y = \eta_{Y'} \circ g</math> for <math>g: Y \to Y'</math> a morphism in <math>\mathcal{D}</math>; <math>G</math> is then called a '''right adjoint''' to <math>F</math>. It is true, as the terminology implies, that <math>F</math> is left adjoint to <math>G</math> if and only if <math>G</math> is right adjoint to <math>F</math>. These definitions via universal morphisms are often useful for establishing that a given functor is left or right adjoint, because they are minimalistic in their requirements. They are also intuitively meaningful in that finding a universal morphism is like solving an optimization problem. ===Definition via Hom-sets=== Using [[hom-set]]s, an adjunction between two categories <math>\mathcal{C}</math> and <math>\mathcal{D}</math> can be defined as consisting of two [[functor]]s <math>F : \mathcal{D} \to \mathcal{C}</math> and <math>G : \mathcal{C} \to \mathcal{D}</math> and a [[natural isomorphism]] :<math>\Phi:\mathrm{hom}_\mathcal{C}(F-,-) \to \mathrm{hom}_\mathcal{D}(-,G-)</math>. This specifies a family of bijections :<math>\Phi_{Y,X}:\mathrm{hom}_\mathcal{C}(FY,X) \to \mathrm{hom}_\mathcal{D}(Y,GX)</math> for all objects <math>X\in\mathcal{C}</math> and <math>Y\in\mathcal{D}</math>. In this situation, <math>F</math> is left adjoint to <math>G</math> and '''<math>G</math> is right adjoint to <math>F</math>'''. This definition is a logical compromise in that it is more difficult to establish its satisfaction than the universal morphism definitions, and has fewer immediate implications than the counit–unit definition. It is useful because of its obvious symmetry, and as a stepping-stone between the other definitions. In order to interpret <math>\Phi</math> as a ''natural isomorphism'', one must recognize <math>\text{hom}_\mathcal{C}(F-,-)</math> and <math>\text{hom}_\mathcal{D}(-,G-)</math> as functors. In fact, they are both [[bifunctor]]s from <math>\mathcal{D}^\text{op} \times \mathcal{C}</math> to <math>\mathbf{Set}</math> (the [[category of sets]]). For details, see the article on [[hom functor]]s. Spelled out, the naturality of <math>\Phi</math> means that for all [[morphism]]s <math>f : X \to X'</math> in <math>\mathcal{C}</math> and all morphisms <math>g : Y' \to Y</math> in <math>\mathcal{D}</math> the following diagram [[commutative diagram|commutes]]: [[File:Natural phi.svg|center|Naturality of Φ|350px]] The vertical arrows in this diagram are those induced by composition. Formally, <math>\text{Hom}(Fg, f) : \text{Hom}_\mathcal{C}(FY, X) \to \text{Hom}_\mathcal{C}(FY', X')</math> is given by <math>h \mapsto f \circ h \circ Fg</math> for each <math>h \in \text{Hom}_\mathcal{C}(FY, X).</math> <math>\text{Hom}(g, Gf)</math> is similar. ===Definition via counit–unit=== A third way of defining an adjunction between two categories <math>\mathcal{C}</math> and <math>\mathcal{D}</math> consists of two [[functor]]s <math>F : \mathcal{D} \to \mathcal{C}</math> and <math>G : \mathcal{C} \to \mathcal{D}</math> and two [[natural transformation]]s :<math>\begin{align} \varepsilon &: FG \to 1_\mathcal{C} \\ \eta &: 1_\mathcal{D} \to GF\end{align}</math> respectively called the '''counit''' and the '''unit''' of the adjunction (terminology from [[universal algebra]]), such that the compositions :<math>F\xrightarrow\overset{}{\;F\eta\;}FGF\xrightarrow\overset{}{\;\varepsilon F\,}F</math> :<math>G\xrightarrow\overset{}{\;\eta G\;}GFG\xrightarrow\overset{}{\;G \varepsilon\,}G</math> are the identity morphisms <math>1_F</math> and <math>1_G</math> on {{mvar|F}} and {{mvar|G}} respectively. In this situation we say that {{mvar|F}} '''is left adjoint to''' {{mvar|G}} and {{mvar|G}} '''is right adjoint to''' {{mvar|F}}, and may indicate this relationship by writing <math>(\varepsilon,\eta):F\dashv G</math> , or, simply <math>F\dashv G</math> . In equational form, the above conditions on <math>(\varepsilon,\eta)</math> are the '''counit–unit equations''' :<math>\begin{align} 1_F &= \varepsilon F\circ F\eta\\ 1_G &= G\varepsilon \circ \eta G \end{align}</math> which imply that for each <math>X \in \mathcal{C}</math> and each <math>Y \in \mathcal{D},</math> :<math>\begin{align} 1_{FY} &= \varepsilon_{FY}\circ F(\eta_Y) \\ 1_{GX} &= G(\varepsilon_X)\circ\eta_{GX} \end{align}</math>. Note that <math>1_{\mathcal C}</math> denotes the identify functor on the category <math>\mathcal C</math>, <math>1_F</math> denotes the identity natural transformation from the functor {{mvar|F}} to itself, and <math>1_{FY}</math> denotes the identity morphism of the object <math>FY.</math> [[File:String diagram adjunction.svg|thumb|String diagram for adjunction.]] These equations are useful in reducing proofs about adjoint functors to algebraic manipulations. They are sometimes called the ''triangle identities'', or sometimes the ''zig-zag equations'' because of the appearance of the corresponding [[string diagram]]s. A way to remember them is to first write down the nonsensical equation <math>1=\varepsilon\circ\eta</math> and then fill in either {{mvar|F}} or {{mvar|G}} in one of the two simple ways that make the compositions defined. Note: The use of the prefix "co" in counit here is not consistent with the terminology of limits and colimits, because a colimit satisfies an ''initial'' property whereas the counit morphisms satisfy ''terminal'' properties, and dually for limit versus unit. The term ''unit'' here is borrowed from the theory of [[Monad (category theory)|monads]], where it looks like the insertion of the identity {{math|1}} into a [[monoid]]. ==History== The idea of adjoint functors was introduced by [[Daniel Kan]] in 1958.<ref>{{Cite journal|last=Kan|first=Daniel M.|date=1958|title=Adjoint Functors|url=https://www.ams.org/journals/tran/1958-087-02/S0002-9947-1958-0131451-0/S0002-9947-1958-0131451-0.pdf|journal=[[Transactions of the American Mathematical Society]]|volume=87|issue=2|pages=294–329|doi=10.2307/1993102|jstor=1993102 |doi-access=free}}</ref> Like many of the concepts in category theory, it was suggested by the needs of [[homological algebra]], which was at the time devoted to computations. Those faced with giving tidy, systematic presentations of the subject would have noticed relations such as :hom(''F''(''X''), ''Y'') = hom(''X'', ''G''(''Y'')) in the category of [[abelian group]]s, where ''F'' was the functor <math>- \otimes A</math> (i.e. take the [[tensor product]] with ''A''), and ''G'' was the functor hom(''A'',–) (this is now known as the [[tensor-hom adjunction]]). <!--Here hom(''X'',''Y'') means 'all [[group homomorphism|homomorphisms]] of [[abelian group]]s'.--> The use of the ''equals'' sign is an [[abuse of notation]]; those two groups are not really identical but there is a way of identifying them that is ''natural''. It can be seen to be natural on the basis, firstly, that these are two alternative descriptions of the [[bilinear mapping]]s from ''X'' × ''A'' to ''Y''. That is, however, something particular to the case of tensor product. In category theory the 'naturality' of the bijection is subsumed in the concept of a [[natural isomorphism]]. ==Examples == ===Free groups=== The construction of [[free group]]s is a common and illuminating example. Let ''F'' : '''[[category of sets|Set]]''' → '''[[category of groups|Grp]]''' be the functor assigning to each set ''Y'' the [[free group]] generated by the elements of ''Y'', and let ''G'' : '''Grp''' → '''Set''' be the [[forgetful functor]], which assigns to each group ''X'' its underlying set. Then ''F'' is left adjoint to ''G'': ; Initial morphisms. : For each set ''Y'', the set ''GFY'' is just the underlying set of the free group ''FY'' generated by ''Y''. Let <math>\eta_Y:Y\to GFY</math> be the set map given by "inclusion of generators". This is an initial morphism from ''Y'' to ''G'', because any set map from ''Y'' to the underlying set ''GW'' of some group ''W'' will factor through <math>\eta_Y:Y\to GFY</math> via a unique group homomorphism from ''FY'' to ''W''. This is precisely the [[Free group#Universal property|universal property of the free group on ''Y'']]. ; Terminal morphisms. : For each group ''X'', the group ''FGX'' is the free group generated freely by ''GX'', the elements of ''X''. Let <math>\varepsilon_X:FGX\to X</math> be the group homomorphism that sends the generators of ''FGX'' to the elements of ''X'' they correspond to, which exists by the universal property of free groups. Then each <math>(GX,\varepsilon_X)</math> is a terminal morphism from ''F'' to ''X'', because any group homomorphism from a free group ''FZ'' to ''X'' will factor through <math>\varepsilon_X:FGX\to X</math> via a unique set map from ''Z'' to ''GX''. This means that (''F'',''G'') is an adjoint pair. ; Hom-set adjunction. : Group homomorphisms from the free group ''FY'' to a group ''X'' correspond precisely to maps from the set ''Y'' to the set ''GX'': each homomorphism from ''FY'' to ''X'' is fully determined by its action on generators, another restatement of the universal property of free groups. One can verify directly that this correspondence is a natural transformation, which means it is a hom-set adjunction for the pair (''F'',''G''). ; counit–unit adjunction. : One can also verify directly that ε and η are natural. Then, a direct verification that they form a counit–unit adjunction <math>(\varepsilon,\eta):F\dashv G</math> is as follows: ; The first counit–unit equation : <math>1_F = \varepsilon F\circ F\eta</math> says that for each set ''Y'' the composition ::<math>FY\xrightarrow\overset{}{\;F(\eta_Y)\;}FGFY\xrightarrow{\;\varepsilon_{FY}\,}FY</math> :should be the identity. The intermediate group ''FGFY'' is the free group generated freely by the words of the free group ''FY''. (Think of these words as placed in parentheses to indicate that they are independent generators.) The arrow <math>F(\eta_Y)</math> is the group homomorphism from ''FY'' into ''FGFY'' sending each generator ''y'' of ''FY'' to the corresponding word of length one (''y'') as a generator of ''FGFY''. The arrow <math>\varepsilon_{FY}</math> is the group homomorphism from ''FGFY'' to ''FY'' sending each generator to the word of ''FY'' it corresponds to (so this map is "dropping parentheses"). The composition of these maps is indeed the identity on ''FY''. ; The second counit–unit equation : <math>1_G = G\varepsilon \circ \eta G</math> says that for each group ''X'' the composition ::<math>GX\xrightarrow{\;\eta_{GX}\;}GFGX\xrightarrow\overset{}{\;G(\varepsilon_X)\,}GX</math> :should be the identity. The intermediate set ''GFGX'' is just the underlying set of ''FGX''. The arrow <math>\eta_{GX}</math> is the "inclusion of generators" set map from the set ''GX'' to the set ''GFGX''. The arrow <math>G(\varepsilon_X)</math> is the set map from ''GFGX'' to ''GX'', which underlies the group homomorphism sending each generator of ''FGX'' to the element of ''X'' it corresponds to ("dropping parentheses"). The composition of these maps is indeed the identity on ''GX''. ===Free constructions and forgetful functors=== [[Free object]]s are all examples of a left adjoint to a [[forgetful functor]], which assigns to an algebraic object its underlying set. These algebraic [[free functor]]s have generally the same description as in the detailed description of the free group situation above. ===Diagonal functors and limits=== [[Product (category theory)|Products]], [[Pullback (category theory)|fibred products]], [[Equalizer (mathematics)|equalizers]], and [[Kernel (algebra)|kernels]] are all examples of the categorical notion of a [[limit (category theory)|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. * '''Products''' Let Π : '''Grp<sup>2</sup>''' → '''Grp''' be the functor that assigns to each pair (''X''<sub>1</sub>, ''X<sub>2</sub>'') the product group ''X''<sub>1</sub>×''X''<sub>2</sub>, and let Δ : '''Grp →''' '''Grp<sup>2</sup>''' be the [[diagonal functor]] that assigns to every group ''X'' the pair (''X'', ''X'') in the product category '''Grp<sup>2</sup>'''. The universal property of the product group shows that Π is right-adjoint to Δ. The counit of this adjunction is the defining pair of projection maps from ''X''<sub>1</sub>×''X''<sub>2</sub> to ''X''<sub>1</sub> and ''X''<sub>2</sub> which define the limit, and the unit is the ''diagonal inclusion'' of a group X into ''X''×''X'' (mapping x to (x,x)). : The [[cartesian product]] of [[Set (mathematics)|sets]], the product of rings, the [[product topology|product of topological spaces]] etc. follow the same pattern; it can also be extended in a straightforward manner to more than just two factors. More generally, any type of limit is right adjoint to a diagonal functor. * '''Kernels.''' Consider the category ''D'' of homomorphisms of abelian groups. If ''f''<sub>1</sub> : ''A''<sub>1</sub> → ''B''<sub>1</sub> and ''f''<sub>2</sub> : ''A''<sub>2</sub> → ''B''<sub>2</sub> are two objects of ''D'', then a morphism from ''f''<sub>1</sub> to ''f''<sub>2</sub> is a pair (''g''<sub>''A''</sub>, ''g''<sub>''B''</sub>) of morphisms such that ''g''<sub>''B''</sub>''f''<sub>1</sub> = ''f''<sub>2</sub>''g''<sub>''A''</sub>. Let ''G'' : ''D'' → '''Ab''' be the functor which assigns to each homomorphism its [[kernel (algebra)|kernel]] and let ''F'' : '''Ab →''' ''D'' be the functor which maps the group ''A'' to the homomorphism ''A'' → 0. Then ''G'' is right adjoint to ''F'', which expresses the universal property of kernels. The counit of this adjunction is the defining embedding of a homomorphism's kernel into the homomorphism's domain, and the unit is the morphism identifying a group ''A'' with the kernel of the homomorphism ''A'' → 0. : A suitable variation of this example also shows that the kernel functors for vector spaces and for modules are right adjoints. Analogously, one can show that the cokernel functors for abelian groups, vector spaces and modules are left adjoints. ===Colimits and diagonal functors=== [[Coproduct]]s, [[Pushout (category theory)|fibred coproducts]], [[coequalizer]]s, and [[cokernel]]s are all examples of the categorical notion of a [[limit (category theory)|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 ''F'' : '''Ab'''<sup>'''2'''</sup> '''→''' '''Ab''' assigns to every pair (''X''<sub>1</sub>, ''X''<sub>2</sub>) of abelian groups their [[Direct sum of groups|direct sum]], and if ''G'' : '''Ab''' → '''Ab'''<sup>'''2'''</sup> is the functor which assigns to every abelian group ''Y'' the pair (''Y'', ''Y''), then ''F'' is left adjoint to ''G'', again a consequence of the universal property of direct sums. The unit of this adjoint pair is the defining pair of inclusion maps from ''X''<sub>1</sub> and ''X''<sub>2</sub> into the direct sum, and the counit is the additive map from the direct sum of (''X'',''X'') to back to ''X'' (sending an element (''a'',''b'') of the direct sum to the element ''a''+''b'' of ''X''). : Analogous examples are given by the [[Direct sum of modules|direct sum]] of [[vector space]]s and [[module (mathematics)|modules]], by the [[free product]] of groups and by the disjoint union of sets. ===Further examples=== ==== Algebra ==== * '''Adjoining an identity to a [[Rng (algebra)|rng]].''' This example was discussed in the motivation section above. Given a rng ''R'', a multiplicative identity element can be added by taking ''R''x'''Z''' and defining a '''Z'''-bilinear product with (r,0)(0,1) = (0,1)(r,0) = (r,0), (r,0)(s,0) = (rs,0), (0,1)(0,1) = (0,1). 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 ''S'', we can add an identity element and obtain a [[monoid]] by taking the [[disjoint union]] ''S'' <math>\sqcup</math> {1} and defining a binary operation on it such that it extends the operation on ''S'' and 1 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 ''R'' and ''S'' are rings, and ρ : ''R'' → ''S'' is a [[ring homomorphism]]. Then ''S'' can be seen as a (left) ''R''-module, and the [[tensor product]] with ''S'' yields a functor ''F'' : ''R''-'''Mod''' → ''S''-'''Mod'''. Then ''F'' is left adjoint to the forgetful functor ''G'' : ''S''-'''Mod''' → ''R''-'''Mod'''. * '''[[Tensor-hom adjunction|Tensor products]].''' If ''R'' is a ring and ''M'' is a right ''R''-module, then the tensor product with ''M'' yields a functor ''F'' : ''R''-'''Mod''' → '''Ab'''. The functor ''G'' : '''Ab''' → ''R''-'''Mod''', defined by ''G''(''A'') = hom<sub>'''Z'''</sub>(''M'',''A'') for every abelian group ''A'', is a right adjoint to ''F''. * '''From monoids and groups to rings.''' The [[integral monoid ring]] construction gives a functor from [[monoid]]s 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 [[group (mathematics)|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 (mathematics)|field]] ''K'' and consider the category of ''K''-[[associative algebra|algebras]] instead of the category of rings, to get the monoid and group rings over ''K''. * '''Field of fractions.''' Consider the category '''Dom'''<sub>m</sub> of integral domains with injective morphisms. The forgetful functor '''Field''' → '''Dom'''<sub>m</sub> from fields has a left adjoint—it assigns to every integral domain its [[field of fractions]]. * '''Polynomial rings'''. Let '''Ring'''<sub>*</sub> be the category of pointed commutative rings with unity (pairs (A,a) where A is a ring, a ∈ A and morphisms preserve the distinguished elements). The forgetful functor G:'''Ring'''<sub>*</sub> → '''Ring''' has a left adjoint – it assigns to every ring R the pair (R[x],x) where R[x] is the [[polynomial ring]] with coefficients from R. * '''Abelianization'''. Consider the inclusion functor ''G'' : '''Ab''' → '''Grp''' from the [[category of abelian groups]] to [[category of groups]]. It has a left adjoint called [[abelianization]] which assigns to every group ''G'' the quotient group ''G''<sup>ab</sup>=''G''/[''G'',''G'']. * '''The Grothendieck group'''. In [[K-theory]], the point of departure is to observe that the category of [[vector bundle]]s on a [[topological space]] has a commutative monoid structure under [[Direct sum of modules|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 number]]s; 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 [[group representation|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 ''G'' be the functor from [[topological space]]s to [[Set (mathematics)|sets]] that associates to every topological space its underlying set (forgetting the topology, that is). ''G'' has a left adjoint ''F'', creating the [[discrete space]] on a set ''Y'', and a right adjoint ''H'' creating the [[trivial topology]] on ''Y''. * '''Suspensions and loop spaces.''' Given [[topological spaces]] ''X'' and ''Y'', the space [''SX'', ''Y''] of [[homotopy classes]] of maps from the [[suspension (topology)|suspension]] ''SX'' of ''X'' to ''Y'' is naturally isomorphic to the space [''X'', Ω''Y''] of homotopy classes of maps from ''X'' to the [[loop space]] Ω''Y'' of ''Y''. 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 '''KHaus''' be the category of [[compact space|compact]] [[Hausdorff space]]s and ''G'' : '''KHaus''' → '''Top''' be the inclusion functor to the category of [[topological spaces]]. Then ''G'' has a left adjoint ''F'' : '''Top''' → '''KHaus''', the [[Stone–Čech compactification]]. The unit of this adjoint pair yields a [[continuous function (topology)|continuous]] map from every topological space ''X'' into its Stone–Čech compactification. * '''Direct and inverse images of sheaves.''' Every [[continuous map]] ''f'' : ''X'' → ''Y'' between [[topological space]]s induces a functor ''f''<sub> ∗</sub> from the category of [[sheaf (mathematics)|sheaves]] (of sets, or abelian groups, or rings...) on ''X'' to the corresponding category of sheaves on ''Y'', the ''[[direct image functor]]''. It also induces a functor ''f''{{i sup|−1}} from the category of sheaves of abelian groups on ''Y'' to the category of sheaves of abelian groups on ''X'', the ''[[inverse image functor]]''. ''f''{{i sup|−1}} is left adjoint to ''f''<sub> ∗</sub>. Here a more subtle point is that the left adjoint for [[coherent sheaf|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 space]]s that is known as soberification. Notably, the article also contains a detailed description of another adjunction that prepares the way for the famous [[duality (category theory)|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 ''x'' to ''y'' if and only if ''x'' ≤ ''y''). 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 operator]]s and to inverse order-preserving bijections between the corresponding closed elements. As is the case for [[Galois group]]s, the real interest lies often in refining a correspondence to a [[duality (mathematics)|duality]] (i.e. ''antitone'' order isomorphism). A treatment of Galois theory along these lines by [[Irving Kaplansky|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 [[monad (category theory)|monads]] (cf. the [[Kuratowski closure axioms]]) * a very general comment of [[William Lawvere]]<ref>[[William Lawvere|Lawvere, F. William]], "[http://www.tac.mta.ca/tac/reprints/articles/16/tr16abs.html Adjointness in foundations]", ''Dialectica'', 1969. The notation is different nowadays; an easier introduction by Peter Smith [http://www.logicmatters.net/resources/pdfs/Galois.pdf in these lecture notes], which also attribute the concept to the article cited.</ref> is that ''syntax and semantics'' are adjoint: take ''C'' to be the set of all logical theories (axiomatizations), and ''D'' the power set of the set of all mathematical structures. For a theory ''T'' in ''C'', let ''G''(''T'') be the set of all structures that satisfy the axioms ''T''; for a set of mathematical structures ''S'', let ''F''(''S'') be the minimal axiomatization of ''S''. We can then say that ''S'' is a subset of ''G''(''T'') if and only if ''F''(''S'') logically implies ''T'': the "semantics functor" ''G'' is right adjoint to the "syntax functor" ''F''. * [[division (mathematics)|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 ideal]]s, and the [[material conditional|implication]] in [[propositional calculus|propositional logic]] is adjoint to [[logical conjunction]]. ====Category theory==== * '''Equivalences.''' If ''F'' : ''D'' → ''C'' is an [[equivalence of categories]], then we have an inverse equivalence ''G'' : ''C'' → ''D'', and the two functors ''F'' and ''G'' form an adjoint pair. The unit and counit are natural isomorphisms in this case. If η : id → ''GF'' and ε : ''GF'' → id are natural isomorphisms, then there exist unique natural isomorphisms ε' : ''GF'' → id and η' : id → ''GF'' for which (η, ε') and (η', ε) are counit–unit pairs for ''F'' and ''G''; they are *:<math>\varepsilon'=\varepsilon\circ(F\eta^{-1}G)\circ(FG\varepsilon^{-1})</math> *:<math>\eta'=(GF\eta^{-1})\circ(G\varepsilon^{-1}F)\circ\eta</math> * '''A series of adjunctions.''' The functor π<sub>0</sub> which assigns to a category its set of connected components is left-adjoint to the functor ''D'' which assigns to a set the discrete category on that set. Moreover, ''D'' is left-adjoint to the object functor ''U'' which assigns to each category its set of objects, and finally ''U'' is left-adjoint to ''A'' which assigns to each set the indiscrete category<ref>{{cite web |title=Indiscrete category |url=http://ncatlab.org/nlab/show/indiscrete+category |website=nLab}}</ref> on that set. * '''Exponential object'''. In a [[cartesian closed category]] the endofunctor ''C'' → ''C'' given by –×''A'' has a right adjoint –<sup>''A''</sup>. This pair is often referred to as [[currying]] and uncurrying; in many special cases, they are also continuous and form a homeomorphism. <!--* '''Limits and Colimits.''' Limits and colimits can actually be viewed using adjoints when looking at functor categories. If C and D are two categories, then the functor '''limit''' from the category of functors from C to D to the category of constant functors from C to D which takes a given functor from C to D to its limit is in fact right-adjoint to the forgetful functor from the category of constant functors from C to D to the category of functors from C to D. Colimit is similarly the left-adjoint of this forgetful functor from the category of constant functors from C to D to the category of functors from C to D. --> ====Categorical logic==== * '''Quantification.''' If <math>\phi_Y</math> is a unary predicate expressing some property, then a sufficiently strong set theory may prove the existence of the set <math>Y=\{y\mid\phi_Y(y)\}</math> of terms that fulfill the property. A proper subset <math>T\subset Y</math> and the associated injection of <math>T</math> into <math>Y</math> is characterized by a predicate <math>\phi_T(y)=\phi_Y(y)\land\varphi(y)</math> expressing a strictly more restrictive property. :The role of [[Quantifier (logic)|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 <math>\psi_f</math> with two open variables of sort <math>X</math> and <math>Y</math>. Using a quantifier to close <math>X</math>, we can form the set ::<math>\{y\in Y\mid \exists x.\,\psi_f(x,y)\land\phi_{S}(x)\}</math> :of all elements <math>y</math> of <math>Y</math> for which there is an <math>x</math> to which it is <math>\psi_f</math>-related, and which itself is characterized by the property <math>\phi_{S}</math>. Set theoretic operations like the intersection <math>\cap</math> of two sets directly corresponds to the conjunction <math>\land</math> 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 <math>Y</math> in a category with pullbacks. Any morphism <math>f:X\to Y</math> induces a functor ::<math>f^{*} : \text{Sub}(Y) \longrightarrow \text{Sub}(X)</math> :on the category that is the preorder of [[subobject | subobjects]]. It maps subobjects <math>T</math> of <math>Y</math> (technically: monomorphism classes of <math>T\to Y</math>) to the pullback <math>X\times_Y T</math>. If this functor has a left- or right adjoint, they are called <math>\exists_f</math> and <math>\forall_f</math>, respectively.<ref>[[Saunders Mac Lane|Mac Lane, Saunders]]; Moerdijk, Ieke (1992) ''Sheaves in Geometry and Logic'', Springer-Verlag. {{ISBN|0-387-97710-4}} ''See page 58''</ref> They both map from <math>\text{Sub}(X)</math> back to <math>\text{Sub}(Y)</math>. Very roughly, given a domain <math>S\subset X</math> to quantify a relation expressed via <math>f</math> over, the functor/quantifier closes <math>X</math> in <math>X\times_Y T</math> and returns the thereby specified subset of <math>Y</math>. : '''Example''': In <math>\operatorname{Set}</math>, the category of sets and functions, the canonical subobjects are the subset (or rather their canonical injections). The pullback <math>f^{*}T=X\times_Y T</math> of an injection of a subset <math>T</math> into <math>Y</math> along <math>f</math> is characterized as the largest set which knows all about <math>f</math> and the injection of <math>T</math> into <math>Y</math>. It therefore turns out to be (in bijection with) the inverse image <math>f^{-1}[T]\subseteq X</math>. :For <math>S \subseteq X</math>, let us figure out the left adjoint, which is defined via ::<math>{\operatorname{Hom}}(\exists_f S,T) \cong {\operatorname{Hom}}(S,f^{*}T),</math> :which here just means ::<math>\exists_f S\subseteq T \leftrightarrow S\subseteq f^{-1}[T]</math>. :Consider <math> f[S] \subseteq T </math>. We see <math>S\subseteq f^{-1}[f[S]]\subseteq f^{-1}[T]</math>. Conversely, If for an <math>x\in S</math> we also have <math>x\in f^{-1}[T]</math>, then clearly <math> f(x)\in T </math>. So <math> S \subseteq f^{-1}[T] </math> implies <math> f[S] \subseteq T </math>. We conclude that left adjoint to the inverse image functor <math>f^{*}</math> is given by the direct image. Here is a characterization of this result, which matches more the logical interpretation: The image of <math>S</math> under <math>\exists_f </math> is the full set of <math>y</math>'s, such that <math> f^{-1} [\{y\}] \cap S</math> is non-empty. This works because it neglects exactly those <math>y\in Y</math> which are in the complement of <math>f[S]</math>. So ::<math> \exists_f S = \{ y \in Y \mid \exists (x \in f^{-1}[\{y\}]).\, x \in S \; \} = f[S]. </math> :Put this in analogy to our motivation <math>\{y\in Y\mid\exists x.\,\psi_f(x,y)\land\phi_{S}(x)\}</math>. :The right adjoint to the inverse image functor is given (without doing the computation here) by ::<math> \forall_f S = \{ y \in Y \mid \forall (x \in f^{-1} [\{y\}]).\, x \in S \; \}. </math> : The subset <math>\forall_f S</math> of <math>Y</math> is characterized as the full set of <math>y</math>'s with the property that the inverse image of <math>\{y\}</math> with respect to <math>f</math> is fully contained within <math>S</math>. Note how the predicate determining the set is the same as above, except that <math>\exists</math> is replaced by <math>\forall</math>. :''See also [[powerset]].'' ==== 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 <math>\R</math>, with objects being the real numbers, and the morphisms being "affine functions evaluated at a point". That is, for any affine function <math>f(x) = ax + b</math> and any real number <math>r</math>, define a morphism <math>(r, f): r \to f(r)</math>. Define a category based on <math>M(\R)</math>, the set of probability distribution on <math>\R</math> with finite expectation. Define morphisms on <math>M(\R)</math> as "affine functions evaluated at a distribution". That is, for any affine function <math>f(x) = ax + b</math> and any <math>\mu\in M(\R)</math>, define a morphism <math>(\mu, f): \mu \to \mu\circ f^{-1}</math>. Then, the [[Dirac delta measure]] defines a functor: <math>\delta: x\mapsto \delta_x</math>, and the expectation defines another functor <math>\mathbb E: \mu \mapsto \mathbb E[\mu]</math>, and they are adjoint: <math>\mathbb E \dashv \delta</math>. (Somewhat disconcertingly, <math>\mathbb E</math> is the left adjoint, even though <math>\mathbb E</math> is "forgetful" and <math>\delta</math> is "free".) ==Adjunctions in full== There are hence numerous functors and natural transformations associated with every adjunction, and only a small portion is sufficient to determine the rest. An ''adjunction'' between categories ''C'' and ''D'' consists of *A [[functor]] ''F'' : ''D'' → ''C'' called the '''left adjoint''' *A functor ''G'' : ''C'' → ''D'' called the '''right adjoint''' *A [[natural isomorphism]] Φ : hom<sub>''C''</sub>(''F''–,–) → hom<sub>''D''</sub>(–,''G''–) *A [[natural transformation]] ε : ''FG'' → 1<sub>''C''</sub> called the '''counit''' *A natural transformation η : 1<sub>''D''</sub> → ''GF'' called the '''unit''' An equivalent formulation, where ''X'' denotes any object of ''C'' and ''Y'' denotes any object of ''D'', is as follows: ::For every ''C''-morphism ''f'' : ''FY'' → ''X'', there is a unique ''D''-morphism Φ<sub>''Y'', ''X''</sub>(''f'') = ''g'' : ''Y'' → ''GX'' such that the diagrams below commute, and for every ''D''-morphism ''g'' : ''Y'' → ''GX'', there is a unique ''C''-morphism Φ<sup>−1</sup><sub>''Y'', ''X''</sub>(''g'') = ''f'' : ''FY'' → ''X'' in ''C'' such that the diagrams below commute: [[File:Adjoint functors sym.svg|center|350px]] From this assertion, one can recover that: *The transformations ε, η, and Φ are related by the equations :<math>\begin{align} f = \Phi_{Y,X}^{-1}(g) &= \varepsilon_X\circ F(g) & \in & \, \, \mathrm{hom}_C(F(Y),X)\\ g = \Phi_{Y,X}(f) &= G(f)\circ \eta_Y & \in & \, \, \mathrm{hom}_D(Y,G(X))\\ \Phi_{GX,X}^{-1}(1_{GX}) &= \varepsilon_X & \in & \, \, \mathrm{hom}_C(FG(X),X)\\ \Phi_{Y,FY}(1_{FY}) &= \eta_Y & \in & \, \, \mathrm{hom}_D(Y,GF(Y))\\ \end{align} </math> *The transformations ε, η satisfy the counit–unit equations :<math>\begin{align} 1_{FY} &= \varepsilon_{FY} \circ F(\eta_Y)\\ 1_{GX} &= G(\varepsilon_X) \circ \eta_{GX} \end{align}</math> *Each pair (''GX'', ε<sub>''X''</sub>) is a [[universal morphism|terminal morphism]] from ''F'' to ''X'' in ''C'' *Each pair (''FY'', η<sub>''Y''</sub>) is an [[universal morphism|initial morphism]] from ''Y'' to ''G'' in ''D'' In particular, the equations above allow one to define Φ, ε, and η in terms of any one of the three. However, the adjoint functors ''F'' and ''G'' alone are in general not sufficient to determine the adjunction. The equivalence of these situations is demonstrated below. ===Universal morphisms induce hom-set adjunction=== Given a right adjoint functor ''G'' : ''C'' → ''D''; in the sense of initial morphisms, one may construct the induced hom-set adjunction by doing the following steps. * Construct a functor {{itco|''f''}} : ''D'' → ''C'' and a natural transformation ''η''. ** For each object ''Y'' in ''D'', choose an initial morphism ({{itco|''f''}}(''Y''), ''η''<sub>''Y''</sub>) from ''Y'' to ''G'', so that ''η''<sub>''Y''</sub> : ''Y'' → ''G''({{itco|''f''}}(''Y'')). We have the map of {{itco|''f''}} on objects and the family of morphisms ''η''. ** For each {{itco|''f''}} : ''Y''<sub>0</sub> → ''Y''<sub>1</sub>, as ({{itco|''f''}}(''Y''<sub>0</sub>), ''η''<sub>''Y''<sub>0</sub></sub>) is an initial morphism, then factorize ''η''<sub>''Y''<sub>1</sub></sub> ∘ {{itco|''f''}} with ''η''<sub>''Y''<sub>0</sub></sub> and get {{itco|''f''}}({{itco|''f''}}) : {{itco|''f''}}(''Y''<sub>0</sub>) → {{itco|''f''}}(''Y''<sub>1</sub>). This is the map of {{itco|''f''}} on morphisms. ** The commuting diagram of that factorization implies the commuting diagram of natural transformations, so ''η'' : 1<sub>''D''</sub> → ''G'' ∘ {{itco|''f''}} is a [[natural transformation]]. ** Uniqueness of that factorization and that ''G'' is a functor implies that the map of {{itco|''f''}} on morphisms preserves compositions and identities. * Construct a natural isomorphism Φ : hom<sub>''C''</sub>({{itco|''f''}}−,−) → hom<sub>''D''</sub>(−,''G''−). ** For each object ''X'' in ''C'', each object ''Y'' in ''D'', as ({{itco|''f''}}(''Y''), ''η''<sub>''Y''</sub>) is an initial morphism, then Φ<sub>''Y'', ''X''</sub> is a bijection, where Φ<sub>''Y'', ''X''</sub>({{itco|''f''}} : {{itco|''f''}}(''Y'') → ''X'') = ''G''({{itco|''f''}}) ∘ ''η''<sub>''Y''</sub>. ** ''η'' is a natural transformation, ''G'' is a functor, then for any objects ''X''<sub>0</sub>, ''X''<sub>1</sub> in ''C'', any objects ''Y''<sub>0</sub>, ''Y''<sub>1</sub> in ''D'', any ''x'' : ''X''<sub>0</sub> → ''X''<sub>1</sub>, any ''y'' : ''Y''<sub>1</sub> → ''Y''<sub>0</sub>, we have Φ<sub>''Y''<sub>1</sub>, ''X''<sub>1</sub></sub>(''x'' ∘ {{itco|''f''}} ∘ {{itco|''f''}}(''y'')) = G(''x'') ∘ ''G''({{itco|''f''}}) ∘ ''G''({{itco|''f''}}(''y'')) ∘ ''η''<sub>''Y''<sub>1</sub></sub> = ''G''(''x'') ∘ ''G''({{itco|''f''}}) ∘ ''η''<sub>''Y''<sub>0</sub></sub> ∘ ''y'' = ''G''(''x'') ∘ Φ<sub>''Y''<sub>0</sub>, ''X''<sub>0</sub></sub>(∘) ∘ ''y'', and then Φ is natural in both arguments. A similar argument allows one to construct a hom-set adjunction from the terminal morphisms to a left adjoint functor. (The construction that starts with a right adjoint is slightly more common, since the right adjoint in many adjoint pairs is a trivially defined inclusion or forgetful functor.) ===counit–unit adjunction induces hom-set adjunction=== Given functors ''F'' : ''D'' → ''C'', ''G'' : ''C'' → ''D'', and a counit–unit adjunction (ε, η) : ''F'' ⊣ ''G'', we can construct a hom-set adjunction by finding the natural transformation Φ : hom<sub>''C''</sub>(''F''−,−) → hom<sub>''D''</sub>(−,''G''−) in the following steps: *For each ''f'' : ''FY'' → ''X'' and each ''g'' : ''Y'' → ''GX'', define :<math>\begin{align}\Phi_{Y,X}(f) = G(f)\circ \eta_Y\\ \Psi_{Y,X}(g) = \varepsilon_X\circ F(g)\end{align}</math> :The transformations Φ and Ψ are natural because η and ε are natural. *Using, in order, that ''F'' is a functor, that ε is natural, and the counit–unit equation 1<sub>''FY''</sub> = ε<sub>''FY''</sub> ∘ ''F''(η<sub>''Y''</sub>), we obtain :<math>\begin{align} \Psi\Phi f &= \varepsilon_X\circ FG(f)\circ F(\eta_Y) \\ &= f\circ \varepsilon_{FY}\circ F(\eta_Y) \\ &= f\circ 1_{FY} = f\end{align}</math> :hence ΨΦ is the identity transformation. *Dually, using that ''G'' is a functor, that η is natural, and the counit–unit equation 1<sub>''GX''</sub> = ''G''(ε<sub>''X''</sub>) ∘ η<sub>''GX''</sub>, we obtain :<math>\begin{align} \Phi\Psi g &= G(\varepsilon_X)\circ GF(g)\circ\eta_Y \\ &= G(\varepsilon_X)\circ\eta_{GX}\circ g \\ &= 1_{GX}\circ g = g\end{align}</math> :hence ΦΨ is the identity transformation. Thus Φ is a natural isomorphism with inverse Φ<sup>−1</sup> = Ψ. ===Hom-set adjunction induces all of the above=== Given functors ''F'' : ''D'' → ''C'', ''G'' : ''C'' → ''D'', and a hom-set adjunction Φ : hom<sub>''C''</sub>(''F''−,−) → hom<sub>''D''</sub>(−,''G''−), one can construct a counit–unit adjunction :<math>(\varepsilon,\eta):F\dashv G</math> , which defines families of initial and terminal morphisms, in the following steps: *Let <math>\varepsilon_X=\Phi_{GX,X}^{-1}(1_{GX})\in\mathrm{hom}_C(FGX,X)</math> for each ''X'' in ''C'', where <math>1_{GX}\in\mathrm{hom}_D(GX,GX)</math> is the identity morphism. *Let <math>\eta_Y=\Phi_{Y,FY}(1_{FY})\in\mathrm{hom}_D(Y,GFY)</math> for each ''Y'' in ''D'', where <math>1_{FY}\in\mathrm{hom}_C(FY,FY)</math> is the identity morphism. *The bijectivity and naturality of Φ imply that each (''GX'', ε<sub>''X''</sub>) is a terminal morphism from ''F'' to ''X'' in ''C'', and each (''FY'', ''η''<sub>''Y''</sub>) is an initial morphism from ''Y'' to ''G'' in ''D''. *The naturality of Φ implies the naturality of ε and ''η'', and the two formulas :<math>\begin{align}\Phi_{Y,X}(f) = G(f)\circ \eta_Y\\ \Phi_{Y,X}^{-1}(g) = \varepsilon_X\circ F(g)\end{align}</math> :for each {{itco|''f''}}: ''FY'' → ''X'' and {{itco|''g''}}: ''Y'' → ''GX'' (which completely determine Φ). *Substituting ''FY'' for ''X'' and ''η''<sub>''Y''</sub> = Φ<sub>''Y'', ''FY''</sub>(1<sub>''FY''</sub>) for ''g'' in the second formula gives the first counit–unit equation :<math>1_{FY} = \varepsilon_{FY}\circ F(\eta_Y)</math>, :and substituting ''GX'' for ''Y'' and ε<sub>X</sub> = Φ<sup>−1</sup><sub>''GX, X''</sub>(1<sub>''GX''</sub>) for ''f'' in the first formula gives the second counit–unit equation :<math>1_{GX} = G(\varepsilon_X)\circ\eta_{GX}</math>. == Properties == ===Existence=== {{See also|Formal criteria for adjoint functors}} {{anchor|Freyd's adjoint functor theorem}}Not every functor ''G'' : ''C'' → ''D'' admits a left adjoint. If ''C'' is a [[complete category]], then the functors with left adjoints can be characterized by the '''adjoint functor theorem''' of [[Peter J. Freyd]]: ''G'' has a left adjoint if and only if it is [[limit (category theory)#Preservation of limits|continuous]] and a certain smallness condition is satisfied: for every object ''Y'' of ''D'' there exists a family of morphisms :''f''<sub>''i''</sub> : ''Y'' → ''G''(''X''<sub>''i''</sub>) where the indices ''i'' come from a ''set'' {{mvar|I}}, not a ''[[class (set theory)|proper class]]'', such that every morphism :''h'' : ''Y'' → ''G''(''X'') can be written as :''h'' = ''G''(''t'') <math>\circ</math> ''f''<sub>''i''</sub> for some ''i'' in {{mvar|I}} and some morphism :''t'' : ''X''<sub>''i''</sub> → ''X'' ∈ ''C''. An analogous statement characterizes those functors with a right adjoint. An important special case is that of [[locally presentable category|locally presentable categories]]. If <math>F : C \to D</math> is a functor between locally presentable categories, then * ''F'' has a right adjoint if and only if ''F'' preserves small colimits * ''F'' has a left adjoint if and only if ''F'' preserves small limits and is an [[accessible functor]] ===Uniqueness=== If the functor ''F'' : ''D'' → ''C'' has two right adjoints ''G'' and ''{{prime|G}}'', then ''G'' and ''{{prime|G}}'' are [[natural transformation|naturally isomorphic]]. The same is true for left adjoints. Conversely, if ''F'' is left adjoint to ''G'', and ''G'' is naturally isomorphic to ''{{prime|G}}'' then ''F'' is also left adjoint to ''{{prime|G}}''. More generally, if 〈''F'', ''G'', ε, η〉 is an adjunction (with counit–unit (ε,η)) and :σ : ''F'' → ''{{prime|F}}'' :τ : ''G'' → ''{{prime|G}}'' are natural isomorphisms then 〈''{{prime|F}}'', ''{{prime|G}}'', {{prime|ε}}, {{prime|η}}〉 is an adjunction where :<math>\begin{align} \eta' &= (\tau\ast\sigma)\circ\eta \\ \varepsilon' &= \varepsilon\circ(\sigma^{-1}\ast\tau^{-1}). \end{align}</math> Here <math>\circ</math> denotes vertical composition of natural transformations, and <math>\ast</math> denotes horizontal composition. ===Composition=== Adjunctions can be composed in a natural fashion. Specifically, if 〈''F'', ''G'', ''ε'', ''η''〉 is an adjunction between ''C'' and ''D'' and 〈''{{prime|F}}'', ''{{prime|G}}'', ''{{prime|ε}}'', ''{{prime|η}}''〉 is an adjunction between ''D'' and ''E'' then the functor :<math>F \circ F' : E \rightarrow C</math> is left adjoint to :<math>G' \circ G : C \to E.</math> More precisely, there is an adjunction between ''F F′'' and ''G′ G'' with unit and counit given respectively by the compositions: :<math>\begin{align} &1_{\mathcal E} \xrightarrow{\eta'} G' F' \xrightarrow{G' \eta F'} G' G F F' \\ &F F' G' G \xrightarrow{F \varepsilon' G} F G \xrightarrow{\varepsilon} 1_{\mathcal C}. \end{align}</math> This new adjunction is called the '''composition''' of the two given adjunctions. Since there is also a natural way to define an identity adjunction between a category ''C'' and itself, one can then form a category whose objects are all [[small category|small categories]] and whose morphisms are adjunctions. ===Limit preservation=== The most important property of adjoints is their continuity: every functor that has a left adjoint (and therefore ''is'' a right adjoint) is ''continuous'' (i.e. commutes with [[limit (category theory)|limits]] in the category theoretical sense); every functor that has a right adjoint (and therefore ''is'' a left adjoint) is ''cocontinuous'' (i.e. commutes with [[limit (category theory)|colimits]]). Since many common constructions in mathematics are limits or colimits, this provides a wealth of information. For example: * applying a right adjoint functor to a [[product (category theory)|product]] of objects yields the product of the images; * applying a left adjoint functor to a [[coproduct]] of objects yields the coproduct of the images; * every right adjoint functor between two abelian categories is [[left exact functor|left exact]]; * every left adjoint functor between two abelian categories is [[right exact functor|right exact]]. ===Additivity=== If ''C'' and ''D'' are [[preadditive categories]] and ''F'' : ''D'' → ''C'' is an [[additive functor]] with a right adjoint ''G'' : ''C'' → ''D'', then ''G'' is also an additive functor and the hom-set bijections :<math>\Phi_{Y,X} : \mathrm{hom}_{\mathcal C}(FY,X) \cong \mathrm{hom}_{\mathcal D}(Y,GX)</math> are, in fact, isomorphisms of abelian groups. Dually, if ''G'' is additive with a left adjoint ''F'', then ''F'' is also additive. Moreover, if both ''C'' and ''D'' are [[additive categories]] (i.e. preadditive categories with all finite [[biproduct]]s), then any pair of adjoint functors between them are automatically additive. ==Relationships== ===Universal constructions=== As stated earlier, an adjunction between categories ''C'' and ''D'' gives rise to a family of [[universal morphism]]s, one for each object in ''C'' and one for each object in ''D''. Conversely, if there exists a universal morphism to a functor ''G'' : ''C'' → ''D'' from every object of ''D'', then ''G'' has a left adjoint. However, universal constructions are more general than adjoint functors: a universal construction is like an optimization problem; it gives rise to an adjoint pair if and only if this problem has a solution for every object of ''D'' (equivalently, every object of ''C''). ===Equivalences of categories=== If a functor ''F'' : ''D'' → ''C'' is one half of an [[equivalence of categories]] then it is the left adjoint in an adjoint equivalence of categories, i.e. an adjunction whose unit and counit are isomorphisms. Every adjunction 〈''F'', ''G'', ε, η〉 extends an equivalence of certain subcategories. Define ''C''<sub>1</sub> as the full subcategory of ''C'' consisting of those objects ''X'' of ''C'' for which ε<sub>''X''</sub> is an isomorphism, and define ''D''<sub>1</sub> as the [[full subcategory]] of ''D'' consisting of those objects ''Y'' of ''D'' for which η<sub>''Y''</sub> is an isomorphism. Then ''F'' and ''G'' can be restricted to ''D''<sub>1</sub> and ''C''<sub>1</sub> and yield inverse equivalences of these subcategories. In a sense, then, adjoints are "generalized" inverses. Note however that a right inverse of ''F'' (i.e. a functor ''G'' such that ''FG'' is naturally isomorphic to 1<sub>''D''</sub>) need not be a right (or left) adjoint of ''F''. Adjoints generalize ''two-sided'' inverses. ===Monads=== Every adjunction 〈''F'', ''G'', ε, η〉 gives rise to an associated [[monad (category theory)|monad]] 〈''T'', η, μ〉 in the category ''D''. The functor :<math>T : \mathcal{D} \to \mathcal{D}</math> is given by ''T'' = ''GF''. The unit of the monad :<math>\eta : 1_{\mathcal{D}} \to T</math> is just the unit η of the adjunction and the multiplication transformation :<math>\mu : T^2 \to T\,</math> is given by μ = ''G''ε''F''. Dually, the triple 〈''FG'', ε, ''F''η''G''〉 defines a [[comonad]] in ''C''. Every monad arises from some adjunction—in fact, typically from many adjunctions—in the above fashion. Two constructions, called the category of [[Eilenberg–Moore algebra]]s and the [[Kleisli category]] are two extremal solutions to the problem of constructing an adjunction that gives rise to a given monad. ==Notes== {{Reflist}} ==References== *{{cite book | last1 = Adámek | first1 = Jiří | first2=Horst | last2=Herrlich | first3=George E. | last3=Strecker | year = 1990 | url = http://katmat.math.uni-bremen.de/acc/acc.pdf | title = Abstract and Concrete Categories. The joy of cats | publisher = John Wiley & Sons | isbn = 0-471-60922-6 | zbl=0695.18001 }} *{{cite book |url={{Google books|YfzImoopB-IC&q|page=99|plainurl=yes}} | title=Handbook of Categorical Algebra: Basic category theory | isbn=978-0-521-44178-0 | last1=Borceux | first1=Francis | date=1994 | publisher=Cambridge University Press }} *{{cite book | first = Saunders | last = Mac Lane | author-link = Saunders Mac Lane | year = 1998 | title = [[Categories for the Working Mathematician]] | series = [[Graduate Texts in Mathematics]] | volume=5 | edition = 2nd | publisher = Springer-Verlag | isbn = 0-387-98403-8 | zbl=0906.18001 }} ==External links== *{{YouTube|playlist=PL54B49729E5102248|Adjunctions}} – seven short lectures on adjunctions by [[Eugenia Cheng]] of The Catsters * [http://wildcatsformma.wordpress.com WildCats] is a category theory package for [[Mathematica]]. Manipulation and visualization of objects, [[morphism]]s, categories, [[functor]]s, [[natural transformation]]s, [[universal properties]]. {{Category theory}} {{Functors}} {{Authority control}} {{DEFAULTSORT:Adjoint Functors}} [[Category:Adjoint functors| ]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:About
(
edit
)
Template:Anchor
(
edit
)
Template:Authority control
(
edit
)
Template:Category theory
(
edit
)
Template:Cite arXiv
(
edit
)
Template:Cite book
(
edit
)
Template:Cite journal
(
edit
)
Template:Cite web
(
edit
)
Template:Functors
(
edit
)
Template:ISBN
(
edit
)
Template:I sup
(
edit
)
Template:Itco
(
edit
)
Template:Math
(
edit
)
Template:More footnotes needed
(
edit
)
Template:Mvar
(
edit
)
Template:Prime
(
edit
)
Template:Quote
(
edit
)
Template:Reflist
(
edit
)
Template:See also
(
edit
)
Template:Short description
(
edit
)
Template:Sup
(
edit
)
Template:YouTube
(
edit
)