It is a question in a test, and I couldn't manage to complete it. Given a complex fraction $\frac{1}{(z-1)^3(z+1)^3}$, we know that it can be decompose into $\frac{A_1}{(z-1)^3}+\frac{B_1}{(z-1)^2}+\frac{C_1}{(z-1)}+\frac{A_2}{(z+1)^3}+\frac{B_2}{(z+1)^2}+\frac{C_2}{(z+1)}$, and then multiplying both sides by $(z-1)^3(z+1)^3$ and then substitute some values to find those $A $, $B$ and $C$.
I have two questions.
$1.$ Must those $A $, $B$ and $C$ be constants? Or some of them can be first order polynomial?
$2.$ How to decompose it faster? It is nearly impossible to substitute values six times and solve the linear equations. One of my friend suggests that keep differentiating the equation $1= A_1(z+1)^3 + ... + C_2(z-1)^3(z+1)^2$, is this a good idea?
Sorry. The correct form of above formula is $$A_k=\frac{1}{k!}\Big\{(z-\alpha)^nf(z)\Big\}^{(k)}_{z=\alpha}$$ that $n$ is greatest power of $z-\alpha$ in function $f(z)$ and $(k)$ is derivative order calculate in $z=\alpha$. For example if $\displaystyle f(z)=\frac{1}{(z-1)^3(z+1)^3}$ then $\displaystyle A_2$ in $\displaystyle \frac{A_2}{(z-1)^2}$ will be $$A_2=\frac{1}{2!}\Big\{(z-1)^3f(z)\Big\}^{(2)}_{z=1}=\frac12\Big\{\frac{6}{(z+1)^5}\Big\}_{z=1}=\frac{3}{16}$$