Clear Notion Academy

JEE Advanced 2025 Mathematics PYQ: Let N denote the set of all natural numbers, and Z denote the set of all integers…

Question

Let N\mathbb{N} denote the set of all natural numbers, and Z\mathbb{Z} denote the set of all integers. Consider the functions f:N→Zf:\mathbb{N}\to\mathbb{Z} and g:Z→Ng:\mathbb{Z}\to\mathbb{N} defined by f(n)={(n+1)/2if n is odd,(4−n)/2if n is even,g(n)={3+2nif n≥0,−2nif n<0.f(n) = \begin{cases} (n+1)/2 & \text{if } n \text{ is odd}, \\ (4-n)/2 & \text{if } n \text{ is even}, \end{cases} \qquad g(n) = \begin{cases} 3+2n & \text{if } n\ge 0, \\ -2n & \text{if } n<0. \end{cases} Define (g∘f)(n)=g(f(n))(g\circ f)(n) = g(f(n)) for all n∈Nn\in\mathbb{N}, and (f∘g)(n)=f(g(n))(f\circ g)(n)=f(g(n)) for all n∈Zn\in\mathbb{Z}. Then which of the following statements is (are) TRUE?

Options

  1. g∘fg\circ f is NOT one-one and g∘fg\circ f is NOT onto
  2. f∘gf\circ g is NOT one-one but f∘gf\circ g is onto
  3. gg is one-one and gg is onto
  4. ff is NOT one-one but ff is onto

Answer

Correct options: A, D

Hint

Tabulate ff and gg on small inputs to spot their ranges and any repeated values directly, rather than reasoning abstractly — both are simple enough to list out explicitly.

Solution

Deconstruction\textbf{Deconstruction}: Need one-one/onto behaviour of ff, of gg, and of the two composites. Strategy\textbf{Strategy}: Tabulate f(n)f(n) for n=1,2,3,…n=1,2,3,\dots and g(n)g(n) for n=…,−2,−1,0,1,2,…n=\dots,-2,-1,0,1,2,\dots to directly read off images and injectivity/surjectivity. Execution — f:N→Z\textbf{Execution — }f:\mathbb{N}\to\mathbb{Z}: Odd n=1,3,5,7,9,⋯⇒f(n)=1,2,3,4,5,…n=1,3,5,7,9,\dots \Rightarrow f(n)=1,2,3,4,5,\dots (all positive integers). Even n=2,4,6,8,10,⋯⇒f(n)=1,0,−1,−2,−3,…n=2,4,6,8,10,\dots \Rightarrow f(n)=1,0,-1,-2,-3,\dots. So Range(f)={1,2,3,… }∪{1,0,−1,−2,… }=Z\mathrm{Range}(f) = \{1,2,3,\dots\}\cup\{1,0,-1,-2,\dots\} = \mathbb{Z}: ff is onto. But f(1)=1=f(2)f(1)=1=f(2): two different inputs share an image, so ff is NOT one-one. ⇒\Rightarrow (D) \"ff is NOT one-one but ff is onto\" is TRUE. Execution — g:Z→N\textbf{Execution — }g:\mathbb{Z}\to\mathbb{N}: n≥0n\ge0: g(n)=3+2n=3,5,7,9,…g(n)=3+2n = 3,5,7,9,\dots (odd numbers ≥3\ge 3), strictly increasing in nn, hence injective on this branch. n<0n<0: g(n)=−2n=2,4,6,…g(n)=-2n = 2,4,6,\dots (even numbers ≥2\ge2), strictly increasing as ∣n∣|n| increases, injective on this branch. The two branches produce disjoint sets (odd ≥3\ge3 vs. even ≥2\ge2), so no collision between branches: gg is one-one overall. Range(g)={3,5,7,… }∪{2,4,6,… }=N∖{1}\mathrm{Range}(g) = \{3,5,7,\dots\}\cup\{2,4,6,\dots\} = \mathbb{N}\setminus\{1\} — the value 11 is never attained, so gg is NOT onto. ⇒\Rightarrow (C) \"gg is one-one and gg is onto\" is FALSE (onto fails). Execution — g∘f:N→N\textbf{Execution — }g\circ f:\mathbb{N}\to\mathbb{N}: Since gg is injective, g(f(1))=g(f(2))g(f(1))=g(f(2)) iff f(1)=f(2)f(1)=f(2); indeed f(1)=f(2)=1f(1)=f(2)=1, so (g∘f)(1)=(g∘f)(2)=g(1)(g\circ f)(1)=(g\circ f)(2)=g(1): g∘fg\circ f is NOT one-one. Range(g∘f)=g(Range(f))=g(Z)=Range(g)=N∖{1}\mathrm{Range}(g\circ f) = g(\mathrm{Range}(f)) = g(\mathbb{Z}) = \mathrm{Range}(g) = \mathbb{N}\setminus\{1\}: NOT onto N\mathbb{N}. ⇒\Rightarrow (A) \"g∘fg\circ f is NOT one-one and g∘fg\circ f is NOT onto\" is TRUE. Execution — f∘g:Z→Z\textbf{Execution — }f\circ g:\mathbb{Z}\to\mathbb{Z}: Range(g)=N∖{1}={2,3,4,5,… }\mathrm{Range}(g)=\mathbb{N}\setminus\{1\}=\{2,3,4,5,\dots\}. Restrict ff to this domain: for even m=2,4,6,8,…m=2,4,6,8,\dots, f(m)=1,0,−1,−2,…f(m)=1,0,-1,-2,\dots (strictly decreasing, injective); for odd m=3,5,7,9,…m=3,5,7,9,\dots, f(m)=2,3,4,5,…f(m)=2,3,4,5,\dots (strictly increasing, injective); and these two output sets (≤1\le 1 vs. ≥2\ge2) never overlap. So ff restricted to N∖{1}\mathbb{N}\setminus\{1\} is injective, and since gg is also injective, the composite f∘gf\circ g IS one-one — contradicting the \"NOT one-one\" claim in (B). (Its range is {1,0,−1,−2,… }∪{2,3,4,… }=Z\{1,0,-1,-2,\dots\}\cup\{2,3,4,\dots\}=\mathbb{Z}, so f∘gf\circ g is in fact onto, but the one-one claim in (B) is false, so the whole statement (B) is FALSE.) Verification\textbf{Verification}: Cross-check with small values: g(−1)=2,g(0)=3,g(1)=5,g(−2)=4g(-1)=2,g(0)=3,g(1)=5,g(-2)=4. Then f(g(−1))=f(2)=1f(g(-1))=f(2)=1, f(g(0))=f(3)=2f(g(0))=f(3)=2, f(g(−2))=f(4)=0f(g(-2))=f(4)=0, f(g(1))=f(5)=3f(g(1))=f(5)=3 — four distinct inputs give four distinct outputs 1,2,0,31,2,0,3, consistent with f∘gf\circ g being injective, confirming (B) is false because of its first clause. Final Answer\textbf{Final Answer}: (A) and (D).

More questions from JEE Advanced 2025 Mathematics PYQ

Practise the full set: JEE Advanced Mathematics PYQs 2025