QlarIITy

MathematicsJEE Main 2022 · 24 JuneInteger

The number of one-one functions f:{a,b,c,d}→{0,1,2,…,10}f : \{a, b, c, d\} \to \{0, 1, 2, \ldots, 10\} such that2f(a)−f(b)+3f(c)+f(d)=02f(a) - f(b) + 3f(c) + f(d) = 0is ______

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. A value fixed by a linear condition leaves a small bounded search over the remaining values.

Concept refresher. A function f:A→Bf : A \to B is one-one when

f(x1)=f(x2)f(x_1) = f(x_2)

forces x1=x2x_1 = x_2, and onto when its range is the whole of BB.

Picture the situation. Write p=f(a)p = f(a), q=f(c)q = f(c), r=f(d)r = f(d). Then f(b)=2p+3q+rf(b) = 2p + 3q + r must be at most 10. The values pp, qq, rr must be different, and then f(b)f(b) is automatically different from each of them, because it exceeds each one. Since qq carries the weight 3, only q=0,1,2,3q = 0, 1, 2, 3 are possible.

Approach. List the cases by the value of qq and count the allowed pairs of pp and rr in each.

  1. Step 1: When f(c) is 0

    Here f(b)=2p+rf(b) = 2p + r with p≥1p \geq 1. For p=1,2,3,4p = 1, 2, 3, 4 the value rr must differ from 0 and pp and satisfy r≤10−2pr \leq 10 - 2p, which gives 7, 5, 3 and 2 choices, 17 in all.

  2. Step 2: When f(c) is 1

    Here 2p+r≤72p + r \leq 7 with pp and rr different from 1 and from each other. For p=0,2,3p = 0, 2, 3 this gives 6, 2 and 1 choices of rr, 9 in all.

  3. Step 3: When f(c) is 2 or 3

    For q=2q = 2 we need 2p+r≤42p + r \leq 4: p=0p = 0 gives r=1,3,4r = 1, 3, 4 and p=1p = 1 gives r=0r = 0, which is 4 ways. For q=3q = 3 we need 2p+r≤12p + r \leq 1, which allows only p=0p = 0, r=1r = 1. The total is 17+9+4+1=3117 + 9 + 4 + 1 = 31.

Answer. 31

Sanity check. One valid function has f(a)=1f(a) = 1, f(c)=0f(c) = 0, f(d)=2f(d) = 2 and f(b)=2+0+2=4f(b) = 2 + 0 + 2 = 4, four different values.

Common wrong answers

  • 67: Counting all functions that satisfy the condition, without requiring different values, gives 67.

Key takeaway

The trap. A one-one function needs every pair of values to differ, which removes cases from each count.

How toppers think. They organise the cases by the term with the largest coefficient.

Remember. 17+9+4+1=3117 + 9 + 4 + 1 = 31

More on Types of Functions