Skip to content

Associativity

Definition

A binary operation ⋆\star on AA is associative if

(a⋆b)⋆c=a⋆(b⋆c)(a\star b)\star c=a\star(b\star c)

for all a,b,c∈Aa,b,c\in A.


Interpretation

Associativity says that in a chain a⋆b⋆ca\star b\star c it does not matter which pair is combined first. Repeating this rule shows that every way of placing brackets in a1⋆a2⋆⋯⋆ana_1\star a_2\star\cdots\star a_n gives the same element, so expressions such as a+b+c+da+b+c+d or a⋆a⋆aa\star a\star a have a meaning without brackets.

Associativity is about grouping, not about order: the elements keep their places, unlike in commutativity. An operation can be associative without being commutative. Composition of functions is associative, but for f(x)=x+1f(x)=x+1 and g(x)=2xg(x)=2x one has (g∘f)(x)=2x+2(g\circ f)(x)=2x+2 and (f∘g)(x)=2x+1(f\circ g)(x)=2x+1. Subtraction is not associative: (5−3)−2=0(5-3)-2=0, but 5−(3−2)=45-(3-2)=4.

Associativity is the first requirement in the chain semigroup, monoid, group. It returns later with the product of matrices, which is associative but not commutative.


Key Results


Examples


Prerequisites

Sources

Aliases: associative property, associative law Symbols: element of

Last updated: 20 October 2026 03:02