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
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
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...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...

Similar threads

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