Existence of Unique Subgroup Generated by Subset

Theorem
Let $\left({G, \circ}\right)$ be a group.

General Result
Let $\varnothing \subset S \subseteq G$.

Then there exists $\left({H, \circ}\right)$, the smallest subgroup of $\left({G, \circ}\right)$ which contains $S$.

In this case, we say that:
 * $S$ is the generator (or set of generators) of $\left({H, \circ}\right)$
 * $S$ generates $\left({H, \circ}\right)$
 * $\left({H, \circ}\right)$ is the subgroup generated by $S$.

This is written $H = \left\langle {S} \right\rangle$.

Also, the subgroup $H$ generated by $S$ is the intersection of all of the subgroups of $G$ which contain the set $S$:


 * $\displaystyle \left\langle {S} \right\rangle = \bigcap_i {H_i}: S \subseteq H_i \le G$.

Singleton Generator
Let $a \in G$.

Then $H = \left\{{a^n: n \in \Z}\right\}$ is the unique smallest subgroup of $G$ such that $a \in H$.

That is, $K \le G: a \in K \implies H \subseteq K$.

In this case where $S$ is a singleton, i.e. $S = \left\{{x}\right\}$, then we can (and usually do) write $H = \left\langle {x}\right\rangle$ for $H = \left\langle {\left\{{x}\right\}}\right\rangle$.

Existence
First, we prove that such a subgroup exists.

Let $\mathbb S$ be the set of all subgroups of $G$ which contain $S$.

$\mathbb S \ne \varnothing$ because $G$ is itself a subgroup of $G$, and thus $G \in \mathbb S$.

Let $H$ be the intersection of all the elements of $\mathbb S$.

By Intersection of Subgroups, $H$ is the largest element of $\mathbb S$ contained in each element of $\mathbb S$.

Thus $H$ is a subgroup of $G$.

Since $\forall x \in \mathbb S: S \subseteq x$, we see that $S \subseteq H$, so $H \in \mathbb S$.

Smallest
Now to show that $H$ is the smallest such subgroup.

If any $K \le G: S \subseteq K$, then $K \in \mathbb S$ and therefore $H \subseteq K$.

So $H$ is the smallest subgroup of $G$ containing $S$.

Uniqueness
Now we show that $H$ is unique.

Suppose $\exists H_1, H_2 \in \mathbb S$ such that $H_1$ and $H_2$ were two such smallest subgroups containing $S$.

Then, by the definition of "smallest", each would be equal in size.

If one is not a subset of the other, then their intersection (by definition containing $S$) would be a smaller subgroup and hence neither $H_1$ nor $H_2$ would be the smallest.

Hence one must be the subset of the other, and by Equality of Sets, that means they must be the same set.

So the smallest subgroup, whose existence we have proved above, is unique.

Proof for Singleton Generator
From Powers of Element forms Subgroup, $H = \left\{{a^n: n \in \Z}\right\}$ is a subgroup of $G$.

Let $K \le G: a \in K$.

Then $\forall n \in \Z: a^n \in K$.

Thus, $H \subseteq K$.