Injective modules and split sequences

233 Views Asked by At

I'm having trouble working this "if and only if", could someone help me?

How to prove that an $R$-module $E$ is injective if and only if for every ideal $I$ of $R$ the short exact sequence $0 \to E \to B \to I \to 0$ splits ?