Mathematical subtraction of integers is neither commutative nor associative.
Mathematical subtraction of integers can be represented as following
a - b != b - a
(a - b) - c != a - (b - c)
Justifying
commutative property of mathematical subtraction of integers
a - b != b - a
If a = 5 and b = 3
Then 5 - 3 = 2 and 3 - 5 = (-2)
So, 5 - 3 != 3 - 5 as 2 != (-2)
Justifying
associative property of mathematical subtraction of integers
(a - b) - c != a - (b - c)
If a = 5, b = 3 and c = 7
Then (5 - 3) - 7 = (-5) and 5 - (3 -
7) = 9
So, (5 - 3) - 7 != 5 - (3 - 7) as
(-5) != 9
No comments:
Post a Comment