Separate JEE Main performance lab

Want structured exam practice?

Explore the Mathbee Test Series with free chapter PYQs, NTA-style Booster mocks, paid shift-wise PYPs and focused performance analytics.

Explore test series
Not the exact question you were looking for?

Paste your question to our Mathbee AI Mentor below to get an instant step-by-step solution.

Sets, Relations & Functions
floor-like-halving-map-on-natural-numbers
JEE Main 2019 PYQ

Let N be the set of natural numbers and two functions f and g be defined as f, g : N → N such that f(n) = n + 1 / 2; , if n is odd ; n / 2; , if n is even ; .; and g(n) = n -(-…

Let N be the set of natural numbers and two functions f and g be defined as f, g : N $$ \to $$ N such that

f(n) = $$\left\{ {\matrix{ {{{n + 1} \over 2};} & {if\,\,n\,\,is\,\,odd} \cr {{n \over 2};} & {if\,\,n\,\,is\,\,even} \cr } \,\,} \right.$$;

      and g(n) = n $$-$$($$-$$ 1)n.

Then fog is -
neither one-one nor onto
onto but not one-one
both one-one and onto
one-one but not onto

Step-by-Step Solution

Step 1: For odd n, g(n)=n+1 and f(g(n))=(n+1)/2; for even n, g(n)=n−1 and f(g(n))=n/2.

Step 2: Thus (f∘g)(n)=⌈n/2⌉. In particular, (f∘g)(2m−1)=(f∘g)(2m)=m, so it is not one-to-one.

Step 3: Every m∈N is attained at n=2m, so the map is onto but not one-to-one: option B.

Correct Answer: 2
Mathbee AI Mentor (Free Demo)

Confused by the solution? Ask the AI to explain a specific step, tell you where you went wrong, or break down the key trap in this question.

Related Sets, Relations & Functions Questions

Counting Injective Functions · JEE Main 2021 PYQ
Let x denote the total number of one-one functions from a set A with 3 elements to a set B with 5 elements and…
Counting Functions Constrained By Composition · JEE Main 2021 PYQ
Let A = 1,2,3,....,10 and f:A → A be defined as f(k) = k + 1 , if k is odd ; k , if k is even ; . Then the num…
Parameter Range For Existence Of Critical Points · JEE Main 2021 PYQ
The range of a∈R for which the function f(x) = (4a - 3)(x + log e 5) + 2(a - 7) cot( x / 2 ) sin 2 ( x / 2 ), …
Inverse Of Exponential Logarithmic Function · JEE Main 2021 PYQ
The inverse of y = 5^(log x) is :
Domain Of Inverse Trigonometric Function With Floor Denominator · JEE Main 2021 PYQ
The real valued function f(x) = cos ec^( - 1)x / √(x - [x]), where [x] denotes the greatest integer less than …

Practise Sets, Relations & Functions PYQs chapter-wise

Choose a chapter, year, topic and question count in the Mathbee Test Series portal.

Practise chapter-wise JEE Main PYQs
Separate JEE Main performance lab

Want structured exam practice?

Explore the Mathbee Test Series with free chapter PYQs, NTA-style Booster mocks, paid shift-wise PYPs and focused performance analytics.

Explore test series