Sigma Percentile
JEE Main 2019 (10 January)
LEVELJEE Main

Animated Solution for Mathematics - Functions: Let N be the set of natural numbers and two functions f and g be defined as such that and . The fog is :

Select Answer:

Visualized Solution

Understanding the Functions

  • Given functions
  • Objective: Analyze the nature of

Analyzing for Odd

  • Case 1: is odd
  • Since is odd,
  • Note: If is odd, is even.

Analyzing for Even

  • Case 2: is even
  • Since is even,
  • Note: If is even, is odd.

Finding for Odd

  • For odd :
  • (which is even)
  • Using :

Finding for Even

  • For even :
  • (which is odd)
  • Using :

Consolidating

  • Consolidated result:
  • Observation:

Testing for One-One Nature

  • Check for One-One (Injectivity):
  • Let (odd):
  • Let (even):
  • Since , the function is not one-one (it is many-one).

Visualizing Many-One Property

  • Further examples:
  • Multiple inputs map to the same output.

Testing for Onto Nature

  • Check for Onto (Surjectivity):
  • Codomain is the set of natural numbers
  • For any , can we find an such that ?
  • If we take (which is even):
  • Every natural number has a pre-image .

Final Conclusion

  • Range of
  • Range = Codomain
  • Therefore, the function is onto.
  • The function is onto but not one-one.
  • Correct Option: (4)

The Sigma Insight: Classification of Functions

Solution Diagram

Analyzing the Setup

Welcome, fellow traveler in the realm of mathematics! Today, we are going to dissect a beautiful problem involving composite functions. We are dealing with two functions, and , both mapping from the set of natural numbers to itself.
Our mission is to uncover the nature of the composite function . A function is simply a rule—a process that takes an input and transforms it into an output. When we compose them, we are essentially chaining these machines together.

Decoding the Inner Machine

First, let's look at the inner function, . This function is a bit of a trickster because the term indicates that the behavior depends entirely on the parity of .
If is odd, then . Substituting this into our function, we get:
Since adding to an odd number results in an even number, maps odd inputs to even outputs.
If is even, then . Substituting this, we get:
Since subtracting from an even number results in an odd number, maps even inputs to odd outputs. This is a perfect parity-swapping machine.

The Composite Machine

Now, we feed these results into the outer function . Recall that is defined as:
For an odd input , we know , which is even. We then feed this even number into :
For an even input , we know , which is odd. We then feed this odd number into :

The "Aha!" Moment

Look at what we have just derived. For odd , the result is , and for even , the result is .
This is exactly the definition of our original function . We have discovered that . The inner function was just a shuffle, but the composite function behaves exactly like itself.

Testing the Nature of the Function

Now that we know , testing for injectivity (one-one) and surjectivity (onto) becomes much easier. To check if it is one-one, we ask: does every unique input map to a unique output?
Let's test and :
Since two different inputs map to the same output, the function is not one-one. It is many-one.
To check if it is onto, we ask: can every natural number in the codomain be reached? Let's pick any . We need to find an such that .
If we choose , which is always an even number, then:
Since we can always find a pre-image for any , the function is onto.

Conclusion

We have journeyed through the logic of parity, simplified a composite function, and tested its fundamental properties. We found that the function is onto but not one-one. This corresponds to option (4).

Similar Questions

JEE Main 2022 (26 June Shift 2)
LEVELJEE Main

Let be defined as and be defined as . Then the function is :

(A)
one-one but not onto function
(B)
onto but not one-one function
(C)
both one-one and onto function
(D)
neither one-one nor onto function
JEE Main 2003
LEVELJEE Main

A function from the set of natural numbers to integers defined by is

(A)
neither one-one nor onto
(B)
one-one but not onto
(C)
onto but not one-one
(D)
one-one and onto
JEE Main 2022 (28 June Shift 1)
LEVELJEE Main

Let a function be defined by then, is

(A)
one-one but not onto
(B)
onto but not one-one
(C)
neither one-one nor onto
(D)
one-one and onto
JEE Advanced 2005
LEVELJEE Main

If the functions and are defined on such that ; then is

(A)
one-one & onto
(B)
neither one-one nor onto
(C)
one-one but not onto
(D)
onto but not one-one
JEE Main 2024 (05 Apr Shift 2)
LEVELJEE Main

Let be defined as : and . Then the function is

(A)
neither one-one nor onto.
(B)
one-one but not onto.
(C)
onto but not one-one.
(D)
both one-one and onto.
JEE Main 2022 (27 July Shift 1)
LEVELJEE Main

Let be functions defined by , where is the maximum of the powers of those primes such that divides , and , for all . Then, the function is

(A)
one-one but not onto
(B)
onto but not one-one
(C)
both one-one and onto
(D)
neither one-one nor onto
JEE Main 2025 (January)
LEVELJEE Main

The function , defined by is:

(A)
Neither one-one nor onto
(B)
Onto but not one-one
(C)
Both one-one and onto
(D)
One-one but not onto
JEE Main 2021 (February)
LEVELJEE Main

Let such that and be any arbitrary function. Which of the following statements is NOT true?

(A)
f is one-one
(B)
If fog is one-one, then g is one-one
(C)
If g is onto, then fog is one-one
(D)
If f is onto, then f(n) = n
JEE Main 2024 (08 Apr Shift 2)
LEVELJEE Main

Let where and . Then the function is

(A)
neither one-one nor onto.
(B)
onto.
(C)
both one-one and onto.
(D)
one-one.
JEE Main 2021 (25 July Shift 1)
LEVELJEE Main

Let be defined as , , , for all . Then which of the following statements is true ?

(A)
There exists an onto function such that
(B)
There exists a one-one function such that
(C)
(D)
There exists a function such that