Q.

Let ℕ denote the set of all natural numbers, and ℤ denote the set of all integers. Consider the functions f:ℕ→ℤ and g:ℤ→ℕ defined by

f(n)={(n+1)2if n is odd,(4-n)2if n is even,   and

g(n)={3+2nif n≥0,-2nif n<0.

Define (g∘f)(n)=g(f(n)) for all n∈ℕ, and (f∘g)(n)=f(g(n)) for all n∈ℤ.

Then which of the following statement(s) is (are) TRUE                  [2025]

1 g∘f is NOT one-one and g∘f is NOT onto  
2 f∘g is NOT one-one but f∘g is onto  
3 g is one-one and g is onto  
4 f is NOT one-one but f is onto  

Ans.

(1, 4)

Given, f(n)={(n+1)2if n is odd(4-n)2if n is even

f(n)={(1,1),(2,1),(3,2),(4,0),(5,3),(6,-1),…}

∴ f(n) is many-one and onto function.

g(n)={3+2nif n≥0-2nif n<0

g(n)={(-3,6),(-2,4),(-1,2),(0,3),(1,5),(2,7),(3,9),(4,15),…}

∴ g(n) is one-one and into function.

f(g(n))=2+n, n∈ℕ⇒f∘g is one-one and into

g(f(n))={4+nif n is odd natural number7-nif n=2,4n-4if n is even natural number and n≥6

g(f(2))=g(f(1))=5

∴  g∘f is many-one and into