The mapping cone of a morphism $f : X \to Y$ in some homotopical category (precisely: a category of cofibrant objects) is, if it exists, a particular representative of the homotopy cofiber of $f$.
It is also called the homotopy cokernel of $f$ or the weak quotient of $Y$ by the image of $X$ in $Y$ under $f$.
The dual notion is that of mapping cocone.
The mapping cone construction is a means to present in a category with weak equivalences the following canonical construction in homotopy theory/(∞,1)-category theory.
In an (∞,1)-category $\mathcal{C}$ with terminal object and (∞,1)-pushout, the homotopy cofiber of a morphism $f : X \to Y$ is the homotopy pushout
hence the object universal construction sitting universally in a diagram of the form
If the (∞,1)-category $\mathcal{C}$ is presented by (is equivalent to the simplicial localization of) a category of cofibrant objects $C$ (for instance given by the cofibrant objects in a model category) then this homotopy cofiber is presented by the ordinary colimit
in $C$ using any cylinder object $cyl(X)$ for $X$.
This is discussed in detail at factorization lemma and at homotopy pullback.
Heuristically this says that $cone(f)$ is the object obtained by
forming the cylinder over $X$;
gluing to one end of that the object $Y$ as specified by the map $f$.
shrinking the other end of the cylinder to the point.
Heuristically it is clear that this way every cycle in $Y$ that happens to be in the image of $X$ can be “continuously” translated in the cylinder-direction, keeping it constant in $Y$, to the other end of the cylinder, where it becomes the point. This means that every homotopy group of $Y$ in the image of $f$ vanishes in the mapping cone. Hence in the mapping conee the image of $X$ under $f$ in $Y$ is removed up to homotopy. This makes it clear how $cone(f)$ is a homotopy-version of the cokernel of $f$. And therefore the name “mapping cone”.
A morphism $\eta : cyl(X) \to Y$ out of a cylinder object is a left homotopy $\eta : g \Rightarrow h$ between its restrictions $g\coloneqq \eta(0)$ and $h \coloneqq \eta(1)$ to the cyclinder boundaries
Therefore prop. 1 says that the mapping cone is the the universal object with a morphism $i$ from $Y$ and a left homotopy from $i \circ f$ to the zero morphism. This is of course also precisely what def. 1 is saying.
The colimit in prop. 1 may be computed in two stages by two consecutive pushouts in $C$, and in two ways by the following pasting diagram:
Here every square is a pushout, (and so by the pasting law is every rectangular pasting composite).
This now is a basic fact in ordinary category theory. The pushouts appearing here go by the following names:
The pushout
defines the cone $cone(X)$ over $X$ (with respect to the chosen cylinder object): the result of taking the cylinder over $X$ and identifying one $X$-shaped end with the point.
The pushout
defines the mapping cylinder $cyl(f)$ of $f$, the result of identifying one end of the cylinder over $X$ with $Y$, using $f$ as the gluing map.
The pushout
defines es the mapping cone $cone(f)$ of $f$: the result of forming the cyclinder over $X$ and then identifying one end with the point and the other with $Y$, via $f$.
The geometric intuition behind this is best seen in the archetypical example of the model category Top. See the example For topological spaces below. The example For chain complexes can be understood similarly geometrically by thinking of all chain complexes as singular chains on topological spaces.
We discuss realizations of the general construction in various contexts. Some of these examples are regarded in parts of the literature as the default examples, notably that for topological spaces and that for chain complexes.
The mapping cone of the morphism $X \to {*}$ to the terminal object is the suspension object $\Sigma X$ of an object $X$. The dual notion of the loop space object of $X$.
The notion mapping cone derives its name from its geometrica interpretation in the category Top of topological spaces.
With respect to the standard model structure on topological spaces every CW-complex is a cofibrant object, and hence mapping cones on maps between CW-complexes have intrinsic meaning in homotopy theory.
Write $I \coloneqq [0,1] \subset \mathbb{R} \in$ Top for the standard topological interval. This is an interval object for the standard model structure. We may therefore take the cylinder object of a topological space $X$ to be
which is literally the cylinder over $X$.
Given a continuous function $f:X\to Y$, the topological space $cone(f)$ is
This is the disjoint union of $X \times I$ with $Y$ followed by an identification under which for each $x\in X$ a point $(x,1) \in X \times I$ is identified with the point $f(x) \in Y$ and followed by the contraction of $X\times \{0\}$ to a point.
Of course the opposite convention is also possible: identify $(x,0)$ with $f(x)$ for all $x$ and then contract $X\times\{1\}$ to a point; the two constructions of cones are canonically homeomorphic; the first is sometimes called the “inverse mapping cone”.
The singular chain complex functor from Top to the category of chain complexes of abelian groups sends the mapping cone to a mapping cone in the sense of chain complexes (up to conventions on the orientation of the interval and vector order in the definition of mapping cone of chain complexes).
Let $Ch_\bullet = Ch_\bullet(R Mod)$ be the category of chain complexes in $R$Mod for some ring $R$.
(For instance if $R = \mathbb{Z}$ the integers, then this is $Ch_\bullet(Ab)$, chain complexes of abelian groups. More generally $R Mod$ can be replaced by any abelian category in the following, with the evident changes in the presentation here and there.)
We derive an explicit presentation of the mapping cone $cone(f)$ of a chain map $f$, according to the general definition 2. The end result is prop. 6 below, reproducing the classical formula for the mapping cone.
Write $*_\bullet \in Ch_\bullet(\mathcal{A})$ for the chain complex concentrated on $R$ in degree 0
This may be understood as the normalized chain complex of chains of simplices on the terminal simplicial set $\Delta^0$, the 0-simplex.
Let $I_\bullet \in Ch_{\bullet}(\mathcal{A})$ be given by
Denote by
the chain map which in degree 0 is the canonical inclusion into the second summand of a direct sum and by
correspondingly the canonical inclusion into the first summand.
This is the standard interval object in chain complexes.
It is in fact the normalized chain complex of chains on a simplicial set for the canonical simplicial interval, the 1-simplex:
The differential $\partial^I = (-id, id)$ here expresses the alternating face map complex boundary operator, which in terms of the three non-degenerate basis elements is given by
We decompose the proof of this statement is a sequence of substatements.
For $X_\bullet \in Ch_\bullet$ the tensor product of chain complexes
is a cylinder object of $X_\bullet$ for the structure of a category of cofibrant objects on $Ch_\bullet$ whose cofibrations are the monomorphisms and whose weak equivalences are the quasi-isomorphisms (the substructure of the standard injective model structure on chain complexes).
The complex $(I \otimes X)_\bullet$ has components
and the differential is given by
hence in matrix calculus by
By the formula discussed at tensor product of chain complexes the components arise as the direct sum
and the differential picks up a sign when passed past the degree-1 term $R_{(0 \to 1)}$:
The two boundary inclusions of $X_\bullet$ into the cylinder are given in terms of def. 4 by
and
which in components is the inclusion of the second or first direct summand, respectively
One part of definition 2 now reads:
For $f_\bullet : X_\bullet \to Y_\bullet$ a chain map, the mapping cylinder $cyl(f)$ is the pushout
The components of $cyl(f)_\bullet$ are
and the differential is given by
hence in matrix calculus by
The colimits in a category of chain complexes $Ch_\bullet(\mathcal{A})$ are computed in the underlying presheaf category of towers in $\mathcal{A}$. There they are computed degreewise in $\mathcal{A}$ (see at limits in presheaf categories). Here the statement is evident:
the pushout identifies one direct summand $X_n$ with $Y_n$ along $f_n$ and so where previously a $id_{X_n}$ appeared on the diagonl, there is now $f_n$.
The last part of definition 2 now reads:
For $f_\bullet : X_\bullet \to Y_\bullet$ a chain map, the mapping cone $cone(f)$ is the pushout
In the literature this appears for instance as (Schapira, def. 3.2.2).
The components of the mapping cone $cone(f)$ are
with differential given by
and hence in matrix calculus by
As before the pushout is computed degreewise. This identifies the remaining unshifted copy of $X$ with 0.
For $f : X_\bullet \to Y_\bullet$ a chain map, the canonical inclusion $i : Y_\bullet \to cone(f)_\bullet$ of $Y_\bullet$ into the mapping cone of $f$ is given in components
by the canonical inclusion of a summand into a direct sum.
This follows by starting with remark 5 and then following these inclusions through the formation of the two colimits as discussed above.
The construction above builds the mapping cone explicitly via the standard formula for homotopy pushouts. Often however other presentations are more convenient:
For $f_\bullet \colon X_\bullet \to Y_\bullet$ a chain map, consider the double complex $D_{\bullet,\bullet}$ concentrated in degrees $D_{1,\bullet} \coloneqq X_\bullet$ and $D_{0,\bullet} \coloneqq Y_\bullet$ with $\partial_{0,\bullet} \coloneqq f_\bullet \colon D_{1,\bullet} \to D_{0,\bullet}$.
Then the total complex of $D_{\bullet, \bullet}$ is also a model for the mapping cone of $f$:
One checks by inspection that $tot(D_{\bullet,\bullet}) = Cone(\tilde f)$ for $\tilde f\colon X_\bullet \to Y_\bullet$ for which there is a chain homotopy $f \Rightarrow f'$ (given only by multiplication by signs).
This appears for instance as (Weibel, Exercise 1.2.8).
We spell out the situation in more detail in a category of cochain complexes.
Let $\mathcal{A}$ be some concrete additive category and $Ch^\bullet(\mathcal{A})$ the category of chain complexes in $\mathcal{A}$. For
a morphism, the mapping cone is the complex
There is a canonical cochain homotopy
where $i : W \to Cone(f)$ is the canonical inclusion, componentwise given by
and where the cochain homotopy $\eta$ has components
which we denote on $v \in V^k$ by
The fact that this is a cochain homotopy means that
which we check on any $v \in V^k$ by computing
where we used the above definition of $d_{Cone(f)}$ and the fact that $f$ is a chain homomorphism and hence intertwines the differentials.
This cochain homotopy is universal in that for any other cochain homotopy
hence
we have a morphism
given on $W$ by $j$ and on $V$ by $\rho$
which is indeed a cochain homomorphism because for all $v + w \in Cone(f)$ we have
and which is unique with the property that whiskering of 2-morphisms gives
hence that
and
Let $\mathcal{A}$ be an additive category with translation $T=[1] : \mathcal{A} \to \mathcal{A}$. Let $X$ and $Y$ be two differential objects in $(\mathcal{A},T)$ and $f : X \to Y$ any morphism in $C$.
The mapping cone $Cone(f)$ of $f$ is the differential object whose underlying object is the direct sum $T X \oplus Y$ and whose differential $d_{cone f} : T X \oplus X \to T T X \oplus T X$ is given in matrix calculus notation by
Notice the minus sign here, coming from the definition of a shifted differential object.
We discuss the relation between mapping cones in categories of chain complexes, as above, and long exact sequences in homology. For an exposition of the following see there the section Relation to homotopy fiber sequences.
Let $f : X_\bullet \longrightarrow Y_\bullet$ be a chain map and write $cone(f) \in Ch_\bullet(\mathcal{A})$ for its mapping cone as explicitly given in prop. 6.
Write $X[1]_\bullet \in Ch_\bullet(\mathcal{A})$ for the suspension of a chain complex of $X$. Write
for the chain map which in components
is given, via prop. 6, by the canonical projection out of a direct sum
The chain map $p : cone(f)_\bullet \to X[1]_\bullet$ represents the homotopy cofiber of the canonical map $i : Y_\bullet \to cone(f)_\bullet$.
By prop. 7 and def. 7 the sequence
is a short exact sequence of chain complexes (since it is so degreewise, in fact degreewise it is even a split exact sequence). In particular we have a cofiber pushout diagram
Now, in the injective model structure on chain complexes all chain complxes are cofibrant objects and an inclusion such as $i : Y_\bullet \hookrightarrow cone(f)_\bullet$ is a cofibration. By the detailed discussion at homotopy limit this means that the ordinary colimit here is in fact a homotopy colimit, hence exhibits $p$ as the homotopy cofiber of $i$.
For $f_\bullet : X_\bullet \to Y_\bullet$ a chain map, there is a homotopy cofiber sequence of the form
In order to compare this to the discussion of connecting homomorphisms, we now turn attention to the case that $f_\bullet$ happens to be a monomorphism. Notice that this we can always assume, up to quasi-isomorphism, for instance by prolonging $f$ by the map into its mapping cylinder
By the axioms on an abelian category in this case we have a short exact sequence
of chain complexes. The following discussion revolves around the fact that now $cone(f)_\bullet$ as well as $Z_\bullet$ are both models for the homotopy cofiber of $f$.
Let
be a short exact sequence of chain complexes.
The collection of linear maps
constitutes a chain map
This is a quasi-isomorphism. The inverse of $H_n(h_\bullet)$ is given by sending a representing cycle $z \in Z_n$ to
where $\hat z_n$ is any choice of lift through $p_n$ and where $\partial^Y \hat z_n$ is the formula expressing the connecting homomorphism in terms of elements, as discussed at Connecting homomorphism – In terms of elements.
Finally, the morphism $i_\bullet : Y_\bullet \to cone(f)_\bullet$ is eqivalent in the homotopy category (the derived category) to the zigzag
In the literature this appears for instance as (Schapira, cor. 7.2.2).
To see that $h_\bullet$ defines a chain map recall the differential $\partial^{cone(f)}$ from prop. 6, which acts by
and use that $x_{n-1}$ is in the kernel of $p_n$ by exactness, hence
It is immediate to see that we have a commuting diagram of the form
since the composite morphism is the inclusion of $Y$ followed by the bottom morphism on $Y$.
Abstractly, this already implies that $cone(f)_\bullet \to Z_\bullet$ is a quasi-isomorphism, for this diagram gives a morphism of cocones under the diagram defining $cone(f)$ in prop. 1 and by the above both of these cocones are homotopy-colimiting.
But in checking the claimed inverse of the induced map on homology groups, we verify this also explicity:
We first determine those cycles $(x_{n-1}, y_n) \in cone(f)_n$ which lift a cycle $z_n$. By lemma 1 a lift of chains is any pair of the form $(x_{n-1}, \hat z_n)$ where $\hat z_n$ is a lift of $z_n$ through $Y_n \to X_n$. So $x_{n-1}$ has to be found such that this pair is a cycle. By prop. 6 the differential acts on it by
and so the condition is that
$x_{n-1} \coloneqq -\partial^Y \hat z_n$ (which implies $\partial^X x_{n-1} = -\partial^X \partial^Y \hat z_n = -\partial^Y \partial^Y \hat z_n = 0$ due to the fact that $f_n$ is assumed to be an inclusion, hence that $\partial^X$ is the restriction of $\partial^Y$ to elements in $X_n$).
This condition clearly has a unique solution for every lift $\hat z_n$ and a lift $\hat z_n$ always exists since $p_n : Y_n \to Z_n$ is surjective, by assumption that we have a short exact sequence of chain complexes. This shows that $H_n(h_\bullet)$ is surjective.
To see that it is also injective we need to show that if a cycle $(-\partial^Y \hat z_n, \hat z_n) \in cone(f)_n$ maps to a cycle $z_n = p_n(\hat z_n)$ that is trivial in $H_n(Z)$ in that there is $c_{n+1}$ with $\partial^Z c_{n+1} = z_n$, then also the original cycle was trivial in homology, in that there is $(x_n, y_{n+1})$ with
For that let $\hat c_{n+1} \in Y_{n+1}$ be a lift of $c_{n+1}$ through $p_n$, which exists again by surjectivity of $p_{n+1}$. Observe that
by assumption on $z_n$ and $c_{n+1}$, and hence that $\hat z_n - \partial^Y \hat c_{n+1}$ is in $X_n$ by exactness.
Hence $(z_n - \partial^Y \hat c_{n+1}, \hat c_{n+1}) \in cone(f)_n$ trivializes the given cocycle:
Let
be a short exact sequence of chain complexes.
Then the chain homology functor
sends the homotopy cofiber sequence of $f$, cor. 1, to the long exact sequence in homology induced by the given short exact sequence, hence to
where $\delta_n$ is the $n$th connecting homomorphism.
By lemma 1 the homotopy cofiber sequence is equivalen to the zigzag
Observe that
It is therefore sufficient to check that
equals the connecting homomorphism $\delta_n$ induced by the short exact sequence.
By prop. 1 the inverse of the vertical map is given by choosing lifts and forming the corresponding element given by the connecting homomorphism. By prop. 9 the horizontal map is just the projection, and hence the assignment is of the form
So in total the image of the zig-zag under homology sends
By the discussion there, this is indeed the action of the connecting homomorphism.
In summary, the above says that for every chain map $f_\bullet : X_\bullet \to Y_\bullet$ we obtain maps
which form a homotopy fiber sequence and such that this sequence continues by forming suspensions, hence for all $n \in \mathbb{Z}$ we have
To amplify this quasi-cyclic behaviour one sometimes depicts the situation as follows:
and hence speaks of a “triangle”, or distinguished triangle or mapping cone triangle of $f$.
Due to these “triangles” one calls the homotopy category of chain complexes localized at the quasi-isomorphisms, hence the derived category, a triangulated category.
Notice that equivalently we can express the triangles via the mapping cylinder. For every map of chain complexes $f:A\to B$, the cylinder $Cyl(f)$ is quasi-isomorphic to $B$, and moreover in the homotopy category of chain complexes, every distinguished triangle is quasi-isomorphic to a distinguished triangle of the form
for some $u:A\to B$ where all the morphisms in the triangle are appropriatedly induced by $u$.
In the context of chain complexes the construction is discussed for instance in
section 3.2 and section 7 of
in section 1.5 of