JEE Main 2023MathematicsFunctionsMediumMCQ

JEE Main 2023Functions Question with Solution

JEE Main 2023 (25 Jan Shift 2)

Question

Let f: be a function defined by fx=logm 2sinx-cosx+m-2, for some m, such that the range of f is 0,2. Then the value of m is _____ .

Choose an option

Show full solutionCorrect option: A
Correct answer
A5

Step-by-step explanation

Given,

f: be a function defined by fx=logm 2sinx-cosx+m-2, for some m,

Also given the range of f is 0,2,

Now we know that,

-2sinx-cosx2

-22sinx-cosx2

(Assuming 2sinx-cosx=k)

-2k2        1

Now taking function fx=logmk+m-2

Given, 0fx2

0logmk+m-22

1k+m-2m

-m+3k2         2

Now from equations 1 & 2, we get

-m+3=-2

m=5

Practice this on the real CBT interface

Solve this JEE Main question (and the rest of the Functions chapter) on PrepSharp's TCS iON-style CBT player — with timer, bookmarks and session analytics.

Solve interactively →

About this question

This is a previous-year question from JEE Main 2023, covering the Functions chapter of Mathematics. PrepSharp catalogues every PYQ from JEE Main with a verified answer key and step-by-step solution prepared by IIT alumni — so you can search by chapter, topic or year and revise efficiently.