I'm trying to understand the presentation on short exact sequences in Benedict Gross's algebra lecture, but I'm having difficulty. This is the definition he gives (paraphrased):
Given $G,H,G'$ groups, consider $$1 \to H \to G \to G' \to 1,$$ and let $g: H \to G$ and $f: G \to G'$ be homomorphisms, where $g$ is one-to-one, $f$ is onto, and $g(H) = $ the kernel of $f$.
Defining the maps in this way is fine. If $g$ is one-to-one, it is injective so it's kernel is trivial. The statement $g(H) = \mathrm{ker(f)}$ doesn't make complete sense to me. If $g$ is injective its kernel is trivial, and $g$ has to map identity to identity because it's a homomorphism, so it has to map the kernel in $g$ into the kernel in $H$. If $g$ is injective, does not that not imply that $H$ is the trivial subgroup?
Another reading of this (based on some lecture notes) states instead $\mathrm{Im}(g) = \mathrm{ker}(f)$. Is this the correct notion? Is there an interplay between injectivity of $f$, surjectivity of $f$, and this fact?
Finally, he concludes that by $G \cong G/H$ by the first isomorphism theorem. This would require that $H$ be a normal subgroup of $G$ (though it's possible this was embedded in the assumptions). $f: G \to G'$ is surjective by assumption, so we have $G/\mathrm{ker}(f) \cong \mathrm{im}(f)$ by the first isomorphism theorem. So this would require that $H = \mathrm{ker}(f)$ (I suppose this is where the above assumption comes into play).
I'm also a little bit confused about the "$1$'s": this is strange notation to me, and I'd be inclined to write $\{e\}$. But are they different identities? Is this the identity in $H$, $G$, or $G'$? Does it not matter, since the groups are equivalent up to isomorphism anyway?
I would greatly appreciate any help on parsing this concept.