Showing posts with label out. Show all posts
Showing posts with label out. Show all posts

Friday, September 11, 2015

Watch out Properties of integers with Mathematical Division


Mathematical Division of integers is neither commutative nor associative. 
Mathematical Division of integers can be represented as following
a / b != b / a
(a / b) / c != a / (b / c)
Justifying commutative property of mathematical Division of integers
a / b != b / a
If a = 4 and b = 2
Then 4 / 2 = 2 and 2 / 4 = 0.5
So, 4 / 2 != 2 / 4 as 2 != 0.5
Justifying associative property of mathematical Division of integers
(a / b) / c != a / (b / c)
If a = 4, b = 2 and c = 8
Then (4 / 2) / 8 = 0.25 and 4 / (2 / 8) = 16
So, (4 / 2) / 8 != 4 / (2 / 8) as 0.25 != 16

Thursday, September 10, 2015

Watch out Properties of integers with Mathematical Subtraction


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