wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Give an example of two functions f:NZ and g:ZZ such that gof is injective but g is not injective.

Open in App
Solution

Define f:NZ as f(x)=x and g:ZZ as g(x)=|x|.
We first show that g is not injective. It can be observed that
g(-1)=|-1|=1, g(1)=|1|=1

Therefore, g(-1)=g(1)but 11. Therefore, g is not injective.
Now, gof:NZ is defined as gof(x)=g(f(x))=g(x)=|x|
Let x,yN such that gof(x)=gof(y)|x|=|y|
Since, x and yN, both are positive.
|x|=|y|x=y
Hence, gof is injective.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Types of Functions
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon