Commutativity is the ability to change the order of something without changing the end result.
A binary operation ∗ on a set S is commutative if:
A binary function f:A×A → B is commutative if:
Community content is available under CC-BY-SA unless otherwise noted.