I was working on a list of common integrals and differentials and I came across this question.
If $${d\over d\theta}(\sin^2\theta) = \sin(2\theta)$$
Then why is $$\int \sin(2\theta) \space d\theta = -\frac12\cos(2\theta) + c$$
Isn't integration the opposite of differentiation?
$-\dfrac12 \cos (2\theta)$ is equal to $\sin^2\theta$ up to an arbitrary constant.
Indeed, $-\dfrac12 \cos (2\theta)=-\dfrac12(1-2\sin^2\theta)=\sin^2\theta-\dfrac12$.
Thus, they differ by only $\dfrac12$.