Here is a small tutorial on the Gamma and its relation to factorials for those interested.
\(\displaystyle {\Gamma}(p)=(p-1)!, \;\ {\Gamma}(p+1)=p!\)
So, \(\displaystyle {\Gamma}(6)=5!=120\)
Now, \(\displaystyle {\Gamma}(-4)=\text{undefined}\), but \(\displaystyle -{\Gamma}(6)=-5!=-120\)
\(\displaystyle {\Gamma}(p+1)=p{\Gamma}(p)\)
Solve for \(\displaystyle {\Gamma}(p)\) and get:
Note that \(\displaystyle {\Gamma}(p)=\frac{1}{p}{\Gamma}(p+1)\)..........[1]
This defines \(\displaystyle {\Gamma}(p) \;\ \text{for} \;\ p<0\)
Example:
\(\displaystyle {\Gamma}(-\frac{1}{2})=\frac{1}{\frac{-1}{2}}{\Gamma}(\frac{1}{2})\)
\(\displaystyle {\Gamma}(\frac{-3}{2})=\frac{1}{\frac{-3}{2}}\cdot \frac{1}{\frac{-1}{2}}{\Gamma}(\frac{1}{2})\) and so on.
Since \(\displaystyle {\Gamma}(1)=1,\) we have:
\(\displaystyle {\Gamma}(p)=\frac{{\Gamma}(p+1)}{p}\rightarrow {\infty} \;\ \text{as} \;\ p\to\ 0\)
From looking at this and the successive use of [1], we can see that \(\displaystyle {\Gamma}(p)\) becomes infinite not only at 0 but also at all negative integers.
For positive p, \(\displaystyle {\Gamma}(p)\) is continuous passing through the points \(\displaystyle p=n, \;\ {\Gamma}(p)=(n-1)!\)
For negative p, \(\displaystyle {\Gamma}(p)\) is discontinuous at the negative integers. In the intervals in between the integers it alternates between positive and
negative. negative from 0 to -1, positive from -1 to -2, and so on.
Interesting identities:
\(\displaystyle {\Gamma}(p){\Gamma}(p-1)=\frac{\pi}{sin({\pi}p)}\)
And its relation to the Beta function:
\(\displaystyle B(p,q)=\frac{{\Gamma}(p){\Gamma}(q)}{{\Gamma}(p+q)}\)
This can be very handy in numerous application, as with solving tough integrals such as \(\displaystyle \int_{0}^{\infty}\frac{y}{(1+y^{3})^{2}}dy\)
Actually, if we want to mess around in the complex realm, we can get a solution for a negative factorial via gamma.
For instance, \(\displaystyle {\Gamma}(-5)=.052359890304i\) and \(\displaystyle {\Gamma}(-1)\) is very close to \(\displaystyle {\pi}i\) and we can see has \(\displaystyle p\to -\infty\), \(\displaystyle {\Gamma}(p)\to 0\). But that is another matter.
I know, I know, this is more than you needed to know. But I posted it for mine and others interests as well.