QlarIITy

MathematicsJEE Main 2021 · 25 JulySingle correct

Let g:N→Ng : N \to N be defined asg(3n+1)=3n+2g(3n+2)=3n+3g(3n+3)=3n+1, for all n≥0\begin{aligned} g(3n + 1) &= 3n + 2 \\ g(3n + 2) &= 3n + 3 \\ g(3n + 3) &= 3n + 1\text{, for all } n \geq 0 \end{aligned}Then which of the following statements is true ?

  1. Option A: There exists an onto function f:N→Nf : N \to N such that f∘g=ff \circ g = f
  2. Option B: There exists a one-one function f:N→Nf : N \to N such that f∘g=ff \circ g = f
  3. Option C: g∘g∘g=gg \circ g \circ g = g
  4. Option D: There exists a function f:N→Nf : N \to N such that g∘f=fg \circ f = f
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. A function unchanged by a map applied first is constant on the cycles of that map.

Concept refresher. If gg moves the elements of each block of a partition round a cycle, then f∘g=ff \circ g = f means

f(g(x))=f(x)f(g(x)) = f(x)

for every xx, that is ff is constant along each cycle of gg.

Picture the situation. The map sends 1 to 2, 2 to 3 and 3 back to 1, then 4 to 5, 5 to 6 and 6 back to 4, and so on: each block {3n+1,3n+2,3n+3}\{3n + 1, 3n + 2, 3n + 3\} is cycled. So gg has no fixed point, and g∘g∘gg \circ g \circ g is the identity. The condition f∘g=ff \circ g = f means f(g(x))=f(x)f(g(x)) = f(x) for every xx.

Approach. Test each statement against the cyclic structure of the map.

  1. Step 1: Composing with g first

    If f(g(x))=f(x)f(g(x)) = f(x), then ff has the same value on all three numbers of a block. Such an ff is never one-one, so (B) is false. Giving the nnth block the value nn makes ff onto, so (A) is true.

  2. Step 2: The other statements

    Since g∘g∘gg \circ g \circ g is the identity and gg is not, (C) is false. For (D), g(f(x))=f(x)g(f(x)) = f(x) would make f(x)f(x) a fixed point of gg, and there is none, so (D) is false.

Answer. (A) There exists an onto function f:N→Nf : N \to N such that f∘g=ff \circ g = f

Sanity check. For the function with f(1)=f(2)=f(3)=1f(1) = f(2) = f(3) = 1, f(4)=f(5)=f(6)=2f(4) = f(5) = f(6) = 2 and so on, f(g(1))=f(2)=1=f(1)f(g(1)) = f(2) = 1 = f(1).

Why the other options are wrong

  • (B) A one-one ff cannot work, since f(g(1))=f(1)f(g(1)) = f(1) means f(2)=f(1)f(2) = f(1).
  • (C) Three applications of gg return every number, so g∘g∘gg \circ g \circ g is the identity, not gg.
  • (D) The equation g(f(x))=f(x)g(f(x)) = f(x) needs a fixed point of gg, and gg moves every number.

Key takeaway

The trap. Applying the map before or after the function gives quite different conditions.

How toppers think. They write out the first two cycles before reading the statements.

Remember. Each block of three is cycled: 1 to 2, 2 to 3, 3 to 1

More on Types of Functions