Commutative property of mathematical operations

Commutative property of operation states that it does not matter in which order operation is going to be performed first, but the result is going to be the same.

For example addition is commutative. 1 plus 2 is equal to 3, and 2 plus 1 is also equal to 3.

Subtraction operation is not commutative. 3 minus 1 is equal to 2, however 1 minus 3 is not equal to 2, however it is equal to -2 instead. Results are two different numbers.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator