Im having some trouble when I apply partial fraction decomposition on $$\frac{s^{2}+1}{s^{3}-s} $$ It can be simplified to $\frac{s^{2}+1}{s(s-1)(s+1)}$. Isn't the aim after this step to rewrite the expression into $$\frac{s^{2}+1}{s(s-1)(s+1)}=\frac{A}{s}+\frac{B}{s-1}+\frac{C}{s+1} $$?
It doesnt seem to work when I find the values for $A,B,C$. Is there something I have missed that maybe should be included in the numerators or?
$$\frac{s^{2}+1}{s(s-1)(s+1)}=\frac{A}{s}+\frac{B}{s-1}+\frac{C}{s+1}$$
$$\implies s^2 +1 = A(s^2 -1) + B(s^2+s) + C(s^2 - s)$$
Letting $s = 1$ gives $B=1$, letting $s = -1$ then gives $C =1 $, and we then substitute to get $A = -1$.