The standard definition of a Subgroup $H$ of a Group $(G,+)$ is as follows:
$H$ is Subgroup of $(G,+)$ if $\begin{cases} G \supseteq H\neq \emptyset \\ \forall x,y \in H:(x+y) \in H \\ \forall x \in H:(-x) \in H \end{cases}$
Why $H\neq \emptyset$?
The standard definition of a Subgroup $H$ of a Group $(G,+)$ is as follows:
$H$ is Subgroup of $(G,+)$ if $\begin{cases} G \supseteq H\neq \emptyset \\ \forall x,y \in H:(x+y) \in H \\ \forall x \in H:(-x) \in H \end{cases}$
Why $H\neq \emptyset$?
Actually, the assumption $H\ne\emptyset$ is made in the theory so that one can show that the subgroup of a group is also a group. But we neither assume from the beginning that it is a group nor for that matter that it has an identity. In other words, it is a consequence of the assumption $H\ne\emptyset$ that $H$ is a group and you can indeed use the argument given, but only if the set $H$ is nonempty since otherwise there is nothing to sum in $x+(−x)$.