Associative vs Commutative - What's the difference?
associative | commutative |
Pertaining to, resulting from, or characterised by association; capable of associating; tending to associate or unite.
such that, for any operands ,
(computing) addressable by a key more complex than an integer index
(mathematics, of a binary operation) Such that the order in which the operands are taken does not affect their image under the operation.
(algebra, of an algebraic structure) Having a commutative operation.
(mathematics, of a diagram of morphisms) Such that any two sequences of morphisms with the same initial and final positions compose to the same morphism.
As adjectives the difference between associative and commutative
is that associative is pertaining to, resulting from, or characterised by association; capable of associating; tending to associate or unite while commutative is (mathematics|of a binary operation) such that the order in which the operands are taken does not affect their image under the operation.associative
English
Adjective
(en adjective)- Awk's associative arrays may be indexed by strings.
- Associative memories were once given considerable attention.
Derived terms
* antiassociativecommutative
English
(commutative property)Adjective
(-)- ''Addition on the real numbers is commutative because for any real numbers , it is true that .
- Addition and multiplication are commutative operations but subtraction and division are not.
