Additive inverse Created 2026-09-24 Updated 2026-11-05
An additive inverse of is an element whose sum with is the additive identity: . Every element of an additive group has an additive inverse.
The associative property proves uniqueness. If and , then
For example, the additive inverse of the integer is . The need for an inverse depends on the ambient system: has no additive inverse among the natural numbers, so addition on the natural numbers does not form a group.
Algebraic operation Created 2026-09-24 Updated 2026-11-05
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.
Associative property 2026-10-14
The associative property says that regrouping three inputs does not change the result of a binary operation: for every in its domain of a function. It changes parentheses while keeping the order of the inputs. Commutativity instead exchanges two inputs; the two properties are different.
For addition modulo three, . For subtraction modulo three,
so the second binary operation fails the associative property. One failed triple disproves associativity; checking a few successful triples does not establish it for all inputs.
The useful consequence is that a finite ordered sequence can be combined in chunks. For an associative operation, has the same value as . Intermediate results can therefore summarize parts of a computation without retaining their internal parentheses. The order must still be preserved when the binary operation is not commutative. Function composition and concatenation provide examples where grouping is harmless but exchanging entries changes the result.
Cancellation law Created 2026-10-25 Updated 2026-11-05
A binary operation has left cancellation when implies , and right cancellation when implies . The common factor must be in the same position in the two expressions. A group has both laws: multiplying by the inverse element on the appropriate side removes that factor.
Cancellation does not itself require inverse elements. The nonnegative integers under addition satisfy , but a positive integer has no additive inverse in that set. Conversely, matrix multiplication need not allow cancellation: a zero matrix multiplied by different matrices gives the same zero matrix. The finite cancellative semigroup theorem explains why adding finiteness and the associative property changes the conclusion.
Cayley table 2026-10-14
A Cayley table records a binary operation on a finite set: the cell at row , column contains . Every cell must contain an element of the specified set. With the same ordering of row and column labels, the table is symmetric across its main diagonal exactly when the binary operation is commutative. Checking the associative property instead requires comparing with for every triple; symmetry alone cannot establish it.[ref]
Figure 1. . Read the first input from the row and the second from the column. Both tables give binary operations on . The addition table is symmetric; the subtraction table is not. The bottom calculation exhibits a failed associative property for subtraction. Details.
Concatenation Created 2026-10-14 Updated 2026-10-20
Concatenation joins two strings end to end, retaining the order of their symbols. For example, joining and gives . It has the associative property: joining or gives the same word over an alphabet. The empty word is its identity element. All finite words over an alphabet with this binary operation form a free monoid.
Finite sum Created 2026-10-25 Updated 2026-11-05
A finite sum adds finitely many terms, for example for a positive integer . The empty sum is the additive identity. In an abelian group, the associative property and commutativity of the abelian group make the result independent of grouping and order.
Free monoid Created 2026-10-03 Updated 2026-10-14
The free monoid on an alphabet consists of all finite words over an alphabet, including the empty word , with concatenation as its binary operation. Distinct strings represent distinct elements: there are no imposed equalities between different sequences of letters. The empty word is its identity element, and concatenation has the associative property.[ref]
For , the elements begin . Both and give the same word , but , so this monoid is not commutative. The length of a word over an alphabet obeys ; it is a monoid homomorphism to the nonnegative integers with addition. A nonempty word has no inverse element, since joining it to any other word cannot decrease its length to zero.
The defining benefit of being free is that letters can stand for arbitrary elements of another monoid. Choose a value for each letter ; then , with , is the unique monoid homomorphism extending those choices. Associativity and the identity element make this evaluation consistent for every finite word. For example, interpreting the letters as self-maps evaluates a word as a composed transformation; interpreting them as nonnegative counts evaluates it by addition.
Function composition Created 2026-09-24 Updated 2026-10-14
For functions and , their function composition is , defined by . The rightmost function is applied first. Matching the intermediate codomain and domain of a function makes the expression well-defined.
For self-maps of the real numbers, take and . Then , whereas . Thus function composition need not be commutative. It does have the associative property: both and evaluate to whenever each intermediate codomain matches the next domain of a function. The identity function leaves composition unchanged, making self-maps particularly useful as a monoid of transformations.
Identity element Created 2026-09-24 Updated 2026-10-14
An identity element for a binary operation satisfies for every element of the underlying set. It is a two-sided identity: merely satisfying one of the two equations is insufficient. It is unique when it exists, since two candidates satisfy . This uniqueness does not require the associative property.
Use the vector triple product identity twice:
Subtracting cancels the common term, yielding
It is generally nonzero: the cross product does not satisfy the associative property.
For the specified standard basis vectors, , so
On the other hand, and hence
These results are unequal, proving that the cross product does not satisfy the associative property.
Semigroup Created 2026-09-24 Updated 2026-10-14
A semigroup is an algebraic magma whose binary operation has the associative property. Its products can be regrouped while preserving the order of their elements. An identity element and inverse elements are not required.
For example, the positive integers with addition form a semigroup, since and a sum of positive integers is positive. They have no identity element: it would have to be zero, which is outside that set. Nonempty words over an alphabet with concatenation give a noncommutative example without an identity element. Including the empty word instead gives a free monoid.
The usefulness of a semigroup is that an ordered list has one product regardless of its parentheses. This permits replacing a consecutive block by its already computed value. Here the empty set is also allowed as a semigroup; a monoid is necessarily nonempty because it contains an identity element.
Transformation monoid 2026-10-14
A transformation monoid is a collection of self-maps of a fixed set that contains the identity function and is closed under function composition. The associative property comes from function composition. A monoid action describes transformations of a set that obey a monoid's multiplication and identity laws.