Let $G$ be a group, and $H$ a subset of $G$.
If $H$ is a subgroup of $G$, then $H^2 = H$. I'm interested in what holds if $H^2 = H$. It's easy to verify that $H$ is a semigroup. If $H$ is finite, $H$ is also a monoid:
Assume $e \notin H$. Fix any $h \in H$. Then $h \notin hH$. Since $hH \subseteq H^2 = H$, we have $|hH| < |H|$, a contradiction. Thus $e \in H$.
If $H$ is infinite, then $H$ needn't be a monoid: $(\mathbb{Q}, +)$ is a group, and $(\mathbb{Q}^+, +)$ isn't a monoid, even though $\mathbb{Q}^+ + \mathbb{Q}^+ = \mathbb{Q}^+$.
But what if $H$ is finite; is $H$ perhaps a group?
Thank you!