Let M,N and A be R-modules and let f:A→M and g:A→N be morphisms. We will construct the module M⊕AN with two injections ιM:M→M⊕AN and ιN:N→M⊕AN. We will then show that it satisfies the universal property of a fibered coproduct of M and N over A.
First, consider the direct sum M⊕N (we will implicitly identify it with the cartesian product for convenience). Let U⊆M⊕N be a subset of M⊕N given as
U:={(f(a),−g(a))∣a∈A}.
We can verify that U is a submodule by noting that, given arbitrary r∈R and a,b∈A, we have
We will now show that (M⊕N)/U satisfies the universal property of a pushout. Suppose that h1:M→X and h2:N→X are R-module homomorphisms and furthermore h1∘f=h2∘g. We want to find the morphism σ:(M⊕N)/U→X, uniquely fixed by our data.
Consider the copairing [h1,h2]:M⊕N→X. It is fixed by h1 and h2. We can be certain that U⊆ker([h1,h2]), since for any a∈A,
[h1,h2](f(a),−g(a))=h1(f(a))−h2(g(a))=0.
And thus, by the universal property of the quotient, [h1,h2] factors uniquely as σ∘π for some morphism σ:(M⊕N)/U→X.
Does σ make the diagram commute? We can take m∈M and check as follows
σ(ιM(m))=σ(π(m,0))=[h1,h2](m,0)=h1(m),
and a symmetric argument works for the N side of the diagram.
Is σ unique? Take τ:(M⊕N)/U→X and note that, since the direct sum injections iM,iN are jointly epimorphic, the constraints
σ∘π∘iM=τ∘π∘iMandσ∘π∘iN=τ∘π∘iN
force σ∘π=τ∘π. Since π is itself an epimorphism (by canonical decomposition), σ∘π=τ∘π implies σ=τ.
This demonstrates that (M⊕N)/U is indeed the fibered coproduct M⊕AN, as required.