The associative property is a property of certain binary operations under which rearranging the parentheses in an expression made up of two or more instances of the same operator does not change the result, so long as the order of the operands themselves stays the same; for example (2 plus 3) plus 4 equals 2 plus (3 plus 4), and 2 times (3 times 4) equals (2 times 3) times 4, since addition and multiplication of real numbers are both associative. Associativity is not the same as commutativity, which concerns whether swapping the order of two operands changes the result: function composition and matrix multiplication are associative but generally not commutative, and operations such as subtraction, exponentiation and the vector cross product are not associative at all. Associative operations are common throughout mathematics, and many algebraic structures such as semigroups and categories explicitly require their operations to be associative; by contrast, the addition of floating point numbers in computer science is not associative, and the order in which such an expression is evaluated can noticeably affect rounding error.
Facts
Connections
In Branch
Source Associative Property (Wikipedia)
Is Kind Of Object
Sources
1. Associative Property (Wikipedia)
Lead section
In mathematics, the associative property is a property of some binary operations that rearranging the parentheses in an expression will not change the result.
In Branch: Logic and Foundations, Lead paragraph
In propositional logic, associativity is a valid rule of replacement for expressions in logical proofs.
View the SourceReader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.
Sign in to dispute this or suggest a correction.