Topper Copies

Show that the Gamma function $\int_0^\infty x^{n-1}e^{-x}dx$ is convergent if, and only, if $n > 0$.

Aryan Yadav, AIR 31, 2025

let $I = \int_0^\infty x^{n-1} e^{-x} dx = I_1 + I_2$

Where $I_1 = \int_0^1 x^{n-1} e^{-x} dx$

$I_2 = \int_1^\infty x^{n-1} e^{-x} dx$

take $f(x) = x^{n-1} e^{-x}$

$g(x) = x^{n-1}$

$h(x) = \frac{1}{x^2}$

By comparison test, $\int_0^1 f(x)\,dx$ & $\int_0^1 g(x)\,dx$ converge or diverge together

by p-test $\int_0^1 g(x)\,dx$ converges iff $n-1 > -1 \Rightarrow n > 0$

$\Rightarrow I_1$ converges iff $n > 0$ $\quad$ ①

From (1) $\Rightarrow (n+1) > 0 \Rightarrow \lim_{x\to\infty} x^{n+1} e^{-x} = 0$

$\Rightarrow \int_1^\infty f(x)\,dx$ converges if $\int_1^\infty h(x)\,dx$ converges

By p-test, $\int_1^\infty h(x)\,dx$ is convergent

$\Rightarrow I_2$ converges if $n > 0$ $\quad$ -(2)

if $n < 0$ taking [?]

Clearly $\int_1^\infty g(x)\,dx$ converges iff $n \le 0$

$\Rightarrow I_2$ converges if $n \le 0$ $\quad$ -(3)

From (1), (2), (3)

$I = I_1 + I_2$

1) if $n > 0 \Rightarrow I_1$ converges & $I_2$ converges

$\Rightarrow$ Sum also converges

2) if $n<0 \Rightarrow I_1$ diverges & $I_2$ converges

$\Rightarrow$ sum diverges

$\Rightarrow I$ converges iff $n>0$