Gamma Function
From biophysics wiki
The Gamma function can be thought of as an extension of the definition of the factorial \begin{align} n!=n(n-1)(n-2) \dots 2 \cdot 1 \end{align} What is the factorial of $1/2$ or the complex number $-1/2+i$? We set the stage by calculating Eulers Integral of the second kind. \begin{align} I_n:=\int_0^{\infty} t^n e^{-t} dt \end{align} Integration by parts gives us \begin{align} I_n=\underbrace{ \left[ -t^n e^{-t} \right]_0^{\infty}}_{=0} + n \int_0^{\infty} t^{n-1} e^{-t} dt=n \cdot I_{n-1} \end{align} another integration will give $I_n=n(n-1)I_{n-2}$ and so on. The last integral gives \begin{align} I_0= n \int_0^{\infty} e^{-t} dt=1 \end{align} so we have for $n \in \mathbf{N}_0$ \begin{align} \int_0^{\infty} t^n e^{-t} dt=n! \end{align} But we can also allow other values for $n$, thus we define the Gamma function $\Gamma$ for positive arguments $x \in \mathbf{R}_{\geq 0}$