Skip to main content

GATE CSE 2025Set Theory & Algebra › Relations & FunctionsVerified

GATE CSE 2025 PYQ: g ( ⋅ ) g(\cdot) g ( ⋅ ) is a function from A A A to B B B , f ( ⋅ ) f(\cdot) f ( ⋅ ) is a function from B B…

g(⋅)g(\cdot) is a function from AA to BB, f(⋅)f(\cdot) is a function from BB to CC, and their composition defined as f(g(⋅))f(g(\cdot)) is a mapping from AA to CC.

If f(⋅)f(\cdot) and f(g(⋅))f(g(\cdot)) are onto (surjective) functions, which ONE of the following is TRUE about the function g(⋅)g(\cdot) ?

  1. A
    g(⋅)g(\cdot) must be an onto (surjective) function.
  2. B
    g(⋅)g(\cdot) must be a one-to-one (injective) function.
  3. C
    g(⋅)g(\cdot) must be a bijective function, that is, both one-to-one and onto.
  4. D
    g(⋅)g(\cdot) is not required to be a one-to-one or onto function.
    Correct answer

Answer

(D) g ( ⋅ ) g(\cdot) g ( ⋅ ) is not required to be a one-to-one or onto function.

Approach

Translate the problem into function-composition facts. Write the composite as $h = f \circ g : A \to C$, where $g: A \to B$ and $f: B \to C$. Use the two standard rules relating a composite to its components: (i) if $h$ is onto, the outer/second function $f$ must be onto; (ii) if $h$ is one-one, the inner/first function $g$ must be one-one. Since neither of these rules forces any property on $g$ from the given data, construct an explicit counter-example showing $g$ can be neither injective nor surjective while $f$ and $f\circ g$ are both onto.

Given $g: A \to B$, $f: B \to C$, and the composite $f\circ g: A \to C$ both $f$ and $f\circ g$ onto. Onto-ness of a composite only forces its second (outer) function to be onto, i.e. it constrains $f$ — which is already onto here. It never forces the first (inner) function $g$ to be onto or one-one. The counter-example with $g$ non-injective and non-surjective while $f$ and $f\circ g$ are both onto witnesses that $g$ has no mandatory property, so option D is correct.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.