What is the Taylor series expansion of the lower incomplete gamma function $\gamma(s,-x)$?
The standard answer from wikipedia is interms of $x^k$: $$\gamma(s,-x)=\sum_{k=0}^{\infty}\frac{(-x)^se^{x}(-x)^k}{s(s+1)\cdots(s+k)}=(-x)^se^{x}\Gamma(s)\sum_{k=0}^{\infty}\frac{(-1)^k x^k}{\Gamma(s+k+1)}\tag{1}$$
Mathematica 10.0 gives a series in terms of $x^{-k}$:
$$\gamma(s,-x)=\Gamma(s)+e^x x^s (-1)^s\left(\frac{1}{x}+\frac{s-1}{x^2}+\frac{(s-1)(s-2)}{x^3}+\cdots\right)\tag{2}$$
The series in $(2)$ suits our needs because it is in terms of $1/x$ so we can truncate it at $1/x^3$ for example.
The series in $(1)$ does not suits our need because we have to keep large enough terms, say $K$ terms, to make $\frac{x^K}{|\Gamma(s+K+1)|}<1$ as $x\to+\infty$.
The expression $(2)$ is actually from the asymptotic series for $\Gamma(s,-x)$ because $$\gamma(s,-x)=\Gamma(s)-\Gamma(s,-x)\tag{3}$$
It is not obvious to me how one can derive from $(1)$ to $(2)$. That is why I ask this question.
[ Olver, F. W. J., Lozier, D. W., Boisvert, R. F., and Clark, C. W., eds. (2010). NIST Handbook of Mathematical Functions. Cambridge University Press. ]
– Vicent Oct 27 '17 at 09:20