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

If $f(x) = \log \left(\frac{1+x}{1-x}\right)$ and $g(x) = \frac{3x+x^3}{1+3x^2}$,then $(fog)(x) =$

Let $f: R \rightarrow R$ and $g: R \rightarrow R$ be defined as $f(x)=\begin{cases} \log _e x & , x>0 \\ e^{-x} & , x \leq 0 \end{cases}$ and $g(x)=\begin{cases} x & , x \geq 0 \\ e^{x} & , x < 0 \end{cases}$. Then $gof: R \to R$ is . . . .

Let $f: R - \{-\frac{1}{2}\} \rightarrow R$ and $g: R - \{-\frac{5}{2}\} \rightarrow R$ be defined as $f(x) = \frac{2x+3}{2x+1}$ and $g(x) = \frac{|x|+1}{2x+5}$. Then the domain of the function $f \circ g$ is:

Let $f^1(x) = \frac{3x + 2}{2x + 3}$,$x \in R - \left\{-\frac{3}{2}\right\}$. For $n \geq 2$,define $f^n(x) = f^1 \circ f^{n-1}(x)$. If $f^5(x) = \frac{ax + b}{bx + a}$ and $\gcd(a, b) = 1$,then $a + b$ is equal to $............$.

If $f(x)=e^x$ and $h(x)=(f \circ f)(x)$, then $\frac{h^{\prime}(x)}{h(x)}=$

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