How to find primitive of: $$\frac{3x^4-1}{(x^4+x+1)^2}$$ I am having a faint idea of a type which may or maynot be in the primitve, i.e.: $$\frac{p(x)}{x^4+x+1}$$ The problem is I am not getting an idea of a substitution to solve this problem.
I might show my work but it is totally useless, atleast in this case.
For reference:
