Why the factorial of 0 is 1

Simplification of factorial finding

Using this new information it is easy to find the factorial of larger numbers. Here are a few things to remember.

  • A set of objects that are placed in a certain order or arrangement will have more gaps than the number of objects by one.One object has two gaps that could allow an additional object. Two objects will have three gaps that can be filled by a third object. The same goes for large numbers. Twenty objects will have twenty one different places where a new object can be added.
  • Keeping that in mind, it appears if we already know the factorial of N objects (say N!), the factorial of N+1 objects is simply the product of N+1 and the factorial of N.

    (N+1)! = (N+1)•N!

That formula seems to work correctly with finding the factorial of three when the factorial of two is known. Since,

2! = 2

it should follow that

3! = 3(2!) = 3(2) = 6

which is true as we’ve discovered just now.

We can calculate the factorials of 4 to 10 similarly.

4! = 4(3!) = 4(6) = 24

5! = 5(4!) = 5(24) = 120

6! = 6(5!) = 6(120) = 720

7! = 7(6!) = 7(720) = 5040

8! = 8(7!) = 8(5040) = 40320

9! = 9(8!) = 9(40320) = 362880

10! = 10(9!) = 10(362880) = 3628800

Needless to say, factorials get too large too soon.

Factorial of four

Let’s see if the simplified method for finding factorials works for four, which by the looks of it seems only 20% as hard as the factorial of five.

ArrangementCount ArrangementCount
1st2nd3rd4th1st2nd3rd4th
ABCD1 BACD13
ABDC2BADC14
ADBC3BDAC15
DABC4DBAC16
ACBD5BCAD17
ACDB6BCDA18
ADCB7BDCA19
DACB8DBCA20
CABD9CBAD21
CADB10CBDA22
CDAB11CDBA23
DCAB12DCBA24

Those were the twenty four unique ways one could arrange four objects.

Factorial of five

To arrange five objects one would have to place four objects in any one of those orders and the fifth in any of the five available places. Doing that for every single order would yield a total of 120 ways in which five objects could be arranged. Let’s use a simpler table here.

Base Arrangements
1st2nd3rd4th5th
ABCD ABCDEABCEDABECDAEBCDEABCD
ABDCABDCEABDECABEDCAEBDCEABDC
ADBCADBCEADBECADEBCAEDBCEADBC
DABCDABCEDABECDAEBCDEABCEDABC
ACBDACBDEACBEDACEBDAECBDEACBD
ACDBACDBEACDEBACEDBAECDBEACDB
ADCBADCBEADCEBADECBAEDCBEADCB
DACBDACBEDACEBDAECBDEACBEDACB
CABDCABDECABEDCAEBDCEABDECABD
CADBCADBECADEBCAEDBCEADBECADB
CDABCDABECDAEBCDEABCEDABECDAB
DCABDCABEDCAEBDCEABDECABEDCAB
BACDBACDEBACEDBAECDBEACDEBACD
BADCBADCEBADECBAEDCBEADCEBADC
BDACBDACEBDAECBDEACBEDACEBDAC
DBACDBACEDBAECDBEACDEBACEDBAC
BCADBCADEBCAEDBCEADBECADEBCAD
BCDABCDAEBCDEABCEDABECDAEBCDA
BDCABDCAEBDCEABDECABEDCAEBDCA
DBCADBCAEDBCEADBECADEBCAEDBCA
CBADCBADECBAEDCBEADCEBADECBAD
CBDACBDAECBDEACBEDACEBDAECBDA
CDBACDBAECDBEACDEBACEDBAECDBA
DCBADCBAEDCBEADCEBADECBAEDCBA

This table clearly shows 120 entries to the number of arrangements, which should be obvious if you know your tables of 5 or that of 24.