Subgroup

In group theory, a branch of mathematics, given a group $G$ under a binary operation ∗, a subset $H$ of $G$ is called a subgroup of $G$ if $H$ also forms a group under the operation ∗. More precisely, $H$ is a subgroup of $G$ if the restriction of ∗ to $H × H$ is a group operation on $H$. This is often denoted $H ≤ G$, read as "$H$ is a subgroup of $G$".

The trivial subgroup of any group is the subgroup {e} consisting of just the identity element.

A proper subgroup of a group $G$ is a subgroup $H$ which is a proper subset of $G$ (that is, $H ≠ G$). This is often represented notationally by $H < G$, read as "$H$ is a proper subgroup of $G$". Some authors also exclude the trivial group from being proper (that is, $H ≠ {e}$).

If $H$ is a subgroup of $G$, then $G$ is sometimes called an overgroup of $H$.

The same definitions apply more generally when $G$ is an arbitrary semigroup, but this article will only deal with subgroups of groups.

Subgroup tests
Suppose that $G$ is a group, and $H$ is a subset of $G$. For now, assume that the group operation of $G$ is written multiplicatively, denoted by juxtaposition. If the group operation is instead denoted by addition, then closed under products should be replaced by closed under addition, which is the condition that for every $H$ and $G$ in $H$, the sum $a^{&minus;1}$ is in $a$, and closed under inverses should be edited to say that for every $b$ in $H$, the inverse $ab^{&minus;1}$ is in $ab$.
 * Then $H$ is a subgroup of $a$ if and only if $H$ is nonempty and closed under products and inverses. Closed under products means that for every $H$ and $a$ in $b$, the product $H$ is in $H$. Closed under inverses means that for every $H$ in $H$, the inverse $a^{n&minus;1}$ is in $a$. These two conditions can be combined into one, that for every $H$ and $H$ in $n$, the element $a + b$ is in $a$, but it is more natural and usually just as easy to test the two closure conditions separately.
 * When $a$ is finite, the test can be simplified: $b$ is a subgroup if and only if it is nonempty and closed under products. These conditions alone imply that every element $H$ of $H$ generates a finite cyclic subgroup of $a$, say of order $H$, and then the inverse of $H$ is $−a$.

Basic properties of subgroups

 * The identity of a subgroup is the identity of the group: if $G$ is a group with identity $e_{G}$, and $H$ is a subgroup of $G$ with identity $e_{H}$, then $e_{H} = e_{G}$.
 * The inverse of an element in a subgroup is the inverse of the element in the group: if $H$ is a subgroup of a group $G$, and $a$ and $b$ are elements of $H$ such that $ab = ba = e_{H}$, then $ab = ba = e_{G}$.
 * If $H$ is a subgroup of $G$, then the inclusion map $H → G$ sending each element $a$ of $H$ to itself is a homomorphism.
 * The intersection of subgroups $A$ and $B$ of $G$ is again a subgroup of $G$. For example, the intersection of the $x$-axis and $y$-axis in $\R^2$ under addition is the trivial subgroup. More generally, the intersection of an arbitrary collection of subgroups of $G$ is a subgroup of $G$.
 * The union of subgroups $A$ and $B$ is a subgroup if and only if $A ⊆ B$ or $B ⊆ A$. A non-example: $2\Z \cup 3\Z$ is not a subgroup of $\Z,$ because 2 and 3 are elements of this subset whose sum, 5, is not in the subset.   Similarly, the union of the $x$-axis and the $y$-axis in $\R^2$ is not a subgroup of $\R^2.$
 * If $S$ is a subset of $G$, then there exists a smallest subgroup containing $S$, namely the intersection of all of subgroups containing $S$; it is denoted by $⟨S⟩$ and is called the subgroup generated by $S$. An element of $G$ is in  $⟨S⟩$ if and only if it is a finite product of elements of $S$ and their inverses, possibly repeated.
 * Every element $a$ of a group $G$ generates a cyclic subgroup $⟨a⟩$. If $⟨a⟩$ is isomorphic to $\Z/n\Z$ (the integers $mod n$) for some positive integer $n$, then $n$ is the smallest positive integer for which $a^{n} = e$, and $n$ is called the order of $a$. If $⟨a⟩$ is isomorphic to $\Z,$ then $a$ is said to have infinite order.
 * The subgroups of any given group form a complete lattice under inclusion, called the lattice of subgroups. (While the infimum here is the usual set-theoretic intersection, the supremum of a set of subgroups is the subgroup generated by the set-theoretic union of the subgroups, not the set-theoretic union itself.) If $e$ is the identity of $G$, then the trivial group ${e}$ is the minimum subgroup of $G$, while the maximum subgroup is the group $G$ itself.



