QlarIITy

MathematicsJEE Main 2022 · 27 JulyInteger

The number of functions ff, from the setA={x∈N:x2−10x+9≤0}A = \{x \in N : x^2 - 10x + 9 \leq 0\}to the set B={n2:n∈N}B = \{n^2 : n \in N\} such that f(x)≤(x−3)2+1f(x) \leq (x - 3)^2 + 1, for every x∈Ax \in A, is ______.

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. Independent choices at each input multiply to give the number of functions.

Concept refresher. If one choice can be made in mm ways and an independent second choice in nn ways, both can be made together in

N=mnN = mn

ways.

Picture the situation. Since x2−10x+9=(x−1)(x−9)x^2 - 10x + 9 = (x - 1)(x - 9), the set AA is {1,2,…,9}\{1, 2, \ldots, 9\}. The set BB is {1,4,9,16,25,36,…}\{1, 4, 9, 16, 25, 36, \ldots\}. For each xx in AA the value f(x)f(x) can be any element of BB not exceeding (x−3)2+1(x - 3)^2 + 1.

Approach. Count the allowed squares for each input and multiply.

  1. Step 1: The bounds

    For x=1x = 1 to 9 the bound (x−3)2+1(x - 3)^2 + 1 takes the values 5, 2, 1, 2, 5, 10, 17, 26 and 37 in turn.

  2. Step 2: The count

    The perfect squares within these bounds number 2, 1, 1, 1, 2, 3, 4, 5 and 6, so the number of functions is 2×2×3×4×5×6=14402 \times 2 \times 3 \times 4 \times 5 \times 6 = 1440.

Answer. 1440

Sanity check. For x=9x = 9 the bound is 37, and the squares 1, 4, 9, 16, 25 and 36 all fit, which is 6 choices.

Common wrong answers

  • 0: Dropping the +1+1 in the bound leaves no square at x=3x = 3, which gives 0.

Key takeaway

The trap. The natural numbers start at 1, so the smallest square is 1.

How toppers think. They tabulate the bound and the number of squares side by side.

Remember. 2×2×3×4×5×6=14402 \times 2 \times 3 \times 4 \times 5 \times 6 = 1440

More on Types of Functions