Algebraic operation Created 2026-09-24 Updated 2026-11-05
In universal algebra, a finitary algebraic operation on a set is a functionfor a nonnegative integer , its arity. A binary operation has , as with addition on the integers. A unary operation has , as with taking the additive inverse .
A nullary operation has : since contains the single empty tuple, such an operation selects a distinguished element of , such as zero in a ring. Thus constants are operations too. The fixed codomain expresses closure, while additional identities such as the associative property specify laws an operation may satisfy.
Arity 2026-11-05
The arity of a finitary algebraic operation is the number of its input positions. An operation of arity on is a function . A nullary operation chooses a constant, a unary operation takes one input, and a binary operation takes two.
For example, addition on the integers is binary even though repeated addition allows an expression such as . That expression composes two binary operations; associativity is what makes its parenthesization irrelevant. A symbol taking arbitrarily many inputs would need a different specification, such as one operation for each .
A fixed arity is part of an algebraic signature and determines how terms are built and which inputs a homomorphism must preserve. Operations of the same arity can nevertheless satisfy completely different identities.
Nullary operation 2026-11-05
A nullary operation on a set has no inputs: formally it is a function . The Cartesian power is the singleton consisting of the empty tuple, so such a function selects exactly one distinguished element .
The zero and identity elements of a unital ring can be encoded as nullary operation symbols. A homomorphism preserving those operations must carry their selected constants to the corresponding constants in the target structure. This is why constants fit naturally into the same signature language as unary operations and binary operations.
There is no nullary operation on the empty set: its source still has one element, while its target has none. Allowing constants therefore affects whether empty algebraic structures are possible.
Universal algebra 2026-11-05
Universal algebra studies algebraic structures by specifying their operations and identities in a common language. A signature assigns an arity to each operation symbol. A structure interprets each symbol as a function on its underlying set; an identity requires two terms to agree for every assignment of their variables.
For example, a group can be presented with a binary operation, a unary operation for inversion, and a nullary operation for its identity element. A ring adds multiplication and its distributive identities. These signatures differ, but the same definitions of a structure-preserving homomorphism, a compatible equivalence relation, and a quotient structure apply to both.
This shared framework explains why many proofs recur across algebra: a homomorphism identifies elements in a way compatible with every specified operation. The resulting quotient must preserve all those operations, not only a selected multiplication table. Universal algebra isolates that compatibility before considering special properties of groups, rings or other examples.