Programmed Math/Commutative

From Wikibooks, open books for an open world
Jump to navigation Jump to search

An operation is commutitive if and only if the order does not affect the result.

For example, addition is commutitive for the real numbers; thus, if are both real:

An operation that is not commutative is subtraction over the reals; ie, the following is not true: