Live data from Hacker News

Product of Negatives (2010)

susam.in

51–60 of 79 posts

Re: Product of Negatives (2010)

#51
This is a decent intuitive explanation.

If you want an absolutely rigorous proof, you can view this Metamath proof: http://us.metamath.org/mpeuni/mulge0.html ; this has more far more steps, but is totally rigorous. It particular, its only axioms are those of classical logic and ZFC set theory (not even numbers are presumed, the system first proves "numbers exist and have these properties").

Re: Product of Negatives (2010)

#52
post #49
post #46

Earlier quoted context omitted.

My point is that you cannot prove something that is true by definition. The OP trying to prove that the product of two negative numbers is positive is like asking to prove that 0 + 1 = 1 in Peano arithmetic. The OP thinks that his "proof" is showing why multiplying negative values yields a positive result. But the proof is a load of nonsense because it assumes facts like distributivity of multiplication over addition…

Not every arithmetic property needs to be proved from Peano axioms. One can but it is tedious and unnecessary. A much better starting point is the set of field axioms where the distributivity property is already available as an axiom. The assumptions made in the article are perfectly fine as per field axioms. Granted it would have been nicer if distributivity over addition was used instead of distributivity over subt…

While this product of additive inverses property does follow from the field axioms, there is a short discussion in the blog comments at https://susam.in/blog/product-of-negatives/comments/ which shows that this property holds true for all rings too.

So it is not just numbers for which this property holds true but for all elements of fields and rings too. Quite simply, (-a)(-b) = (a)(b) in all rings where (-a) and (-b) are the additive inverses of a and b respectively.

Re: Product of Negatives (2010)

#53
post #25

This is not a proof of why the product of negative numbers is positive. The reason why the product of negative numbers is positive is that we define multiplication to be that way. Also, this post conflates the unary negation operator with negative numbers. The two are not the same. In so far as this post constitutes a proof (which IMO it does not), it is a proof about the behavior of the negation operator. A good que…

> Also, this post conflates the unary negation operator with negative numbers.

-a is a standard way to represent additive inverse of an element in field.

The point about "unary negation operator" seems irrelevant.

In the real number field, additive inverse of a positive real number is indeed the negative of that number. The negative of that number is also obtained by the application of unary negation operator on the positive number.

The additive inverse of 3.14 is -3.14. Unary negation operator applied to 3.14 gives us -3.14. I don't see how conflating unary negation operator with negative numbers here is any issue here.

Re: Product of Negatives (2010)

#54
post #49
post #46

Earlier quoted context omitted.

My point is that you cannot prove something that is true by definition. The OP trying to prove that the product of two negative numbers is positive is like asking to prove that 0 + 1 = 1 in Peano arithmetic. The OP thinks that his "proof" is showing why multiplying negative values yields a positive result. But the proof is a load of nonsense because it assumes facts like distributivity of multiplication over addition…

Not every arithmetic property needs to be proved from Peano axioms. One can but it is tedious and unnecessary. A much better starting point is the set of field axioms where the distributivity property is already available as an axiom. The assumptions made in the article are perfectly fine as per field axioms. Granted it would have been nicer if distributivity over addition was used instead of distributivity over subt…

You are wrong in several ways.

1. You literally cannot prove this fact from the Peano axioms because Peano arithmetic operates on natural numbers, not integers.

2. As I said in my original post at the top, negative numbers are different from the unary subtraction operator (the additive inverse in the field). The number -2 is an entity that exists by itself regardless of whether you've defined an additive inverse. It turns out that the additive inverse of every positive integer is the corresponding negative integer, but this follows from the definition of +, not the other way around.

3. Even if you give OP the benefit of the doubt regarding his dodgy proof, it is saying something about the additive inverse and its relation to multiplication. It is not saying why the result of multiplying two negative values must be positive.

4. The multiplicative operator over the field must already be defined for you to be able to prove distributivity over addition. You can't assume distributivity over an operator that is only partially defined.

--

Think about how you'd define a field. First, you need a set (let's call it Z), then you need two total operators over the set (+ and ), and two elements of the set (0 and 1) and each of these must satisfy specific properties (aka the field axioms). In particular, + and must be defined for all members of Z, not just Z+ and further + and * must be distributive. These are all facts you need to prove about Z, *, +, and 1 and only then do you have a field. You cannot work backward by assuming the field axioms (which are unfortunately named because they are not axioms at all but properties) to derive the definition o the field operators.

Re: Product of Negatives (2010)

#55
post #3

An important thing about numbers in general is that whenever somebody says “complex/negative numbers don’t actually exist”, they are somewhat right, in a sense. What exists is magnitude and phase Does that mean we should abandon them? Absolutely not. Encoding phase (or in a much more common subset, parity) is so absolutely useful it’s no wonder we bake 90° intervals (-, i) into our notations: they can be intuitively…

One could argue, easily, that the real numbers are not, in fact, "real," either, that they are rather an abstraction needed to make any measures "commensurable." As far as the magnitude goes, for example, there may be physical limits on how small things can be. (By the same token, even large positive integers can easily be seen as unreal, if you consider a number that is greater than the total count of things in the universe.)

Re: Product of Negatives (2010)

#56
post #54
post #49

Earlier quoted context omitted.

