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
bijection-between-natural-numbers-and-integers
JEE Main 2003 PYQ

A function f from the set of natural numbers to integers defined by f( n ) = n - 1 / 2, when n is odd ; - n / 2, when n is even ; . is

A function $$f$$ from the set of natural numbers to integers defined by $$f\left( n \right) = \left\{ {\matrix{ {{{n - 1} \over 2},\,when\,n\,is\,odd} \cr { - {n \over 2},\,when\,n\,is\,even} \cr } } \right.$$ is
neither one -one nor onto
one-one but not onto
onto but not one-one
one-one and onto both

Step-by-Step Solution

Step 1: For odd n=2k+1, f(n)=k, producing every nonnegative integer exactly once.

Step 2: For even n=2k, f(n)=−k, producing every negative integer exactly once.

Step 3: The two cases have disjoint ranges and are injective, and together cover Z; hence f is one-one and onto.

Correct Answer: 4
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

Equivalence Under Proportional Pairs · JEE Main 2021 PYQ
Let A = 2, 3, 4, 5, ....., 30 and 'simeq' be an equivalence relation on A × A, defined by (a, b) simeq (c, d),…
Similarity Of Matrices · JEE Main 2021 PYQ
Define a relation R over a class of n × n real matrices A and B as "ARB iff there exists a non-singular matrix…
Factorization And Properties Of Natural Number Relation · JEE Main 2021 PYQ
Let N be the set of natural numbers and a relation R on N be defined by R = (x,y) ∈ N × N:x^3 - 3x^2y - xy^2 +…
Sum Of Odd Residue Class In Range · JEE Main 2021 PYQ
Let A = n ∈ N | n 2 ≤ n + 10,000, B = 3k + 1 | k∈ N an dC = 2k | k∈N, then the sum of all the elements of the …
Possible Overlap As Choice Of Set · JEE Main 2021 PYQ
Out of all the patients in a hospital 89% are found to be suffering from heart ailment and 98% are suffering f…

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