I'm having some trouble doing this partial fraction decomposition: $$\frac{1}{t^3-2t+1}$$ using Ruffini rule i get: $$\frac{1}{t^3-2t+1}= \frac{1}{(t-1)(t^2+t-1)}$$ i would like to decompose the previous result into partial fraction. I did in this way: $$\frac{1}{(t-1)(t^2+t-1)}=\frac{A}{t-1}+\frac{B}{t^2+t-1} \leftrightarrow$$ $$\leftrightarrow t^2A+t(A+B)+(-A-B)=1$$
comparing the coefficients i get the following system of equations:\begin{cases} A=0 \\ A+B=0 \\ -A-B=1 \end{cases} that are not true.. what am i doing wrong?