Template:Distinguish

G is the group ${\displaystyle \mathbb {Z} /8\mathbb {Z} }$, the integers mod 8 under addition. The subgroup H contains only 0 and 4, and is isomorphic to ${\displaystyle \mathbb {Z} /2\mathbb {Z} }$. There are four left cosets of H: H itself, 1+H, 2+H, and 3+H (written using additive notation since this is the additive group). Together they partition the entire group G into equal-size, non-overlapping sets. The index [G : H] is 4.

In mathematics, if G is a group, and H is a subgroup of G, and g is an element of G, then

gH = {gh : h an element of H } is a left coset of H in G, and
Hg = {hg : h an element of H } is a right coset of H in G.

Only when H is normal will the right and left cosets of H coincide, which is one definition of normality of a subgroup. Although derived from a subgroup, cosets are not usually themselves subgroups of G, only subsets.

A coset is a left or right coset of some subgroup in G. Since Hg = g ( g−1Hg ), the right coset Hg (of H,  with respect to g) and the left coset g ( g−1Hg ) (of the conjugate subgroup g−1Hg ) are the same. Hence it is not meaningful to speak of a coset as being left or right unless one first specifies the underlying subgroup. In other words: a right coset of one subgroup equals a left coset of a different (conjugate) subgroup. If the left cosets and right cosets are the same then H is a normal subgroup and the cosets form a group called the quotient or factor group.

The map gH→(gH)−1=Hg−1 defines a bijection between the left cosets and the right cosets of H, so the number of left cosets is equal to the number of right cosets. The common value is called the index of H in G.

For abelian groups, left cosets and right cosets are always the same. If the group operation is written additively then the notation used changes to g+H or H+g.

Cosets are a basic tool in the study of groups; for example they play a central role in Lagrange's theorem.

## Examples

### {-1,1}

Let G be the multiplicative group of {-1,1}, and H the trivial subgroup {1}. Then {-1} = (-1)H = H(-1) and {1} = 1H = H1 are the only cosets of H in G. Because {1} is a normal subgroup of G, the left and right cosets coincide and therefore do not need to be distinguished in this example.

### Integers

Let G be the additive group of integers Z = {..., −2, −1, 0, 1, 2, ...} and H the subgroup mZ = {..., −2m, −m, 0, m, 2m, ...} where m is a positive integer. Then the cosets of H in G are the m sets mZ, mZ+1, ... mZ+(m−1), where mZ+a={..., −2m+a, −m+a, a, m+a, 2m+a, ...}. There are no more than m cosets, because mZ+m=m(Z+1)=mZ. The coset mZ+a is the congruence class of a modulo m.[1]

### Vectors

Another example of a coset comes from the theory of vector spaces. The elements (vectors) of a vector space form an abelian group under vector addition. It is not hard to show that subspaces of a vector space are subgroups of this group. For a vector space V, a subspace W, and a fixed vector a in V, the sets

${\displaystyle \{x\in V\colon x=a+n,n\in W\}}$

are called affine subspaces, and are cosets (both left and right, since the group is abelian). In terms of geometric vectors, these affine subspaces are all the "lines" or "planes" parallel to the subspace, which is a line or plane going through the origin.

## Definition using equivalence classes

Some authors[2] define the left cosets of H in G to be the equivalence classes under the equivalence relation on G given by x ~ y if and only if x−1yH. The relation can also be defined by x ~ y if and only if xh=y for some h in H. It can be shown that the relation given is, in fact, an equivalence relation and that the two definitions are equivalent. It follows that any two left cosets of H in G are either identical or disjoint. In other words every element of G belongs to one and only one left coset and so the left cosets form a partition of G.[3] Corresponding statements are true for right cosets.

## Double cosets

Main page: Double coset

Given two subgroups, H and K of a group G, the double coset of H and K in G are sets of the form HgK = {hgk : h an element of H , k an element of K }. These are the left cosets of K and right cosets of H when H=1 and K=1 respectively.[4]

## Notation

Let G be a group with subgroups H and K.

1. ${\displaystyle G/H}$ denotes the set of left cosets ${\displaystyle \{gH:g\in G\}}$ of H in G.
2. ${\displaystyle H\backslash G}$ denotes the set of right cosets ${\displaystyle \{Hg:g\in G\}}$ of H in G.
3. ${\displaystyle K\backslash G/H}$ denotes the set of double cosets ${\displaystyle \{KgH:g\in G\}}$ of H and K in G.

## General properties

The identity is in precisely one left or right coset, namely H itself. Thus H is both a left and right coset of itself.

A coset representative is a representative in the equivalence class sense. A set of representatives of all the cosets is called a transversal. There are other types of equivalence relations in a group, such as conjugacy, that form different classes which do not have the properties discussed here.

### Index of a subgroup

Main page: Index of a subgroup

All left cosets and all right cosets have the same order (number of elements, or cardinality in the case of an infinite H), equal to the order of H (because H is itself a coset). Furthermore, the number of left cosets is equal to the number of right cosets and is known as the index of H in G, written as [G : H ]. Lagrange's theorem allows us to compute the index in the case where G and H are finite, as per the formula:

|G | = [G : H ] · |H |.

This equation also holds in the case where the groups are infinite, although the meaning may be less clear.

### Cosets and normality

If H is not normal in G, then its left cosets are different from its right cosets. That is, there is an a in G such that no element b satisfies aH = Hb. This means that the partition of G into the left cosets of H is a different partition than the partition of G into right cosets of H. (It is important to note that some cosets may coincide. For example, if a is in the center of G, then aH = Ha.)

On the other hand, the subgroup N is normal if and only if gN = Ng for all g in G. In this case, the set of all cosets form a group called the quotient group G / N with the operation ∗ defined by (aN )∗(bN ) = abN. Since every right coset is a left coset, there is no need to differentiate "left cosets" from "right cosets".