Jump to content

Wikipedia:Reference desk/Archives/Mathematics/2016 November 19

From Wikipedia, the free encyclopedia
Mathematics desk
< November 18 << Oct | November | Dec >> November 20 >
Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


November 19

[edit]

Zero uses

[edit]

In exponentiation, x0 is generally defined as equalling 1, regardless of the value of x. Meanwhile, division by zero yields an undefined result. I don't understand why we can give a value to the first if it's impossible to give a value to the second, so I'm left supposing that we could logically define the result of division by zero as something, but basically we've not. Am I missing something here, something really basic, or am I correct in saying that it's merely a matter of mathematical convention? Nyttend (talk) 14:10, 19 November 2016 (UTC)[reply]

The basic reason is that while there is a way to extend exponentiation for positive integers to allow the exponent to be zero without losing any properties, there is no way to extend division for positive integers to allow the divisor to be zero without losing any properties. Double sharp (talk) 14:13, 19 November 2016 (UTC)[reply]
Division by zero is undefined because it is inconsistent with the essential properties of arithmetic. This is not true of raising numbers to the 0th power; indeed the two have hardly anything in common. --JBL (talk) 14:51, 19 November 2016 (UTC)[reply]
(Above answers are good- trying to use simpler language here.) You are exactly right that you could define division by zero as something, but basically we've not. People can make whatever definitions they want- the question is whether those definitions are useful and have nice properties. One important property is that things be continuous. That means that if 4/0 is allowed, then it should be close to things like 4/0.1 and 4/0.01 since those denominators are close to 0. But you can just check that 4/0.1 = 40, 4/0.01 = 400, which don't seem to get close to any value in particular. Contrast this with exponents- you can check on your calculator that 4^0.1 = 1.148, 4^0.01 = 1.014, 4^0.001 = 1.001 (i'm cutting off digits in the answer). Looking at those values it seems entirely reasonable to define 4^0 = 1, while there seems to be no reasonable definition for 4/0. Staecker (talk) 15:16, 19 November 2016 (UTC)[reply]
When the Indians first discussed zero and negative numbers they had the rule that zero divided by zero was zero. We could have proceeded on that basis just like the rule that 0^0 is 1 and coped with problems in the same way. It really is a matter of convenience, they don't either of them have a good logical value. 0^0 being 1 is very useful to avoid having to write special things in series and it works out as a good value normally. 0/0 having the value 0 is far less useful and would cause lots of problems. However dogmatically saying 0^0 must be one in all circumstances also causes problems particularly in calculus. And if 0^0 is 1 then 0^(0/2) one or i in complex numbers so i would be another reasonable value - some people choose 0 instead sometimes there. Dmcq (talk) 15:29, 19 November 2016 (UTC)[reply]
(Dmcq, 0^(0/2)=(0^0)^(1/2)=1^(1/2)=1. i is the square root of minus one, not the square root of plus one. Bo Jacoby (talk) 16:33, 19 November 2016 (UTC))[reply]
Sorry, silly me, I try and dredge up what I was thinking of. Dmcq (talk) 16:41, 19 November 2016 (UTC)[reply]
Have you read Exponentiation#Zero_to_the_power_of_zero? Generally depends on what your area is. Dmcq (talk) 15:45, 19 November 2016 (UTC)[reply]

Yes, you are correct in saying that it's a matter of mathematical convention. Neither x/y nor xy are continuous around (x,y)=(0,0). Choose any nonzero number a. Then a=x/y has solutions (x,y)≠(0,0). Just pick any nonzero y and let x=ay. Then choose a such that 0<a<1. Then a=xy has solutions (x,y)≠(0,0). Just pick any positive y and let x=ay–1. So you are not allowed to assume neither that

nor that

as the functions in question are not continuous.

Some programming languages define 0/x=0 for all values of x, even x=0. That is sometimes convenient and sometimes not. Most programming languages and mathematicians define x0=1 for all values of x. This allows the polynomial to be written conveniently as , but it has nothing to do with continuity. Bo Jacoby (talk) 16:27, 19 November 2016 (UTC).[reply]

Aside from when x = 0 (in which case, some convention is chosen), x0=1, ALWAYS. Even the polynomial you gave as example doesn't evaluate properly, otherwise. Earl of Arundel (talk) 17:46, 19 November 2016 (UTC)[reply]
Aside from when x = 0, 0/x = 0 ALWAYS. I guess that's why they originally had 0/0 = 0. Dmcq (talk) 18:58, 19 November 2016 (UTC)[reply]
Quick comments, since I'm at a quick stop while on the road. (1) Thanks for the "simpler language" answer; I understood that it's a contradiction of the basic principles of arithmetic, but seemingly x0 would be too, and yet we defined it. I needed the point about the 4/0, 4.01, 40.01, etc., because it was a simple demonstration of why my idea doesn't particularly make sense. (2) I read the bit about zero to the power of zero; that's why I said x0 is generally defined as equalling 1, because I knew that 00 wasn't 1, and I didn't want to assume that literally everything else0 was equal to 1 (e.g. complex numbers? I really don't understand how they work). (3) Haven't had time to digest the rest of what you all have said here; I'll come back when I get back home. Nyttend (talk) 19:07, 19 November 2016 (UTC)[reply]
Here is another reason why x0 = 1 is good for positive x. xm / xn = xm-n is clearly true for integers m > n: If you multiply x by itself m times and then divide by it n times then you have m-n times left. This is one of the properties we want to remain true for all real m and n. For m = n it gives: xn / xn = xnn = x0. But we already know xn / xn must be 1. PrimeHunter (talk) 19:32, 19 November 2016 (UTC)[reply]
Excellent example!Earl of Arundel (talk) 20:05, 19 November 2016 (UTC)[reply]
Division by zero is generally consider undefined in mathematics simply because it leads to erroneous results. Consider this popular math trick. Raising a number to the zeroth power, however, IS well-defined and MUST evaluate to one (and yes, even for complex numbers). Not by mere convention, but because mathematical induction tells us so. For example, the decimal number 953 can be re-written as 9*10^2 + 5*10^1 + 3*10^0, which is clearly consistent. Another way to look at is using calculus. Suppose you had the function y = f(x) = 3x, which is of course the same as saying y = 3x^1. Now if you were to plot out the function you'd plainly see that it has a slope of 3. And indeed, if you took the derivative of f (which also tells us the slope of a function at any given point) you'd get f'(x) = (1*3)x^(1-1) = 3x^0 = 3. Which make sense, since the graph of f is just a straight line, the derivative should thus be a constant value. The only problem we have then is the fact that raising a number to zero doesn't make "arithmetic" sense (in terms of repeated multiplication, that is). To that end, you just have to delve a little deeper. For that, I'd recommend empty product as a starting point. Earl of Arundel (talk) 19:49, 19 November 2016 (UTC)[reply]
One has to be careful to look at a whole picture rather than just trying to find things which confirm what one likes. Dmcq (talk) 20:08, 19 November 2016 (UTC)[reply]
I'm sorry, were you trying to make a point? If so, then please give an example of a case where that doesn't hold. Earl of Arundel (talk) 20:23, 19 November 2016 (UTC)[reply]
Once again, thanks for the assistance. I was aware of silliness like 1=0, 2=1, etc., and their dependence on division by zero, but I couldn't get beyond that, and the significance of issues such as 9*10^2 + 5*10^1 + 3*10^0 never occurred to me. So in other words, we didn't simply define x0 as =1 — had I realised that, I would have been much less confused. Thanks again! Nyttend (talk) 06:09, 20 November 2016 (UTC)[reply]
The subtlety here is that there are different functions called "exponentiation". The repeated-multiplication version, xn where x is, say, a real or complex number, and the n is a natural number, very naturally takes the value x0=1 for all x (real or complex as the case may be).
On the other hand, the function that sends a pair (x,y) of real or complex numbers to xy is quite a different matter. This is really a different function; conceptually it has nothing to do with repeated multiplication. It is usually defined as xy=ey log x, where the e-to-the part is defined in various ways (inverse of the natural logarithm, for example, or the sum of a power series, or by a differential equation).
For that kind of exponentiation on the real numbers, typically you define it only for positive values of x, because nonpositive values don't have a logarithm. In the complex numbers, there's more flexibility, but 0 still doesn't have a logarithm. --Trovatore (talk) 07:04, 20 November 2016 (UTC)[reply]
Okay, so how about a concrete example of one of these functions raised to the zeroth power not evaluating to unity? Earl of Arundel (talk) 14:23, 20 November 2016 (UTC)[reply]
(e^(-1/x^2))^x for real x. --JBL (talk) 15:24, 20 November 2016 (UTC)[reply]
I'm not sure what you mean by that. The first exponent can't evaluate to zero because that itself would imply division by zero, which of course nullifies any meaningfulness of the second exponent. I'm looking for some function g(x)^0 that does not map to unity. Something that could be readily demonstrated on Wolfram would be helpful too. Earl of Arundel (talk) 16:26, 20 November 2016 (UTC)[reply]
The function e^(-1/x^2), extended to have the value 0 at x = 0, is smooth (infinitely differentially everywhere) on the real line; it is a standard example of a smooth but not analytic function. Any computer algebra system, including w-a, should be able to handle it easily. --JBL (talk) 16:31, 20 November 2016 (UTC)[reply]
You still haven't addressed the division-by-zero issue. At any rate, the interpretation of 0^0 is, again, dependent on some convention. I understand that. I was specifically referring to any given g(x) that does not itself evaluate to zero. Or am I missing something? Earl of Arundel (talk) 17:24, 20 November 2016 (UTC)[reply]
How do you feel about 5x/x as x tends to zero? What is wrong with simply saying 0/0 is 0 and therefor 5x/x is 5 except at 0 where it is 0? This is what I mean by confirmation bias which is something one really has to avoid in mathematics. Dmcq (talk) 16:47, 20 November 2016 (UTC)[reply]
This has nothing to do with limits. Any non-zero x is going to yield a non-zero quotient. And we cannot "simply say" that 0/0 is 0 because division by zero is undefined (unless some ad hoc convention is being used, as with riemann spheres). Earl of Arundel (talk) 17:24, 20 November 2016 (UTC)[reply]
There's nothing ad-hoc about the Riemann sphere. --Trovatore (talk) 23:19, 20 November 2016 (UTC)[reply]
Exactly why is what you said about exponentiation different from the case for division? Dmcq (talk) 17:57, 20 November 2016 (UTC)[reply]
How is it not? You're comparing apples with oranges. If I'm mistaken, then please express yourself more clearly, because at this point your comments are beginning to sound a bit like nonsense, frankly. Earl of Arundel (talk) 18:14, 20 November 2016 (UTC)[reply]
If it is so easy then gave a difference. Dmcq (talk) 00:20, 21 November 2016 (UTC)[reply]
If I were to define x/0 as anything, I would define it as ±∞, for non-zero values of x, and 0 if x = 0. This is based on the limits. For any nonzero x value, you approach either +∞, when approaching from one side, or −∞, if approaching from the other side. But, with a 0 value for x, you always have 0, no matter which direction you approach the limit from. Note that this can not be extended to defining x/y, as y approaches zero. There are other methods for that, for example, if x = y, this case is equal to 1. StuRat (talk) 18:54, 20 November 2016 (UTC)[reply]
And if one were to define 0/x as anything it would be 0. This is just like if we were to define x^0 as anything it should be 1 and if we were to define 0^x as anything it should be 0. Dmcq (talk) 00:12, 21 November 2016 (UTC)[reply]
(Dmcq, do you mean to say that 0–1=0  ? Bo Jacoby (talk) 01:02, 22 November 2016 (UTC))[reply]
No I did not say it had any value. I am perfectly happy with 0^0 being defined as 1 in most circumstances particularly where the exponent has to be an integer. I am pointing out that it is a matter of convenience that it is defined and 0/0 is not. However there are circumstances where it is not defined and that is for good reasons too. The article explains the situation quite well and why one is normally a good value for it. Dmcq (talk) 11:40, 22 November 2016 (UTC)[reply]
I asked about 0–1, not 00. Bo Jacoby (talk) 22:23, 22 November 2016 (UTC).[reply]
No I did not say it had any value. Dmcq (talk) 23:33, 22 November 2016 (UTC)[reply]
You did say: "if we were to define 0^x as anything it should be 0". Bo Jacoby (talk) 04:07, 23 November 2016 (UTC).[reply]
I was going to 0 from positive x for which 0^x is defined, I did not assign any value for negative x. I don't have a great need to assign a value to every expression and the 'if' was to indicate I wasn't actually trying to do that for 0^0 either. Dmcq (talk) 09:32, 23 November 2016 (UTC)[reply]
One-sided limits like this are not really that good an approach. If we look at negative x, since 0x is always 0, 0x is always undefined. So this is really not a good reason to define 00 as 0, since the function is not going to behave any more nicely regardless of what value you pick. There is more of a good reason to say that 00 = 1 because that is more useful in the natural contexts 00 comes up in. Double sharp (talk) 09:41, 23 November 2016 (UTC)[reply]
I am as I have said already twice above quite happy to say 0^0=1 in the contexts the article says are good for it and to leave it undefined when exponentiation would most naturally be defined by exp(y*ln x) as that causes the least problem if a limit might creep in somewhere. Dmcq (talk) 09:53, 23 November 2016 (UTC)[reply]
Why don't you leave (–1)2 undefined too? It is not defined by exp(y*ln x). Bo Jacoby (talk) 05:40, 24 November 2016 (UTC).[reply]
I view it as defined only when the 2 is an integer not a real, so I do not view (-1)^2.0 as defined. It is also defined in the complex domain but of course there are problems when doing powers with complex numbers. And if you want to carp about that I also consider , the limit of 1^n as n goes to infinity, as being 1 if the 1 is an integer and undefined if it is a real even though any finite power can be done by repeated multiplication. Dmcq (talk) 11:12, 24 November 2016 (UTC)[reply]
So you adhere to the Trovatore Conjecture: 0≠0 ? Bo Jacoby (talk) 09:06, 25 November 2016 (UTC).[reply]
The reals are different from integers which are different from the rationals which are different from the complex numbers etc. I view a jug containing the average equivalent of 10 comminuted oranges as quite a different thing from a bag of 10 oranges. Dmcq (talk) 10:33, 25 November 2016 (UTC)[reply]
Do you also consider an empty jug containing zero comminuted oranges as quite a different thing than an empty jug of 0 oranges? Do you know of any programming language that evaluates the expression "0=0.0" to "false"? Bo Jacoby (talk) 14:36, 25 November 2016 (UTC).[reply]
If you just thought for a few seconds about what you were saying I'm sure you could answer your own questions. If a person says that the jug contains no comminuted orange I consider it different from if they say it contains no whole oranges which is different again from saying the jug is empty. Equality checks in computer languages are operations that assume you are doing them for a good reason and they have rules to convert operands to make sense as best they can. In Python for instance the equality test 0==0.0 will yield True, but try 'print ((0 is 0)' and 'print (0 is 0.0)' for instance and you'll get a different answer. Coercing to the same format and getting True when testing for arithmetic equality is different from saying they are the same. Dmcq (talk) 15:30, 25 November 2016 (UTC)[reply]
Well actually the is in Python is like in Java but the trick above works because of an optimization, a better example would be PHP's ===. Dmcq (talk)
I cannot predict your answers because I think you are wrong. My answer is 'yes' to each of the following calculations, but what is your answer, and why?
"is 1+4=2+3 ?" yes or no.
"is 3.1=3.10 ?" yes or no.
"is 0=0.0 ?" yes or no.
"is 00=00.0 ?" yes or no.
Bo Jacoby (talk) 16:25, 25 November 2016 (UTC).[reply]
I view integers and reals as being quite different. When counting oranges one gets an exact integer count. When measuring out comminuted orange one gets an approximate real. Integers and reals are idealized abstractions of that where reals are a limit with the wriggle room removed. I put in the .0 to show the number was a real. So I would say that 1+4=2+3 are equal integers and 3.1=3.10 are equal reals. However the third is only equal as a rule with conversion and the fourth I would consider as being different because 0^0 is 1 and 0^0.0 is not defined. In 1=1.0 I see something like the oranges all being exactly the same size and the comminuting of an orange not losing anything because we are dealing with an idealization of comparing the amount of orange juice in two glasses. Dmcq (talk) 23:45, 25 November 2016 (UTC)[reply]
Here is what wikipedians have written about this: "The real numbers include all the rational numbers, such as the integer −5 and the fraction 4/3, and all the irrational numbers, such as √2 (1.41421356…, the square root of 2, an irrational algebraic number)." Also, "0.999…... ...represents the number one." These are the concepts as I know them and the strong typing rules used in computer languages is not that relevant. 1.0, 1.000… ,0.999… and 1 are the same number, they all represent unity. -Modocc (talk) 05:17, 26 November 2016 (UTC)[reply]
And the next paragraph starts with "These descriptions of the real numbers are not sufficiently rigorous by the modern standards of pure mathematics.". Dmcq (talk) 10:52, 26 November 2016 (UTC)[reply]
. Yes or no? Bo Jacoby (talk) 07:50, 26 November 2016 (UTC).[reply]
It depends on what you mean. Strictly as set inclusion it is false. What they are talking about is an isomorphism with a subset of the next set under some set of operations. Dmcq (talk) 10:52, 26 November 2016 (UTC)[reply]
Number#Complex_numbers says that , but Dmcq disagrees. If the exponent is real number one, then according to Dmcq (–1)1=elog(–1) is undefined because log(–1) is not defined as a real number. What if the exponent is the finite decimal fraction 1.0000 ? The rational number 1/1? The algebraic number √1 ? (In mainstream mathematics (–1)1=–1 and 00=1). Bo Jacoby (talk) 13:19, 26 November 2016 (UTC).[reply]
Okay I've stuck citation needed on that. The whole section has no citations and the article it refers to and is supposed to be summarizing does not say that. I see that as simply a way of expressing an idea about the way the numbers systems behave rather than as a mathematical statement, it is truthy rather than absolutely true. A single whole orange is not the same as a unit measure of comminuted orange. Dmcq (talk) 14:05, 26 November 2016 (UTC)[reply]
There's an article Benacerraf's identification problem showing one of the problems of applying set theory in that way. You have to do something like taking about extensions and subcategories to get something like what you want. Your requirement about 0^0 is simply what you want as an extension to the normal ring or field properties of the extensions rather than dictated by any mathematics, it really is much more convenient to treat the real and complex cases of powers separately from the integers and rationals. See the very first sentence in Exponentiation#Real exponents about having negative numbers as the base. Dmcq (talk) 15:09, 26 November 2016 (UTC)[reply]
I fail to see the relevance of Dmcq's comments. A definition simply tells what people mean. When people write (–1)1 they mean –1, and when they write 00 they mean 1. There is no point in writing something undefined. It is not advanced at all. Apostol Mathematical analysis second edition says on page 6: " contains as a subset.". Bo Jacoby (talk) 20:07, 26 November 2016 (UTC).[reply]
I see D.Lazard has changed that line in :Number#Complex_numbers. I fully agree with what is there now. What Apostol wrote is accurate enough though, with any of the usual axiom systems one can find a subset of the rationals that satisfies the axioms for the integers. However if one is talking about a model in set theory the rationals would be defined using the integers and have a quite different representation and so they would not be the same. And that statement was using set theory notation. I think you have some ideal Platonic numbers in mind independent of axioms. Nothing wrong with that for most work but things really do work out easier and better if you assume numbers have types like the difference between whole oranges and comminuted oranges and one doesn't try and force every statement about whole oranges to be true about comminuted orange made from a whole number of oranges. Dmcq (talk) 22:33, 26 November 2016 (UTC)[reply]

If is any real or complex number (or linear operator), and the exponent is a positive integer, then is the product . The empty product is one. So . If the number is nonzero, (or the operator is invertible), then , and . If is a positive real number, then is zero, and is one, and is infinite (or undefined). The discontinuity for is unavoidable. If is positive, and the exponent is any real or complex number (or linear operator), then is , where the exponential function is , and the natural logarithm is the real solution to the equation . Where these definitions overlap they provide the same value for . So . Bo Jacoby (talk) 16:54, 21 November 2016 (UTC).[reply]