A quasigroup is a generalization of a group without the associativity law or identity element. A quasigroup with identity is called a loop.
Note that, in the absence of associativity, it's not enough (even for a loop) to say that every element has an inverse element (on either side); instead, you must say that division is always possible. This is because the definition won't work right without associativity.
Some consider the concept of quasigroup to be an example of centipede mathematics and uninteresting due to their lack of deep applications. For example, one mathematician has written:
The meeting was dominated by algebraic loop theory. It occured to me that as a way to use your intellectual resources this was very akin in significance to doing a difficult sudoku, a thought that was made very ironic when one speaker started making loops out of what were essentially sudoku squares.
Nonetheless it can be instructive to ponder these concepts, and there are some nontrivial examples.
The usual definition is this:
A quasigroup is a set equipped with a binary operation (which we will write with concatenation) such that:
Then is called the left quotient ( divided by , over ) and is called the right quotient ( dividing , under ).
Note that we must specify, in the definition, that and are unique; without associativity, we cannot prove this.
As with the inverse elements of a group, we can make the quotients into operations so that all axioms are equations:
A quasigroup is a set equipped with three binary operations (product, left quotient, and right quotient) such that these equations always hold:
Thus quasigroups are described by a Lawvere theory and can therefore be internalized into any cartesian monoidal category.
In any case:
A loop is a quasigroup with an identity element.
Loops are also described by a Lawvere theory.
Note that, even in a loop, left and right inverses need not agree. See the discussion on the English Wikipedia for convenient inverse properties.
For good measure, here is another special kind of quasigroup:
A group is an associative loop.
Quasigroups have applications to the study of Latin square?s (basically the ‘sudoku squares’ from the quotation above).