The Gamma Function
Discussion
You may have noticed the line in the table of Laplace transforms that reads $$ t^a, a>-1 \qquad\qquad\qquad \frac{\Gamma(a+1)}{s^{a+1}} $$ and wondered what is $\Gamma(a+1)$? The Gamma function is defined as follows $$ \Gamma(a+1)=\int_0^{\infty}t^ae^{-t}\,dt $$ The improper integral converges for $a>-1$ (though the Gamma function can be defined for $a<-1$ using other techniques as we will see below). The Gamma function is an analogue of factorial for non-integers. For example, the line immediately above the Gamma function in the Table of Laplace transforms reads $$ t^n, \text{$n$ a positive integer}\qquad \frac{n!}{s^{n+1}} $$ So ${\mathcal L}\{t^a\}$ should be $\displaystyle\frac{a!}{s^{a+1}}$, but this doesn't make sense if $a$ is not a positive integer. $\Gamma(a+1)$ takes the place of $a!$. In this lab we will consider the Gamma function and other possible analogues of the factorial function. First we will show that the Gamma function is an extension of the usual definition of factorial. The crucial feature of the factorial function is that $$ n!=n\times (n-1)! $$ and the Gamma function satisfies a similar relation. Theorem $\Gamma(a+1)=a\Gamma(a)$ Proof $$ \begin{align} \Gamma(a+1)&=\int_0^{\infty}t^ae^{-t}\,dt \\ &=\left.-t^ae^{-t}\right|_0^{\infty}-\int_0^{\infty}-at^{a-1}e^{-t}\,dt \qquad\text{(integration by parts)} \\ &=a\int_0^{\infty}t^{a-1}e^{-t}\,dt \\ &=a\Gamma(a) \end{align} $$ So $\Gamma(a+1)$ satisfies the same relation as $a!$. In order to show that $\Gamma(a+1)=a!$ when $a$ is a positive integer it now suffices to show $\Gamma(1)=1$. A simple calculation shows that $$ \Gamma(1)=\Gamma(0+1)=\int_0^{\infty}e^{-t}\,dt=1 $$ So $\Gamma(2)=\Gamma(1+1)=1\Gamma(1)=1$ as well. And then $$ \begin{align} \Gamma(3)=2\Gamma(2)&=2\times1=2! \\ \Gamma(4)=3\Gamma(3)&=3\times2!=3! \\ \Gamma(5)=4\Gamma(4)&=4\times3!=4! \\ &\vdots \end{align} $$ So the Gamma function is an extension of the usual definition of factorial. In addition to integer values, we can compute the Gamma function explicitly for half-integer values as well. The key is that $\Gamma(1/2)=\sqrt{\pi}$. Then $\Gamma(3/2)=1/2\Gamma(1/2)=\sqrt{\pi}/2$ and so on. The evaluation of the integral for $\Gamma(1/2)$ is done in problem 1 below. We can only write a closed form for the Gamma function at integers and half-integers. In other cases, like $\Gamma(1/3)$, we just have to write it in the integral form. We can approximate the integral numerically if we want to approximate something like $\Gamma(1/3)\approx2.67894$. The key facts for the Gamma function as we've seen are that $\Gamma(a+1)=a\Gamma(a)$ and $\Gamma(1)=1$. We can use this relationship to extend the function to negative values as well. So while $\int_0^{\infty}t^ae^{-t}\,dt$ is undefined for $a\le-1$, we can define $\Gamma(-5/3)$ by using the rules.$$ \begin{align} -\frac53\Gamma(-5/3)&=\Gamma(-2/3) \\ -\frac23\Gamma(-2/3)&=\Gamma(1/3) \end{align} $$ | $$ \begin{align} \qquad&\Rightarrow\qquad \\ \quad \\ \qquad&\Rightarrow\qquad \end{align} $$ | $$ \begin{align} \Gamma(-5/3)&=-\frac35\Gamma(-2/3) \\ \Gamma(-2/3)&=-\frac32\Gamma(1/3) \end{align} $$ |
Image Generated by WolframAlpha
- Justify steps (a) through (f) in the computation below showing $\Gamma(1/2)=\sqrt{\pi}$. $$ \begin{align} \Gamma(1/2)^2 &= \left(\int_0^{\infty}t^{-1/2}e^{-t}\,dt\right)^2 \\ &= \left(2\int_0^{\infty}e^{-x^2}\,dx\right)^2 \tag{a} \\ &= \left(\int_{-\infty}^{\infty}e^{-x^2}\,dx\right)^2 \tag{b} \\ &= \left(\int_{-\infty}^{\infty}e^{-x^2}\,dx\right)\left(\int_{-\infty}^{\infty}e^{-y^2}\,dy\right) \tag{c} \\ &= \int_{-\infty}^{\infty}\int_{-\infty}^{\infty}e^{-x^2}e^{-y^2}\,dxdy \tag{d} \\ &= \int_{-\infty}^{\infty}\int_{-\infty}^{\infty}e^{-(x^2+y^2)}\,dxdy \\ &= \int_{0}^{2\pi}\int_{0}^{\infty}e^{-r^2}\,rdrd\theta \tag{e} \\ &= \frac12\int_{0}^{2\pi}\int_{0}^{\infty}e^{-u}\,dud\theta \tag{f} \\ &= \frac12\int_{0}^{2\pi}\left.-e^{-u}\right|_0^{\infty}\,d\theta \\ &= \frac12\int_{0}^{2\pi}\,d\theta \\ &= \pi \end{align} $$
- Evaluate
- $\Gamma(6)$
- $\Gamma(7/2)$
- $\Gamma(-5/2)$
- We know $\Gamma(1)=1$. Why can't we use that to compute $\Gamma(0)$ using our basic rule that $\Gamma(n+1)=n\Gamma(n)$?
- Why does $\displaystyle\lim_{t\downarrow 0}\Gamma(t)=\infty$?
- Why must $\Gamma(t)$ have an asymptote for any negative integer $n$?
- Show the following. You may assume $\Gamma(a)>0$ for $a>0$.
- $\Gamma(a)<0$ for $-1 < a < 0$.
- $\Gamma(a)>0$ for $-2 < a < -1$.
- Show $g(x)=\Gamma(x)\Gamma(1-x)$ is a periodic function. In fact, $g(x)=\pi\csc(\pi x)$ but you don't need to show this (but after taking a course in complex variables you might want to try it). In the remaining problems, suppose $f(a)$ is a function defined for $1\le a < 2$ and $F(a)$ is constructed as in the paragraph above with $F(a)=f(a)$ for $1\le a < 2$ and $F(a+1)=aF(a)$.
- Show that if $f(a)=a$ for $1\le a<2$, then $F(a)$ is discontinuous.
- Show that if $f(a)=1-a$ for $1\le a<2$, then $F(a)$ is discontinuous.
- Show that if $f(a)=a^2-3a+3$ for $1\le a<2$, then $F(a)$ is continuous.
- What is a necessary and sufficient condition on $f(a)$ for $F(a)$ to be continuous?
- Show that if $f(a)=a^2-3a+3$ for $1\le a<2$, then $F(a)$ is not differentiable at $a=2$.
- Show that if $f(a)=a^2/2-3a/2+2$ for $1\le a<2$, then $F(a)$ is differentiable at every $a$.
- What is a necessary and sufficient condition on $f(a)$ for $F(a)$ to be differentiable?
If you have any problems with this page, please contact bennett@math.ksu.edu.
©2010, 2014 Andrew G. Bennett