What is 0^0 equal to?
In the introduction to Laws of Integral Exponents, I mention the debate about the value of 00. Is it zero or is it one?
Why is it a problem? Look at the following 2 patterns:
Multiply 0 as many times as you like, you get 0.
0^3 = 0
0^2 = 0
0^1 = 0
0^0 = 0
But then again, any number raised to the power 0 is 1:
3^0 = 1
2^0 = 1
1^0 = 1
0^0 = 1
That’s why there is dispute about the value of 0^0.
On the page linked to before, I wrote:
It is most commonly regarded as having value 1
An interesting conundrum. Sometimes our wonderful, (normally) consistent system of math breaks down.
Related posts:
- Equal areas of a circle gives nice art Here's some nice geometry. It's a way to divide a...
- Am I cheating if I use my calculator? In this day and age, shouldn't we reward the student...
- Stumbling blocks in math – the way it is written and explained What does integral exponent in math really mean? A student...

22 Jan 2009 at 9:22 pm Link to this comment
Ah….
x^0=1 because of the rule x^s divided by x^t = x^(s-t)
If s is larger than t, we have more x in the numerator, so with canceling all of the common x’s we are left with (s-t) in the numerator.
For example: x^5 divided by x^3 we have (x*x*x*x*x) divided by (x*x*x) so we can cancel three of the x’s in the numerator and three in the denominator (because x divided by x = 1)
leaving two x’s remaining, and therefore x^2
But if we have the same number of x’s in numerator and denominator then we can cancel all of them – or divide all of them leaving 1*1*1*1… which is clearly 1.
It is not convention that makes this true. It is what follows from the basic laws of algebra.
x^0= 1 is not a convention, it is a consequence.
22 Jan 2009 at 9:28 pm Link to this comment
Thanks, Susan
But if x = 0, we cannot divide as you are suggesting, because dividing by 0 (or any power of 0) is undefined.
23 Jan 2009 at 6:55 am Link to this comment
Exactly!
0^0 is not a conundrum it is an impossibility!
Because dividing by 0 doesn’t make sense!
When I teach dividing by 0 as impossible, I say to my students –
Suppose there are 20 students in class and I brought in 40 donuts how many would each student get? They say easy – 2 because 40/20=2
So I say on a day like today, when I bring 0 donuts to divide up, how many do the 20 students get, and logically the answer is none because 0/20=0
Ah but if I show up for class and none of my students show up, then what do I do? I can’t dive my 20 donuts up between 0 students! It’s impossible. Plus – if none of them show up, they’re in big trouble!
It’s those little math stories that help what seems mystical and tricky just seem common sense!
24 Jan 2009 at 3:49 am Link to this comment
Nice one Susan, I like the way you interpret it. I am not Math teacher myself but such math questions always intrigue me. A quick question to both you and Zac. Are there any significantly known patterns in Prime numbers. I worked with a Prof for some time in college on that for a little time, but never had time to see it through..
25 Jan 2009 at 9:11 am Link to this comment
I personally don’t think that stories and common sense are a way to decide something in math. Complex numbers don’t make sense or fit any story but they are valid nonetheless.
A different way to approach this problem is using L’Hopital’s rule: lim x->0 of x^x = y
take the natural log of both sides:
lim x->0 x ln x = ln y
lim x->0 lnx/(x^-1) = lim x->0 (1/x)/(-x^-2) = lim x->0 -x = 0 = ln y
y = 1 = lim x->0 x^x
25 Jan 2009 at 1:43 pm Link to this comment
hi Eman
the way u interpret the result is great
but i am a little confused about the step(2nd last)
lim x->0 lnx/(x^-1) = lim x->0 (1/x)/(-x^-2) = lim x->0 -x = 0 = ln y
can u kindly simply brief it again…………..
thanks a lot.
25 Jan 2009 at 3:23 pm Link to this comment
Hi Zac,
Thanks for posting this intriguing conundrum. It is interesting to consider why most mathematicians use 0^0=1 as well as whether or not the possibility of alternative choices represents a breakdown of consistency in mathematics.
The argument that 0^3=0,0^2=0,0^1=0 (etc) imply 0^0=0 does, at first, seem just as convincing as the other one, but actually it is a bit “one-sided”, since one could just as well say 0^(-3) is undefined (or “infinite” if you like to put it that way) and ditto for 0^(-2), 0^(-1), etc, so why shouldn’t the same be true for 0^(-0) (which is of course the same as 0^0)?
On the other hand, x^0=1 is true not just for positive x but also negative ones (and in fact for all nonzero complex numbers). So to extend the definition by defining 0^0=1 has the advantage of creating a continuous extension of x^0 to all real (and complex) numbers.
So x^0=1 can be usefully extended in a continuous way to all numbers but 0^x=0 cannot. This is why mathematicians generally adopt the 0^0=1 definition. But of course it remains just a definition – as is each step in the process of extension from the more primitive cases of b^p where b and p are both positive integers and where the power is defined by repeated multiplication.
In fact, it often happens that a concept or operation defined in a restricted context has more than one reasonable extension to a broader context and so we can’t use both without giving them different names. Often people are careless and use the same name for the extended operation and it is usually not a problem because everyone makes the same choice. But if different people make different choices and both fail to change the name then this does lead to an inconsistency. I guess whether or not this is a breakdown of the consistency of mathematics depends on whether by “mathematics” we mean the set of statements made by mathematicians or the fundamental reality that those statements are intended to describe. Perhaps we should cconsider the existence of alternative interpretations for 0^0 as an inconsistency of mathematicians than of mathematics.
cheers,
Alan
P.S. With regard to the wording of the “repeated multiplication” definition, wouldn’t “multiply b by itself p times” give us b^(p+1)? (or perhaps b^(2^p) if you interpret it another way?).
Personally I prefer the clumsier-sounding (but clearer) “multiply together p copies of b”.
25 Jan 2009 at 4:48 pm Link to this comment
[...] This post at squareCircleZ (a very nice enrichment and support website for students and teachers of mathematics) raises the conundrum of how to define 0^0 if all positive x give x^0=1 and 0^x=0. It is indeed a useful exercise for students to consider why most mathematicians use 0^0=1 as well as whether or not the possibility of alternative choices represents a breakdown of consistency in mathematics. [...]
25 Jan 2009 at 4:59 pm Link to this comment
Saagar: Here are some articles on the spacing of prime numbers:
http://mathforum.org/library/drmath/view/68490.html
http://mathworld.wolfram.com/PrimeNumberTheorem.html
25 Jan 2009 at 5:49 pm Link to this comment
Amir: This is what Eman was doing. I hope this is easier to read:
Let
Take log both sides:
Applying l’Hopital’s rule, which says that the limit of the derivative of numerator and denominator will be the required limit:
=
=
=
=
So
Since
and we can conclude:
giving
[Where did the math come from? I am using WPMathPub. You can do math in your comments, too! The correct syntax to use can be found here.]
26 Jan 2009 at 2:20 am Link to this comment
Eman,
Saying L’Hopital’s rule to one first leaning algebra is akin to saying,”Because I said so.” Isn’t that why so many think math doesn’t make sense.
Indeed, it does.
26 Jan 2009 at 3:25 am Link to this comment
With regard to Eman’s comment: although x^x does approach 1as x->0+, there are other expressions of the form x^y which approach different limits as (x,y)->(0,0) with x positive.
[For example x^(-1/ln(x)) has a limit of 1/e, and x^(-1/sqrt(ln(x))) has a limit of zero.]
So to make the choice of 0^0=1 convincing I think we do need to consider negative x (which means we can’t also continuously vary the exponent without introducing complex numbers).
26 Jan 2009 at 1:04 pm Link to this comment
a^0 = 1; for a !=0 only
0^0 is not defined.
References:
1. “Standard Mathematical Tables”, 28th Edition, CRC Press, Inc, 1987, page 7.
2. “Technical Mathematics with Calculus”, 4th Edition, Calter & Calter, John Wiley & Son, Inc, 2000, page 61.
3. “Algebra and Trigonometry”, 4th Edition, Margaret Lial, Scott Foresman & Company, 1986, page 18.
26 Jan 2009 at 6:59 pm Link to this comment
well i just yped 0^0 into my graphics calculator, and i got 1.
So that’s the final word.
27 Jan 2009 at 7:30 pm Link to this comment
0^0 cannot be equal to 1 since according to laws of exponents, we derive a^0 by definition that a is not equal to 0.
a^m / a^m leads to a^m-m = a^0 =a^m /a^m = 1. But this is not possible if a is zero . Hence 0^0 cannot be equal to 1.
But if we want to apply that law to be equal to 1, then what we get is indefinite form of 0/0. Hence I think we cannot say the value of 0^0 =1 . WE cannot even say that 0^0 =0 since if x^x = x then we would get x=1 and x=0 but we could see that it would lead to x^x-1 = 1 which would make impossible if we substitute x=0. Hence as far as I know 0^0 is undefined.
2 Feb 2009 at 6:09 pm Link to this comment
I am not a deep thinker, so I suspect there will be big holes in my ideas here. Still, I foolishly press on…
I do believe I understand the prohibition on dividing by zero, in that dividing is the, um, inverse (or is it reverse?) operation of multiplication, and a times zero = b cannot be algebra’d into a = b divided by zero.
And I see the point about distributing doughnuts to zero students.
Still, one may think of division as: “How many times can I take a out of the number b?” Under this thought process, one might say: I can take zero out of any number an infinite number of times, so any number divided by zero equals infinity. (Infinity is not a number, though…) Likewise, I could say “I can hand out 20 doughnuts to zero students an infinite number of times, because after each round of handing out doughnuts, I still have 20 doughnuts left to hand out!”
Sheesh.
20 Feb 2009 at 9:40 am Link to this comment
The alternating sum of binomial coefficients from the n-th row of Pascal’s triangle is what you obtain by expanding (1-1)^n using the binomial theorem, i.e., 0^n. But the alternating sum of the entries of every row except the top row is 0, since 0^k=0 for all k greater than 1. But the top row of Pascal’s triangle contains a single 1, so its alternating sum is 1, which supports the notion that (1-1)^0=0^0 if it were defined, should be 1.
1
1 1
1 2 1
1 3 3 1
etc. etc.
if you alternate the elements, they equal zero. Except for the top, which is 1.
4 Apr 2009 at 4:32 am Link to this comment
Thanks a lot. Plz give me knowledge about “numerical analysis”. Thanks a lot.
13 Apr 2009 at 3:24 am Link to this comment
Actually I agree with Burton MacKenZie that most mathematicians would say 0^0 is unefined, so the references to “most mathematicians” in my previous comments should (at most) have said “some” rather than “most”.
14 Apr 2009 at 2:21 pm Link to this comment
Now the colleague whose siding with Burton persuaded me to retract my “most” is starting to change his tune!
After checking out some other references – such as listed at http://mathforum.org/dr.math/faq/faq.0.to.0.power.html – he may be entering the 0^0=1 camp – or at least admitting that it was bigger than he thought. (But of course the question of how many make which choice is more one of the sociology of mathematics than of mathematics itself.)
15 Apr 2009 at 12:19 pm Link to this comment
Alan, here’s another good reference to get you thinking about 0^0:
http://mathworld.wolfram.com/Power.html
“0^0 (zero to the zeroth power) itself is undefined. The lack of a well-defined meaning for this quantity follows from the mutually contradictory facts that a^0 is always 1, so 0^0 should equal 1, but 0^0 is always 0 (for a>0), so 0^0 should equal 0. The choice of definition for 0^0 is usually defined to be indeterminate, although defining 0^0=1 allows some formulas to be expressed simply (Knuth 1992; Knuth 1997, p. 57).”
15 Apr 2009 at 12:31 pm Link to this comment
Burton
I think this part in the middle of your reply:
should be
Also, this does not follow, since it said a>0
Actually, this is a pretty strange definition:
Did Knuth actually write that?
1 Sep 2009 at 3:53 am Link to this comment
0^0 = 0/0
0^0 represents 0/0 in exponent form.
3^0 = 3/3
2^0 = 2/2
1^0 = 1/1
0^0 = 0/0
(-1)^0 = (-1)/(-1)
2*2*2*2*2 restated to make life easier 2^5
1/(2*2*2*2*2) restated to make life easier 2^(-5)
Exponent forms simply represent multiplication and division.
Depending on the usage of your denominator:
0/(0 groups) = no value
0/(0 items per group) = all values possible