Sets, Relations and Functions: Mathematics | JEE Main
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
Your answer stays private
What feels right?
No score. Commit to your first instinct. We’ll show what your mind noticed and what it missed.
Step-by-step solutionView
Correct answer
The value of m is 5, found by bounding the argument of the logarithm between m−4 and m, and matching it to the range [0,2].
Option analysis
Why each option works or fails
A · 5
None. This is the correct value. Setting the argument's maximum value m equal to (m)2=m and minimum value m−4 equal to (m)0=1 consistently yields m=5.
B · 4
The student forgets to multiply the amplitude 2 of (sinx−cosx) by the outer 2, taking the amplitude of the whole term as 2 instead of 2. Write 2(sinx−cosx)=2sin(x−π/4), so its range is [−2,2], not [−2,2].
C · 3
The student equates the lower bound of the argument m−2 instead of m−4 to (m)0=1, arriving at m−2=1⟹m=3. Remember that the minimum value of 2(sinx−cosx) is −2, making the minimum argument (m−2)−2=m−4, not m−2.
D · 2
The student misinterprets the base m as having to be strictly greater than 1 without properly solving the lower bound condition, or conflates m−4=1 with m−4=−2. Ensure the argument at the range minimum satisfies logm(argmin)=0, giving argmin=(m)0=1.
Reviewed route
Solution
StepWorking
01given
The function f(x)=logm(2(sinx−cosx)+m−2) has a range of [0,2].
02approach
Find the range of the argument g(x)=2(sinx−cosx)+m−2 using the bounds of asinx+bcosx, then apply the monotonicity of the logarithm base m (where m>1) to equate the lower and upper bounds to 0 and 2.
03execute
Since −12+(−1)2≤sinx−cosx≤12+(−1)2, we have −2≤sinx−cosx≤2. Multiplying by 2 yields −2≤2(sinx−cosx)≤2. Adding m−2 to all parts gives m−4≤2(sinx−cosx)+m−2≤m.
04execute
Assuming base m>1, the function logm(u) is strictly increasing. Thus, the range of f(x) is [logm(m−4),logm(m)]. We are given that the range is [0,2]. For the upper limit: logm(m)=logm1/2(m)=2, which holds identically for any m>1,m=1. For the lower limit: logm(m−4)=0⟹m−4=(m)0=1⟹m=5.
✓verify
Check for m=5: base is 5>1. The argument is 2(sinx−cosx)+3, which ranges from −2+3=1 to 2+3=5. Then log5(1)=0 and log5(5)=2. Range is precisely [0,2].
For any valid logarithmic base b > 0 (b ≠ 1), log_b(y) = 0 if and only if y = 1. Therefore, the minimum value of the argument must equal 1, leading to m - 4 = 1.