Proposition

Let RR be a ring and let MM be an RR-module. Suppose p:M→Mp : M \to M is such that p∘p=p.p \circ p = p. Then M≅im⁡p⊕ker⁡pM \cong \im p \oplus \ker p.

Proof

Let f:M→im⁡p⊕ker⁡p,f : M \to \im p \oplus \ker p, given as f=(p,id⁡M−p)f = (p, \id_M - p) where we restrict each component to its image. To see that im⁡(id⁡M−p)=ker⁡p\im(\id_M - p) = \ker p note that for any a∈Ma \in M,

(id⁡M−p)(a)=a−p(a)(\id_M - p)(a) = a - p(a)

and

p(a−p(a))=p(a)−p(p(a))=p(a)−p(a)=0.p(a - p(a)) = p(a) - p(p(a)) = p(a) - p(a) = 0.

The other inclusion is simple, since any v∈ker⁡(p)v \in \ker(p) can be written as v−p(v)v - p(v), and this lives in im⁡(id⁡M−p).\im(\id_M - p).

Consider also the map g:im⁡p⊕ker⁡p→M,g : \im p \oplus \ker p \to M, given as g=id⁡im⁡p+id⁡ker⁡p.g =\id_{\im p} + \id_{\ker p}. Note that it’s an RR-module homomorphism.

To check that they are mutually inverse, we take arbitrary m∈Mm \in M, (a,b)∈im⁡p⊕ker⁡p(a,b) \in \im p \oplus \ker p and check

g(f(m))=g(p(m),m−p(m))=p(m)+m−p(m)=m,g(f(m)) = g(p(m), m - p(m)) = p(m) + m - p(m) = m,

and

f(g(a,b))=f(a+b)=(p(a+b),a+b−p(a+b))=(p(a)+p(b),a+b−p(a)−p(b))=(a+0,a+b−a−0)=(a,b). \begin{align*} f(g(a,b)) &= f(a + b) \\ &= (p(a + b), a + b - p(a + b)) \\ &= (p(a) + p(b), a + b -p(a) - p(b)) \\ &= (a + 0, a + b - a - 0) \\ &= (a, b). \\ \end{align*}

Note that the second derivation uses the fact that a∈im⁡pa \in \im p (hence p(a)=ap(a) = a) and b∈ker⁡pb \in \ker p (hence p(b)=0p(b) = 0).

Since an RR-module homomorphism with an inverse function is an isomorphism, this completes the proof.

■\blacksquare