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 $f, g$ and $h$ be functions from $R$ to $R$. Show that:
$\begin{cases} (f+g)oh = foh + goh \\ (f \cdot g)oh = (foh) \cdot (goh) \end{cases}$

For $x \in R - \{0, 1\}$,let ${f_1}(x) = \frac{1}{x}$,${f_2}(x) = 1 - x$,and ${f_3}(x) = \frac{1}{1 - x}$ be three given functions. If a function $J(x)$ satisfies $(f_2 \circ J \circ f_1)(x) = f_3(x)$,then $J(x)$ is equal to:

Find the function $g(t)$ if $f(t)=3t-2$ and $(g \circ f)^{-1}(t)=t-2$.

If $f(x) = \frac{1 - x}{1 + x}$, then $f(f(\cos x)) = $

If $f(x) = \frac{2x - 3}{3x - 2}$ and $f_n(x) = (f \circ f \circ f \circ \dots \circ f)(x)$ ($n$ times), then $f_{32}(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