Solution:
Let
I=∫02π1+sinxcosxsinx−cosxdx⋯(1)
Using property P4, replace x by 2π−x, which interchanges sinx and cosx:
I=∫02π1+cosxsinxcosx−sinxdx⋯(2)
Adding (1) and (2),
2I=∫02π1+sinxcosx(sinx−cosx)+(cosx−sinx)dx=∫02π0dx=0
Therefore,
I=0
Hence, the value of the integral is 0.