Given the integral$\int_{0}^{+\infty} \frac{\lbrace \cos(x)-1 \rbrace x^2}{x^p + (x+1)^6}$, I need to find the values of $p \in \mathbb{R}$ such that it converges.
I started by trying to bound it, so then I could apply the comparison principle. But I am stuck in this step:
$\left|\frac{\lbrace \cos(x)-1 \rbrace x^2}{x^p + (x+1)^6}\right| \leq \frac{2(x+1)^2}{\left|x^p + (x+1)^6\right|}$
Am I on the right track? If so, how could I carry on with that?