It is not unusual to encounter a trigonometric integral; some of them require specific observations, in order to be solved. For example:

First of all, the indefinite integral must be considered:

A way (of course, not the only way) to find the antiderivative of $\sin^2 x$ is the following:

Integral $G(x)$ can now be more easily handled and solved as difference of the (almost) elementary integrals $1$ and $\cos(2x)$. As regards $\cos(2x)$,

This implies that

The definite integral $I$ is:

It can be observed that

is half the value of $I$. Then, $I$ can be even more quickly evaluated as

This fact can be proved in several ways. The squared sine $\sin^2 (x)$ is an even function, being the result of the square of the odd function $\sin (x)$: it is therefore symmetrical with respect to the $y$-axis (which has equation $x = 0)$.

Alternatively, it can be noticed that

That is: the squared cosine anticipates the squared sine by $\pi/2$ along the $x$ axis, as well as the original (not squared) sine and cosine. So, as $\cos^2 x$ is an even function (symmetrical with respect to $x = 0$), the $\sin^2 x$ function will maintain the same symmetry, but $\pi / 2$ later than the cosine: it will then be symmetrical with respect to $x = \pi / 2$ instead of $x = 0$. So, evaluating the integral of $\sin^2 x$ between $0$ and $\pi$ is the same as evaluating twice the integral of $\sin^2 x$ between $0$ and $\pi/2$.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License