JEE Main 2022MathematicsFunctionsComposite FunctionsmediumNumerical

JEE Main 2022Functions Question with Solution

From: JEE Main 2022 (Online) 27th June Evening Shift

Question

Let S = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}. Define f : S S as

f(n) = \left\{ {\matrix{ {2n} & , & {if\,n = 1,2,3,4,5} \cr {2n - 11} & , & {if\,n = 6,7,8,9,10} \cr } } \right..

Let g : S S be a function such that fog(n) = \left\{ {\matrix{ {n + 1} & , & {if\,n\,\,is\,odd} \cr {n - 1} & , & {if\,n\,\,is\,even} \cr } } \right..

Then is equal to _____________.

Enter your answer

Show full solutionCorrect answer: 190
Correct answer
190

Step-by-step explanation

f(n) = \left\{ {\matrix{ {2n,} & {n = 1,2,3,4,5} \cr {2n - 11,} & {n = 6,7,8,9,10} \cr} } \right.

f(1) = 2, f(2) = 4, ......, f(5) = 10

and f(6) = 1, f(7) = 3, f(8) = 5, ......, f(10) = 9

Now, f(g(n)) = \left\{ {\matrix{ {n + 1,} & {if\,n\,is\,odd} \cr {n - 1,} & {if\,n\,is\,even} \cr } } \right.

\matrix{ {f(g(10)) = 9} & { \Rightarrow g(10) = 10} \cr {f(g(1)) = 2} & { \Rightarrow g(1) = 1} \cr {f(g(2)) = 1} & { \Rightarrow g(2) = 6} \cr {f(g(3)) = 4} & { \Rightarrow g(3) = 2} \cr {f(g(4)) = 3} & { \Rightarrow g(4) = 7} \cr {f(g(5)) = 6} & { \Rightarrow g(5) = 3} \cr }

Practice this on the real CBT interface

Solve this JEE Main question (and the rest of the Functions chapter) on PrepSharp's TCS iON-style CBT player — with timer, bookmarks and session analytics.

Solve interactively →

About this question

This is a previous-year question from JEE Main 2022, covering the Functions chapter of Mathematics. PrepSharp catalogues every PYQ from JEE Main with a verified answer key and step-by-step solution prepared by IIT alumni — so you can search by chapter, topic or year and revise efficiently.