TITLE: Did I derive a new form of the gamma function?
QUESTION [29 upvotes]: I wish to extend the factorial to non-integer arguments in a unique way, given the following conditions:

$n!=n(n-1)!$

$1!=1$



To anyone interested in viewing the final form before reading the whole post:

 $$x!=\exp\left[\int_0^x\left(-\gamma+\int_0^1\frac{1-t^\phi}{1-t}dt\right)d\phi\right]$$



$$f(x):=\ln(x!)$$

$$f(x)=\ln(x!)=\ln(x)+\ln((x-1)!)=\ln(x)+f(x-1)$$
$$f(x)=f(x-1)+\ln(x)$$
$$\frac d{dx}f(x)=\frac d{dx}f(x-1)+\ln(x)$$
$$f'(x)=f'(x-1)+\frac1x\tag1$$
$$f'(x)=f'(x-2)+\frac1{x-1}+\frac1x$$
$$=f'(0)+1+\frac12+\frac13+\dots+\frac1x$$
for $x\in\mathbb N$:

$$f'(x)=f'(0)+\sum_{n=1}^x\frac1n\tag2$$

Euler has a nice extension of the harmonic numbers to non-integer arguments,
$$f'(x)=f'(0)+\int_0^1\frac{1-t^x}{1-t}dt\tag{2.1}$$
from the FTOC we have
$$\ln(x!)=\int_0^x\left(f'(0)+\int_0^1\frac{1-t^\phi}{1-t}dt\right)d\phi$$

$$x!=\exp\left[\int_0^x\left(f'(0)+\int_0^1\frac{1-t^\phi}{1-t}dt\right)d\phi\right]\tag3$$

And with $f'(0)=-\gamma$, the Euler mascheroni constant, we should get the gamma function.  Or we may just let it sit as an unknown parameter.

My questions are if this captures all possible extensions of the factorial with the given conditions, since, if it did, it'd be a pretty good general extension to the factorial?
Given a few more assumptions, it is easy enough to set bounds to what $f'(0)$ might be as well.
Notably, this representation fails when considering $\Re(x)\le-1$, but coupled with the first condition, it is extendable to all $x$, except of course the negative integers.

robjohn♦ notes an extension to the harmonic numbers that converges for $x\in\mathbb C$, except the negative integers:
$$\int_0^1\frac{1-t^\phi}{1-t}dt=\sum_{n=1}^\infty\left(\frac1n-\frac1{n+\phi}\right)$$

Any suggestions on things I could've improved and flaws in this would be nice.

Edit:
Using the second condition and $x=1$, we may have
$$1=\exp\left[\int_0^1\left(f'(0)+\int_0^1\frac{1-t^\phi}{1-t}dt\right)d\phi\right]$$
$$\implies f'(0)=-\int_0^1\int_0^1\frac{1-t^\phi}{1-t}dt\ d\phi$$
$$f'(0)=-\gamma$$
where $\gamma$ is the Euler-mascheroni constant.
Using this we get a new form of the gamma function(?):

$$\boxed{x!=\exp\left[\int_0^x\left(-\gamma+\int_0^1\frac{1-t^\phi}{1-t}dt\right)d\phi\right]}\tag4$$

$$=\exp\left[\int_0^x\left(-\gamma+\sum_{n=1}^\infty\left(\frac1n-\frac1{n+\phi}\right)\right)d\phi\right]$$

I'm not sure how to deal with trivial manipulations of this expression, as surely someone is gonna say "hey, just multiply everything by $(1+\sin(2\pi x))$ and it will still satisfy the conditions, right?"
But regardless, I think this is a pretty cool new gamma function?

Also, references to this if it's not new.
If someone could make a graph of this to look at, you would be great.

REPLY [11 votes]: Integral of the Logarithmic Derivative of Gamma
The logarithmic derivative of the Gamma function is the digamma function:
$$
\frac{\Gamma'(x)}{\Gamma(x)}=\psi(x)=-\gamma+H_{x-1}\tag{1}
$$
Therefore,
$$
\begin{align}
\log(\Gamma(x))
&=\int_1^x\left(-\gamma+H_{\phi-1}\right)\mathrm{d}\phi\\
&=\int_1^x\left(-\gamma+\int_0^1\frac{1-t^{\phi-1}}{1-t}\,\mathrm{d}t\right)\mathrm{d}\phi\\
&=\int_0^{x-1}\left(-\gamma+\int_0^1\frac{1-t^\phi}{1-t}\,\mathrm{d}t\right)\mathrm{d}\phi\tag{2}
\end{align}
$$

Verification of the Gamma Function
The Bohr-Mollerup Theorem says that the Gamma function is uniquely determined as the log-convex function so that $\Gamma(1)=1$ and $\Gamma(x+1)=x\,\Gamma(x)$.
We can verify these assuming only $H_x-H_{x-1}=\frac1x$ and $H'_x\ge0$.
$\boldsymbol{\Gamma(1)=1}$:
$$
\begin{align}
\log(\Gamma(1))
&=\int_1^1\left(-\gamma+H_{\phi-1}\right)\mathrm{d}\phi\\
&=0\tag{3}
\end{align}
$$
$\boldsymbol{\Gamma(x+1)=x\,\Gamma(x)}$: Since $\lim\limits_{n\to\infty}\left(H_n-\log(n)\right)=\gamma$ and $H_n-\frac1n\le\int_{n-1}^nH_\phi\,\mathrm{d}\phi\le H_n$,
$$
\begin{align}
\log(\Gamma(x+1))-\log(\Gamma(x))
&=\int_x^{x+1}\left(-\gamma+H_{\phi-1}\right)\mathrm{d}\phi\\
&=-\gamma+\lim_{n\to\infty}\left(\int_x^nH_{\phi-1}\,\mathrm{d}\phi-\int_{x+1}^nH_{\phi-1}\,\mathrm{d}\phi\right)\\
&=-\gamma+\lim_{n\to\infty}\left(\int_x^nH_{\phi-1}\,\mathrm{d}\phi-\int_x^{n-1}H_\phi\,\mathrm{d}\phi\right)\\
&=-\gamma+\lim_{n\to\infty}\left(-\int_x^n\frac1\phi\,\mathrm{d}\phi+\int_{n-1}^nH_\phi\,\mathrm{d}\phi\right)\\[6pt]
&=-\gamma+\log(x)+\lim_{n\to\infty}\left(-\log(n)+H_n\right)\\[8pt]
&=\log(x)\tag{4}
\end{align}
$$
$\boldsymbol{\Gamma}$ is log-convex:
$$
\begin{align}
\frac{\mathrm{d}^2}{\mathrm{d}x^2}\log(\Gamma(x))
&=H'_{x-1}\\
&\ge0\tag{5}
\end{align}
$$

Verifying the Necessary Properties of the Extension
$$
\begin{align}
H_x-H_{x-1}
&=\int_0^1\frac{1-t^x}{1-t}\,\mathrm{d}t-\int_0^1\frac{1-t^{x-1}}{1-t}\,\mathrm{d}t\\
&=\int_0^1t^{x-1}\,\mathrm{d}t\\
&=\frac1x\tag{6}
\end{align}
$$
$$
\begin{align}
H'_x
&=\int_0^1\frac{-\log(t)t^x}{1-t}\,\mathrm{d}t\\
&\ge0\tag{7}
\end{align}
$$

Limitations of the Extension
One limitation of the extension
$$
H_x=\int_0^1\frac{1-t^x}{1-t}\,\mathrm{d}t\tag{8}
$$
is that it doesn't converge for $\mathrm{Re}(x)\le-1$.
An extension of the Harmonic Numbers that works for all $x\in\mathbb{C}$ is
$$
H_x=\sum_{k=1}^\infty\left(\frac1k-\frac1{k+x}\right)\tag{9}
$$