Why does 0 times infinity not equal 1?

Tell me how 1 divided by infinity does not equal 1. When you graph x * y =1, do 0 and infinity not meet at the same point? Seems like basic math to me, I was astounded when I heard someone thought it was 0 or undefined. Dividing by 0 and multiplying by infinity is the same thing. I can't look at the 2 and not see that they are reciprocals.

2 comentarios

Roger Stafford
Roger Stafford el 29 de Dic. de 2017
@2nd Roger: Suppose you graphed x*y = 10. Then wouldn't you conclude that zero times infinity was equal to ten? That is the reason that this operation in mathematics is considered to be "undefined". It is not a matlab question - it is something that is dealt with in any course in calculus.
John D'Errico
John D'Errico el 4 de Feb. de 2024
This problem should arguably be closed. It is not about MATLAB at all. And all it will do is attract random useless answers and comments.

Respuestas (4)

John D'Errico
John D'Errico el 29 de Dic. de 2017
Editada: John D'Errico el 29 de Dic. de 2017

2 votos

While you talk about "basic math", the concept of infinity can be quite paradoxical, and rarely truly basic.
inf in MATLAB is not a true number. It is a flag that MATLAB found something strange, that something should be really big, but MATLAB was not really sure how big. NaN falls in the same class, as a flag that MATLAB found something it could not resolve, an indeterminacy.
You can only view inf in terms of limits. So we can think of inf as the limit of x, as x gets arbitrarily large.
So then, what is inf*0? Again, you need to consider it in terms of a limit. But the problem is, which limit?
Is (inf*0) the limit of (x*0), as x gets arbitrarily large? In that case, inf*0 would logically be 0.
Or, is (inf*0) the limit of inf/x, as x approaches zero? If we accept that inf multiplied or divided by any positive non-zero finite constant is still inf, then inf/x must be inf.
We can as easily make arguments that inf*0 might be 1, or any value you so desire. Personally, I think it should be 17, but cogent, published arguments exist for 42 as the result. Must I provide a reference for 42? ;-)
The point is that since inf*0 really has no uniformly consistent limit, we must call it NaN. It is indeterminate.

8 comentarios

Roger Ahier
Roger Ahier el 29 de Dic. de 2017
Editada: Roger Ahier el 29 de Dic. de 2017
My point is, if you get 2 NaNs, you can cancel them out and call them equal to 1. You don't have to stop there.
John D'Errico
John D'Errico el 29 de Dic. de 2017
No. You cannot do so. But given your deviation into metaphysical nonsense in response to Walter, I'm done on this matter.
Rik
Rik el 29 de Dic. de 2017
Here, have an upvote for that 42 reference
Roger Ahier
Roger Ahier el 29 de Dic. de 2017
Editada: Roger Ahier el 29 de Dic. de 2017
You cannot do so is not an answer nor is it any kind of proof. Any number multiplied by it's reciprocal equals 1. In order for 0 to be a number it would have to have a number as it's reciprocal. Well, it does have a reciprocal, so I guess if 0 is a number, so is infinity. Zero is actually the absence of a number.
Walter Roberson
Walter Roberson el 29 de Dic. de 2017
There are a lot of number systems which do not have fractions, or for which "reciprocal" is defined quite differently because division is defined quite differently. For example the Integers are simply not a Group with respect to multiplication because the Integers do not contain simple fractions -- but the Integers are a Group with respect to addition.
It would indeed be strange to say that the Integers are not numbers.
Roger Ahier
Roger Ahier el 29 de Dic. de 2017
Editada: Roger Ahier el 29 de Dic. de 2017
f(x) * 1/f(x) = 1
Show me where that doesn't apply. It doesn't matter what value is. Anything divided by itself equals 1, so 0 divided by 0 equals 1.
Walter Roberson
Walter Roberson el 30 de Dic. de 2017
Sure. Within the set of integers, f(x) might exist but 1/f(x) would not generally exist, so f(x)*1/f(x) would not be computable.
You need to start providing citations for your mathematical claims of what "number" is, and of how "*" and "/" are defined.
John D'Errico
John D'Errico el 30 de Dic. de 2017
Editada: Walter Roberson el 14 de Dic. de 2023
This question is rapidly de-evolving. It was never about MATLAB at all. What Roger needs to do is step back and do some reading about abstract algebra, multiplicative inverses, and infinity. For example, these might be some useful starting points that talk about 0, infinity, and multiplicative inverses:
The point is, mathematics is very clear on the subject. It hardly makes sense for us to repeat proofs that 0 does not have a multiplicative inverse, to discuss whether infinity is a number, etc. But none of that lies within the realm that MATLAB Answers should be answering.
Walter Roberson
Walter Roberson el 29 de Dic. de 2017
1/0 is infinity
2/0 is infinity
3/0 is infinity
multiply both sides by 0:
1 is infinity*0 ?
2 is infinity*0 ?
3 is infinity*0 ?
we see that infinity*0 must be all values (except perhaps 0) simultaneously. In mathematics when a value can legitimately be any value, mathematics says that the result is undefined.

2 comentarios

