QlarIITy

MathematicsJEE Main 2021 · 1 SeptemberSingle correct

The range of the functionf(x)=log⁡5(3+cos⁡(3π4+x)+cos⁡(π4+x)+cos⁡(π4−x)−cos⁡(3π4−x))f(x) = \log_{\sqrt{5}}\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 :

  1. Option A: [15,5]\left[\frac{1}{\sqrt{5}}, \sqrt{5}\right]
  2. Option B: [0, 2]
  3. Option C: (0,5)(0, \sqrt{5})
  4. Option D: [−2, 2]
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. Cosines of a constant plus and minus a variable combine in pairs into single products.

Concept refresher. For real aa and bb, the expression asin⁡θ+bcos⁡θa\sin\theta + b\cos\theta takes every value allowed by

∣asin⁡θ+bcos⁡θ∣≤a2+b2|a\sin\theta + b\cos\theta| \leq \sqrt{a^2 + b^2}

Picture the situation. The second and third terms are cos⁡(π4+x)+cos⁡(π4−x)\cos\left(\dfrac{\pi}{4} + x\right) + \cos\left(\dfrac{\pi}{4} - x\right), and the first and fourth are cos⁡(3π4+x)−cos⁡(3π4−x)\cos\left(\dfrac{3\pi}{4} + x\right) - \cos\left(\dfrac{3\pi}{4} - x\right). Each pair collapses to one product. The base 5\sqrt{5} exceeds 1, so the logarithm is increasing.

Approach. Simplify the argument to a constant plus a single bounded term, then take logarithms of its ends.

  1. Step 1: The pairs

    The sum is 2cos⁡π4cos⁡x=2cos⁡x2\cos\dfrac{\pi}{4}\cos x = \sqrt{2}\cos x, and the difference is −2sin⁡3π4sin⁡x=−2sin⁡x-2\sin\dfrac{3\pi}{4}\sin x = -\sqrt{2}\sin x.

  2. Step 2: The argument

    So the argument is 3+2(cos⁡x−sin⁡x)3 + \sqrt{2}(\cos x - \sin x). Since ∣cos⁡x−sin⁡x∣≤2|\cos x - \sin x| \leq \sqrt{2}, it covers [3−2,3+2]=[1,5][3 - 2, 3 + 2] = [1, 5].

  3. Step 3: The range

    The logarithm is increasing, with log⁡51=0\log_{\sqrt{5}} 1 = 0 and log⁡55=2\log_{\sqrt{5}} 5 = 2, so the range is [0,2][0, 2].

Answer. (B) [0,2][0, 2]

Sanity check. At x=0x = 0 the four cosine terms are −12-\dfrac{1}{\sqrt{2}}, 12\dfrac{1}{\sqrt{2}}, 12\dfrac{1}{\sqrt{2}} and 12\dfrac{1}{\sqrt{2}}, so the argument is 3+23 + \sqrt{2}, as the simplified form gives.

Why the other options are wrong

  • (A) These are not logarithms: 15\dfrac{1}{\sqrt{5}} and 5\sqrt{5} would be ends of an argument, not values of log⁡5\log_{\sqrt{5}}.
  • (C) The ends are reached, so the range is closed, and its upper end is log⁡55=2\log_{\sqrt{5}} 5 = 2, not 5\sqrt{5}.
  • (D) The smallest argument is 1, whose logarithm is 0; a value of −2-2 would need the argument 15\dfrac{1}{5}.

Key takeaway

The trap. A minus sign before the last cosine turns that pair into a product of sines.

How toppers think. They pair the terms by their constant angle before expanding anything.

Remember. 3+2(cos⁡x−sin⁡x)3 + \sqrt{2}(\cos x - \sin x)

More on Domain, Range & Graphs