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

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

Open in App
Solution

Letf:NNbef(x)=x+1andg:NNbeg(x)={x1,x>11,x=1}

We will first show that f is not onto.

Checking f is not onto.

Letf:NNbef(x)=x+1Lety=f(x),whereyϵNy=x+1x=y1fory=1,x=11=0

But 0 is not a natural no.

f is not onto.

Finding gof:

f(x)=x+1andg(x)={x1,x>11,x=1}

forx=1f(x)=x+1;g(x)=1Sinceg(x)=1,g(f(x))=1Sogof=1Forx>1f(x)=x+1,g(x)=x1Sinceg(x)=x1,g(f(x))=f(x)1gof=(x+1)1gof=xSo,gof={x,x>11,x=1}Letgof=y,whereyϵNSo,y={x,x>11,x=1}

here y is a natural no.As y=x.

So,x is also a natural no.

hence, gof is onto.

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