I need to solve this integral
$$\int \frac{x-1}{x+4x^3} \, dx$$
As some users suggest me in my previous question here I used the partial fractions.
and I got:
$$\int \frac{x-1}{x+4x^3} \, dx = - \int \frac{1}{x} \, dx + \int \frac{4x+1}{1+4x^2} \, dx$$
The problem is the second integral, I have tried to separate it in this way:
$$\int \frac{4x+1}{1+4x^2} \, dx = \int \frac{4x}{1+4x^2} \, dx + \int \frac{1}{1+4x^2} \, dx$$
and the final result I get is:
$$-\ln|x| + 4\arctan(2x) + \arctan(2x)$$
But the result is wrong, what am I missing?
EDIT:
I have fixed the x^2