Not every arithmetic property needs to be proved from Peano axioms. One can but it is tedious and unnecessary. A much better starting point is the set of field axioms where the distributivity property is already available as an axiom. The assumptions made in the article are perfectly fine as per field axioms. Granted it would have been nicer if distributivity over addition was used instead of distributivity over subt…

You are wrong in several ways. 1. You literally cannot prove this fact from the Peano axioms because Peano arithmetic operates on natural numbers, not integers. 2. As I said in my original post at the top, negative numbers are different from the unary subtraction operator (the additive inverse in the field). The number -2 is an entity that exists by itself regardless of whether you've defined an additive inverse. It…

> You literally cannot prove this fact from the Peano axioms because Peano arithmetic operates on natural numbers, not integers.

Sure you can. With definitions! Define integers from natural numbers. Define rationals from integers. And so on. And so on.

> The number -2 is an entity that exists by itself regardless of whether you've defined an additive inverse.

I see a serious misunderstanding of this topic. Please read upon the field axioms and ring axioms if you haven't so already. Then please check https://math.stackexchange.com/a/878844 which is arguably more rigorous than this post. But the essence is the same. This is more rigorous because the subtraction operator is not used anywhere. Only addition, multiplication and additive inverses have been used. Like another commenter said, if you just replace subtraction with addition with an additive inverse in the OP's post, things fall in place.

Re: Product of Negatives (2010)

#57
post #27
post #3

An important thing about numbers in general is that whenever somebody says “complex/negative numbers don’t actually exist”, they are somewhat right, in a sense. What exists is magnitude and phase Does that mean we should abandon them? Absolutely not. Encoding phase (or in a much more common subset, parity) is so absolutely useful it’s no wonder we bake 90° intervals (-, i) into our notations: they can be intuitively…

what does “exists” mean? We made the whole thing up.

In a way, sure. In math, existence means consistency, i.e. being free of logical contradiction. Often, "a proof of existence" is done by construction based on a system whose "existence" is assumed. In particular, the complex numbers are usually constructed from the reals in the form (a, b).

Re: Product of Negatives (2010)

#58
post #54
post #49

Earlier quoted context omitted.

Not every arithmetic property needs to be proved from Peano axioms. One can but it is tedious and unnecessary. A much better starting point is the set of field axioms where the distributivity property is already available as an axiom. The assumptions made in the article are perfectly fine as per field axioms. Granted it would have been nicer if distributivity over addition was used instead of distributivity over subt…

You are wrong in several ways. 1. You literally cannot prove this fact from the Peano axioms because Peano arithmetic operates on natural numbers, not integers. 2. As I said in my original post at the top, negative numbers are different from the unary subtraction operator (the additive inverse in the field). The number -2 is an entity that exists by itself regardless of whether you've defined an additive inverse. It…

> You cannot work backward by assuming the field axioms (which are unfortunately named because they are not axioms at all but properties) to derive the definition o the field operators.

Of course, when we say they are field axioms we mean those properties hold true for the elements of the field. If you see those properties, they talk about distributivity over the elements of the field and additive inverses of the elements also belong to the field, so the distributivity automatically applies to additive inverses too.

After that with a little algebra, "product of additive inverses of two elements is equal to the product of the two elements" comes out as a result (not a definition).

Of course, by "product" we mean whatever * represents. It is not necessarily the multiplication operator we see in numbers.

Re: Product of Negatives (2010)

#59
post #25

This is not a proof of why the product of negative numbers is positive. The reason why the product of negative numbers is positive is that we define multiplication to be that way. Also, this post conflates the unary negation operator with negative numbers. The two are not the same. In so far as this post constitutes a proof (which IMO it does not), it is a proof about the behavior of the negation operator. A good que…

> Also, this post conflates the unary negation operator with negative numbers. -a is a standard way to represent additive inverse of an element in field. The point about "unary negation operator" seems irrelevant. In the real number field, additive inverse of a positive real number is indeed the negative of that number. The negative of that number is also obtained by the application of unary negation operator on the…

> In the real number field, additive inverse of a positive real number is indeed the negative of that number. The negative of that number is also obtained by the application of unary negation operator on the positive number.

This is a fact that follows from the definition of +. But + needs to be defined before you can start making assumptions about what the additive inverse is. The set over which the field is defined (Z or R) already contains -3, -2 etc. and -3 * -2 or -3 + -2 needs to be defined when you're constructing the field. It then turns out that -3 is the additive inverse of 3. You can't use this when arguing about the definition of why applying * on negative 2 and negative 3 gives you the result positive 6. Because you need to define * over all members of the field before you construct a field in the first place.

Re: Product of Negatives (2010)

#60
post #34
post #3

An important thing about numbers in general is that whenever somebody says “complex/negative numbers don’t actually exist”, they are somewhat right, in a sense. What exists is magnitude and phase Does that mean we should abandon them? Absolutely not. Encoding phase (or in a much more common subset, parity) is so absolutely useful it’s no wonder we bake 90° intervals (-, i) into our notations: they can be intuitively…

complex/negative numbers don't actually exist in contrast to natural numbers that don't actually exist in a different way

In fact, it's an interesting (and non-trivial) philosophical topic, to consider all different ways in which things do not exist.
Post reply on HN