QlarIITy

MathematicsJEE Main 2024 · 9 AprilInteger

LetA={(x,y):2x+3y=23,x,y∈N}A = \{(x, y) : 2x + 3y = 23, x, y \in \mathbb{N}\}and B={x:(x,y)∈A}B = \{x : (x, y) \in A\}. Then the number of one-one functions from AA to BB 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. One-one functions between two sets of the same size are the arrangements of that many elements.

Concept refresher. The number of one-one functions from a set of rr elements into a set of nn elements, n≥rn \geq r, is

nPr=n(n−1)…(n−r+1){}^nP_r = n(n - 1)\ldots(n - r + 1)

Picture the situation. In 2x+3y=232x + 3y = 23 the number 23−3y23 - 3y must be even and positive, so yy is odd and at most 7. Each solution (x,y)(x, y) is an element of AA, and BB collects the first coordinates. A one-one function from AA to BB uses each element of BB at most once.

Approach. List the elements of the two sets and count the one-one functions.

  1. Step 1: The sets

    For y=1,3,5,7y = 1, 3, 5, 7 the equation gives x=10,7,4,1x = 10, 7, 4, 1, so AA has 4 elements and B={1,4,7,10}B = \{1, 4, 7, 10\} also has 4.

  2. Step 2: The count

    A one-one function between two sets of 4 elements is a bijection, and there are 4!=244! = 24 of them.

Answer. 24

Sanity check. For y=9y = 9 the equation would give x=−2x = -2, which is not a natural number, so there is no fifth solution.

Common wrong answers

  • 256: Counting all functions from AA to BB gives 44=2564^4 = 256.
  • 120: Allowing y=9y = 9 with x=−2x = -2 gives 5 pairs and 5!=1205! = 120.

Key takeaway

The trap. A solution is counted only if both numbers are natural.

How toppers think. They use parity to list the solutions quickly.

Remember. 4!=244! = 24

More on Types of Functions