Given,
f(x)=tan−1(sinx−cosx)
Now differentiating the function we get,
f′(x)=(sinx−cosx)2+1cosx+sinx
Now equating f′(x)=0 to find critical points,
(sinx−cosx)2+1cosx+sinx=0
⇒cosx+sinx=0
⇒tanx=−1
∴x=43π
Now checking the value of function at critical point and boundary point we get,
| x | 0 | 43π | π |
| f(x) | −4π | tan−12 | 4π |
So, we get,
(f(x))max=tan−12∴(f(x))min=−4π]
So, the sum will be =tan−12−4π
=cos−131−4π