JEE Main 2021 · 25 July · morning · Single correct · +4 / −1

Let g : N → N be defined as
g(3n + 1) = 3n + 2,
g(3n + 2) = 3n + 3,
g(3n + 3) = 3n + 1, for all n ≥ 0.
Then which of the following statements is true?

  1. (a) There exists an onto function f : N → N such that fog = f
  2. (b) There exists a one-one function f : N → N such that fog = f
  3. (c) gogog = g
  4. (d) There exists a function : f : N → N such that gof = f
Answer and solution

Answer (a) There exists an onto function f : N → N such that fog = f

Solution

Maths sir · 3 steps

See g as a rotation inside each block of three, and every option becomes quick to check.

  1. What g does. Split ℕ into blocks {3n+1, 3n+2, 3n+3}. Inside each block, g sends 3n+1 → 3n+2 → 3n+3 → 3n+1, so it is a 3-cycle with no fixed point.
  2. What fog means. f(g(x)) = f(x) for every x means f takes the same value at x, at g(x) and at g(g(x)). So f must be constant on each block, and the simplest choice gives block n the value n+1.

    f(3n+1) = f(3n+2) = f(3n+3) = n+1

    OptionCheckVerdict
    (a) onto f with f ° g = fThe f above is constant on each block, and block n gives the value n+1, so every natural number is hitTrue
    (b) one-one f with f ° g = ff(1) = f(g(1)) = f(2), yet 1 ≠ 2False
    (c) g ° g ° g = gThree turns of a 3-cycle return each number to itself, so g ° g ° g is the identity, and g(1) = 2 ≠ 1False
    (d) some f with g ° f = fg(f(x)) = f(x) needs f(x) to be a fixed point of g, and g has noneFalse
  3. So. Only (a) holds: f(x) = ⌈ x/3 ⌉ is onto and satisfies f ° g = f.

The idea to keep. Spot the cycle in a piecewise map first. Then f ° g = f means f is constant on each cycle, and g ° f = f means f only takes values that g fixes.

Answer from the NTA final answer key. Solution by PrepWiser.

Study Relations & Functions (Basic)

Asked about 140 times in JEE Main since 2020. This question is from 2021.