Question:medium

The range of the function,
\(f(x)=\log_{\sqrt5}\left(3+\cos\left(\frac{3\pi}{4}+x\right)+\cos\left(\frac{\pi}{4}+x\right)+\cos\left(\frac{\pi}{4}-x\right)-\cos\left(\frac{3\pi}{4}-x\right)\right)\)
is :

Show Hint

Expand the four cosines; they combine to \(2\cos\left(x+\frac{\pi}{4}\right)\), so the log argument lies in \([1,5]\).
Updated On: Nov 4, 2026
  • \(\left(0,\sqrt5\right)\)
  • \([-2,2]\)
  • \(\left[\frac{1}{\sqrt5},\sqrt5\right]\)
  • \([0,2]\)
Show Solution

The Correct Option is D

Solution and Explanation

Group the terms with sum-to-product formulas: \(\cos\left(\frac{3\pi}{4}+x\right)-\cos\left(\frac{3\pi}{4}-x\right)=-2\sin\frac{3\pi}{4}\sin x=-\sqrt2\sin x\) and \(\cos\left(\frac{\pi}{4}+x\right)+\cos\left(\frac{\pi}{4}-x\right)=2\cos\frac{\pi}{4}\cos x=\sqrt2\cos x\).
So the bracket is \(3+\sqrt2(\cos x-\sin x)=3+2\cos\left(x+\frac{\pi}{4}\right)\), with minimum \(1\) and maximum \(5\).
\(\log_{\sqrt5}\) takes the continuous values from \(\log_{\sqrt5}1=0\) to \(\log_{\sqrt5}5=\frac{\ln5}{\frac12\ln5}=2\).
Range \(=[0,2]\).
Answer: (4) [0, 2]
Was this answer helpful?
0