Let φ be a homomorphism of R-modules. Then the short exact sequence
0⟶kerφ⟶M⟶φN⟶0
splits if and only of φ has a right inverse.
Proof
Suppose the sequence splits. Then M can be identified with the direct sum kerφ⊕N, with φ being a projection. Then the inclusion N→kerφ⊕N is a right inverse of φ.
Suppose instead that φ has a right inverse φr. Then we can contemplate the morphism ρ=φr∘φ. Certainly
ρ∘ρ=φr∘φ∘φr∘φ=φr∘φ,
so ρ is idempotent.
By 6.3 this gives us M≅imρ⊕kerρ. Since kerρ=kerφ (since a right inverse cannot kill further elements, not killed by φ).
If we restrict φ to imρ, then φ is an isomorphism. This is because φ is already surjective, and selecting a unique preimage via φr for each element of N forces injectivity, as these preimages live in imρ by construction. So imρ≅N.