$\displaystyle\int\dfrac{x^2- 4}{x^4 + 24x^2 +16} dx$
Attempt:
I have tried splitting and solving it.
I have also tried completing the square but these methods aren't helping here.
Dividing numerator and denominator by $x^2$ didn't help too.
How do I go about solving it?
Use partial fraction decomposition:$$\frac{x-4}{x^2+24x+16}=\frac{1+\sqrt2}{2\left(x+12+8\sqrt2\right)}+\frac{1-\sqrt2}{2\left(x+12-8\sqrt2\right)}$$and therefore$$\frac{x^2-4}{x^4+24x^2+16}=\frac{1+\sqrt2}{2\left(x^2+12+8\sqrt2\right)}+\frac{1-\sqrt2}{2\left(x^2+12-8\sqrt2\right)}.$$