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

Let N be the set of natural numbers and two functions f and g be defined as f,g:NN such that
f(n)=⎪ ⎪⎪ ⎪n+12,if n is oddn2,if n is even
and g(n)=n(1)n. Then fg is :

A
both one-one and onto function
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
one-one but not onto function
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
onto but not one-one function
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
neither one-one nor onto function
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C onto but not one-one function
g(n)=n(1)n
g(n)={n+1,if n is oddn1,if n is even
Given,
f(n)=⎪ ⎪⎪ ⎪n+12if n is oddn2if n is even
Now from observation,
f(g(1))=f(2)=1 (g(1)=2)
f(g(2))=f(1)=1 (g(2)=1)
f(g(3))=f(4)=2 (g(3)=4)
f(g(4))=f(3)=2 (g(4)=3)

f(g(x)) is many one function

Now,
(fg)(x), when x is even
f(g(2m))=f(2m1)=m (where mN)
(fg)(x), when x is odd
f(g(2m+1))=f(2m+2)=m+1N
f(g(x)) is onto function
f(g(x)) is onto but not one-one function.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
Join BYJU'S Learning Program
CrossIcon