Let $x^2+1 \neq n \pi$ and $2 x^2+1 \neq n \pi \,\forall n \,\in \mathbb{N}$, then $$ \int x\sqrt{\left|\frac{2\sin(x^2+1)-\sin(2x^2+1)}{2\sin(x^2+1)+\sin(2x^2+1)}\right|} dx=? $$ This problem is inspired from a really easy problem from JEE mains standard problems. That problem is as follows:
Let $x^2+1 \neq n \pi$ ,$\,\forall n \,\in \mathbb{N}$, then $$ \int x\sqrt{\left\{\frac{2\sin(x^2+1)-\sin(2(x^2+1))}{2\sin(x^2+1)+\sin(2(x^2+1))}\right\}} dx=? $$ I first mistakenly forgot to apply the set of parentheses in the second term in both numerator and denominator. Later after solving the original problem successfully, I decided to embrace my mistake and explore this new integral. However I tried all possible substitutions I could think of, but I couldn't evaluate with ease. Please assist.