Endpoint expansion of the incomplete gamma function (source code)

= Endpoint expansion of the incomplete gamma function

For a fixed $\lambda>1$ and real $a\to+\infty$, the upper <incomplete gamma function> has leading endpoint approximation
$$
\Gamma(a,\lambda a)\sim\frac{(\lambda a)^ae^{-\lambda a}}{a(\lambda-1)}.
$$
Set $t=av$ in its defining <integral>:
$$
\Gamma(a,\lambda a)=a^a\int_\lambda^\infty e^{-a(v-\log v)}\frac{dv}{v}.
$$
The phase $v-\log v$ is increasing for $v>1$, with derivative $(\lambda-1)/\lambda$ at the endpoint. The leading endpoint form of <Laplace's method> gives amplitude $1/\lambda$ divided by $a(\lambda-1)/\lambda$, proving the formula.<NIST Digital Library of Mathematical Functions>[section8.11(iii), equations8.11.7–8.11.8]{ref}

Higher terms come from expanding the transformed amplitude near that endpoint. This expansion is not uniform as $\lambda\downarrow1$, where the endpoint approaches the stationary point of the phase. A transition approximation is then needed rather than substituting $\lambda=1$ into a denominator that vanishes.