\(\displaystyle \frac{2x^{2}+2x-2}{x(x^{2}-1)}\equiv \frac{A}{x}+\frac{B}{x-1}+\frac{C}{x+1}\)
Begin by putting the terms on the rhs over a common denominator.
\(\displaystyle \frac{2x^{2}+2x-2}{x(x^{2}-1)} \equiv \frac{A(x-1)(x+1)+Bx(x+1)+Cx(x-1)}{x(x^{2}-1)}\)
For the rhs to be identical to the lhs we need
\(\displaystyle 2x^{2}+2x-2 \equiv A(x-1)(x+1)+Bx(x+1)+Cx(x-1),\)
(the bottom lines are already identical).
There are two ways of proceeding, either collect up terms on the rhs and equate coefficients,
\(\displaystyle 2x^{2}+2x-2 \equiv x^{2}(A+B+C)+x(B-C)+(-A) \\ 2 = A+B+C \\2 = B-C \\ -2 = -A \\ A=2, \qquad B = 1, \qquad C=-1,\)
or, quicker, substitute convenient values for x,
\(\displaystyle x=0: -2=-A , \qquad A=2,\\ x=1 : \;\;\;2=2B, \qquad \;\;\;B=1 \\ x=-1: -2=2C, \qquad C=-1.\)
.