In mathematics, a group is a nonempty set equipped with a binary operation that combines two elements of the group to form a third element also belonging to the group.

Groups have the following key properties:

  • Closure;
  • Associativity;
  • Identity element;
  • Inverse element; for each , there exists

A group is Abelian if .

Terminology

A binary operation on a set is a map . A pair where is a binary operation on is a magma.

Some structures that are more basic than a group:

  • Semigroups are nonempty sets with a binary operation on the set with the associativity property.
  • Monoids are semigroups with an additional identity element.

i.e., semigroups are subsets of monoids are subsets of groups.