The factorial of zero is defined to be one. This convention keeps many mathematical formulas consistent and aligns with combinatorial interpretations.
Background
Factorial notation, written as n!, originated in the 17th century as a compact way to express products of consecutive integers. While most people first encounter factorials when learning about permutations or the Gamma function, the special case of 0! often surprises students. The concept is not arbitrary; it is rooted in the need for a coherent mathematical framework.
Definition of Factorial
For any non‑negative integer n, the factorial is defined recursively:
- Base case:
0! = 1. - Recursive step: For n > 0,
n! = n × (n-1)!.
These two statements together determine the factorial for every non‑negative integer. The base case is the key to understanding why zero factorial equals one.
How Zero Fits In
In the recursive definition, the factorial of a positive integer depends on the factorial of a smaller integer. For example, 3! = 3 × 2!, and 2! = 2 × 1!. To evaluate 1!, we need 0!. Thus, the recursion must terminate somewhere; the natural stopping point is the smallest integer, zero. Setting 0! = 1 provides a concrete value that allows all higher factorials to be computed.
Combinatorial Reason
Factorials count the number of ways to arrange a set of distinct objects. This interpretation explains why 0! is one:
- Empty arrangement: There is exactly one way to arrange nothing – do nothing. This single arrangement is considered the empty permutation.
- Identity of the empty product: In algebra, the product of zero numbers is defined as one. The empty set of factors has a product of one, mirroring the combinatorial idea.
Consequently, the factorial of zero matches the combinatorial count of permutations of an empty set. This consistency is vital in fields such as probability, where the factorial appears in binomial coefficients: C(n, k) = n! / (k! (n-k)!). When k = n, the denominator contains (n-n)! = 0!, and the coefficient must equal one. If 0! were anything other than one, the binomial theorem would fail for the term corresponding to choosing all objects.
Algebraic Consistency
Beyond combinatorics, the factorial function extends to the Gamma function, defined for all complex numbers except negative integers. The Gamma function satisfies Γ(z + 1) = z Γ(z) and has the property Γ(1) = 1. Since n! = Γ(n + 1) for natural numbers, setting 0! = 1 aligns the factorial with the Gamma function at the point where Γ(1) = 1. This alignment preserves the functional equation across the entire domain, ensuring that factorials behave smoothly when extended to non‑integer values.
Algebraic proofs also show that if 0! ≠ 1, many standard identities would break:
- Stirling’s approximation: For large n,
n! ~ sqrt(2πn)(n/e)^n. If0!were not one, the approximation would not correctly approach the factorial of one. - Multiplicative properties: For any integers a and b,
(a + b)! = (a + b)(a + b - 1)...(a + 1) a!. The base case ensures that the product stops at one when the upper index decreases to zero.
Common Misconceptions
Students sometimes think factorials only apply to positive integers, so they assume 0! is undefined. However, the recursive definition explicitly includes zero, making it a natural part of the sequence. Another misconception is that factorials represent a multiplication of numbers starting at one; the empty product rule shows that multiplying zero numbers yields one, not zero.
Some people mistakenly believe that because 0 × 1 = 0, the factorial of zero should be zero. This confusion arises from conflating factorial with the product of numbers up to n without applying the empty product concept. The factorial of zero is not the product of zero and one; it is the product of an empty set of factors.
Frequently Asked Questions
Why does the empty product equal one?
In algebra, the identity element for multiplication is one. When no factors are present, the product must still satisfy the identity property, so the result is one. This convention keeps formulas like the binomial coefficient valid when the lower index is zero.
Can factorials be defined for negative integers?
Factorials are not defined for negative integers because the recursive definition would require dividing by zero or multiplying by undefined values. The Gamma function extends factorials to non‑negative real numbers and complex numbers, but it has poles at negative integers, making the factorial undefined there.
How does the Gamma function relate to factorials?
The Gamma function satisfies Γ(n + 1) = n! for natural numbers. It is defined for all complex numbers except the negative integers, maintaining the functional equation Γ(z + 1) = z Γ(z). This relationship ensures consistency between factorials and a broader class of functions.
What happens if we set 0! = 0?
Setting 0! = 0 would break many combinatorial identities. For instance, the binomial coefficient C(n, n) would incorrectly equal zero instead of one, violating the principle that there is exactly one way to choose all items from a set.
Is there a real‑world application of 0!?
Yes. In probability theory, the binomial distribution uses factorials to compute the probability of a given number of successes. The term for zero successes includes 0!, and the correct probability relies on this value being one.