2

Now I have always been rather intrigued with factorial, at first, in high school, teachers told me that factorials are only defined for whole numbers. As I studied, I found factorials for positive reals and negative fractions. But the integral with which we define factorial falls flat on the negative integers.

why is that we can find the factorial of (-1/2) and root(3) but not for -1 or -2? Does this go against the definition of a factorial? If yes, what IS the definition of a factorial because children are never taught it and it clouds their reasoning and perception of the topic.

2 Answers2

1

Children are only taught the factorial of naturals because the definition is elementary (though $0!=1$ deserves special comments).

When you want to extend it to reals, a natural way is with the integral

$$I_n=\int_0^\infty x^ne^{-x}dx$$ as it verifies the recurrence

$$I_n=\int_0^\infty x^ne^{-x}dx=-\left. x^ne^{-x}\right|_0^\infty+n\int_0^\infty x^{n-1}e^{-x}dx=nI_{n-1}$$ and $I_n=n!$.

As the integral keeps a meaning with $n$ positive real, this is taken for the extension.

Now for the negatives, it makes sense to retain the recurrence

$$(n-1)!=\frac{n!}n,$$ resulting in infinite values for the negative integers.

enter image description here

0

The recursive definition of the factorial $(n+1)! = n! \cdot (n+1)$ can be rearranged to deduce $$n! = \dfrac{(n+1)!}{n+1}$$

This is one way to work out that $0!=1$, taking $n=0$ in the above. However, if we try and do this for $(-1)!$, we get a problem: $$(-1)! = \dfrac{(-1+1)!}{-1+1} = \dfrac{0!}{0} = \dfrac{1}{0}$$

But we can't divide by $0$, so we can't define $(-1)!$.

As noted in the comments, the gamma function $\Gamma$ is the "right" way to extend the factorial to non-integers. $\Gamma$ diverges at the negative integers, since it is required to satisfy $\Gamma(n+1) = \Gamma(n) \cdot (n+1)$, so the same argument as above applies.