Give examples of two functions $f: N \rightarrow Z$ and $g: Z \rightarrow Z$ such that $g \circ f$ is injective but $g$ is not injective. (Hint: Consider $f(x) = x$ and $g(x) = |x|$)

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(N/A) Define $f: N \rightarrow Z$ as $f(x) = x$ and $g: Z \rightarrow Z$ as $g(x) = |x|$.
First,we show that $g$ is not injective.
We observe that $g(-1) = |-1| = 1$ and $g(1) = |1| = 1$.
Since $g(-1) = g(1)$ but $-1 \neq 1$,$g$ is not injective.
Now,$g \circ f: N \rightarrow Z$ is defined as $(g \circ f)(x) = g(f(x)) = g(x) = |x|$.
Let $x, y \in N$ such that $(g \circ f)(x) = (g \circ f)(y)$.
This implies $|x| = |y|$.
Since $x, y \in N$,both $x$ and $y$ are positive.
Therefore,$|x| = |y| \Rightarrow x = y$.
Hence,$g \circ f$ is injective.

Explore More

Similar Questions

Let $g(x) = 1 + x - [x]$ and $f(x) = \begin{cases} -1, & \text{if } x < 0 \\ 0, & \text{if } x = 0 \\ 1, & \text{if } x > 0 \end{cases}$. Then for all values of $x$,the value of $f(g(x))$ is:

If $f: R \rightarrow R$ and $g: R \rightarrow R$ are two functions defined by $f(x)=2x-3$ and $g(x)=5x^2-2$,then the least value of the function $(g \circ f)(x)$ is

If $f: R \rightarrow R$ and $g: R \rightarrow R$ are defined by $f(x)=x-[x]$ and $g(x)=[x]$ for $x \in R$,where $[x]$ is the greatest integer not exceeding $x$,then for every $x \in R, f(g(x))$ is equal to

If $f(x) = \frac{x}{\sqrt{1 + x^2}}$,then $(fofof)(x) = $

If $f: R \rightarrow R$ and $g: R \rightarrow R$ are defined by $f(x)=|x|$ and $g(x)=[x-3]$ for $x \in R$,then $\{g(f(x)):-\frac{8}{5} < x < \frac{8}{5}\}$ is equal to

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo