Let functions \(f:\{1, 3, 4\} \to \{1, 2, 5\}\) and \(g:\{1, 2, 5\} \to \{1, 3\}\) be defined as \(f=\{(1, 2), (3, 5), (4, 1)\}\) and \(g=\{(1, 3), (2, 3), (5, 1)\}\) respectively. Then, which one of the following is the correct statement for gof?
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → gof is onto
The range of f is \(\{2, 5, 1\}\), which lies inside the domain of g, so gof is defined from \(\{1, 3, 4\}\) to \(\{1, 3\}\), with \((g\circ f)(x) = g(f(x))\):
\(g(f(1)) = g(2) = 3\)
\(g(f(3)) = g(5) = 1\)
\(g(f(4)) = g(1) = 3\)
So \(g\circ f = \{(1, 3), (3, 1), (4, 3)\}\).
Onto: both elements 1 and 3 of the co-domain are images, so gof is onto.
Not one-one: 1 and 4 both go to 3.
Why the other options are incorrect
Option (1) gof is one-one — Incorrect. \((g\circ f)(1) = (g\circ f)(4) = 3\).
Option (3) gof is both one-one and onto — Incorrect. It is not one-one; a map from 3 elements to 2 elements can never be one-one.
Option (4) gof is not defined — Incorrect. Every value of f lies in \(\{1, 2, 5\}\), the domain of g.