Skip to content

Semigroup

Definition

A semigroup is a set AA together with an associative binary operation ⋆\star.


Interpretation

A semigroup is the simplest algebraic structure with a rule for computing: a set with a binary operation that is associative, (a⋆b)⋆c=a⋆(b⋆c)(a\star b)\star c=a\star(b\star c). Associativity makes a repeated product such as a⋆b⋆c⋆da\star b\star c\star d independent of where the parentheses are placed, so it can be written without them. It does not allow the factors to be reordered.

Nothing else is required: no identity element and no inverses. The positive integers {1,2,3,…}\{1,2,3,\ldots\} under addition form a semigroup without identity, since 00 is missing. Adding an identity gives a monoid, and adding inverses as well gives a group. Subtraction on Z\mathbb{Z} is a binary operation that does not form a semigroup: (5−3)−1=1(5-3)-1=1, but 5−(3−1)=35-(3-1)=3.


Key Results

  • Every monoid is a semigroup.
  • Every group is a semigroup.

Examples

  • (N,+)(\mathbb{N},+) is a semigroup.

Prerequisites

Sources

Aliases: associative magma Symbols: integers, natural numbers

Last updated: 20 October 2026 03:02