property of binary operations, for which changing the order of the operands does not change the result
The commutative property is a rule in mathematics that says you can switch the order of two numbers in an operation and still get the same answer—for example, 3 + 5 equals 5 + 3. This matters because it simplifies calculations and helps us understand that certain operations are flexible, allowing us to rearrange problems in whatever way is easiest or most convenient to solve.
AI-generated from the Wikipedia summary — may contain errors.
In mathematics, a binary operation is commutative if changing the order of the operands does not change the result. It is a fundamental property of many binary operations, and many mathematical proofs depend on it. Perhaps most familiar as a property of arithmetic, e.g. "3 + 4 = 4 + 3" or "2 × 5 = 5 × 2", the property can also be used in more advanced settings. The name is needed because there are operations, such as division and subtraction, that do not have it (for example, "3 − 5 ≠ 5 − 3"); such operations are not commutative, and so are referred to as noncommutative operations.
The idea that simple operations, such as the multiplication and addition of numbers, are commutative was for many centuries implicitly assumed. Thus, this property was not named until the 19th century, when new algebraic structures started to be studied.
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).