Commutative

Return to Glossary.

**Formal Definition**

A binary operation $*$ on a set $S$ is commutative if $a*b=b*a$ for all $a,b \in S$ .

**Informal Definition**

A binary operation is **commutative** if the elements can be placed in a different order and still get the same outcome.

**Example(s)**

For $a, b \in \mathbb{R}$ under the operation of addition, defined by $+$

$a + b = b + a$

so $+$ is commutative in $\mathbb{R}$.

**Non-example(s)**

For $a,b \in \mathbb{R}$ under the operation of subtraction, defined by $-$

$a - b \neq b - a$ as $a - b = -1(b-a)$

therefore, $-$ is not commutative in $\mathbb{R}$.

**Additional Comments**

Add any other comments you have about the term here