# Right group

In mathematics, a right group[1][2] is an algebraic structure consisting of a set together with a binary operation that combines two elements into a third element while obeying the right group axioms. The right group axioms are similar to the group axioms, but allow for one-sided identity elements and one-sided inverse elements, as opposed to groups where both identities and inverses are two-sided. More precisely, if ${\displaystyle G}$ is a group, e is the identity of ${\displaystyle G}$, a is an arbitrary element of ${\displaystyle G}$ and ${\displaystyle a^{-1}}$ is the inverse of a, the following are always true for any group:

• ${\displaystyle e\cdot a=a\cdot e=a}$
• ${\displaystyle a^{-1}\cdot a=a\cdot a^{-1}=e}$

The rules above don't apply to right groups. For a right group, it is possible to have multiple left identities, and for each left identity any element will have a respective right inverse.

It can be proven (theorem 1.27 in [2]) that a right group is isomorphic to the direct product of a right zero semigroup and a group, while a right abelian group[1] is the direct product of a right zero semigroup and an abelian group. Left group[1][2] and left abelian group[1] are defined in analogous way, by substituting right for left in the definitions. The rest of this article will be mostly concerned about right groups, but everything applies to left groups by doing the appropriate right/left substitutions.

## Definition

A right group, originally called multiple group,[3][4] is a set ${\displaystyle R}$  with a binary operation ⋅, satisfying the following axioms:[4]

Closure
For all ${\displaystyle a}$  and ${\displaystyle b}$  in ${\displaystyle R}$ , there is an element c in ${\displaystyle R}$  such that ${\displaystyle c=a\cdot b}$ .
Associativity
For all ${\displaystyle a,b,c}$  in ${\displaystyle R}$ , ${\displaystyle (a\cdot b)\cdot c=a\cdot (b\cdot c)}$ .
Left identity element
There is at least one left identity in ${\displaystyle R}$ . That is, there exists an element ${\displaystyle e}$  such that ${\displaystyle e\cdot a=a}$  for all ${\displaystyle a}$  in ${\displaystyle R}$ . Such an element does not need to be unique.
Right inverse elements
For every ${\displaystyle a}$  in ${\displaystyle R}$  and every identity element ${\displaystyle e}$ , also in ${\displaystyle R}$ , there is at least one element ${\displaystyle b}$  in ${\displaystyle R}$ , such that ${\displaystyle a\cdot b=e}$ . Such element ${\displaystyle b}$  is said to be the right inverse of ${\displaystyle a}$  with respect to ${\displaystyle e}$ .

## Examples

### Direct product of finite sets

The following example is provided by.[4] Take the group ${\displaystyle G=\{e,a,b\}}$ , the right zero semigroup ${\displaystyle Z=\{1,2\}}$  and construct a right group ${\displaystyle R_{gz}}$  as the direct product of ${\displaystyle G}$  and ${\displaystyle Z}$ .

${\displaystyle G}$  is simply the cyclic group of order 3, with ${\displaystyle e}$  as its identity, and ${\displaystyle a}$  and ${\displaystyle b}$  as the inverses of each other.

${\displaystyle G}$  table
e a b
e e a b
a a b e
b b e a

${\displaystyle Z}$  is the right zero semigroup of order 2. Notice the each element repeats along its column, since by definition ${\displaystyle x\cdot y=y}$ , for any ${\displaystyle x}$  and ${\displaystyle y}$  in ${\displaystyle Z}$ .

${\displaystyle Z}$  table
1 2
1 1 2
2 1 2

The direct product ${\displaystyle R_{gz}=G\times Z}$  of these two structures is defined as follows:

• The elements of ${\displaystyle R_{gz}}$  are ordered pairs ${\displaystyle (g,z)}$  such that ${\displaystyle g}$  is in ${\displaystyle G}$  and ${\displaystyle z}$  is in ${\displaystyle Z}$ .
• The ${\displaystyle R_{gz}}$  operation is defined element-wise:
• Formula 1: ${\displaystyle (x,y)\cdot (u,v)=(xu,v)}$

The elements of ${\displaystyle R_{gz}}$  will look like ${\displaystyle (e,1),(e,2),(a,1)}$  and so on. For brevity, let's rename these as ${\displaystyle e_{1},e_{2},a_{1}}$ , and so on. The Cayley table of ${\displaystyle R_{gz}}$  is as follows:

${\displaystyle R_{gz}}$  table
e1 a1 b1 e2 a2 b2
e1 e1 a1 b1 e2 a2 b2
a1 a1 b1 e1 a2 b2 e2
b1 b1 e1 a1 b2 e2 a2
e2 e1 a1 b1 e2 a2 b2
a2 a1 b1 e1 a2 b2 e2
b2 b1 e1 a1 b2 e2 a2

Here are some facts about ${\displaystyle R_{gz}}$ :

