Let M and m respectively be the maximum and minimum values of the function f(x)=tan−1(sinx+cosx) in [0,2π], then the value of tan(M−m) is
Solutions · 1
Official solution
For x∈[0,2π], sinx+cosx∈[1,2] (since −2≤Asinx+Bcosx≤2 with A=B=1, restricted to this interval it attains 1 and 2).
So m=tan−1(1)=4π, M=tan−1(2).
\[\tan(M-m)=\tan\left(\tan^{-1}\sqrt{2}-\tan^{-1}1\right)=\frac{\sqrt{2}-1}{1+\sqrt{2}}=(\sqrt{2}-1)^2=3-2\sqrt{2}.\]