How to integrate the following family of functions? I really do not have too many ideas. The context of this is to find moment generating functions but the context is not too important here.
$$I_n:=\int_{0}^{\infty}n\lambda e^{-\lambda x}(1-e^{-\lambda x})^{n-1}e^{tx}\,dx$$
I wanted to try this inductively/iteratively but I got nowhere (by the way I don't have to do this iteratively). I should also stress that $\lambda>t$ so that I think $I_n$ converges for each $n$. Could someone please given me a hint or two? I know how to do $n=1$ btw.
Many thanks!
lets collect the terms first: $$f(x)=\lambda e^{-\lambda x}(1-e^{-\lambda x})^{n-1}e^{tx}=\lambda e^{-(t-\lambda)x}(1-e^{-\lambda x})^{n-1}$$ $$I_n=n\lambda\int_0^\infty (e^{-x})^{t-\lambda}(1-(e^{-x})^\lambda)^{n-1}dx\tag{1}$$ now if we make the substitution $u=e^{-x}\Rightarrow dx=-\frac{du}{u}$ and our integral becomes: $$I_n=n\lambda\int_0^1 u^{t-\lambda-1}(1-u^\lambda)^{n-1}$$ now make the substitution $v=u^\lambda\Rightarrow dv=\lambda u^{\lambda-1}du=\lambda v^{(\lambda-1)/\lambda}du\Rightarrow du=\frac{dv}{\lambda}v^{(1-\lambda)/\lambda}$ now sub this in: $$I_n=n\int_0^1 v^{(t-\lambda-1)/\lambda}\,v^{(1-\lambda)/\lambda}(1-v)^{n-1}dv$$ $$I_n=n\int_0^1 v^{(t-2\lambda)/\lambda}(1-v)^{n-1}dv\tag{2}$$
Now, the incomplete beta function is defined as: $$B(x;a,b)=\int_0^x y^{a-1}(1-y)^{b-1}dy\tag{3}$$ and the beta function is defined as: $$B(a,b)=\int_0^1x^{a-1}(1-x)^{b-1}dx=\frac{\Gamma(a)\Gamma(b)}{\Gamma(a+b)}\tag{4,5}$$ Your integral fits this form nicely, you could also use binomial expansion.