Quantrex Academy · Free JEE Advanced PYQ solutions
JEE Advanced Mathematics Functions 2025 JEE Advanced 2025 (Paper 1)

JEE Advanced Mathematics Question (2025) — Solution

Question

Let N denote the set of all natural numbers, and Z denote the set of all integers. Consider the functions f: N Z and g: Z N defined by f(n)= cases (n+1) / 2 & if n is odd \\ (4-n) / 2 & if n is even cases And g(n)= \ array cc 3+2 n & if n 0 \\ -2 n & if n <0 array . 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?

Options

  1. A. g f is NOT one-one and g f is NOT onto
  2. B. f ~g is NOT one-one but f g is onto
  3. C. g is one-one and g is onto
  4. D. f is NOT one-one but f is onto

Answer

D. f is NOT one-one but f is onto

Step-by-step solution

aligned & f(n)= cases (n+1) / 2 & if n is odd \\ (4-n) / 2 & if n is even cases \\ & f(n)=\ (1,1),(2,1),(3,2),(4,0),(5,3),(6,-1), \ aligned f ( n ) is many one and onto function aligned & g ( n )= \ array cc 3+2 n & if n 0 \\ -2 n & if n <0 array . \\ & g ( n )=\ (-3,6),(-2,4),(-1,2),(0,3),(1,5),(2,7),(3,9),(4,15), \ aligned g ( n ) is one-one and into function f ( ~g ( n ))=2+ n , n ~N fog is one-one and into g(f(n))= cases 4+n & if n is odd natural number \\ 7-n & if n=2,4 \\ n-4 & if n is even natural number and n 6 cases g(f(2))=g(f(1))=5 gof is many one and into

Practice more on Quantrex App →

Related: Mathematics — Functions · All PYQ Banks