Let S be set of all rational numbers. The functions f:R→R,g:R→R are defined as f(x)={0,x∈S1,x∉S g(x)={−1x∈S0x∉S then, (fog)(π)+(gof)(e)=
A
−1
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
0
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is C−1 f(x)={0,x is rational1,x is irrational g(x)={−1x is rational0x is irrational fog(π)=f(g(π))=f(0)=0 so gof(e)=g(f(e))=g(1)=−1 ∴fog(π)+gof(e)=−1