Given groups with binary operations , the direct sum is the group with elements , with the operation .
is abelian if an only if are both abelian.
If generates and generates , then together generate (this can be generalised for groups that are generated by multiple elements).
all these pages adapted with probably insufficient credit from my university's lecture notes