Question:

Let \(A = \{1, 2, 3, \dots, 10\}\) and \(f : A \to A\) be defined as
\(f(k) = \begin{cases} k + 1 & \text{if } k \text{ is odd} \\ k & \text{if } k \text{ is even} \end{cases}\)
Then the number of possible functions \(g : A \to A\) such that \(g \circ f = f\) is :

Show Hint

\(g(f(k)) = f(k)\) forces \(g\) to fix every element of the range of \(f\), namely the even numbers; the odd numbers are unconstrained.
Updated On: Nov 4, 2026
  • \(5^5\)
  • \(10^5\)
  • \(5!\)
  • \({}^{10}C_5\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Range of \(f\): \(f(1)=2, f(2)=2, f(3)=4, f(4)=4, \dots, f(9)=10, f(10)=10\), so range \(= \{2,4,6,8,10\}\).
\(g(f(k)) = f(k)\) for all \(k\) means \(g(y) = y\) for every \(y\) in the range: \(g(2)=2, g(4)=4, g(6)=6, g(8)=8, g(10)=10\).
The values \(g(1), g(3), g(5), g(7), g(9)\) are unrestricted: each can be any of 10 elements.
Number of functions \(= 10^5\).
Answer: (2) \(10^5\)
Was this answer helpful?
0
0