$$\frac{1}{(1-x^a)(1-x^b)}=\frac{A}{(1-x)^2}+\frac{B}{(1-x)}+\sum_{r^a=1}^{ }\frac{C_r}{(1-x/r)}+\sum_{t^b=1}^{ }\frac{D_t}{(1-x/t)}$$ $(t,r\neq1; A, B, C, D$ are real numbers)
How did the author know that he need to separate the case r,t=1?
I would appreciate it really much if someone can guide me to resources to study the general rules for partial fraction expansion like this.