Proposition

Let RR be a ring, FF a non-zero free RR-module and let φ:M→N\varphi : M \to N be a homomorphism. Then φ\varphi is surjective if and only if for all homomorphisms α:F→N\alpha : F \to N there exists a homomorphism β:F→M\beta : F \to M such that α=φ∘β.\alpha = \varphi \circ \beta.

Proof

First, we will prove the forward direction. Assume that φ\varphi is surjective and let α:F→N\alpha : F \to N be arbitrary.

Let AA be a non-empty subset of FF such that FF is a free RR-module on AA (such AA must exist, since FF is non-zero). We can form a set function τ:A→P(M)\tau : A \to \mathscr{P}(M) as a↦φ−1(α(a))a \mapsto \varphi^{-1}(\alpha(a)) where φ−1:N→P(M)\varphi^{-1} : N \to \mathscr{P}(M) is the preimage function. Since φ\varphi is surjective, this preimage is always non-empty. The axiom of choice allows us to take τ′:A→M\tau': A \to M which is just a↦Any⁡(φ−1(α(a))),a \mapsto \operatorname{Any}(\varphi^{-1}(\alpha(a))), taking an arbitrary element from each preimage.

The universal property of FF as a free object gives us the unique homomorphism τ′‾:F→M\overline{\tau'} : F \to M extending τ′.\tau'. Take any a∈Aa \in A and note that

φ(τ′‾(a))=φ(Any⁡(φ−1(α(a))))=α(a).\varphi(\overline{\tau'}(a)) = \varphi(\operatorname{Any}(\varphi^{-1}(\alpha(a)))) = \alpha(a).

Since AA is the generating set of F,F, any element of FF can be written down as an RR-linear combination of elements of A.A. Because of this, any homomorphism F→XF \to X is uniquely determined by the values it takes on the elements of A.A. In particular, since they agree on all elements of AA, φ∘τ′‾=α.\varphi \circ \overline{\tau'} = \alpha. This proves the forward direction.

Conversely, assume that for all α:F→N\alpha : F \to N there exists a β:F→M\beta : F \to M such that α=φ∘β.\alpha = \varphi \circ \beta.

Let v∈Nv \in N be arbitrary. Then we can define α:F→N\alpha : F \to N by a↦va \mapsto v, sending every generator to vv. Now, let a0∈Aa_0 \in A and note that α(a0)=φ(β(a0))\alpha(a_0) = \varphi(\beta(a_0)), which implies that v∈im⁡(φ).v \in \im(\varphi). Thus, φ\varphi must be surjective. This proves the backward direction.

■\blacksquare