[Math] the difference between a Subgroup and a subset

abstract-algebraelementary-set-theorygroup-theoryterminology

What is the difference between a Subgroup and a subset? I know hardly any Abstract algebra, just some things from youtube and wikipedia, but the notion of a subgroup being part of a larger group and a set being part of some group is indistinguishable to me. A nice simple answer would do fine. Thank you for your time

Best Answer

Consider the group $\Bbb Z$ of integers under addition. The subset $S=\{1,2\}$ is not a subgroup. It isn’t a group at all: it isn’t closed under the operation (addition), since $2+2$ is not in $S$, and it doesn’t have an additive identity.

The set $E$ of all even integers, on the other hand, is a subset of $\Bbb Z$ that is a subgroup: it’s a group in its own right using the same operation, addition, as $\Bbb Z$.

If $G$ is any group, every subgroup of $G$ is by definition a subset of $G$, but as the example above shows, not every subset of $G$ need be a subgroup.