How do I find an antiderivative to this expression? I´ve tried with the Integrate […,x] but nothing comes out. Im supposed to answere with the coefficient in front of the x. Can´t seem to get it right.
(24 - 10*sin x + sin^2 x)^2/(6 - 5*sin x + sin^2 x)
I am really sorry. I did not notice the whole square thing in the numerator. I actually overlooked that. I have checked the notebook file you have attached and whatever you have done is correct. So I see you have got the answer.
Mathematica result contains discontinuities in the antiderivatives which is not desirable, as typically happen when using the common u=tan(x/2) substitution.
Rubi package produces a smooth antiderivative. Here is the difference