Step-by-step solved exercise: Groups and subgroups
Let \(\displaystyle H=2\mathbb Z\) and \(\displaystyle K=3\mathbb Z\) in \(\displaystyle (\mathbb Z,+)\). Is \(\displaystyle H\cap K\) a subgroup? What about \(\displaystyle H\cup K\)? Justify.
Step by step with comments, a check and common mistakes.
Step-by-step solution
An integer is in \(\displaystyle 2\mathbb{Z}\) and in \(\displaystyle 3\mathbb{Z}\) if it is even and a multiple of 3, that is, a multiple of 6.
\(\displaystyle 6\mathbb{Z}\) contains 0, is closed under addition and has opposites, so it is a subgroup.
\[\displaystyle 6a+6b=6(a+b)\]
In the union, \(\displaystyle 2\) is in \(\displaystyle 2\mathbb{Z}\) and \(\displaystyle 3\) is in \(\displaystyle 3\mathbb{Z}\), but \(\displaystyle 2+3=5\) is neither even nor a multiple of 3.