This is not for a homework, but rather a group theory question I saw in review material. I tried looking it up online, and could not find any solution.
The questions statement is as follows:
Suppose $f_1 : A \mapsto B$ and $f_2 : B \mapsto C$ are group homomorphisms. Then, if $f_2 \circ f_1$ is an isomorphism, is it true that $f_1, f_2$ are isomorphisms?
My thinking:
Intuitively, this must be true. If we don't have injectivity/surjectivity for one of the constituent maps, then there is something that is either not being mapped to in between, or something that is mapped to the identity when it shouldn't be. I am having trouble making this notion rigorous.
My attempt:
Aiming for contradiction, suppose WLOG that $f_1$ is not an isomorphism. Then, it is non-injective or non-surjective. If it is non-injective, then $ker(f_1) \neq 1_A$ and there exists non-identity $x \in A$ such that $f_1(x) = 1_B$. Then, we get that $f_2(f_1(x)) = 1_C$ and $f_2(f_1(1_A)) = 1_C$ which would mean $f_2 \circ f_1$ is not injective, which is the desired contradiction.
On the other hand, if $f_1$ is not surjective, there exists $y \in B$ that is not mapped to by any $x \in A$, and therefore $f_2 \circ f_1$ is not surjective. We know $f_2$ maps $y$ to a unique $f(y)$, and so we have that as $y$ is never mapped to, $f(y)$ is never mapped to. Therefore, $f_2 \circ f_1$ is not surjective and this is the desired contradiction.
Does this proof work?
No, take $A, C$ be the trivial group and $B$ non trivial.