The correct options are
A g is always onto
D f is always one-one
The given functions
f:X→Y and
g:Y→X
Also (gof)(x)=x Or g(f(x))=x for all xϵR
g(f(x))=x, f(x)=g−1(x)
For the function f to be one-one, f(a)=f(b), implies that a=b
Here, g(f(x))=x,
→g(f(a))=a ...(1)
→g(f(b))=b ....(2)
From eq(1) and (2), we can see that if f(a)=f(b), then a=b
From here the condition of one-one function is satisfying for f(x) hence f is always a one-one function.
We know that for function f domain is X and for function g the domain is Y ( ∵f:X→Y, g:Y→X )
As function f is one-one, means for any value of X there will only be one value of Y.
As Y is the domain of function g,
Hence we can say that for every Y, there will be at least one X.
Thus the function g is always an onto function.
So correct answers are B and C.