Are there examples of non-commutative inverses of non-commutative binary operations

abstract-algebrabinary operations

Subtraction and division are non-commutative binary operations. But their inverses are both commutative, (addition and multiplication respectively). Are there any examples of non-commutative binary operations that have inverse operations which are themselves non-commutative?

After a little searching it appears that my notion of inverse operations is not widely used under those terms. So to be more precise, are there any functions $f$ and $g$ such that there exist at least one $x$ and $y$ such that $f(x, y) \neq f(y, x)$ and there exist at least one $z$ and $w$ such that $g(z, w) \neq g(w, z)$, (non-commutativity) and for all $a$ and $b$ at least one of the following is true:

$g(f(a, b), a) = a$

$g(f(a, b), a) = b$

$g(a, f(a, b)) = a$

$g(a, f(a, b)) = b$

$g(f(a, b), b) = a$

$g(f(a, b), b) = b$

$g(b, f(a, b)) = a$

$g(b, f(a, b)) = b$

Best Answer

If your domain has at least two elements, a simple example of two functions meeting your conditions are $f(x,y) = x$ and $g(x,y) = y$. Picking $a\neq b$ gives you $f(a,b) = a \neq b = f(b,a)$, and $g(a,b) = b \neq a = g(b,a)$.

Moreover, for any $a,b$ we have: $$\begin{align*} g(f(a,b),a) &= a &&\text{(your first equation)}\\ g(a,f(a,b)) &= a &&\text{(your third equation)}\\ g(f(a,b),b) &= b &&\text{(your sixth equation)}\\ g(b,f(a,b)) &= a &&\text{(your seventh equation)} \end{align*}$$

(If your domain has exactly one element, then you cannot find “noncommuting” functions, since $f(x,y) = f(y,x)$ as we must have $x=y$)

Related Question