Why is 0! = 1 ?
2 Answers
Mar 26, 2017
We can do it by the definition of the factorial (assuming that
N! = 1*2*3cdotsN
Since
1 = (0!(0+1))/(0!) ,
and that
0! = (0!(0+1))/1 = (1!)/1 = 1/1 = 1 .
Thus,
Mar 26, 2017
Explanation:
The factorial of a non-negative integer is the product of all positive integers less than or equal to it.
We can write that as:
n! = prod_(k=1)^n k
If we apply this formula to
0! = prod_(k=1)^0 k = ?
What we have here is an empty product - no terms multiplied together.
In the same way that an empty sum is
So we can write:
0! = prod_(k=1)^0 k = 1