Let \[f:\mathbb{R}\to\mathbb{R}\] be a function defined by \[f(x) = {\log _{\sqrt m }}\{ \sqrt 2 (\sin x - \cos x) + m - 2\} \], for some m, such that the range of f is [0, 2]. Then the value of m is \_\_\_\_\_\_\_\_\_
Solutions · 1
Official solution
We know that sinx−cosx∈[−2,2]
\[
logM(2(sinx−cos)+M−2)∈[logM(M−4),logMM]
\]
⇒logM(M−4)=0⇒M=5