Q.

Let f:RR be a function defined by f(x)=logm{2(sinx-cosx)+m-2}, for some m, such that the range of f is [0, 2]. Then the value of m is         [2023]

1 3   
2 5   
3 4  
4 2  

Ans.

(2)

Since, -2sinx-cosx2

  -22(sinx-cosx)2

Let  2(sinx-cosx)=t

        -2t2                              ...(i)

       f(x)=logm(t+m-2)

We have, 0f(x)2

 0logm(t+m-2)2

       1t+m-2m 

       -m+3t2                     ...(ii)

From (i) and (ii), we get -m+3=-2    m=5