murshid_islam
- 468
- 21
can anyone please help me with this. why is 0! = 1?
thanks in advance to anyone who can help.

thanks in advance to anyone who can help.
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.murshid_islam said:so mathematicians just decided that 0! = 1? is that what you mean?
Quite so.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?
shmoe said:But a decision to require n!/n = (n-1)! to be true where n=1 is arbitrary.
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.
waht said:0! doesn't have to be defined exactly, look at this relation
\frac{n!}{k!} = (n - k)!
matt grime said:Then why isn't 0! 0*(-1)! which must be 0 if (-1)! is defined?
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"
FunkyDwarf said:from memory its something to do with the gamma distrubution