JEE Main 2023 Mathematics question — Range of real functions
Let f:R→R 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 _____.
SOLUTION
We want to find m such that f(x)=logm{2(sinx−cosx)+m−2} has range [0,2]. Define u=2(sinx−cosx)=2sin(x−π/4). Since sin(x−π/4)∈[−1,1], the range of u is [−2,2]. Therefore the argument of the logarithm is g(x)=u+m−2∈[m−4,m].
For f(x)=logm(g(x)) to have range [0,2], its maximum value must satisfy logm(m)=logmlogm=2, which holds for any valid m. Its minimum value must satisfy logm(m−4)=0, implying m−4=1 and hence m=5.
With m=5 the argument ranges over [1,5], so f(x) ranges over [log51,log55]=[0,2]. Thus the required value is m=5, corresponding to Option 1.
Tagged Range of real functions. Machine-assigned, so read it as a strong shortlist rather than a verdict.