This is another proof question I am asking about, can someone give me tips on how to answer these questions?
My question says:
"Let $H,G$ be arbitrary groups. Prove that $H \times G$ is commutative (abelian) if and only if both groups $H, G$ are commutative"
I don't get how to prove that $H $ and $G$ are commutative in general. Seeing as they are arbitrary groups, they can be anything right? How do I go about trying to prove this?