The values of x in which sinx-cosx is defined in [0,2π]
0,π4
5π4,7π4
π4,5π4
0,π2
from the graph sinx-cosx≥0 ∀x∈π4,5π4