Question
Question: How can the factorial of \[0\] be \[1\]?...
How can the factorial of 0 be 1?
Solution
We can define a zero factorial as a mathematical expression for the number of ways in which we can arrange a set of data with no values in it, which equals one. In general, we define the factorial of a number as a shorthand way to write an expression of multiplication, in which the number is multiplied by each number less than it but greater than or equal to 1. For example, we can write 5!=120 as 5×4×3×\2×1 but we use an exclamation mark to the right of the factorial number (five) to express the factorial of the number.
Complete step by step solution :
We can show this by simply the definition of factorial which states that the factorial of 0 is 1. Although, there are many other ways to prove this statement.
Let n be a whole number
Then n! is defined as the product of integers including n itself and everything below it.
It means is that we will first start writing the whole number n then count down until you reach the whole number 1.
The general formula of factorial can be written in fully expanded form as
n! = n⋅(n−1)⋅(n−2)⋅...⋅3⋅2⋅1
or in partially expanded form as
n! = n ⋅ (n−1)!
We know with absolute certainty that1!=1, wheren = 1.
If we substitute that value of n into the second formula which is the partially expanded form of n!, we obtain the following: