Evaluate
Choose so the polynomial gets smaller. With a polynomial times a trigonometric function, always let be the polynomial: differentiating lowers its degree while integrates to without growing. Take
Choosing the other way round would raise the degree and never terminate.
Apply integration by parts once.
The remaining integral has degree instead of , so one more pass will finish it.
Apply it a second time to . Now , , so and :
Hence .
Write the full antiderivative.
(Degree 2 needed exactly two passes; a degree- polynomial needs .)
Substitute the limits. At , using and :
At , using and :
Subtract and check.
A numerical Simpson estimate gives , matching ✓. The answer is positive, as it must be: throughout .
Need to solve a different problem like this? Open the solver →