GATE / CS ARCHIVE

GATE CSE 2005 / QUESTION 43

Surjectivity of a composition

Discrete Mathematics · Sets, Relations & Functions · Full GATE CSE 2005 paper

GATE 2005, Q43 2 marks · MCQ
Report issue

Sets, Relations & Functions

Question 43, GATE 2005: Functions f:B→C, g:A→B have onto composite f∘g. Choose A both must be onto; B f must but g need not; C g must but f need not; D neither must.
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

Since f(g(A))=C and g(A)⊆B, f(B)=C, so f is onto. But g need not cover all of B: take A={a}, B={b1, b2}, C={c}, g(a)=b1 and f(b1)=f(b2)=c. Hence B.

For every c in C, surjectivity of the composite provides an a with f(g(a))=c. Since g(a) is some element of B, this proves f is onto C. It does not require reaching all elements of B; unused B-elements may map to already-covered outputs. The one-element A and two-element B counterexample above proves g need not be onto, selecting B.

Original paper, page 5