Why is 0! equal to 1 in mathematics?

  • Thread starter murshid_islam
  • Start date
  • Tags
    Mystery
In summary: Nothing more, nothing less.In summary, 0! is defined to be 1 by convention in order to maintain consistency and ease in mathematical operations, such as nCr. While it may not have a prior meaning, it is useful in various mathematical contexts and does not need to be justified by common sense. The conventional definition of the factorial also shows that 0! is not an arbitrary choice, as it is consistent with the way factorials work for other numbers. Therefore, 0! is not a great mystery and is easily explained by its conventional definition.
  • #1
murshid_islam
461
20
can anyone please help me with this. why is 0! = 1? :confused:

thanks in advance to anyone who can help.
 
Mathematics news on Phys.org
  • #2
Because that is what we define it to be. There are hundreds of posts on this topic.

We could choose not to define it at all and state that n! is the number of ways or ordering n things for integer n strictly positive, and not define 0!. But that turns out to be unwieldy when doing things like nCr, so for ease, consistency, whatever, there is no harm in defining 0!=1. End of story, no great mystery here.
 
Last edited:
  • #3
so mathematicians just decided that 0! = 1? is that what you mean?
 
  • #4
murshid_islam said:
so mathematicians just decided that 0! = 1? is that what you mean?
It didn't have any prior meaning before the mathematicians appropriated it, so yes, they were free to decide what that symbol collection 0! should mean.

The conventional definition of the factorial goes like this:
[tex]0!=1, n!=n*((n-1)!), n\geq{1}[/tex]
where n is always a natural number.
 
Last edited:
  • #5
for example, 3! is the product of the first three integers. but 0! does not have such meaning. it is just defined to be 1. am i correct?
 
  • #6
murshid_islam said:
for example, 3! is the product of the first three integers. but 0! does not have such meaning. it is just defined to be 1. am i correct?
Quite so.:smile:
Or, rather, 3! is recursively defined in such a manner that you can compute it by multiplying together the first three natural numbers.
 
  • #7
thank you very much for your help, arildno.
 
  • #8
It's not entiely arbitrary. n!/n = (n-1)! whenever division by n is defined. If we assign any value to 0! other than 1, this would not hold.
 
  • #9
But a decision to require n!/n = (n-1)! to be true where n=1 is arbitrary.
 
  • #10
Besides, set 0!=a.
Then, by induction, we have:
n!=a*1*2*...(n-1)*n, that is, n!/n=(n-1)! whatever value you assign to 0!.
 
  • #11
shmoe said:
But a decision to require n!/n = (n-1)! to be true where n=1 is arbitrary.

Sure, as is the decision to make 0! the number of ways to arrange 0 objects (1 way). The point is that it is consistent with the way it works for other numbers.
 
  • #12
At first I thought this was a totally absurd question, because in many programming languages "!=" means "not equal to". Of course 0 is not equal to 1

I've been programming all weekend so everything else goes out the door.
 
  • #13
Spiderman said:
At first I thought this was a totally absurd question, because in many programming languages "!=" means "not equal to". Of course 0 is not equal to 1

I've been programming all weekend so everything else goes out the door.
:smile: :smile: :smile:
 
  • #14
The explanation my math teacher gave me was the following:

5!=5*4*3*2*1
4!=4*3*2*1

So

5!=5*4!
4!=4*3!
3!=3*2!
2!=2*1!
1!=1*0!

1!=1...so 1*0! has to equal 1. 1*0!=1 => 0!=1/1 => 0!=1
 
  • #15
Then why isn't 0! 0*(-1)! which must be 0 if (-1)! is defined?
 
  • #16
[tex] 0! =\Gamma(1) =\int_{0}^{\infty} e^{-t} dt= 1 [/tex]

Daniel.
 
  • #17
I think any thread with the : “0”, “1”, and “=” is asking for trouble.
 
  • #18
0! doesn't have to be defined exactly, look at this relation

[tex] \frac{n!}{k!} = (n - k)! [/tex]

If n = k then you get

[tex] \frac{n!}{n!} = (n - n)! [/tex]
 
  • #19
waht said:
0! doesn't have to be defined exactly, look at this relation

[tex] \frac{n!}{k!} = (n - k)! [/tex]

This isn't true. 5!/4!=5, not (5-4)!=1.
 
  • #20
yea you are right, my bad.
 
  • #21
matt grime said:
Then why isn't 0! 0*(-1)! which must be 0 if (-1)! is defined?

I'm way over my head to answer that, but I've never seen a ! of a negative...the ! starts at 1...

a!=a(a-1)(a-2)...*1

It never goes below 1 and it never goes decimal, so it makes me assume 0! has to be 1*whatever is bigger than 1 and less than zero. or 1 itself...you can *1 it 1000 times if you feel like it.

I'm seing now a pattern...
5! has 5 factors.
4! has 4 factors.
3! has 3 factors.
2! has 2 factors.
1! has 1 factor.

-----common sense--------

0! has no factors. But then again you can *1 as many times as you please... so 1* just...becomes 1 since the multiplication can't be performed because of absence of the second term?

I also heard an explanation that sounds like

"there is exactly one way to arrange zero objects"

which makes sense to me...I don't know. does this question have a solid, undebatable answer? or "it just is"?
 
Last edited:
  • #22
Robokapp said:
0! has no factors. But then again you can *1 as many times as you please... so 1* just...becomes 1 since the multiplication can't be performed because of absence of the second term?

I also heard an explanation that sounds like

"there is exactly one way to arrange zero objects"

Of course, an expty product is 1 by definition:

[tex]\prod_{\{\}}f=1[/tex]
 
  • #23
from memory its something to do with the gamma distrubution
 
  • #24
FunkyDwarf said:
from memory its something to do with the gamma distrubution

The gamma function, not distribution.
 
  • #25
Firstly, we are free to define ! however we wish, and with the way we have done so n! naturally describes the number of ways of ordering n objects for n>0. The abstract function ! is *not* defined as the number of ways ordering objects. That might be why we found it useful in the first place, but that is not its definition.: things have a life beyond where we first find them in mathematics. If they didnt' they'd probably be forgotten.

Secondly there is no need to justifiy things by 'common sense'. Common sense is unique amongst virtues in that everyone possesses it (I forgot who said that). Mathematics is not common sense, in that sense. We are free to define whatever the heck we want, and this is the definition that makes most logical sense for us.
 

FAQ: Why is 0! equal to 1 in mathematics?

What is 0!=1?

0! (read as zero factorial) is a mathematical notation that represents the product of all positive integers from 1 to 0. In other words, it is the factorial of 0, which is equal to 1.

Why is 0!=1?

The concept of 0! follows the fundamental rule of factorial, which states that the factorial of any number is equal to the product of all positive integers less than or equal to that number. Therefore, as there are no positive integers less than 0, 0! is equal to 1.

How does 0!=1 impact mathematical calculations?

The value of 0! may seem counterintuitive, but it is essential in mathematical calculations, particularly in probability and combinatorics. It is also used in various mathematical proofs and theorems.

Is 0!=1 a universally accepted concept?

Yes, the concept of 0!=1 is widely accepted and used in mathematics. It is a fundamental part of mathematical principles and has been proven to be true through various mathematical proofs and calculations.

What are some real-life applications of 0!=1?

There are numerous real-life applications of 0!=1, including in the fields of physics, engineering, and computer science. It is used in calculating probabilities, combinations, and permutations, as well as in determining the number of ways to arrange objects or events.

Similar threads

Replies
66
Views
5K
Replies
17
Views
681
Replies
2
Views
1K
Replies
5
Views
867
Replies
55
Views
4K
Back
Top