QlarIITy

MathematicsJEE Main 2022 · 27 JuneInteger

Let S={1,2,3,4,5,6,7,8,9,10}S = \{1, 2, 3, 4, 5, 6, 7, 8, 9, 10\}. Define f:S→Sf : S \to S asf(n)={2n,if n=1,2,3,4,52n−11,if n=6,7,8,9,10f(n) = \begin{cases} 2n, & \text{if } n = 1, 2, 3, 4, 5 \\ 2n - 11, & \text{if } n = 6, 7, 8, 9, 10 \end{cases}. Let g:S→Sg : S \to S be a function such that f∘g(n)={n+1,if n is oddn−1,if n is evenf \circ g(n) = \begin{cases} n + 1, & \text{if } n \text{ is odd} \\ n - 1, & \text{if } n \text{ is even} \end{cases}, theng(10)(g(1)+g(2)+g(3)+g(4)+g(5))g(10)(g(1) + g(2) + g(3) + g(4) + g(5))is equal to

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. When the outer function of a composite is a bijection, the inner function is recovered by applying its inverse.

Concept refresher. If ff is a bijection and f(g(n))=h(n)f(g(n)) = h(n), then

g(n)=f−1(h(n))g(n) = f^{-1}(h(n))

Picture the situation. The values of ff at 1 to 5 are 2, 4, 6, 8, 10, and at 6 to 10 they are 1, 3, 5, 7, 9. So ff is a bijection of SS, with f−1(2m)=mf^{-1}(2m) = m and f−1(2m−1)=m+5f^{-1}(2m - 1) = m + 5. The given rule tells what f(g(n))f(g(n)) is for each nn.

Approach. Read each value of the inner function as a pre-image under the outer function.

  1. Step 1: The values of g

    For n=10n = 10 the composite is 9, so g(10)=f−1(9)=10g(10) = f^{-1}(9) = 10. For n=1,2,3,4,5n = 1, 2, 3, 4, 5 the composite is 2, 1, 4, 3, 6, so gg takes the values 1, 6, 2, 7, 3.

  2. Step 2: The product

    The five values add to 1+6+2+7+3=191 + 6 + 2 + 7 + 3 = 19, so the required number is 10×19=19010 \times 19 = 190.

Answer. 190

Sanity check. Check one value: g(2)=6g(2) = 6 gives f(6)=12−11=1f(6) = 12 - 11 = 1, which is 2−12 - 1, as the rule for even nn requires.

Common wrong answers

  • 147: Applying ff in place of f−1f^{-1} gives g(10)=7g(10) = 7 and a sum of 21, so 147.

Key takeaway

The trap. The given values are images under the outer function, so they must be traced back.

How toppers think. They write the inverse of the outer function as a rule before using it.

Remember. g(n)=f−1(f(g(n)))g(n) = f^{-1}(f(g(n)))

More on Composite & Inverse Functions