A zero factorial is a mathematical expression for the number of ways to arrange a data set with no values in it. The answer is one.
In general, the factorialof a number is a shorthand way to write a multiplication expression wherein the number is multiplied by each number less than it but greater than zero. For example, 4! = 24 is the same as writing 4 x 3 x 2 x 1 = 24, but one uses an exclamation mark to the right of the factorial number (four) to express the same equation.
It is pretty clear from these examples how to calculate the factorial of any whole number greater than or equal to one, but why is the value of zero factorial one despite the mathematical rule that anything multiplied by zero is equal to zero?
This typically confuses people the first time that they see this equation, but we will see in the below examples why this makes sense when you look at the definition, permutations of, and formulas for the zero factorial.
The Definition of a Zero Factorial
The first reason why zero factorial is equal to one is that the definition of the factorial states that 0! = 1. A definition is a mathematically correct explanation (even if a somewhat unsatisfying one). Still, one must remember that a factorial is the product of all integers equal to or less than the original number—in other words, a factorial is the number of combinations possible with numbers less than or equal to that number.
Read MoreDemystifying Factorials in Math and StatsBy Courtney Taylor
Because zero has no numbers less than it but is still in and of itself a number, there is but one possible combination of how that data set can be arranged: It cannot. This still counts as a way of arranging it, so by definition, a zero factorial is equal to one, just as 1! is equal to one because there is only a single possible arrangement of this data set.
For a better understanding of how this makes sense mathematically, it's important to note that factorials like these are used to determine possible orders of information in a sequence, also known as permutations, which can be useful in understanding that even though there are no values in an empty or zero set, there is still one way that set is arranged.
Permutations and Factorials
A permutation is a specific, unique order of elements in a set. For example, there are six permutations of the set {1, 2, 3}, which contains three elements, since we may write these elements in the following six ways:
- 1, 2, 3
- 1, 3, 2
- 2, 3, 1
- 2, 1, 3
- 3, 2, 1
- 3, 1, 2
We could also state this fact through the equation 3! = 6, which is a factorial representation of the full set of permutations. Similarly, there are 4! = 24 permutations of a set with four elements and 5! = 120 permutations of a set with five elements. So an alternate way to think about the factorial is to let n be a natural number and say that n! is the number of permutations for a set with n elements.
With this way of thinking about the factorial, let’s look at a couple more examples. A set with two elements has two permutations: {a, b} can be arranged as a, b or b, a. This corresponds to 2! = 2. A set with one element has a single permutation, as the element 1 in the set {1} can only be ordered in one way.
This brings us to zero factorial. The set with zero elements is called the empty set. To find the value of zero factorial, we ask, “How many ways can we order a set with no elements?” Here we need to stretch our thinking a little bit. Even though there is nothing to put in an order, there is one way to do this. Thus we have 0! = 1.
Formulas and Other Validations
Another reason for the definition of 0! = 1 has to do with the formulas that we use for permutations and combinations. This does not explain why zero factorial is one, but it does show why setting 0! = 1 is a good idea.
A combination is a grouping of elements of a set without regard for order. For example, consider the set {1, 2, 3}, wherein there is one combination consisting of all three elements. No matter how we arrange these elements, we end up with the same combination.
We use the formula for combinations, n!/[r! x (n-r)!], with the combination of three elements, n, taken three at a time, r, and see that: 1 = C (3, 3) = 3!/(3! 0!). If we treat 0! as an unknown quantity and solve algebraically, we see that 3! x 0! = 3! and so 0! = 1.
There are other reasons why the definition of 0! = 1 is correct, but the reasons above are the most straightforward. The overall idea in mathematics is that when new ideas and definitions are constructed, they remain consistent with other mathematics, and this is exactly what we see in the definition of zero factorial is equal to one.
Key Takeaways
- A factorial is the product of all integers less than or equal to the original number.
- As such, zero factorial equals one because it represents the one possible arrangement of an empty set: none at all.
- Factorials are used to determine permutations, which represent unique orders of elements in a set.
FAQs
A factorial is the product of all integers less than or equal to the original number. As such, zero factorial equals one because it represents the one possible arrangement of an empty set: none at all. Factorials are used to determine permutations, which represent unique orders of elements in a set.
Why is zero factorial equal to 1? ›
Factorial of a number in mathematics is the product of all the positive numbers less than or equal to a number. But there are no positive values less than zero so the data set cannot be arranged which counts as the possible combination of how data can be arranged (it cannot). Thus, 0! = 1.
Why should 0 equal 1? ›
In short, the multiplicative identity is the number 1, because for any other number x, 1*x = x. So, the reason that any number to the zero power is one ibecause any number to the zero power is just the product of no numbers at all, which is the multiplicative identity, 1.
Why do factorials end in 0? ›
Think of all the numbers like 10, 20, 30, etc. that you multiplied in to the factorial of 1000 to arrive at the answer. Each one of the adds a 0 (two zeroes for 100, 200, etc.), since any number multiplied by 10 will end in a 0. They're also composed of a lot of numbers that are multiples of 2 or 5.
Is factorial function one to one? ›
In short, a factorial is a function that multiplies a number by every number below it till 1. For example, the factorial of 3 represents the multiplication of numbers 3, 2, 1, i.e. 3! = 3 × 2 × 1 and is equal to 6.
Why does 0 0 not equal 1? ›
The short answer is that 0 has no multiplicative inverse, and any attempt to define a real number as the multiplicative inverse of 0 would result in the contradiction 0 = 1. Some people find these points to be confusing. These notes may be useful for anyone with questions about dividing by 0.
Is 1 divided by 0 infinity or undefined? ›
We can say that zero over zero equals "undefined." And of course, last but not least, that we're a lot of times faced with, is 1 divided by zero, which is still undefined.
How do you prove the power of zero equals 1? ›
A number to the power of 0 is equal to 1 because of the division rule of exponents. a^n/a^n=1 because any value divided by itself is 1. It is also true that a^n/a^n=a^(n-n)=a^0, by the division rule of exponents.
Is it true that any number raised to zero is equal to one? ›
Now let's focus on the zeroth power. When a number is raised to the power of zero, it always equals one. This might seem counterintuitive at first because a positive power results in multiplying the base by itself multiple times. However, if we consider negative powers as well, we can see a pattern emerge.
How do you prove 2 to the power 0 is 1? ›
In mathematical terms, any number raised to the power of 0 results in 1, because any non-zero number multiplied by 1 is equal to itself.
The factorial of zero is , symbolically represented as. = 1.
Why do factorials grow so fast? ›
Factorials will always overtake exponentials because they multiply by bigger and bigger numbers at each stage. Factorials help to count the number of ways to do something.
Why are factorials called factorials? ›
The term factorial is drawn from the more common math (and English) term factor. The roots of both these words are in the word fact and its Latin root facere, to do. To know the facts, is to know what has been done. The person who does something is then called the factor.
Why is 0 factorial is 1 proof? ›
A factorial is the product of all integers less than or equal to the original number. As such, zero factorial equals one because it represents the one possible arrangement of an empty set: none at all. Factorials are used to determine permutations, which represent unique orders of elements in a set.
What is the logic of a factorial? ›
A factorial is a mathematical operation that you write like this: n! . It represents the multiplication of all numbers between 1 and n. So if you were to have 3! , for example, you'd compute 3 x 2 x 1 (which = 6). Let's see how it works with some more examples.
Why is the factorial of 1 equal to 1? ›
1! = 1 (it is 1 because there is no positive integer that is lesser than 1).
Is n factorial 1 always prime? ›
n! + 1 is prime for (sequence A002981 in the OEIS): n = 0, 1, 2, 3, 11, 27, 37, 41, 73, 77, 116, 154, 320, 340, 399, 427, 872, 1477, 6380, 26951, 110059, 150209, 288465, 308084, 422429, ... (resulting in 24 factorial primes - the prime 2 is repeated)
Why doesn t 1 0 equal 0? ›
As much as we would like to have an answer for "what's 1 divided by 0?" it's sadly impossible to have an answer. The reason, in short, is that whatever we may answer, we will then have to agree that that answer times 0 equals to 1, and that cannot be true, because anything times 0 is 0. Created by Sal Khan.
Why is factorial undefined? ›
To find the factorial for a negative integer, you would have to divide by zero. However, dividing by zero is undefined. Therefore, negative integer factorials are undefined.