JEE Challenger
More from Relations and Functions

Injectivity and Surjectivity of Composite Functions on Sets of Integers and Naturals

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:NZf: \mathbb{N} \to \mathbb{Z} and g:ZNg: \mathbb{Z} \to \mathbb{N} defined by

f(n)={(n+1)/2if n is odd,(4n)/2if n is even,f(n) = \begin{cases} (n + 1)/2 & \text{if } n \text{ is odd} , \\ (4 - n)/2 & \text{if } n \text{ is even} , \end{cases}

and

g(n)={3+2nif n0,2nif n<0.g(n) = \begin{cases} 3 + 2n & \text{if } n \ge 0 , \\ -2n & \text{if } n < 0 . \end{cases}

Define (gf)(n)=g(f(n))(g \circ f)(n) = g(f(n)) for all nNn \in \mathbb{N}, and (fg)(n)=f(g(n))(f \circ g)(n) = f(g(n)) for all nZn \in \mathbb{Z}.

Then which of the following statements is (are) TRUE?

Options

A

gfg \circ f is \textbf{NOT} one-one and gfg \circ f is \textbf{NOT} onto

Correct
B

fgf \circ g is \textbf{NOT} one-one but fgf \circ g is onto

C

gg is one-one and gg is onto

D

ff is \textbf{NOT} one-one but ff is onto

Correct

Step-by-Step Solution

To determine which of the given statements are true, let us analyze the functions f:NZf: \mathbb{N} \to \mathbb{Z} and g:ZNg: \mathbb{Z} \to \mathbb{N}, where N={1,2,3,}\mathbb{N} = \{1, 2, 3, \dots\}.


1. Analysis of f:NZf: \mathbb{N} \to \mathbb{Z}

The function ff is defined by: f(n)={n+12,if n is odd4n2,if n is evenf(n) = \begin{cases} \dfrac{n + 1}{2}, & \text{if } n \text{ is odd} \\ \dfrac{4 - n}{2}, & \text{if } n \text{ is even} \end{cases}

  • Injectivity (One-One):

    • For n=1n = 1 (odd): f(1)=1+12=1f(1) = \dfrac{1 + 1}{2} = 1.
    • For n=2n = 2 (even): f(2)=422=1f(2) = \dfrac{4 - 2}{2} = 1.

    Since f(1)=f(2)=1f(1) = f(2) = 1 for 121 \neq 2, the function ff is NOT one-one.

  • Surjectivity (Onto):

    • If nn is odd, let n=2k1n = 2k - 1 where kNk \in \mathbb{N}. Then: f(2k1)=(2k1)+12=k{1,2,3,}=Nf(2k - 1) = \frac{(2k - 1) + 1}{2} = k \in \{1, 2, 3, \dots\} = \mathbb{N}
    • If nn is even, let n=2kn = 2k where kNk \in \mathbb{N}. Then: f(2k)=42k2=2k{1,0,1,2,}f(2k) = \frac{4 - 2k}{2} = 2 - k \in \{1, 0, -1, -2, \dots\}

    The union of these two sets is: Range(f)={1,2,3,}{1,0,1,2,}=Z\text{Range}(f) = \{1, 2, 3, \dots\} \cup \{1, 0, -1, -2, \dots\} = \mathbb{Z} Since the range equals the codomain Z\mathbb{Z}, ff is onto.

Thus, statement (D) is TRUE.


2. Analysis of g:ZNg: \mathbb{Z} \to \mathbb{N}

The function gg is defined by: g(n)={3+2n,if n02n,if n<0g(n) = \begin{cases} 3 + 2n, & \text{if } n \ge 0 \\ -2n, & \text{if } n < 0 \end{cases}

  • Surjectivity (Onto):
    • For n0n \ge 0, g(n){3,5,7,9,}g(n) \in \{3, 5, 7, 9, \dots\} (odd integers 3\ge 3).
    • For n<0n < 0, g(n){2,4,6,8,}g(n) \in \{2, 4, 6, 8, \dots\} (all positive even integers).
    • The range of gg is: Range(g)={2,3,4,5,}=N{1}\text{Range}(g) = \{2, 3, 4, 5, \dots\} = \mathbb{N} \setminus \{1\} Since 1Range(g)1 \notin \text{Range}(g), gg is NOT onto.

Thus, statement (C) is FALSE.


3. Analysis of gf:NNg \circ f: \mathbb{N} \to \mathbb{N}

  • Injectivity: (gf)(1)=g(f(1))=g(1)=3+2(1)=5(g \circ f)(1) = g(f(1)) = g(1) = 3 + 2(1) = 5 (gf)(2)=g(f(2))=g(1)=3+2(1)=5(g \circ f)(2) = g(f(2)) = g(1) = 3 + 2(1) = 5 Since (gf)(1)=(gf)(2)=5(g \circ f)(1) = (g \circ f)(2) = 5 for 121 \neq 2, gfg \circ f is NOT one-one.

  • Surjectivity: Since Range(gf)Range(g)=N{1}\text{Range}(g \circ f) \subseteq \text{Range}(g) = \mathbb{N} \setminus \{1\}, the value 1N1 \in \mathbb{N} is never attained. Therefore, gfg \circ f is NOT onto.

Thus, statement (A) is TRUE.


4. Analysis of fg:ZZf \circ g: \mathbb{Z} \to \mathbb{Z}

  • For n0n \ge 0, g(n)=3+2ng(n) = 3 + 2n, which is an odd integer. Thus: (fg)(n)=f(3+2n)=(3+2n)+12=n+2(f \circ g)(n) = f(3 + 2n) = \frac{(3 + 2n) + 1}{2} = n + 2
  • For n<0n < 0, g(n)=2ng(n) = -2n, which is an even integer. Thus: (fg)(n)=f(2n)=4(2n)2=n+2(f \circ g)(n) = f(-2n) = \frac{4 - (-2n)}{2} = n + 2

Hence, for all nZn \in \mathbb{Z}: (fg)(n)=n+2(f \circ g)(n) = n + 2 The function h(n)=n+2h(n) = n + 2 on Z\mathbb{Z} is both one-one and onto (a bijection).

Thus, statement (B) is FALSE.


Conclusion:

The correct statements are (A) and (D).

Injectivity and Surjectivity of Composite Functions on Sets of Integers and Naturals | Mathematics PYQ Solution - JEE Challenger