While studying Ramanujan's Notebooks I stumbled upon the following entry :
$\frac{1}{(x^3-x)} = \frac{1}{2(x+1)} + \frac{1}{2(x-1)} - \frac{1}{x}$
Now, I can prove this identity while working on the RHS. However, if I were to prove it by expanding the LHS, how can I do it?
Since the denominator is $x(x^2-1)=x(x-1)(x+1)$ the partial fraction decomposition will be of the form: $ \frac{1}{x^3-x} = \frac{a}{x}+\frac{b}{x-1}+\frac{c}{x+1} \;\;\iff\;\; 1 = a(x-1)(x+1)+bx(x+1)+cx(x-1) \,$ where $a,b,c$ can be determined by identifying the coefficients, or for a shortcut:
$x=0 \implies 1=-a \implies a = -1\,$
$x=1 \implies 1 = 2b \implies b = \cfrac{1}{2}$
$x=-1 \implies 1 = 2c \implies c = \cfrac{1}{2}$