I know how to integrate the Gamma function using various gamma formula. But, I was wondering if the following type of problems also can be solved using the gamma integral:
$$\int_0^\infty \frac 1 {y^m}\exp(-y) \, dy$$
Please tell me the method that we can use to do the above type of integral where the value of $m$ can be any positive integer. Thanks in advance.
$$ \int_0^\infty \frac 1 {y^m} \exp(-y) \, dy = \int_0^\infty y^n \exp(-y) \, dy \text{ where } n = -m. $$ The latter integral has a finite value if $n>-1$ and is $+\infty$ if $n\le-1.$
Therefore the former integral has a finite value if $m<1$ and is $+\infty$ if $m\ge 1.$