Integrate: 1/(x-x^3).
Hint. Factor the denominator completely as x(1-x)(1+x), then decompose into three partial fractions.
Decomposing 1/[x(1-x)(1+x)] into A/x+B/(1-x)+C/(1+x) and substituting the roots gives A=1, B=1/2, C=-1/2, so the integral combines into a log-ratio form.
✦ log|x| - (1/2) log|1-x^2| + C
