Definition. A category $\mathscr{C}$ is pre-additive if every $Hom(A,B)$ is equipped with a binary operation making it an (additive) abelian group for which the distributive law holds: for all $f,g \in Hom(A,b)$,
- if $p: B \rightarrow B'$, then $$p(f+g) = pf+pg \in Hom(A,B')$$
- if $q:A' \rightarrow A$, then $$(f+g)q = fq+gq \in Hom(A', B).$$
I'm reading Avanced Modern Algebra, Part I by Joseph J. Rotman and on exercise B-4.3 it asks to prove that Groups is a not a pre-additive category with the following hint:
Hint. If $G$ is not abelian and $f,g \colon G \rightarrow G$ are homomorphisms, show that the function $x \mapsto f(x)g(x)$ may not be a homomorphism.
My attempt: If Groups is pre-additive, then $Hom(G,G)$ has a ring structure. Thus for all $f \in Hom(G,G)$, $f0 = 0 = 0f$.
Now let us consider the group of premutations $S_5$. We have that $Z(S_5) = 1$. Furthermore, since $G/Z(G) \cong Inn(G)$ then $S_5 \cong Inn(S_5)$.
Since $0 \in Hom(G,G)$ commutes with all homomorphisms in $Hom(G,G)$, in particular it commutes with all the inner automorphisms of $G$ (with all $f \in Inn(G)$). Thus $0$ must be the identity since $Z(Inn(S_5)) = 1$. But this cannot be since for any homomorphism different than the identity $f = f1 = f0 = 0 = 1$, a contradiction. $\square$
I'm pretty sure I overcomplicated it since I didn't use the Hint. And I don't see how this proof helps in the next exercise (that is a a follow up to this one) that asks to prove that Rings and ComRings are not pre-additive categories. This exercise is in the first section of the introduction to category theory so no sophisticated answers should be expected.
Question: How do I solve this exercise with the hint? I'm absolutely clueless as to where such a hint could help.