A am working with gamma random variable. While I am simplify the derived expression, I stuck in the following integral.
Let $n$ and $m$ be positive integers and $x, \alpha, \zeta$ $\beta$ real numbers.
I would like to simplify the following integral $I$
$$ I=\int_{x=0}^{\alpha}x^{n-1}e^{-x\beta}\gamma\Big(m,(\alpha-x)\zeta\Big)dx, $$
where $\gamma(n,x)$ is the incmplet lower gamma function define by
$$ \gamma(n,x)=\int_{t=0}^{x}t^{n-1}e^{-t}dt. $$
Thanks
We need to evaluate:
$$I=\int_0^{\alpha}x^{n-1}e^{-\beta x} \int_0^{(\alpha-x)\zeta}t^{m-1}e^{-t}dt dx$$
First, let's make the following substitution:
$$x=\alpha y$$
Then we have:
$$I=\alpha^n \int_0^1 y^{n-1}e^{-b y} \int_0^{c(1-y)}t^{m-1}e^{-t}dt dy$$
Where $b=\alpha \beta$, $c=\alpha \zeta $, which allows us to reduce the number of parameters.
Now let's try to do the same with the other variable.
$$t=c(1-y)u$$
$$I=\alpha^n c^m \int_0^1 y^{n-1} (1-y)^m e^{-b y} \int_0^1 u^{m-1}e^{-c(1-y)u}du dy$$
Maybe a series expansion of the second integral could work:
$$I=\alpha^n c^m \sum_{k=0}^\infty \frac{(-1)^k c^k}{k!} \int_0^1 y^{n-1} (1-y)^{m+k} e^{-b y} \int_0^1 u^{m+k-1}du dy$$
$$I=\alpha^n c^m \sum_{k=0}^\infty \frac{(-1)^k c^k}{k!(m+k)} \int_0^1 y^{n-1} (1-y)^{m+k} e^{-b y} dy$$
The last integral gives us:
$$\int_0^1 y^{n-1} (1-y)^{m+k} e^{-b y} dy=(n-1)! (m+k)! \, _1\tilde{F}_1(n;n+m+k+1;-b)$$
Where $\, _1\tilde{F}_1$ is a generalized regularized hypergeometric function.
In this way we obtain a (formal) series:
The question of convergence is a different animal, however I can certainly say that there are values of $b,c$ such that the series converges.
Here are a couple of examples in Mathematica (I use my third integral expression to compare with the series):
In conclusion, this series is obviously complicated, and it's better to evaluate the integral numerically. I'm not sure a closed form exists at all, though of course, we can try other ways to derive it.