Proposition

Let RR be a ring and let MM be an RR-module. Suppose p:MMp : M \to M is such that pp=p.p \circ p = p. Then MimpkerpM \cong \im p \oplus \ker p.

Proof

Let f:Mimpkerp,f : M \to \im p \oplus \ker p, given as f=(p,idMp)f = (p, \id_M - p) where we restrict each component to its image. To see that im(idMp)=kerp\im(\id_M - p) = \ker p note that for any aMa \in M,

(idMp)(a)=ap(a)(\id_M - p)(a) = a - p(a)

and

p(ap(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 vker(p)v \in \ker(p) can be written as vp(v)v - p(v), and this lives in im(idMp).\im(\id_M - p).

Consider also the map g:impkerpM,g : \im p \oplus \ker p \to M, given as g=idimp+idkerp.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 mMm \in M, (a,b)impkerp(a,b) \in \im p \oplus \ker p and check

g(f(m))=g(p(m),mp(m))=p(m)+mp(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+bp(a+b))=(p(a)+p(b),a+bp(a)p(b))=(a+0,a+ba0)=(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 aimpa \in \im p (hence p(a)=ap(a) = a) and bkerpb \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