i have been working with generating functions and i am fed up with always doing the partial fraction decomposition. i have found the following trick that can (hopefully) skip pfd.
$$ \frac{z^j}{(1-z)^k} \iff \sum_{n\geq 0} \binom{n+k-1-j}{k-1} \cdot z^n $$ i would like to prove it, however i seem to lack the skills to do so. can anyone confirm whether the proposed trick is actually valid? thanks in advance
This is a binomial series expansion. We use the coefficient of operator $[z^n]$ to denote the coefficient of $z^n$ of a series. This way we can write for instance \begin{align*} [z^k](1+z)^n=\binom{n}{k} \end{align*}
Comment:
In (1) we use $[z^{p-q}]A(z)=[z^p]z^qA(z)$. We apply the binomial series expansion and select the coefficient $z^{n-j}$.
In (2) we use the binomial identity $\binom{-p}{q}=\binom{p+q-1}{q}(-1)^q$.
In (3) we use $\binom{p}{q}=\binom{p}{p-q}$.