JEE Advanced 2025 · Relations and Functions (Class 12)
Let N denote the set of all natural numbers, and Z denote the set of all integers. Consider the functions f:Z→Z and g:Z→N defined by
f(n)={2(n+1)2(4−n)if n is odd,if n is even, and g(n)={3+2n−2nif n≥0,if n<0.
Define (g∘f)(n)=g(f(n)) for all n∈N, and (f∘g)(n)=f(g(n)) for all n∈Z.
Then which of the following statements is (are) TRUE?
Answers:A. g∘f is NOT one-one and g∘f is NOT onto · D. f is NOT one-one but f is onto
f:Z→Z,f(n)=⎩⎨⎧2n+124−nn oddn eveng:Z→N,g(n)={3+2n−2nn≥0n<0(g∘f)(n)=g(f(n)),n∈N;(f∘g)(n)=f(g(n)),n∈ZTest one-one and onto for f,g,g∘f,f∘gf(1)=21+1=1,f(2)=24−2=1f(1)=f(2)⇒f is NOT one-oneFor any m∈Z,n=2m−1 (odd):f(n)=22m−1+1=m⇒f is onto Z⇒(4) TRUEn≥0:g=3+2n∈{3,5,7,…}(odd)n<0:g=−2n∈{2,4,6,…}(even)disjoint ranges, each injective⇒g is one-oneImage(g)={2,3,4,5,…}⇒1∈/Image(g)g is NOT onto⇒(3) FALSE(g∘f)(1)=g(f(1))=g(1)=3+2(1)=5(g∘f)(2)=g(f(2))=g(1)=5⇒g∘f NOT one-oneImage(g∘f)={2,3,4,5,…}⇒1 never attained⇒(1) TRUE: g∘f neither one-one nor onton≥0:(f∘g)(n)=2(3+2n)+1=n+2n<0:(f∘g)(n)=24−(−2n)=n+2(f∘g)(n)=n+2⇒one-one and onto⇒(2) FALSETRUE statements: (1) and (4)f:onto, not one-one;g:one-one, not onto;g∘f:neither;f∘g=n+2