QlarIITy

MathematicsJEE Main 2023 · 25 JanuarySingle correct

Let f:R→Rf : \mathbb{R} \to \mathbb{R} be a function defined byf(x)=log⁡m{2(sin⁡x−cos⁡x)+m−2}f(x) = \log_{\sqrt{m}}\{\sqrt{2}(\sin x - \cos x) + m - 2\}, for some mm, such that the range of ff is [0,2][0, 2]. Then the value of mm is ______.

  1. Option A: 5
  2. Option B: 3
  3. Option C: 2
  4. Option D: 4
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. The range of a logarithm of a bounded expression follows from the logarithms of the ends of its argument.

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 expression 2(sin⁡x−cos⁡x)\sqrt{2}(\sin x - \cos x) covers [−2,2][-2, 2], so the argument of the logarithm covers [m−4,m][m - 4, m]. Since log⁡mm=2\log_{\sqrt{m}} m = 2, the upper end of the range is automatically 2. The lower end 0 must come from the smallest argument.

Approach. Find the interval of the argument and match the logarithms of its ends with the given range.

  1. Step 1: The argument

    Since ∣sin⁡x−cos⁡x∣≤2|\sin x - \cos x| \leq \sqrt{2}, the term 2(sin⁡x−cos⁡x)\sqrt{2}(\sin x - \cos x) covers [−2,2][-2, 2] and the argument covers [m−4,m][m - 4, m].

  2. Step 2: The parameter

    The logarithm is 0 only when its argument is 1, so the lower end gives m−4=1m - 4 = 1 and m=5m = 5. The base 5\sqrt{5} exceeds 1, so the logarithm is increasing and the range is [0,2][0, 2].

Answer. (A) 5

Sanity check. For m=5m = 5 the argument covers [1,5][1, 5], and log⁡51=0\log_{\sqrt{5}} 1 = 0, log⁡55=2\log_{\sqrt{5}} 5 = 2.

Why the other options are wrong

  • (B) For m=3m = 3 the argument would reach 3−4=−13 - 4 = -1, where the logarithm is not defined.
  • (C) For m=2m = 2 the argument would reach 2−4=−22 - 4 = -2, where the logarithm is not defined.
  • (D) For m=4m = 4 the argument would reach 4−4=04 - 4 = 0, where the logarithm is not defined.

Key takeaway

The trap. An end of the range that holds for every value of the parameter gives no information.

How toppers think. They use the end of the range that actually depends on the parameter.

Remember. log⁡mm=2\log_{\sqrt{m}} m = 2

More on Domain, Range & Graphs