Did I derive a new form of the gamma function?

I wish to extend the factorial to non-integer arguments in a unique way, given the following conditions:

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

  2. $1!=1$

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





$$\frac d{dx}f(x)=\frac d{dx}f(x-1)+\ln(x)$$




for $x\in\mathbb N$:


Euler has a nice extension of the harmonic numbers to non-integer arguments,


from the FTOC we have



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:


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


Using the second condition and $x=1$, we may have


$$\implies f'(0)=-\int_0^1\int_0^1\frac{1-t^\phi}{1-t}dt\ d\phi$$


where $\gamma$ is the Euler-mascheroni constant.

Using this we get a new form of the gamma function(?):



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.

Solutions Collecting From Web of "Did I derive a new form of the gamma function?"

Unfortunately, this is not new, though I would like to offer another derivation;
\int_{0}^{t}H_ydy &= \int_{0}^{t}\int_{0}^{1}\frac{1-x^y}{1-x}dxdy\\
&= \int_{0}^{1}\int_{0}^{t}\frac{1-x^y}{1-x}dydx\\
&= \int_{0}^{1}\frac{t}{1-x}+\frac{1-x^t}{(1-x)\ln(x)}dx\\
(1)&= \int_{0}^{1}\frac{t}{1-x}+\sum_{j=0}^{t-1}\frac{x^j}{\ln(x)}dx\\
&=\lim_{x\rightarrow 1^{-}}\left( -t\ln(1-x)+\sum_{j=0}^{t-1}\text{li}(x^{j+1})\right)\\
(2)&=\lim_{x\rightarrow 1^{-}}\sum_{j=0}^{t-1}\left(\text{li}(x^{j+1})-\ln(1-x)\right)\\
&= \gamma t + \sum_{j=0}^{t-1}\ln(j+1)\\
&= \gamma t + \ln(t!)\\
&= \gamma t +\ln\Gamma(t+1)

Now writing $H_y$ as $\sum_{n=1}^{\infty}\frac{y}{n(n+y)}$ gives
\int_{0}^{t}H_ydy &= \gamma t + \ln\Gamma(t+1)\\
&= \int_{0}^{t}\sum_{n=1}^{\infty}\frac{y}{n(n+y)}dy\\
&= \sum_{n=1}^{\infty}\frac{t}{n}-\ln \left(1+\frac{t}{n}\right)
solving for $\Gamma(t+1)$ and using $\Gamma(t+1) = t\Gamma(t)$ gives
$$\Gamma(t) = \frac{e^{-\gamma t}}{t}\prod_{n=1}^{\infty}\left(1+\frac{t}{n}\right)^{-1}e^{\frac{t}{n}}$$

First, I should say that I am just starting to study analysis – I just try stuff and see if it works, so I apologize for the lack of rigour.

I’m not too sure which steps I should fill in, so I will try to fill in any apparent holes.

assuming we only know that $\gamma$ shows up as
$$\lim_{N \rightarrow \infty}(H_N – \ln(N)) = \gamma,$$
one can show that $\int_{0}^{1}H_ydy=\gamma$ using $H_y=\sum_{k=2}^{\infty}(-1)^k\zeta(k)y^{k-1}$ for $|y|<1$ (I have a crude derivation here).

Knowing that, we get
\gamma = \int_{0}^{1}H_ydy &= \int_{0}^{1}\int_{0}^{1}\frac{1-x^y}{1-x}dxdy\\
&= \int_{0}^{1}\int_{0}^{1} \frac{1}{1-x}-\frac{x^y}{1-x}dydx\\
&= \int_{0}^{1}\frac{1}{1-x}+\frac{1}{\ln(x)}dx\\
(*)&= \lim_{x\rightarrow 1^{-}}(\text{li}(x)-\ln(1-x)),\\
where $\text{li}(x) = \int_{0}^{x}\frac{1}{\ln(t)}dt$ is the logarithmic integral.

Now we need to evaluate $\int_{0}^{t}\frac{x^k}{\ln(x)}dx$ for (1); Make the substitution $\;x=e^u$ to get
$$\int_{0}^{t}\frac{x^k}{\ln(x)}dx = \int_{-\infty}^{\ln(t)}\frac{e^{(k+1)u}}{u}du,$$
now let $v=(k+1)u$ and see that
\int_{0}^{t}\frac{x^k}{\ln(x)}dx &= \int_{-\infty}^{(k+1)\ln(t)}\frac{e^x}{x}dx\\
&= \int_{0}^{t^{k+1}}\frac{1}{\ln(x)}dx\\
after the substitution $x=\ln(u)$.

Next we need to evaluate $\lim_{x\rightarrow 1^{-}}(\text{li}(x^k)-\ln(1-x))$.
so by using $(*)$ –
\lim_{x\rightarrow 1^{-}}(\text{li}(x^k)-\ln(1-x)) &= \lim_{x\rightarrow 1^{-}}(\text{li}(x) – \ln(1-\sqrt[k]{x})\\
&= \lim_{x\rightarrow 1^{-}}\left(\text{li}(x) – \ln \left(\frac{1-x}{1+\sqrt[k]{x} + \cdots +\sqrt[k]{x^{k-1}}}\right)\right)\\
&= \gamma + \ln(k)

I just have to say that I really like how you derived it.

Integral of the Logarithmic Derivative of Gamma

The logarithmic derivative of the Gamma function is the digamma function:

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(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$,
$\boldsymbol{\Gamma}$ is log-convex:

Verifying the Necessary Properties of the Extension

Limitations of the Extension

One limitation of the extension
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