• ${\displaystyle R_{gz}}$  has two left identities: ${\displaystyle e_{1}}$  and ${\displaystyle e_{2}}$ .
• Each element has two right inverses. For example, the right inverses of ${\displaystyle a_{2}}$  with regards to ${\displaystyle e_{1}}$  and ${\displaystyle e_{2}}$  are ${\displaystyle b_{1}}$  and ${\displaystyle b_{2}}$ , respectively.

### Complex numbers in polar coordinates

Clifford gives a second example[4] involving complex numbers. Given two non-zero complex numbers a and b, the following operation forms a right group:

• ${\displaystyle a\cdot b=|a|\,b}$

All complex numbers with modulus equal to 1 are left identities, and all complex numbers will have a right inverse with respect to any left identity.

The inner structure of this right group becomes clear when we use polar coordinates: let ${\displaystyle a=Ae^{i\alpha }}$  and ${\displaystyle b=Be^{i\beta }}$ , where A and B are the magnitudes and ${\displaystyle \alpha }$  and ${\displaystyle \beta }$  are the arguments (angles) of a and b, respectively. ${\displaystyle a\cdot b}$  (this is not the regular multiplication of complex numbers) then becomes ${\displaystyle Ae^{i\alpha }\cdot Be^{i\beta }=ABe^{i\beta }}$ . If we represent the magnitudes and arguments as ordered pairs, we can write this as:

• Formula 2: ${\displaystyle (A,\alpha )\cdot (B,\beta )=(AB,\beta )}$ .

This right group is the direct product of a group (positive real numbers under multiplication) and a right zero semigroup induced by the real numbers. Structurally, this is identical to formula 1 above. In fact, this is how all right group operations look like when written as ordered pairs of the direct product of their factors.

### Complex numbers in cartesian coordinates

If we take the and complex numbers and define an operation similar to example 2 but use cartesian instead of polar coordinates and addition instead of multiplication, we get another right group, with operation defined as follows:

• ${\displaystyle (a+bi)\cdot (c+di)=a+c+di}$ , or equivalently:
• Formula 3: ${\displaystyle (a,b)\cdot (c,d)=(a+c,d)}$

### A practical example from computer science

Consider the following example from computer science, where a set would be implemented as a programming language type.

• Let ${\displaystyle X}$  be the set of date times in an arbitrary programming language.
• Let ${\displaystyle D}$  be the set of transformations equivalent to adding a duration to an element of ${\displaystyle X}$ .
• Let ${\displaystyle Z}$  be the set of time zone transformations on elements of ${\displaystyle X}$ .

Both ${\displaystyle D}$  and ${\displaystyle Z}$  are subsets of ${\displaystyle T_{x}}$ , the full transformation semigroup on ${\displaystyle X}$ . ${\displaystyle D}$  behaves like a group, where there is a zero duration and every duration has an inverse duration. If we treat these transformations as right semigroup actions, ${\displaystyle Z}$  behaves like a right zero semigroup, such that a time zone transformation always cancels any previous time zone transformation on a given date time.

Given any two arbitrary date times ${\displaystyle a}$  and ${\displaystyle b}$  (ignore issues regarding representation boundaries), one can find a pair of a duration and a time zone that will transform ${\displaystyle a}$  into ${\displaystyle b}$ . This composite transformation of time zone conversion and duration adding is isomorphic to the right group ${\displaystyle D\times Z}$ .

Taking the java.time package as an example,[5] the sets ${\displaystyle X,D}$  and ${\displaystyle Z}$  would correspond to the class ZonedDateTime, the function plus and the function withZoneSameInstant, respectively. More concretely, for any ZonedDateTime t1 and t2, there is a Duration d and a ZoneId z, such that t1.plus(d).withZoneSomeInstant(z) is equal to t2.

## References

1. ^ a b c d Nagy, Attila (2001). Special classes of semigroups. Dordrecht: Kluwer Academic Publishers. ISBN 0-7923-6890-8. OCLC 46240335.
2. ^ a b c Clifford, A. H. The algebraic theory of semigroups. Preston, G. B. (Reprinted with corrections ed.). Providence, Rhode Island. ISBN 978-1-4704-1234-0. OCLC 882503487.
3. ^ Hollings, Christopher D. (2017-09-01). "'Nobody could possibly misunderstand what a group is': a study in early twentieth-century group axiomatics". Archive for History of Exact Sciences. 71 (5): 409–481. doi:10.1007/s00407-017-0193-8. ISSN 1432-0657. PMC 5573778. PMID 28912607.
4. ^ a b c d Clifford, A. H. (1933). "A System Arising from a Weakened Set of Group Postulates". Annals of Mathematics. 34 (4): 865–871. doi:10.2307/1968703. ISSN 0003-486X.
5. ^ "java.time (Java Platform SE 8 )". docs.oracle.com. Retrieved 2021-06-03.