Associative law

Mathematical concept
Collection
zero Useful+1
zero
stay mathematics Medium, Associative law (associated laws) Yes Binary operation A property that can exist means that in a representation containing more than two combinable operators operator If the position of is not changed, the order of its operations will not affect the calculated value. [1]
Chinese name
Associative law
Foreign name
associative law
Alphabetic representation
a+(b+c)=(a+b)+c
Example
(a×b)×c=a×(b×c)
Applied discipline
mathematics
Type
Mathematical concept

definition

Announce
edit
Formally, a aggregate Binary operation on S
Is called Combinable If it meets the following Associative law [1]
The order of operations does not affect the value of the expression, and it can be proved that this can be used when there are "arbitrary" multiple
The expression of the operation is still valid. Therefore, when
When it is combinable, the order of operations does not need to be standardized without making its meaning unclear, so the parentheses can be omitted and simply written as:
However, it should be remembered that changing the order of operations does not include or allow changing the real operations by moving the operators in the expression.

give an example

Announce
edit

multiplication

Associative law of multiplication : Multiply three numbers. Multiply the first two numbers and then the third number, or multiply the last two numbers and then the first number. Their product remains unchanged.
Letters: (a × b) × c=a × (b × c)

Collective coalescence

Intersection of sets, Union operation Both meet the combination law: [2]
Pay:
And: (A →B) →C=A → (B →C)

Matrix multiplication

Matrix multiplication Meet the law of association.
A x B matrix Multiply a B x C matrix to get a A x C matrix, Time complexity A x B x C.

example

Announce
edit
Some examples of operations that can be combined are as follows. [1]
stay arithmetic Medium, real number Of addition and multiplication They can be combined, namely:
complex and Quaternion The addition and multiplication of can be combined. Octonions The addition of is also combinable, but the multiplication rule is not.
greatest common divisor and Least common multiple The operations of are combinable.
because linear transformation It is a function that can be expressed as a matrix, in which the function composition can be used Matrix multiplication It is immediately known that the matrix multiplication is associative.
aggregate Of intersection and Union Is combinable:
If M is a set and S is a set of all functions mapped from M to M, the operation of function composition on S is combinable:
More generally, given four sets M, N, P and Q, and
, then
Same as before. In short, the composition of maps is always combinable.
Given a set with three elements A, B and C, its operation is as follows:
A
B
C
A
A
A
A
B
A
B
C
C
A
A
A
It can be combined. However, this operation is not commutative.

Incorporatibility

Announce
edit
If a binary operation * on set S does not satisfy the associative law, it is called Incoherent The symbols are: [1]
Under this operation, the order of operation is yes Affected. subtraction division and power Are simple examples of non combinable operations:
In general, when the non associative operation occurs more than once in a representation, parentheses must be used to represent it Operation order however, mathematician A special operation order rule will be adopted for several common non combinable operations. This is simply a syntax convention to reduce parentheses.