Associative binary operation: Difference between revisions

From Groupprops
 
(One intermediate revision by the same user not shown)
Line 31: Line 31:
A set equipped with an associative binary operation is termed a [[semigroup]]. If, further, there is a [[neutral element]] (identity element) for the associative binary operation, the set is termed a [[monoid]].
A set equipped with an associative binary operation is termed a [[semigroup]]. If, further, there is a [[neutral element]] (identity element) for the associative binary operation, the set is termed a [[monoid]].


<center>{{#widget:YouTube|id=x6Ih5SYVn7E}}</center>
<section end=beginner/>
<section end=beginner/>


Line 41: Line 40:
! Invariant !! Value !! Significance
! Invariant !! Value !! Significance
|-
|-
| minimum number of variables in terms of which the identity can be expressed || 3 || A [[magma]] is associative if and only if the submagma generated by any <math>3</math> elements is associative; nothing smaller than <math>3</math> works
| minimum number of variables in terms of which the identity can be expressed || 3 || A [[magma]] is associative if and only if the submagma generated by any <math>3</math> elements is associative; nothing smaller than <math>3</math> works.
|-
|-
| if homogeneous, then total degree || 3 || The associative law is homogeneous of degree three, i.e., all expressions are products of length three. This allows us to use the techniques of operad theory. For more, see [[associativity operad]].
| if homogeneous, then total degree || 3 || The associative law is homogeneous of degree three, i.e., all expressions are products of length three. This allows us to use the techniques of operad theory. For more, see [[associativity operad]].
Line 48: Line 47:
|}
|}
<section begin=beginner/>
<section begin=beginner/>
==Facts==
==Facts==



Latest revision as of 16:10, 22 September 2021

This article defines a property of binary operations (and hence, of magmas)

Definition

Definition in infix notation

Let be a set and be a binary operation on (viz, is a map ), making a magma. We denote using infix notation, so that its application to is denoted . Then, is said to be associative if, for every in , the following identity holds:

where equality holds as elements of .

Note that are allowed to be equal or distinct. In particular, the above holds when all are equal, all are distinct, or two are equal and the third distinct.

Detailed explanation of expressions and their interpretation: The left side expression is termed the left associated expression for and is interpreted and evaluated as follows. We first consider . Since , we have . We now consider the elements . Since both of these are in , .

The right side expression is termed the right associated expression for and is interpreted and evaluated as follows. Since , we have . We consider consider the elements . Since both of these are in , .

If, for a given , the left associated expression and the right associated expression are equal, are said to associate. Associativity basically says that every ordered triple of elements associates.

Definition in usual function notation

Let be a set and be a binary operation. We say that is associative if it satisfies the following for all :

We see that the condition feels a lot less intuitive in function notation than with the infix notation, which is why infix notation is generally preferred for describing associativity in the context of binary operations.

Related term

A set equipped with an associative binary operation is termed a semigroup. If, further, there is a neutral element (identity element) for the associative binary operation, the set is termed a monoid.

Numerical invariants

The associative law is typically viewed as a universally quantified identity. In this context, we discuss some invariants that can be associated with the identity.

Invariant Value Significance
minimum number of variables in terms of which the identity can be expressed 3 A magma is associative if and only if the submagma generated by any elements is associative; nothing smaller than works.
if homogeneous, then total degree 3 The associative law is homogeneous of degree three, i.e., all expressions are products of length three. This allows us to use the techniques of operad theory. For more, see associativity operad.
degree of the identity in each variable 1 when this identity is viewed for the multiplicative operation of a ring or algebra, it is a linear identity in each variable. In particular, the set of values for each variable such that the identity holds for all values of the other variables is an additive subgroup.

Facts

Parenthesization can be dropped

For full proof, refer: Associative implies generalized associative

When a binary operation is associative, it turns out that we can drop parenthesization from products of many elements. That is, given an expression of the form:

