B Commutative & Associative property of negative numbers

AI Thread Summary
The discussion focuses on the commutative and associative properties of addition, specifically regarding negative numbers. It confirms that the commutative property holds for addition, as demonstrated by examples like -5 + 7 = 2 and 7 + (-5) = 2. Subtraction is clarified as an operation that doesn't exist in the same way, being a form of addition with inverses, which can lead to confusion. The associative property is also validated through various scenarios involving negative and positive integers. Ultimately, the sign of the numbers does not affect these properties, emphasizing that subtraction is merely an abbreviation for addition of inverses.
sonadoramante
Messages
19
Reaction score
3
TL;DR Summary
Commutative & Associative property of addition of negative numbers.
Commutative property of addition.

If a & b are integers then,

a+b = b+a
2+3 = 3+2
5.

Does not work for subtraction.
2-3 = -1
3-2= 1

Having said that, what about the special case with negative numbers (when we also move their respective signs)
-5 + 7 = 2 & 7 + (-5) = 2.
15 -7 = 8 & -7 + 15 = 7.

Associative property of addition.

If a, b & c are integers then,

a + (b+c) = (a+b) + c
2 + (3+4) = (2+3) + 4
2+7 = 5+4
9.

I tried 5 scenarios for the above,
a= - b = + c= -
a= + b= - c=+
a=+ b=+ c=-
a=- b=- c=+
a=- b=- c=-

And they all seem to work. It also seems to work for negative numbers in multiplication as well.

Is there a special case for commutativity & associativity for negative numbers?
 
Mathematics news on Phys.org
The only reason it does not work is the wrong understanding of subtraction. On the level of group axioms which you used as language here, subtraction does not exist as binary operation. It is the unary operation of inversion: ##x \longmapsto x^{-1} := -x##. What you call subtraction is actually an addition: ##(x,y)\longmapsto x+ (-y)##. It is commonly written as ##x-y##, but this is only an abbreviation which causes confusion if used as in your question.
 
Last edited:
  • Like
Likes hmmm27 and sonadoramante
fresh_42 said:
The only reason it does not work is the wrong understanding of subtraction. On the level of group axioms which you used as language here, subtraction does not exist as binary operation. It is the unary operation of inversion: ##x \longmapsto x^{-1} := -x##. What you call subtraction is actually an addition: ##(x,y)\longmapsto x+ (-y)##. It is commonly written as ##x-y##, but this is only an abbreviation which causes confusion if used as in your question.
Makes perfect sense! Thanks.
 
Last edited by a moderator:
sonadoramante said:
And they all seem to work. It also seems to work for negative numbers in multiplication as well.
Besides the group axioms that fresh_42 mentioned, there are other mathematical structures such as rings, integral domains, and fields, all of which have two binary operations: addition and multiplication. Subtraction isn't included as one of the operations.

However, we can define ##a - b## as ##a + (-b)##, where ##-b## is the additive inverse of ##b##. Then ##a + (-b) = (-b) + a##, and ##a + (-b + c) = (a + (-b)) + c##, so we have commutivity and associativity
sonadoramante said:
Is there a special case for commutativity & associativity for negative numbers?
The sign of the numbers doesn't enter into things.
 
  • Like
Likes sonadoramante
Mark44 said:
The sign of the numbers doesn't enter into things.
Further, the fact that you happen to put a minus sign in front of something does not make it negative. -(-1) is positive.

In some domains there is not even a notion of "positive" or "negative". For instance, the integers modulo 3 where 2 = -1.
 
  • Like
Likes sonadoramante
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...

Similar threads

Replies
8
Views
1K
Replies
3
Views
970
Replies
10
Views
2K
Replies
2
Views
1K
Back
Top