"A Book of Abstract Algebra" by Dr. Pinter presents this exercise:
Let $G$ and $H$ be groups. Prove that $G\times H$ is isomorphic to $H\times G$.
My understanding is that I need to find a function $f$, such that $f(G\times H) = H\times G$.
My initial thought was to rely on the commutative property of multiplication. In other words, the function $f$ would be the identity function.
But that does not seem right. Please point me in the right direction.
Note - I looked at related questions, but did not recognize them (perhaps due to terms that I don't understand) to answer this question.
Try the function $f:(g,h) \to (h,g)$.