[Math] Quickly Calculate Integral of Gamma and Exponentional Distribution

integrationprobability distributions

I know that the Gamma distribution is given by:
$$\frac{1}{\beta^{\alpha}\Gamma(\alpha)}\int x^{\alpha-1}e^{-x/\beta}\,dx.$$
But when I calculate it, I'll always have to use integration by parts to solve it. Which takes so much time. I've seen a quick solution for this example like:
$$\frac{1}{16}\int_{12}^{+\infty} x^2e^{-x/2}\,dx=25e^{-6}\approx 0.062.$$

But I didn't understand how they went from the left side to the right side. Is there a "quick and dirty" solution to solve such integral without having to use integration by parts? Same for Exponentional distribution.

Best Answer

For any positive integer values of $\alpha$ and any real $\beta>0$, by using the third formula of this LIST, we obtain $$I=\frac{1}{\beta^{\alpha}\Gamma(\alpha)}\int_A^{+\infty} x^{\alpha-1}e^{-x/\beta}\,dx =e^{-A/\beta}\sum_{k=0}^{\alpha-1}\frac{(A/\beta)^k}{k!}.$$ By letting $\alpha=3$, $\beta=2$, and $A=12$, we get $I=25e^{-6}$.

Related Question