Cosets and Lagrange's theorem
Given a subgroup $G$ and some $H$ in $H$, we define the left coset $1 + H$ Because $H$ is invertible, the map $2 + H$ given by $3 + H$ is a bijection. Furthermore, every element of $G$ is contained in precisely one left coset of $H$; the left cosets are the equivalence classes corresponding to the equivalence relation $[G : H]$ if and only if $a$ is in $G$. The number of left cosets of $a$ is called the index of $G$ in $H$ and is denoted by $aH = {ah : h in H}.$.

Lagrange's theorem states that for a finite group $a_1^{-1}a_2$ and a subgroup $H$,
 * $$ [ G : H ] = { |G| \over |H| }$$

where $H$ and $H$ denote the orders of $G$ and $G$, respectively. In particular, the order of every subgroup of $H$ (and the order of every element of $|G|$) must be a divisor of $|H|$.

Right cosets are defined analogously: $φ : H → aH$ They are also the equivalence classes for a suitable equivalence relation and their number is equal to $φ(h) = ah$.

If $a_{1} ~ a_{2}$ for every $G$ in $H$, then $G$ is said to be a normal subgroup. Every subgroup of index 2 is normal: the left cosets, and also the right cosets, are simply the subgroup and its complement. More generally, if $G$ is the lowest prime dividing the order of a finite group $|G|$, then any subgroup of index $a$ (if such exists) is normal.

Example: Subgroups of Z8
Let $G$ be the cyclic group $[G : H]$ whose elements are
 * $$G = \left\{0, 4, 2, 6, 1, 5, 3, 7\right\}$$

and whose group operation is addition modulo 8. Its Cayley table is

This group has two nontrivial subgroups: $Ha = {ha : h in H}.$ and $[G : H]$, where $H$ is also a subgroup of $p$. The Cayley table for $G$ is the top-left quadrant of the Cayley table for $p$; The Cayley table for $G$ is the top-left quadrant of the Cayley table for $J$. The group $H$ is cyclic, and so are its subgroups. In general, subgroups of cyclic groups are also cyclic.

Example: Subgroups of S4
$aH = Ha$ is the symmetric group whose elements correspond to the permutations of 4 elements. Below are all its subgroups, ordered by cardinality. Each group (except those of cardinality 1 and 2) is represented by its Cayley table.

24 elements
Like each group, $Z_{8}$ is a subgroup of itself.

12 elements
The alternating group contains only the even permutations. It is one of the two nontrivial proper normal subgroups of $J = {0, 4}$. (The other one is its Klein subgroup.)

2 elements
Each permutation $H$ of order 2 generates a subgroup $H = {0, 4, 2, 6}$. These are the permutations that have only 2-cycles:
 * There are the 6 transpositions with one 2-cycle.  (green background)
 * And 3 permutations with two 2-cycles.  (white background, bold numbers)

1 element
The trivial subgroup is the unique subgroup of order 1.

Other examples

 * The even integers form a subgroup $G$ of the integer ring $J$ the sum of two even integers is even, and the negative of an even integer is even.
 * An ideal in a ring $H$ is a subgroup of the additive group of $G$.
 * A linear subspace of a vector space is a subgroup of the additive group of vectors.
 * In an abelian group, the elements of finite order form a subgroup called the torsion subgroup.