Why is zero factorial equal to 1?

  • Context: High School 
  • Thread starter Thread starter quasi426
  • Start date Start date
  • Tags Tags
    Factorial Zero
Click For Summary
SUMMARY

Zero factorial (0!) is defined to be equal to 1, which is a fundamental concept in combinatorics and mathematics. This definition is consistent with the formula for permutations and combinations, where choosing zero objects from a set yields exactly one way to do so. Additionally, the gamma function supports this definition, as Γ(1) = 0! = 1. The mathematical reasoning behind this includes the empty product principle and the necessity for the Taylor series expansion of functions like cosine to remain valid.

PREREQUISITES
  • Understanding of factorial notation and definitions
  • Basic knowledge of combinatorial mathematics
  • Familiarity with the gamma function and its properties
  • Concept of Taylor series and power series in calculus
NEXT STEPS
  • Explore the properties of the gamma function and its relation to factorials
  • Study combinatorial proofs involving permutations and combinations
  • Learn about Taylor series and their applications in mathematical analysis
  • Investigate the implications of defining 0! = 1 in various mathematical contexts
USEFUL FOR

Mathematicians, educators, students in mathematics or computer science, and anyone interested in combinatorial theory and mathematical definitions.

quasi426
Messages
207
Reaction score
0
Why is zero factorial equal to 1?
 
Mathematics news on Phys.org
As they say :rolleyes::
"Man has pondered
Since time immemorial
Why 1 is the value
Of zero-factorial."
___________________________
!
*Edit: Sorry about that! Here's why:
Three reasons, from my perspective:

1) 0! is defined to be equal to one.

2) (This will sound weird. Oh well, here goes) You know how
\frac{{n!}}{n} = \left( {n - 1} \right)!
---->
And so,
n = 1 \Rightarrow \frac{{1!}}{1} = 0! = 1

3) Consider combinatorials, for example. How many ways are there to choose k objects out of a total quantity of n objects?

*We would use the expression:
\frac{{n!}}{{k!\left( {n - k} \right)!}}

So, for example, there are 6 ways to choose 2 objects out of a set of 4.

But what if k = 0, --->i.e., we choose nothing?

\frac{{n!}}{{0!\left( {n - 0} \right)!}} = \frac{{n!}}{{0!n!}} = \frac{1}{{0!}} = 1\;({\text{or else we have a problem}})

You see, there only one way to choose nothing. :smile:
-----------------------------------------------------------
Personally,
I usually just go with the first statement:

-"0! is defined to be equal to one"- :biggrin:
 
Last edited:
Since (n choose 0) gives the expression of (n choose n), because there's only one way to choose everything, there must be only one way to choose nothing.

Of course consider, for n distinct objects, there are n! permutations of those objects. So it seems that for 0 objects there's 1 possible permutation.
 
Is this the correct definition of factorial, or is it inconsistant with 0! ?

x! = \prod_{n=1}^{x} n
 
Last edited:
Joffe said:
Is this the correct definition of factorial, or is it inconsistant with 0! ?

x! = \prod_{n=1}^{x} n

This is the* definition when x is a positive integer. With the usual convention that an empty product is 1, it is consistent with our usual definition for 0! when x=0. However, x=0 is usually left as a special case and explicitly defined as 0!=1.


*there's more than one equivalent way to define factorial of course
 
Thanks guys, I was going with the explanation that "0! is just equal to 1 because it is." But I thought about the definition of n! in the book of n(n-1)(n-2)...and I couldn't see exactly how it was so that 0! = 0. So I came here, thanks.
 
It's an interesting question because you sort of have to look at it in the abstract. Also, there are a few other ways to rationalize 0! = 1.

For instance, if 0! was anything other than 1, the cosine function wouldn't make any sense. Consider: f(x) = Cos(x) = x^0/0! + x^2/2! -x^4/4!... where x is a radian measure. So, if 0! was not equal to 1, then the first term in the series would not equal 1, and the Taylor series that derived it would be wrong, which would turn everything that we know about math upside down.
 
Quadratic said:
For instance, if 0! was anything other than 1, the cosine function wouldn't make any sense. Consider: f(x) = Cos(x) = x^0/0! + x^2/2! -x^4/4!... where x is a radian measure. So, if 0! was not equal to 1, then the first term in the series would not equal 1, and the Taylor series that derived it would be wrong, which would turn everything that we know about math upside down.

It would just change how we express the power series, it would not have any effect whatsoever on the mathematics. This is the same situation as adopting the convention x^0=1 for x=0, without this your power series as expressed doesn't make sense either. This is not a mathematically compelling reason for either convention/definition, rather a notational one.
 
  • #10
Define A as a finite set, define B as the set of permuatations of A, then |A|! = |B|.

This holds true even when |A|=0 as B in this case contains the empty function (and the empty function only), so you can see there is justification for definition 0! = 1.
 
  • #11
\Gamma{\left(n+1\right)}=n!

\Gamma{\left(1\right)}=0!=\int_0^{\infty}e^{-x}\,dx=1
 
  • #12
(n+\tfrac{1}{2})! = \sqrt{\pi} \prod_{k=0}^{n}\frac{2k+1}{2}

I know that the gamma function can be used to solve factorials for any number but are there any other special rules like this one?
 
  • #13
The special case 0! is defined to have value 0!==1, consistent with the combinatorial interpretation of there being exactly one way to arrange zero objects (i.e., there is a single permutation of zero elements, namely the empty set emptyset).

from the MathWorld
 
  • #14
Quadratic said:
For instance, if 0! was anything other than 1, the cosine function wouldn't make any sense. Consider: f(x) = Cos(x) = x^0/0! + x^2/2! -x^4/4!... where x is a radian measure.

Step back, take a breath and try to think what the person who first came up with such Taylor/McLaurin series might have done if 0! weren't 1, because surely he or she wouldn't have used something that was undefined or unsuitable?
 
  • #15
We should pin this thread, or one of the numerous others like unto it, to the top of the forum. Then again, why? After all: I dig the gamma function.
 
  • #16
Problem

25 < my age < 54. Start from the number of my age and toss a fair coin, plus one if it is a head and minus one otherwise, on average, you need to toss 210 times to hit the bound, i.e. 25 or 54. There are two integers satisfying the condition. Fortunately, the smaller one is my age.
 
  • #17
benorin said:
We should pin this thread, or one of the numerous others like unto it, to the top of the forum. Then again, why? After all: I dig the gamma function.

And I'm sure the gamma function is fascinated by you.
 
  • #18


could you show me some basic properties of factorials? is factorial distributive over product?
 
  • #19


Can't you test that hypothesis yourself?

What are 6!, 3!, and 2! equal to?

What would 3!*2! be?
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
25
Views
2K
  • · Replies 47 ·
2
Replies
47
Views
6K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K