Primitive of Square of Sine of a x

Theorem

 * $\displaystyle \int \sin^2 a x \ \mathrm d x = \frac x 2 - \frac {\sin 2 a x} {4 a} + C$

Also see

 * Primitive of $\cos^2 a x$