How to evaluate the following indefinite integral? $\int\frac{1}{x(x^2-1)}dx.$ I need the step by step solution of this integral
please help me! 
I can't solve it! 
$$\int\frac{1}{x(x^2-1)}dx.$$

1/{x*(x^2-1)}
=x/{x^2*(x^2-1)}
If we substitute:
 x^2=z
By differentiating both sides
2x dx = dz
x dx= dz/2
Now if we solve the integral
(1/2)log{(x^2-1)/x^2}+C