any choice of bracketing will give the same result.

The result is proved by induction, with the base case () following from the definition of associativity.

As an illustration, suppose we want to show that:

Then, we apply associativity in a chain:

For this reason, we always use infix operator symbols for associative binary operations, and often even drop the operator symbol, so that the expression is just written as: .

Also, the re-parenthesization identities (i.e., all identities that are special cases of generalized associativity) are the only identities that can be proved using associativity.

Associativity pentagon

Further information: Associativity pentagon

The associativity pentagon is a pentagon whose vertices are the five different ways of associating a product of length four, with an edge between two vertices if moving from one to the other requires a single application of the associative law. This is a cyclic pentagon. The associativity pentagon is significant because, loosely, it generates all relations between the different ways of applying the associativity law to re-parenthesize expressions. It also helps to prove results about the set of left-associative, middle-associative, and right-associative elements. It is also related to the associator identity.

Power structure

Further information: power-associative magma

In the presence of associativity, it is possible to unambiguously define positive powers of any element. Explicitly, is the -fold product . The powers satisfy the usual laws of powers: and for all . Note that this also implies that all powers of commute with each other.

Note that to define powers, we do not actually need global associativity, but only power-associativity: the submagma generated by any single element must be associative.

Invertibility

Verification of associativity for a ring

Suppose is a commutative unital ring and is a (possibly associative, possibly non-associative) algebra over . In other words, is a -module and is a (possibly associative, possibly non-associative) binary operation.

Note first that in order to verify the associativity of multiplication globally, it suffices to verify associativity on a generating set for the additive group of as a -module. This is because the associator function is -linear in each input:

In the special case that is freely generated as a -module, the following test works for associativity: If form a freely generating set of as a -module, and denote the structure constants, then associativity is the following identity for all :

Associator on a non-associative ring and the associator identity

Further information: associator on a non-associative ring

For a non-associative ring with multiplication , we can define the associator as:

This is linear in each of its variables.

Related element properties

Left-associative element

An element is said to be left-associative or left nuclear with respect to a binary operation if any ordered triple starting with that element associates.

The set of left-associative elements in any magma is a subsemigroup called the left nucleus. If the magma contains a neutral element, it is a submonoid.

For full proof, refer: Left-associative elements of magma form submagma

Middle-associative element

An element is said to be middle-associative or middle nuclear with respect to a binary operation if any ordered triple with that element in the middle, associates.

The set of middle-associative elements in any magma is a subsemigroup called the middle nucleus. and if the magma contains a neutral element, it is a submonoid.

For full proof, refer: Middle-associative elements of magma form submagma

Right-associative element

An element is said to be right-associative with respect to a binary operation if any ordered triple ending with that element associates.

The set of right associative elements in any magma is a subsemigroup called the right nucleus. If the magma contains a neutral element, it is a submonoid.

For full proof, refer: Right-associative elements of magma form submagma

Associative element

Further information: associative element

An element is said to be associative if it is left, middle and right associative. The set of associative elements forms a submagma (which contains the neutral element if it exists) termed the associative center (or sometimes, the nucleus) of the magma.

Weaker identities

Identities obtained directly by duplicating variables

Algebraic formulation of identity Name of identity Name of magma satisfying identity Name of non-associative ring satisfying identity
left-alternativity left-alternative magma left-alternative ring
right-alternativity right-alternative magma right-alternative ring
flexibility flexible magma flexible ring
? magma in which cubes are well-defined ring in which cubes are well-defined

Identities obtained from generalized associativity by duplicating variables

We here discuss identities with products of length at most four:

Algebraic formulation of identity Name of identity Name of magma satisfying identity Name of non-associative ring satisfying identity
Jordan's identity ? (if we also assume commutativity, then Jordan magma) ? (if we also assume commutativity, then Jordan ring)
One of Moufang's identities ? ?
One of Moufang's identities ? ?
One of Moufang's identities ? ?