Explanation
Solution
1. Analyze the Trigonometric Term
The expression 2(sinx−cosx) can be simplified using the identity asinx+bcosx∈[−a2+b2,a2+b2].
2. Determine the Range of the Argument
Let g(x)=2(sinx−cosx)+m−2.
-
Minimum value of g(x)=−2+m−2=m−4
-
Maximum value of g(x)=2+m−2=m
So, the argument of the log is in the interval [m−4,m].
3. Set up the Logarithmic Range
The problem states the range of f(x)=logm{g(x)} is [0,2].
For the minimum value:
Using the property logb(a)=c⟹a=bc:
4. Verification
Check the maximum value using m=5:
Since 5=(5)2:
This matches the upper bound of the given range [0,2].
Correct Option: (1) 5