I am trying to evaluate the following integral:
$$ \int_{0}^{\infty} \frac{1}{c+x} \frac{\beta^{\alpha}}{\Gamma(\alpha)} x^{\alpha-1} e^{-\beta x} dx $$
I have tried simple transformation and by-parts and nothing worked. Then I found this simple solution on internet at http://www.physicsforums.com/showthread.php?t=655393 :
$$ \int_{0}^{\infty} \frac{1}{c+x} \frac{\beta^{\alpha}}{\Gamma(\alpha)} x^{\alpha-1} e^{-\beta x} dx = \beta^{\alpha} c^{\alpha-1} e^{\beta c}\Gamma(1-\alpha, \beta c) $$
It would be great if someone could verify if this is indeed the answer. I don't know Maple or any other software that can evaluate integrals and hence there is no way to verify the correctness. Any reference (paper,book) would be great too.
I am a Bayesian Statistician and I need this for evaluating a posterior quantity.
Use $\displaystyle\frac1{c+x}=\int_0^\infty\mathrm e^{-(c+x)t}\mathrm dt$ and interchange the order of the integrals. This yields that the integral you wish to compute is $$ I=\int_0^\infty\mathrm e^{-ct}\int_{0}^{\infty}\frac{\beta^{\alpha}}{\Gamma(\alpha)} x^{\alpha-1}\mathrm e^{-(\beta+t) x} \mathrm dx\mathrm dt=\int_0^\infty\mathrm e^{-ct}\frac{\beta^{\alpha}}{(\beta+t)^{\alpha}}\mathrm dt. $$ The change of variable $s=c(\beta+t)$ yields $$ I=\mathrm e^{c\beta}\beta^{\alpha}c^{1-\alpha}\int_{c\beta}^\infty s^{-\alpha}\mathrm e^{-s}\mathrm ds=\mathrm e^{c\beta}\beta^{\alpha}c^{1-\alpha}\Gamma(1-\alpha, \beta c). $$