JEE Main 2021 · 26 February · evening · Single correct · +4 / −1
Let A = { 1,2,3,....,10} and f:A → A be defined as
f(k) = { k + 1, if k is odd; k, if k is even
Then the number of possible functions g:A → A such that gof = f is :
- (a) 5⁵
- (b) 10⁵
- (c) 5!
- (d) ¹⁰C₅
Answer and solution
Answer (b) 10⁵
Solution
Maths sir · 4 steps
Look at the range of f first: g is forced only there, and it is free everywhere else.
- Range of f. Odd k goes to k+1 and even k stays put. So f(1)=f(2)=2, f(3)=f(4)=4, and so on. The range of f is {2,4,6,8,10}.
g(f(k)) = f(k) for all k ⇔ g(y) = y for every y ∈ {2,4,6,8,10}
- Even inputs fixed. Each value y in the range of f must satisfy g(y)=y. So g(2)=2, g(4)=4, g(6)=6, g(8)=8 and g(10)=10. There is exactly one choice for each of these.
- Odd inputs free. The condition never involves g(1), g(3), g(5), g(7), g(9), because no output of f is odd. Each of these 5 values can be any of the 10 elements of A.
- So. The number of such functions is 1⁵ × 10⁵ = 10⁵, which is option (b).
The idea to keep. For g ° f = f, the function g must fix every point in the range of f. Points outside that range are unrestricted, so each gives a full n choices.
Answer from the NTA final answer key. Solution by PrepWiser.