I'm reading the book generatingfunctionology by Herbert Wilf and I came across a partial fraction expansion on page 20 that I cannot understand. The derivation is as follows:
$$ \frac{1}{(1-x)(1-2x)...(1-kx)} = \sum_{j=1}^{k} \frac{\alpha_j}{1-jx} $$
The book says to fix $r, 1 \leq r \leq k$, and multiply both sides by $1-rx$. Doing so, I get:
$$ \frac{1}{(1-x)...(1-(r-1)x)(1-(r+1)x)...(1-kx)} = \frac{\alpha_1(1-rx)}{1-x} + ... + \frac{\alpha_{r-1}(1-rx)}{1-(r-1)x} + \alpha_r + \frac{\alpha_{r+1}(1-rx)}{1-(r+1)x} + ... + \frac{a_k(1-rx)}{1-kx} $$
Contrarily, the book has:
$$ \alpha_r = \frac{1}{(1-x)...(1-(r-1)x)(1-(r+1)x)...(1-kx)} $$
I don't understand how the other other fractions on the right side of my result cancel out to $0$. I tried with a small example where $k=3$ and I couldn't isolate $\alpha_2$ nicely after multiplying both sides by $1-2x$. Any pointers on this would be greatly appreciated.
After this, the book goes on by letting $x=1/r$, resulting in the following:
$$ \begin{aligned} \alpha_r &= \frac{1}{(1-1/r)(1-2/r)...(1-(r-1)/r)(1-(r+1)/r)...(1-k/r)} \\ &= (-k)^{k-r}\frac{r^{k-1}}{(r-1)!(k-r)!} && (1 \leq r \leq k) \end{aligned} $$
I also can't figure how this is derived (I suspect it's using an identity that I'm not aware of.) Any help would be much appreciated. Thanks a lot!