Show that a cyclic group of order $6$ is isomorphic to the product of a cyclic group of order $2$ and a cyclic group of order $3$. Can you generalize this?
Above problem is given by my graduation course instructor.
My Approach:
I took an example to prove this. $$G = <a>, a^6 =e $$ $$H = <b>, b^2 = e$$ $$H = <c>, c^3 = e$$
$$ HK = \{bc, bc^2, b, c, c^2, e\} $$
I defined the mapping like this. $$ b\rightarrow a$$ $$ c\rightarrow a^2$$ $$ bc\rightarrow a^3$$ $$ c^2\rightarrow a^4$$ $$ bc^2\rightarrow a^5$$ $$ e\rightarrow e$$
I will prove above mapping as isomorphism.
Ask: Is my approach correct? What is meant by Generalization asked in the question? Please help me.
Note: I am doing beginning course in Group Theory and aware of "Groups, subgroups, cyclic groups, cosets, Lagrange’s Theorem, normal subgroups, quotient groups, homomorphism of groups, basic isomorphism theorems, permutation groups, Cayley’s theorem".
I am not aware of Dihydral groups, direct products etc.
Your approach is correct. An alternative would be to show that $HK=G$ and $H\cap K=0$ (which doesn't require cumbersome function definition). The proper generalization is as follows:
It is a consequence of the Chinese remainder theorem.