But I'm going to stick with my answer.Why does 0 factorial equal 1?

  • Context: High School 
  • Thread starter Thread starter Math Is Hard
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on the mathematical concept that 0 factorial (0!) equals 1, a definition crucial for maintaining consistency in mathematical operations. Participants reference the Gamma Function, specifically noting that 0! can be derived from the relationship 0! = Γ(1) = 1. The conversation highlights the importance of this definition in combinatorial mathematics, particularly in the context of binomial coefficients, where nCr = n!/((n-r)!*r!). Additionally, the discussion addresses misconceptions regarding the factorial of negative integers and the implications for Pascal's triangle.

PREREQUISITES
  • Understanding of factorial notation and its properties
  • Familiarity with the Gamma Function and its applications
  • Basic knowledge of combinatorial mathematics, specifically binomial coefficients
  • Concept of limits and poles in mathematical functions
NEXT STEPS
  • Explore the properties and applications of the Gamma Function in advanced mathematics
  • Study combinatorial identities and their derivations involving factorials
  • Investigate the implications of defining factorials for negative integers
  • Learn about the relationship between factorials and logarithmic functions in calculus
USEFUL FOR

Mathematicians, educators, students in mathematics, and anyone interested in understanding the foundational principles of factorials and their applications in combinatorics and calculus.

Math Is Hard
Staff Emeritus
Science Advisor
Gold Member
Messages
4,650
Reaction score
36
Why is it that zero factorial is equal to 1?

This came up in class tonight (just sort of as a side-note) and nobody knew.

Thanks,

M.I.H.
 
Mathematics news on Phys.org
It's just a definition, to simplify certain mathematical procedures.
 
3!=6
2!=2
1!=1
let x=0!

note that 3!/2!=3
note that 2!/1!=2
then 1!/0!=1 to keep the same pattern.

therefore, 1!/x=1. if you solve for x, you get x=1.

therefore, 0!=1.
 
THe gamma function isn't analytic at 0, and by pheonixthoth's reasoning the factorial of all negative numbers is 1, and that doesn't hold. (It would in particular create issues with Pascal's triangle etc).

Think of it this way, if you have 0 objects, there is exactly 1 way to arrange them - the empty ordering.
 
Aha! I never said anything about it! Doesn't count in my mistakes today!

And wouldn't you have to evaluate the Gamma Function at 1 in order to find 0! ?

cookiemonster
 
"by pheonixthoth's reasoning the factorial of all negative numbers is 1, and that doesn't hold. "

I don't see that. pheonixthoth's "reasoning" is that 4!/3!= 4,
3!/2!= 3, 2!/1!= 2 (and in general (n+1)!/n!= n+1 for n any positive integer) so we should have 1!/0!= 1 and therefore 0!= 1!= 1. Extending that one more time, we would have 0!/(-1)!= 0 or 1= 0(-1)! which tells us that (-1)! does not exist.
 
Yes, sorry, another mistake. never do maths before breakfast.
 
If 0! =1 we can say
nCr = n!/((n-r)!*r!)

if 0! was something else we would have to say
nCr = n!/((n-r)!*r!)
except for nCn = nC0=1.

I know what I would rather say.


Also can't you use the rule that
n! = \Gamma(n+1)

to get
0! = \Gamma(1)=1

As far as I can tell \Gamma(x) goes straight to hell
at x= 0 but \Gamma(1) =1 since
\int_0^{\infty} e^{-t} dt = 1
 
Last edited:
  • #10
yep it has a pole there with residue 1/0!, of all things. it has poles at all non-positive integers -k with residue (-1)^k/k! or something.
 
  • #11
Thank you for the insight.
Cookie, I appreciate that link.
 
  • #13
Awesome - thanks! I am sending this link to my math prof.
 
  • #14
That link just reiterates what Phoenixthoth (and others) said (and what I misunderstood) and contains some frankly dubious claims: to say that because the gamma function has poles at negative integers, factorials do not exist for negative integers is slightly misleading. The square root is defined (naively) only for positive numbers, that doesn't stop us saying i = sqrt(-1). You'd need to show there was no analytic function that agreed with the gamma function on the integers, and always had poles at the negative integers. Remember this is just a generalization - another function wouldn't satisfy all of the functional equations the gamma function does. If you can 'define' "i!" why can't you 'define' "-1!"?
 
Last edited:
  • #15
If we define n! as the product of all numbers from 1 to n, then n! is only defined for integral values of n such that n > 0. We observe that for all n > 0 we have:
(n+1)! = n! (n+1)

If we are to extend the definition of factorial to include 0!, we would like the above to apply. Substituting we have:
1! = 0! (0+1) = 0!
This allows us to (re)define factorial thus:

0! = 1
n! = (n-1)! n for n>0
 
  • #16
ooh! this was a topic in one of my math classes... i thought simply it was because of the formulas for log's... w/ 0, it would result in a divide by zero, thus they just threw an exception for log(0) to = 1..., anyone?
 
  • #17
Actually log(0) is undefined, Hessam...
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 55 ·
2
Replies
55
Views
6K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 33 ·
2
Replies
33
Views
3K
  • · Replies 20 ·
Replies
20
Views
5K
Replies
15
Views
8K