Relations and Functions — Class 12 Maths Solution

ncert misc SA NCERT Misc.,Q.6, Page 29
Question

Give example of two functions f : N $\rightarrow$ Z and g : Z $\rightarrow$ Z such that gof is injective but g is not injective.

(Hint : Consider f(x) $=$ x and g(x) $= |x|$)

Step-by-step Solution

f : N $\rightarrow$ N and g : Z $\rightarrow$ Z

Let f(x) $=$ x and g(x) $=$|x|. Since, g(x)$=$g($-$x) $= |x| \forall x \in Z$

$\therefore$ g is not one$-$one $\Rightarrow$ g is not injective.

Since, f : N $\rightarrow$ Z and g : Z $\rightarrow$ Z $\Rightarrow$ gof : N $\rightarrow$ Z. Let ${x_1},{x_2} \in N.$

Now, (gof) ($x_1) = (gof) (x_2) \Rightarrow g(x_1) = g(x_2) |x_1| = |x_2|$

$\Rightarrow$ ${x_1} = {x_2}$
[ 0]

$\therefore$ gof is one-one. Hence, gof is injective.

NCERT & Exemplar solution for CBSE Class 12 Mathematics, Relations and Functions. Curated by Sachin Sharma. Free for all students.