<s>[INST] Integral Of $\frac{x^4+2x+4}{x^4-1}$ Any ideas how to solve it? 
$$\int\frac{x^4+2x+4}{x^4-1}dx$$
Thanks!
 [/INST] Hint
$$
\frac{x^4+2x+4}{x^4-1} = 1 + \frac{2x+5}{x^4-1}
 = 1 + \frac{2x+5}{(x+1)(x-1)(x^2+1)}
$$
and use partial fractions.
</s>