Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    Universal Constructions and Adjunctions

    Suppose two calculations construct a space of allowed states in different ways. Matching their dimensions is weak evidence: we need a map that respects the constraints and the operations performed on those states. A universal property specifies such a space through the maps into or out of it. It both constructs the comparison and explains why that comparison is unique once the defining maps are fixed.

    We begin with products and matching constraints, derive the tensor–Hom correspondence, and then construct the free associative algebra on a vector space. The last example exhibits an adjunction in full: a natural correspondence of maps, its unit and counit, and the two identities relating them.

    Preparation: Use categories, functors, and natural maps and the bilinear tensor product from tensor products and Schmidt decomposition. All maps are complex-linear unless stated otherwise. The examples involving products and matrices are finite-dimensional; the free-algebra construction explicitly uses all complex vector spaces.

    Products and coproducts specify opposite mapping problems

    A product of objects A,BA,B in a category C\mathcal C is an object PP with maps πA:P→A\pi_A:P\to A and πB:P→B\pi_B:P\to B such that every pair f:X→Af:X\to A, g:X→Bg:X\to B factors uniquely as

    πA∘h=f,πB∘h=g,h:X→P.\pi_A\circ h=f, \qquad \pi_B\circ h=g, \qquad h:X\to P.

    The uniqueness concerns a map with these two prescribed composites. In Set\mathbf{Set}, take P=A×BP=A\times B and h(x)=(f(x),g(x))h(x)=(f(x),g(x)). In vector spaces the same formula is linear when ff and gg are linear.

    A coproduct reverses all the arrows. It is an object QQ with maps iA:A→Qi_A:A\to Q and iB:B→Qi_B:B\to Q such that every pair f:A→Xf:A\to X, g:B→Xg:B\to X determines a unique map h:Q→Xh:Q\to X satisfying

    h∘iA=f,h∘iB=g.h\circ i_A=f, \qquad h\circ i_B=g.

    For vector spaces, the finite direct sum A⊕BA\oplus B solves both problems. Its projections give the product; its inclusions give the coproduct, whose extension is

    h(a,b)=f(a)+g(b).h(a,b)=f(a)+g(b).

    These statements use different structure maps and different directions of factorization. The coincidence is special: in sets the coproduct is the disjoint union. If AA has two elements and BB has three, the product has six elements and the coproduct five. Even in vector spaces, infinite products and direct sums differ: a direct sum permits only finitely many nonzero coordinates, whereas the product permits arbitrary coordinate families.

    The empty cases clarify the arrow direction. A terminal object receives exactly one map from each object; an initial object has exactly one map to each object. In sets these are a singleton and the empty set, respectively. In vector spaces the zero space is both. The field C\mathbb C, which will be the unit for tensor products, is not the terminal vector space. Riehl, §3.1 gives these constructions as special cases of limits and colimits (PDF).

    Uniqueness includes the structure maps

    Suppose (P,πA,πB)(P,\pi_A,\pi_B) and (P′,πA′,πB′)(P',\pi'_A,\pi'_B) both solve the product problem. The property of P′P' gives a unique u:P→P′u:P\to P' with πA′u=πA\pi'_A u=\pi_A and πB′u=πB\pi'_B u=\pi_B. The property of PP gives a map v:P′→Pv:P'\to P in the reverse direction. Now

    πAvu=πA,πBvu=πB.\pi_Avu=\pi_A, \qquad \pi_Bvu=\pi_B.

    Both vuvu and 1P1_P have these composites. Uniqueness therefore forces vu=1Pvu=1_P, and the same argument gives uv=1P′uv=1_{P'}. There is a unique isomorphism compatible with the projections. There can be many unrelated isomorphisms between the underlying objects: for example, C2\mathbb C^2 has many invertible matrices. The universal property singles out the one that preserves the data of this construction.

    Limits impose simultaneous compatibility

    A diagram is a functor D:J→CD:\mathcal J\to\mathcal C, with J\mathcal J describing the objects and arrows to be compared. A cone over DD consists of maps fj:X→D(j)f_j:X\to D(j) satisfying

    D(α)fj=fkfor each arrow α:j→k.D(\alpha)f_j=f_k \qquad\text{for each arrow }\alpha:j\to k.

    A limit is a cone (L,πj)(L,\pi_j) through which every cone factors uniquely: fj=πjhf_j=\pi_jh for one map h:X→Lh:X\to L. Products are the case with no nonidentity arrows and hence no matching conditions.

    For a finite diagram of finite-dimensional vector spaces, there is a concrete construction:

    L={(vj)∈∏jD(j):D(α)vj=vk for every α:j→k}.L=\left\{(v_j)\in\prod_j D(j): D(\alpha)v_j=v_k\ \text{for every }\alpha:j\to k\right\}.

    This is a linear subspace, cut out by the differences D(α)vj−vkD(\alpha)v_j-v_k. Coordinate projections form a cone. If maps fjf_j already satisfy the compatibility conditions, the map x↦(fj(x))x\mapsto(f_j(x)) lands in LL; its coordinates also prove uniqueness. This is a proof of the limit property, not just a dimension count.

    For two parallel maps f,g:V→Wf,g:V\to W, the limit is their equalizer:

    Eq⁡(f,g)=ker⁡(f−g),\operatorname{Eq}(f,g)=\ker(f-g),

    with its inclusion into VV. Every map a:X→Va:X\to V with fa=gafa=ga has image in that kernel and therefore factors uniquely through the inclusion.

    For maps f:V→Zf:V\to Z and g:W→Zg:W\to Z, the limit is their pullback:

    V×ZW={(v,w)∈V⊕W:f(v)=g(w)}.V\times_ZW=\{(v,w)\in V\oplus W:f(v)=g(w)\}.

    For instance, let V=C2V=\mathbb C^2, W=Z=CW=Z=\mathbb C and take

    f(x,y)=x+y,g(t)=2t.f(x,y)=x+y, \qquad g(t)=2t.

    The pullback is the two-dimensional space of triples obeying x+y=2tx+y=2t. A parametrization is

    (r,t)⟼((r,2t−r),t).(r,t)\longmapsto((r,2t-r),t).

    If a:X→C2a:X\to\mathbb C^2 has components (a1,a2)(a_1,a_2) and b:X→Cb:X\to\mathbb C satisfies a1+a2=2ba_1+a_2=2b, then the unique map into this parametrized pullback is x↦(a1(x),b(x))x\mapsto(a_1(x),b(x)). It retains exactly the information needed to reconstruct both compatible outputs. Such matching spaces arise when local data must agree after restriction to an overlap; their universal property is the compatibility argument that permits subsequent maps to be defined.

    Reversing cone arrows gives colimits. In vector spaces the coequalizer of f,g:V→Wf,g:V\to W is

    W/im⁡(f−g).W/\operatorname{im}(f-g).

    Indeed, a linear map h:W→Xh:W\to X satisfies hf=hghf=hg exactly when it annihilates im⁡(f−g)\operatorname{im}(f-g), which is precisely the condition for a unique map out of this quotient. Limits enforce relations on inputs; this colimit identifies outputs that a subsequent map must treat equally.

    Tensor–Hom adjunction by explicit currying

    Let V,W,ZV,W,Z be finite-dimensional complex vector spaces. The tensor product comes with a bilinear map (v,w)↦v⊗w(v,w)\mapsto v\otimes w such that every bilinear map b:V×W→Zb:V\times W\to Z has a unique linear extension b~:V⊗W→Z\widetilde b:V\otimes W\to Z.

    For a linear map F:V⊗W→ZF:V\otimes W\to Z, define a linear map with values in a space of linear maps:

    Φ(F):V→Hom⁡C(W,Z),Φ(F)(v)(w)=F(v⊗w).\begin{aligned} \Phi(F)&:V\to\operatorname{Hom}_{\mathbb C}(W,Z),\\ \Phi(F)(v)(w)&=F(v\otimes w). \end{aligned}

    Linearity in ww follows from the tensor relations, and linearity in vv follows pointwise. Conversely, a linear map G:V→Hom⁡C(W,Z)G:V\to\operatorname{Hom}_{\mathbb C}(W,Z) defines the bilinear map (v,w)↦G(v)(w)(v,w)\mapsto G(v)(w). Its unique tensor extension is Ψ(G)\Psi(G), characterized by

    Ψ(G)(v⊗w)=G(v)(w).\Psi(G)(v\otimes w)=G(v)(w).

    Evaluating on v,wv,w gives ΦΨ(G)=G\Phi\Psi(G)=G. Evaluating on pure tensors gives ΨΦ(F)=F\Psi\Phi(F)=F, because pure tensors span V⊗WV\otimes W. Hence

    Hom⁡C(V⊗W,Z)≅Hom⁡C(V,Hom⁡C(W,Z)).\operatorname{Hom}_{\mathbb C}(V\otimes W,Z) \cong \operatorname{Hom}_{\mathbb C} \bigl(V,\operatorname{Hom}_{\mathbb C}(W,Z)\bigr).

    This is a specific isomorphism, independent of bases. It is natural: if a:V′→Va:V'\to V and c:Z→Z′c:Z\to Z', then

    Φ(cF(a⊗IW))(v′)(w)=c(Φ(F)(av′)(w)).\Phi\bigl(cF(a\otimes I_W)\bigr)(v')(w) =c\bigl(\Phi(F)(av')(w)\bigr).

    Changing WW by b:W′→Wb:W'\to W similarly precomposes the resulting linear map on WW by bb. These equations check the functorial compatibility in all variables. For fixed WW, the functor −⊗W-\otimes W is left adjoint to Hom⁡C(W,−)\operatorname{Hom}_{\mathbb C}(W,-). The construction works for arbitrary algebraic vector spaces too; finiteness here ensures that the displayed objects remain in the finite-dimensional category. Compare Riehl, Example 2.3.7 and §4.3 (PDF).

    For Z=CZ=\mathbb C, a bilinear form becomes a map V→W∗V\to W^*. In bases, if b(v,w)=vTMwb(v,w)=v^{\mathsf T}Mw, the functional b(v,−)b(v,-) has coefficient column MTvM^{\mathsf T}v. The transpose appears because of arrow placement; there is no complex conjugation. A sesquilinear Hermitian pairing has a different linearity type.

    An adjunction is a natural correspondence of maps

    For categories C,D\mathcal C,\mathcal D, functors F:C→DF:\mathcal C\to\mathcal D and U:D→CU:\mathcal D\to\mathcal C are adjoint, written F⊣UF\dashv U, when there are bijections

    ΦX,A:Hom⁡D(F(X),A)⟶Hom⁡C(X,U(A))\Phi_{X,A}: \operatorname{Hom}_{\mathcal D}(F(X),A) \longrightarrow \operatorname{Hom}_{\mathcal C}(X,U(A))

    natural in XX and AA. In explicit terms, for a:X′→Xa:X'\to X, b:A→A′b:A\to A' and f:F(X)→Af:F(X)\to A, naturality requires

    ΦX′,A′(b∘f∘F(a))=U(b)∘ΦX,A(f)∘a.\Phi_{X',A'}\bigl(b\circ f\circ F(a)\bigr) =U(b)\circ\Phi_{X,A}(f)\circ a.

    This is why arbitrary equalities of dimensions or cardinalities of morphism sets do not establish an adjunction: they provide no comparison compatible with precomposition and postcomposition. “Adjoint” here does not require an inner product.

    Two special maps contain the correspondence. The unit is the image of an identity under Φ\Phi, and the counit is the inverse image of an identity:

    ηX=ΦX,F(X)(1F(X)):X→UF(X),εA=ΦU(A),A−1(1U(A)):FU(A)→A.\begin{aligned} \eta_X&=\Phi_{X,F(X)}(1_{F(X)}):X\to UF(X),\\ \varepsilon_A&=\Phi^{-1}_{U(A),A}(1_{U(A)}):FU(A)\to A. \end{aligned}

    Naturality of the correspondence makes these natural transformations. It also determines every transpose from them:

    Φ(f)=U(f)∘ηX,Φ−1(g)=εA∘F(g).\Phi(f)=U(f)\circ\eta_X, \qquad \Phi^{-1}(g)=\varepsilon_A\circ F(g).

    Putting f=1F(X)f=1_{F(X)} and g=1U(A)g=1_{U(A)} into the two inverse operations yields the triangle identities

    εF(X)∘F(ηX)=1F(X),U(εA)∘ηU(A)=1U(A).\varepsilon_{F(X)}\circ F(\eta_X)=1_{F(X)}, \qquad U(\varepsilon_A)\circ\eta_{U(A)}=1_{U(A)}.

    Conversely, natural maps η,ε\eta,\varepsilon with these identities make the two displayed transposition formulas inverse. For example, naturality of ε\varepsilon gives

    εA FU(f) F(ηX)=f εF(X) F(ηX)=f.\begin{aligned} \varepsilon_A\,FU(f)\,F(\eta_X) &=f\,\varepsilon_{F(X)}\,F(\eta_X)\\ &=f. \end{aligned}

    For the other composite, naturality of η\eta gives UF(g)ηX=ηU(A)gUF(g)\eta_X=\eta_{U(A)}g, after which the second triangle returns gg. Thus the identities express exactly the consistency needed for the natural correspondence. Riehl, Definitions 4.1.1 and 4.2.5 and Proposition 4.2.6 give the two equivalent definitions (PDF).

    The free associative algebra and its universal extension

    Let AlgC\mathbf{Alg}_{\mathbb C} consist of all unital associative complex algebras and unit-preserving complex-algebra homomorphisms. Let

    U:AlgC→VectCU:\mathbf{Alg}_{\mathbb C}\to\mathbf{Vect}_{\mathbb C}

    forget multiplication and the unit, retaining the underlying vector space. Both categories now include infinite-dimensional objects. For a vector space VV, define its tensor algebra

    T(V)=⨁n=0∞V⊗n,V⊗0=C.T(V)=\bigoplus_{n=0}^{\infty}V^{\otimes n}, \qquad V^{\otimes0}=\mathbb C.

    Elements are finite sums of tensors of finite length. Multiplication concatenates tensors, extended bilinearly; the empty tensor 1∈C1\in\mathbb C is the unit. This gives an associative algebra. The familiar word description follows by choosing a basis of VV: all finite words in basis letters, including the empty word, form a basis of T(V)T(V). There is no convergence condition or completion in this algebraic construction. See Etingof et al., §2.12 (PDF).

    Given a linear map ℓ:V→U(A)\ell:V\to U(A), the nn-linear map

    (v1,…,vn)⟼ℓ(v1)⋯ℓ(vn)(v_1,\ldots,v_n)\longmapsto \ell(v_1)\cdots\ell(v_n)

    defines a linear map on V⊗nV^{\otimes n}. Together with c↦c1Ac\mapsto c1_A at degree zero, these maps define

    ℓ‾:T(V)→A,ℓ‾(v1⊗⋯⊗vn)=ℓ(v1)⋯ℓ(vn).\overline\ell:T(V)\to A, \qquad \overline\ell(v_1\otimes\cdots\otimes v_n) =\ell(v_1)\cdots\ell(v_n).

    Concatenation and associativity in AA show that ℓ‾\overline\ell preserves multiplication; the degree-zero definition shows it preserves the unit. Any algebra homomorphism extending ℓ\ell must have this value on every word, and words span T(V)T(V). The extension is therefore unique.

    Restriction to the degree-one copy of VV and this extension are inverse maps:

    Hom⁡AlgC(T(V),A)≅Hom⁡C(V,U(A)).\operatorname{Hom}_{\mathbf{Alg}_{\mathbb C}}(T(V),A) \cong \operatorname{Hom}_{\mathbb C}(V,U(A)).

    For a linear map a:V′→Va:V'\to V, define T(a)T(a) by applying aa to each tensor factor and by the identity on degree zero. This preserves concatenation, identities and composition, so TT is a functor. If b:A→A′b:A\to A' is an algebra homomorphism, then restriction of bℓ‾T(a)b\overline\ell T(a) to V′V' is U(b)ℓaU(b)\ell a. Uniqueness of extension proves naturality. We have derived T⊣UT\dashv U, the free–forgetful adjunction also stated in Etingof et al., Example 7.6.3(5) (PDF).

    The unit ηV:V→UT(V)\eta_V:V\to UT(V) inserts a vector as a word of length one. The counit

    εA:T(U(A))→A\varepsilon_A:T(U(A))\to A

    multiplies its letters using the multiplication already present in AA. The triangle identities can now be read directly. A word in T(V)T(V) first becomes a word of one-letter words under T(ηV)T(\eta_V); εT(V)\varepsilon_{T(V)} multiplies those words by concatenation, returning the original word. An element a∈Aa\in A first becomes a one-letter word under ηU(A)\eta_{U(A)}; U(εA)U(\varepsilon_A) evaluates it back to aa. The empty-word case of the first identity returns the unit.

    This adjunction is not an equivalence. Even for V=CxV=\mathbb C x, the algebra T(V)T(V) contains all powers 1,x,x2,…1,x,x^2,\ldots and is infinite-dimensional. Moreover, T(U(A))T(U(A)) usually has many formal words representing the same product in AA. For example, its empty word and its one-letter word whose letter is 1A1_A are distinct, but both evaluate to 1A1_A. The counit imposes the existing multiplication relations rather than undoing a reversible change of presentation.

    Noncommuting generators are the point

    Take V=Cx⊕CyV=\mathbb C x\oplus\mathbb C y and A=Mat⁡2(C)A=\operatorname{Mat}_2(\mathbb C). Set

    ℓ(x)=X=(0100),ℓ(y)=Y=(0010).\ell(x)=X=\begin{pmatrix}0&1\\0&0\end{pmatrix}, \qquad \ell(y)=Y=\begin{pmatrix}0&0\\1&0\end{pmatrix}.

    The unique extension sends xyxy to XYXY and yxyx to YXYX, where word juxtaposition denotes tensor-algebra multiplication. Explicitly,

    XY=(1000),YX=(0001).XY=\begin{pmatrix}1&0\\0&0\end{pmatrix}, \qquad YX=\begin{pmatrix}0&0\\0&1\end{pmatrix}.

    Thus ℓ‾(xy−yx)=diag⁡(1,−1)≠0\overline\ell(xy-yx)=\operatorname{diag}(1,-1)\ne0. The tensor algebra permits this map because its generators have no commutativity relation. The symmetric algebra

    S(V)=T(V)/⟨v⊗w−w⊗v⟩S(V)=T(V)/\langle v\otimes w-w\otimes v\rangle

    would require the generator images to commute; this particular map does not descend to S(V)S(V). Free associative and free commutative algebras solve different mapping problems. In operator applications, the distinction determines whether noncommuting observables can be substituted for the generators at all.

    Summary

    A universal construction is fixed by its structure maps and a unique factorization property. Products assemble arbitrary outputs, limits assemble compatible outputs, and quotient colimits enforce identifications. Tensor–Hom currying and the tensor-algebra extension provide explicit natural bijections of morphisms. Their adjunctions have unit and counit maps whose triangle identities express that the two descriptions of a map recover one another.

    Exercises

    1. A quotient determined by its outgoing maps

    Let f,g:C2→C2f,g:\mathbb C^2\to\mathbb C^2 be

    f(x,y)=(x,y),g(x,y)=(0,y).f(x,y)=(x,y), \qquad g(x,y)=(0,y).

    Construct their coequalizer. Prove its universal property directly and determine the unique compatible isomorphism to any other coequalizer.

    Solution

    The image of f−gf-g is the first coordinate axis. The map q:C2→Cq:\mathbb C^2\to\mathbb C, q(x,y)=yq(x,y)=y, identifies the quotient by that axis with C\mathbb C. If h:C2→Zh:\mathbb C^2\to Z obeys hf=hghf=hg, then h(x,0)=0h(x,0)=0. Consequently

    h(x,y)=h(0,y)=h‾(q(x,y)),h‾(t)=h(0,t).h(x,y)=h(0,y)=\overline h(q(x,y)), \qquad \overline h(t)=h(0,t).

    This factorization is unique because qq is surjective. For another coequalizer q′:C2→Q′q':\mathbb C^2\to Q', the property of qq gives a unique u:C→Q′u:\mathbb C\to Q' with uq=q′uq=q'. The property of q′q' gives v:Q′→Cv:Q'\to\mathbb C with vq′=qvq'=q. Then vuq=qvuq=q and uvq′=q′uvq'=q'. Uniqueness in the two factorization properties implies vu=Ivu=I and uv=Iuv=I. Thus uu is the unique isomorphism preserving the quotient maps; arbitrary vector-space isomorphisms need not do so.

    2. Currying a complex bilinear form

    Let V=W=C2V=W=\mathbb C^2 and

    b(v,w)=vTMw,M=(1i2−1).b(v,w)=v^{\mathsf T}Mw, \qquad M=\begin{pmatrix}1&i\\2&-1\end{pmatrix}.

    Find the row of the linear map b~:V⊗W→C\widetilde b:V\otimes W\to\mathbb C in the ordered basis (e1⊗e1,e1⊗e2,e2⊗e1,e2⊗e2)(e_1\otimes e_1,e_1\otimes e_2,e_2\otimes e_1,e_2\otimes e_2). Find the matrix of its curried map V→W∗V\to W^*. Evaluate both descriptions on v=(1,i)Tv=(1,i)^{\mathsf T} and w=(1,2)Tw=(1,2)^{\mathsf T}.

    Solution

    The four basis values are 1,i,2,−11,i,2,-1, so b~\widetilde b has row (1,i,2,−1)(1,i,2,-1). The functional b(v,−)b(v,-) has coefficient column MTvM^{\mathsf T}v in the dual basis. Hence the curried map has matrix

    MT=(12i−1).M^{\mathsf T}=\begin{pmatrix}1&2\\i&-1\end{pmatrix}.

    For the given vv, this column is (1+2i,0)T(1+2i,0)^{\mathsf T}; applying it to ww gives 1+2i1+2i. On the tensor-product side, v⊗wv\otimes w has coordinates (1,2,i,2i)T(1,2,i,2i)^{\mathsf T}, and contraction with the row yields

    1+2i+2i−2i=1+2i.1+2i+2i-2i=1+2i.

    Using M†M^\dagger in place of MTM^{\mathsf T} would change the linearity prescription. The universal property here concerns complex-bilinear maps, not Hermitian pairings.

    3. When does the free map factor through a relation?

    For a linear map ℓ:V→A\ell:V\to A, prove that its tensor-algebra extension factors through S(V)S(V) exactly when all pairs of generator images commute. Explain the adjunction obtained when the target category is restricted to commutative unital complex algebras. What is the free algebra on the zero vector space?

    Solution

    The extension kills a generating relation precisely when

    ℓ‾(v⊗w−w⊗v)=[ℓ(v),ℓ(w)]=0.\overline\ell(v\otimes w-w\otimes v) =[\ell(v),\ell(w)]=0.

    If this holds for all v,wv,w, the algebra homomorphism kills the two-sided ideal generated by these relations, so it factors uniquely through the quotient S(V)S(V). Conversely, a map factoring through the quotient must kill every such relation. A noncommutative target may still admit such a factorization if the particular generator images commute.

    When AA is commutative, every linear map ℓ:V→A\ell:V\to A satisfies the condition. Restriction and extension therefore give a natural bijection between unital algebra maps S(V)→AS(V)\to A and linear maps V→U(A)V\to U(A). Thus the symmetric-algebra functor, with this commutative target category, is left adjoint to its underlying-vector-space functor.

    Finally, T(0)=S(0)=CT(0)=S(0)=\mathbb C: only degree zero remains. Its unique unital complex-algebra map to AA is c↦c1Ac\mapsto c1_A, in agreement with the unique linear map 0→U(A)0\to U(A). The field is initial in these algebra categories, although it is neither initial nor terminal in the category of complex vector spaces.

    References

    • Etingof, Pavel, Oleg Golberg, Sebastian Hensel, Tiankai Liu, Alex Schwendner, Dmitry Vaintrob, and Elena Yudovina. Introduction to Representation Theory. American Mathematical Society, 2011. §2.12, pp. 35–36, for tensor and symmetric algebras; §7.6, especially Example 7.6.3(5), pp. 188–190, for the free-algebra adjunction. Author-hosted PDF.
    • Riehl, Emily. Category Theory in Context. Dover, 2016, first edition. Example 2.3.7, pp. 63–64; §3.1; §§4.1–4.3, especially Proposition 4.2.6, for universal constructions and the unit–counit description of adjunctions. Author's first-edition PDF.

    Scrollable formula. Use Left and Right arrow keys to reveal hidden content.

    Scrollable table. Use Left and Right arrow keys to reveal hidden columns.

    Scrollable figure. Use Left and Right arrow keys to reveal hidden content.