$$\int_{2}^{\infty} \frac{1}{x-x^{3}}dx$$
I think the way to solve this, is using partial fraction. For some reason I can't get to the answer...
$$\frac{A}{x}+\frac{B}{1-x}+\frac{C}{1+x}=\frac{1}{x-x^{3}}$$
$$A(1-x)(1+x)+Bx(1+x)+Cx(1-x)=1$$
$$x=1: 2B=1=>B=0.5$$
$$x=-1:-2C=1=>C=-0.5$$
$$x=0: A=1$$
Then rewriting the integral:
$$\int \frac{1}{x}+\frac{0.5}{1-x}-\frac{0.5}{1+x} $$
$$\ln x+0.5\ln(1-x)-0.5\ln(1+x)|_{2}^{\infty}$$
Inserting 0.5 into the brackets and using log rules I get:
$$\ln x+\ln(\sqrt\frac{1-x}{1+x})$$
$$x \to \infty $$ inside the square root the result is -1 as 'X' approaches infinity, and I can't sqrt of a negative number.
Perhaps I was wrong somewhere along the lines, maybe my way of integration is wrong...
Answer: 0.5*ln(3/4)
Hint: The antiderivative of $\frac{1}{1-x}$ is not $\ln(1-x)$. Actually, the antiderivative of $\frac1x$ is $\ln|x|+C$, in the sense that $\int\frac1x=\ln x+C$ for $x>0$ and $\int\frac1x=\ln (-x)+C$ for $x<0$.
Can you use this to obtain $$\int_2^\infty \frac{1}{x}+\frac{0.5}{1-x}-\frac{0.5}{1+x}\,dx=\ln\frac{x}{\sqrt{x^2-1}}\lvert_2^\infty\ \ \text{?} $$