CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Give an example of two functions f:NN and g:NN such that gof is onto but f is not onto.

Open in App
Solution

Define f:NN by f(x)=x+1
and g:NN by g(x)={x1, if x>11, if x=1
We first show that f is not onto
For this, consider element 1 in co-domain N.
Let f(x)=1x+1=1x=0, which is not a natural number.
Therefore, f is not onto. Now, gof: NN is defined by,
gof(x)=g(f(x))=g(x+1)=(x+1)1[xN(x+1)>1]
Then, it is clear that for y in N, there exists x=yN such that gof(x)=y.
Hence, gof is onto.


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