MCQMediumJEE 2023Functions

JEE Mathematics 2023 Question with Solution

Let f:RRf: \mathbb{R} \to \mathbb{R} be a function defined by f(x)=logm(2(sinxcosx)+m2)f(x) = \log_{\sqrt{m}}{\left(\sqrt{2}(\sin x - \cos x) + m - 2\right)}, for some mm, such that the range of ff is [0,2][0, 2]. Then the value of mm is:

  • A

    55

  • B

    33

  • C

    22

  • D

    44

Answer

Correct answer:A

Step-by-step solution

Standard Method

Given: f(x)=logm(2(sinxcosx)+m2)f(x) = \log_{\sqrt{m}}\left(\sqrt{2}(\sin x - \cos x) + m - 2\right) and the range of ff is [0,2][0,2].

Find: the value of mm.

Let

k=2(sinxcosx)k = \sqrt{2}(\sin x - \cos x)

Since sinxcosx[2,2]\sin x - \cos x \in [-\sqrt{2}, \sqrt{2}], we get

2k2-2 \le k \le 2

Now

f(x)=logm(k+m2)f(x) = \log_{\sqrt{m}}(k + m - 2)

Given that

0f(x)20 \le f(x) \le 2

So,

0logm(k+m2)20 \le \log_{\sqrt{m}}(k + m - 2) \le 2

Using the conversion shown in the solution,

1k+m2m1 \le k + m - 2 \le m

Hence,

m+3k2-m + 3 \le k \le 2

But already,

2k2-2 \le k \le 2

For the range of ff to be exactly [0,2][0,2], the left endpoints must match as shown:

m+3=2-m + 3 = -2

Therefore,

m=5m = 5

So the correct option is A.

The solution labels the option as B, but it also states the numerical value is 55. Since 55 is option A in the given options, the correct answer here is A.

Range Matching

Given: f(x)=logm(2(sinxcosx)+m2)f(x) = \log_{\sqrt{m}}\left(\sqrt{2}(\sin x - \cos x) + m - 2\right) and range of ff is [0,2][0,2].

Find: mm.

First use the standard range

2sinxcosx2-\sqrt{2} \le \sin x - \cos x \le \sqrt{2}

Multiplying by 2\sqrt{2} gives

22(sinxcosx)2-2 \le \sqrt{2}(\sin x - \cos x) \le 2

If we denote

k=2(sinxcosx)k = \sqrt{2}(\sin x - \cos x)

then

2k2-2 \le k \le 2

and

f(x)=logm(k+m2)f(x) = \log_{\sqrt{m}}(k+m-2)

Since the range of ff is from 00 to 22, the argument of the logarithm must vary from

(m)0=1(\sqrt{m})^0 = 1

to

(m)2=m(\sqrt{m})^2 = m

So the solution uses

1k+m2m1 \le k+m-2 \le m

which implies

3mk23-m \le k \le 2

Now compare this with the actual range of kk:

2k2-2 \le k \le 2

Therefore,

3m=23-m = -2

so

m=5m = 5

Hence the required value is 55, which corresponds to option A.

Common mistakes

  • Taking the range of sinxcosx\sin x - \cos x as [1,1][-1,1] is wrong. Its actual range is [2,2][-\sqrt{2},\sqrt{2}]. First rewrite or recall the amplitude-based range, then multiply by 2\sqrt{2} correctly.

  • Ignoring the logarithm range condition is wrong. If 0f(x)20 \le f(x) \le 2, then the argument must lie between the corresponding powers of the base. Convert the output interval into an interval for the logarithm argument before comparing ranges.

  • Choosing option B only because the solution says 'Correct Option is B' is wrong here. The working concludes m=5m=5, and in the given options 55 is option A. Always trust the derived value and then map it to the listed options.

Practice more Functions questions

Get unlimited AI-adaptive practice, mastery tracking, and an AI tutor that explains every step — free to start.

Related questions