I just began learning group theory and this question came across my mind.
Suppose $f :G \to H$ is a group homomorphism, where $G$ and $H$ are groups. Is $\ker f $ unique?
Based on my understanding, since homomorphism preserves identity from $G$ to $H$, and that identity in groups $G$ and $H$ is unique, there is only a unique element in $\ker f $.
Your argument only shows that the identity element of $G$ is contained in the kernel of $f$. There might be more elements depending on $f$ though.
To give an extreme example: Let $G$ and $H$ be arbitrary groups and consider the homomorphism $1 \colon G \rightarrow H$ of groups that sends each element of $G$ to the identity element of $H$. Then the kernel of $1$ coincides with the group $G$.