I was reading a solution of a linear algebra (or Euclid Geometry) problem which asks to
show that dihedral group $D_n$ of order $2n$ is isomorphic to the group $G=\left<a,b\right>$ s.t $a^2=e, \; b^2=e, \; (ab)^n=e$.
The solution first defines some map $\Phi:D_n \to G$ s.t $S \mapsto ab$ and $T \mapsto a$. (Here we denote $S$ as rotation about the origin for $2\pi / n$, and $T$ is some reflection in a line that goes through the origin.)
The solution then claims that "to show $\Phi$ is a well-defined homomorphism, it is sufficient to show that $\Phi (S^n)=\Phi (T^2) = \Phi(TSTS)=e \in G$"
$\Phi (S^n)=\Phi (T^2) = \Phi(TSTS)=e$ is really clear, but why can this be a sufficient condition of $\Phi$ being well-defined?
I wonder if it is due to the special character of the Dihedral Group, which is $T^2=S^n=TSTS=e$.
Or is it a general property of a well-defined homomorphism? (I mean if a "map" sends the identity to the other identity, then the "map" is well-defined.)
I don't think it's the general property. But, since I am not really familiar with the Group Theory, I would like to get some enlightenment.