I am learning group extension following Weibel's An Introduction to Homological Algebra, and there is an exercise in the book: $A$ is an abelian group, and $G$ is a group.
Show that an extension $0\to A\to E\xrightarrow[]\pi G\to 1$ splits if and only if $E$ is isomorphic to the semidirect product $A\rtimes G$.
I have proved why $E\cong A\rtimes G$ if the extension splits, but I can't figure out how to prove the other direction.
The main trouble is: What's the relation of the semidirect product and the original map?
Given an isomorphism $\phi:A\rtimes G\to E$, is it true that $\pi\circ \phi=\pi'$? ($\pi: E\to G$ is the original map, and $\pi': A\rtimes G\to G, (a,g)\mapsto g$ the natural map).
To be clear, given an extension $0\to A\to E\xrightarrow[]\pi G\to 1$, the definition of $A$ as a $G$-mod is: for $g\in G$ and $a\in A$, take $\tilde g\in \pi^{-1}(g),$ define $ g \cdot a=\tilde ga\tilde g^{-1}$, which is well defined as the abelian group $A$ is identified with $\ker (E\xrightarrow[]\pi G)$.
Moreover, an extension $0\to A\to E\xrightarrow[]\pi G\to 1$ splits if there exists section $\sigma:G\to E$ such that $\pi\circ \sigma=\mathrm{id}_G$.
$$ \begin{array}{ccc} & E & \ \stackrel{\scriptstyle\pi}{\swarrow} & & \searrow \ G & \leftarrow & A \rtimes G \end{array} $$
If you only know that there is some isomorphism of $E$ with the semidirect product, but not that this isomorphism makes the above diagram commute, it's possible that the given sequence doesn't split.
– hunter May 06 '25 at 13:31