Roger Ahier
Roger Ahier el 29 de Dic. de 2017
Editada: Walter Roberson el 14 de Dic. de 2023
Zero is not a number, it is a limit, just like infinity. The opposite as a matter of fact. There are only 3 states; 0, any number and infinity. Any number times any number is a number, so let's just call any number 1. Any number times 0 equals 0 and any number times infinity equals infinity. In this way, they are similar to the square root of -1. As long as there are an even number, you get a real number. The same holds true for limits so if you have an even number of limits, you get a real number, or in this equation, 1.
0 is the anti-particle of infinity. Nothing vs everything. They are reciprocals. I don't know how else to explain it to make it clear as a bell. You can even graph it. Try this. The blue curve is the red curve divided by 0. https://www.desmos.com/calculator/tegcjj8bkg
Rik
Rik el 29 de Dic. de 2017

0 votos

This is not a Matlab question.
massively simplified 'answer' incomming:
Infinity is a strange thing. If you approach it with a limit, it is easy to see how 1/x with x approaching infinity is 0.
Division by 0 is another thing. a/b=c is 'actually' solving a=b*c. This way, you see that for b=0, a and c must be 0 as well, or c can be anything, depending how you take a limit. To avoid this breaking other maths, division by 0 is generally taken to be undefined. (or sign(a)*inf, as Matlab does, except with 0/0, which results in NaN)

5 comentarios

Rik
Rik el 29 de Dic. de 2017
If you want a better answer, I suggest posting this question on a forum that is about maths, instead of Matlab.
Roger Ahier
Roger Ahier el 29 de Dic. de 2017
Editada: Roger Ahier el 29 de Dic. de 2017
Sorry, I posted here because I was trying to help someone on this forum who had such a a problem with 1 half of a equation dividing by 0 and another half multiplying by infinity. I wanted to comment, but I had to make an account and ask a question before I could do that.
Knowing that they equal 1 and balances out the equation might be handy
Roger Ahier
Roger Ahier el 29 de Dic. de 2017
Dividing by 0 is the same thing as multiplying by infinity. If whatever your program does can benefit by simply taking the reciprocal of the equation and multiplying by infinity then it's something you might want to look in to in your next upgrade.
Rik
Rik el 29 de Dic. de 2017
If you already know the answer, why bother asking the question?
Also, it surprises me that you would need to have posted a question before you can comment. I know this is the case on StackOverflow, but if that is the case on this forum, that's something that has changed very recently.
Image Analyst
Image Analyst el 29 de Dic. de 2017
You do need to have an account before you post a question, answer, or comment, but you do not need to post a question before you post a comment to the "someone" you were trying to help. You could have posted right there in their question.
What is the link to that person's question? For completeness, you might as well post it here, though I agree it's more of an abstract math question than a MATLAB programming question.
Hana Juneja
Hana Juneja el 14 de Dic. de 2023

0 votos

I'm not sure this is right but I'm pretty sure that 0 times infinity is zero. Here's why:
0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0+0...it could just keep on going infinitely, and your result would be zero even if you continued that pattern infinite times.

4 comentarios

Walter Roberson
Walter Roberson el 14 de Dic. de 2023
Consider
1 - 1 + 1 - 1 + 1 - 1 ....
That is
(1 - 1) + (1 - 1) + (1 - 1) ....
which is 0 + 0 + 0 ... = 0.
But let use reparse it. It is equal to
1 + (-1 + 1) + (-1 + 1) + (-1 + 1) ...
which is 1 + 0 + 0 + 0 + 0 ... which is 1
"Therefore" 0 = 1
This is the exact same as your 0+0+0+0.... case since you can expand your 0 as being (1 - 1)
Raffael Aponso
Raffael Aponso el 3 de Feb. de 2024
part of what you did was right, however you forgot to consider that leaving the first term of 1 out you are also leaving the term of -1 out too at the end of the summation and they pair up to cancel to 0 too.
0+0+0+...=
(1 - 1) + (1 - 1) + (1 - 1) + ....
1 + (-1 + 1) + (-1 + 1) -1 + .... which is 0
the terms in bold are the two extra terms that can pair up to 0.
Walter Roberson
Walter Roberson el 4 de Feb. de 2024
There is no "end" to the summation, so there is no "left-over" -1
John D'Errico
John D'Errico el 4 de Feb. de 2024
How silly. And this is exactly why this question should be closed. It has nothing to do with MATLAB. The answers are going off the rails, posted by those who don't understand the concepts of infinite series, and even basic mathematics. But I suppose I might as well add this...
0 + (1 - 1) + (2 - 2) + (3 - 3) + (4 - 4) + ...
Clearly we can argue the sum is zero, since pairs of terms add up to zero, right? And the first term is already zero.
But now just rearrange the parens.
(0 + 1) + (-1 + 2) + (-2 + 3) + (-3 + 4) + ...
Each pair inside those parens now add up to 1. And there are infinitely many ones in that sum. So the sum is infinite. There is no term left off at the very end, since it will be paired with another matching term after it, that is one greater. Clearly the sum is now infinite. All I needed to do was move around the parens.

La pregunta está cerrada.

Etiquetas

Preguntada:

el 29 de Dic. de 2017

Cerrada:

el 4 de Feb. de 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by