Solution:
Let
I=∫0π(sin22x−cos22x)dx
Using cos2θ−sin2θ=cos2θ,
sin22x−cos22x=−(cos22x−sin22x)=−cosx
So,
I=−∫0πcosxdx
We know that
∫cosxdx=sinx=F(x)
By the second fundamental theorem of integral calculus,
I=−[F(π)−F(0)]=−[sinπ−sin0]=−(0−0)
Therefore,
∫0π(sin22x−cos22x)dx=0