The area where x varies from 0 to π has a positive area. The area where x varies from
π to 2 π has a negative area.
Comments
The area on one side of the independent axis is treated as positive area, the area on
the other side is treated as negative area. The result is the sum of all
subareas.