Skip to main content
Back to Sets, Relations & Functions
JEE Main 2023
Sets, Relations & Functions
Functions
Easy

Question

Let A={(x,y):2x+3y=23,x,yN}A=\{(x, y): 2 x+3 y=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 _________.

Answer: 2

Solution

Key Concepts and Formulas

  • Natural Numbers (N\mathbb{N}): The set of positive integers, {1,2,3,}\{1, 2, 3, \dots\}.
  • One-One Function (Injective Function): A function f:ABf: A \to B is one-one if distinct elements in the domain AA map to distinct elements in the codomain BB. That is, if x1,x2Ax_1, x_2 \in A and x1x2x_1 \neq x_2, then f(x1)f(x2)f(x_1) \neq f(x_2).
  • Counting One-One Functions: If AA and BB are finite sets with A=m|A| = m and B=n|B| = n, the number of one-one functions from AA to BB is given by the permutation formula P(n,m)=n!(nm)!P(n, m) = \frac{n!}{(n-m)!}, provided nmn \ge m. If n<mn < m, the number of one-one functions is 0. If n=mn=m, the number is n!n!.

Step-by-Step Solution

Step 1: Determine the elements of set A The set AA is defined as A={(x,y):2x+3y=23,x,yN}A = \{(x, y) : 2x + 3y = 23, x, y \in \mathbb{N}\}. We need to find all pairs of natural numbers (x,y)(x, y) that satisfy the equation 2x+3y=232x + 3y = 23. Since x,yNx, y \in \mathbb{N}, we know x1x \ge 1 and y1y \ge 1. From 2x=233y2x = 23 - 3y, we must have 233y>023 - 3y > 0, which implies 3y<233y < 23, so y<233y < \frac{23}{3}. Since yy is a natural number, yy can take values from {1,2,3,4,5,6,7}\{1, 2, 3, 4, 5, 6, 7\}. From 3y=232x3y = 23 - 2x, we must have 232x>023 - 2x > 0, which implies 2x<232x < 23, so x<232x < \frac{23}{2}. Since xx is a natural number, xx can take values from {1,2,,11}\{1, 2, \dots, 11\}.

We can systematically check values of yy from 1 to 7 to find corresponding integer values of xx:

  • If y=1y=1: 2x+3(1)=232x=20x=102x + 3(1) = 23 \Rightarrow 2x = 20 \Rightarrow x = 10. Since x=10Nx=10 \in \mathbb{N}, (10,1)A(10, 1) \in A.
  • If y=2y=2: 2x+3(2)=232x=17x=17/22x + 3(2) = 23 \Rightarrow 2x = 17 \Rightarrow x = 17/2. Not an integer.
  • If y=3y=3: 2x+3(3)=232x=14x=72x + 3(3) = 23 \Rightarrow 2x = 14 \Rightarrow x = 7. Since x=7Nx=7 \in \mathbb{N}, (7,3)A(7, 3) \in A.
  • If y=4y=4: 2x+3(4)=232x=11x=11/22x + 3(4) = 23 \Rightarrow 2x = 11 \Rightarrow x = 11/2. Not an integer.
  • If y=5y=5: 2x+3(5)=232x=8x=42x + 3(5) = 23 \Rightarrow 2x = 8 \Rightarrow x = 4. Since x=4Nx=4 \in \mathbb{N}, (4,5)A(4, 5) \in A.
  • If y=6y=6: 2x+3(6)=232x=5x=5/22x + 3(6) = 23 \Rightarrow 2x = 5 \Rightarrow x = 5/2. Not an integer.
  • If y=7y=7: 2x+3(7)=232x=2x=12x + 3(7) = 23 \Rightarrow 2x = 2 \Rightarrow x = 1. Since x=1Nx=1 \in \mathbb{N}, (1,7)A(1, 7) \in A.

Thus, the set AA contains the following ordered pairs: A={(1,7),(4,5),(7,3),(10,1)}A = \{(1, 7), (4, 5), (7, 3), (10, 1)\} The cardinality of set AA is A=4|A| = 4.

Step 2: Determine the elements of set B The set BB is defined as B={x:(x,y)A}B = \{x : (x, y) \in A\}. This means set BB consists of all the first components (the xx-values) of the ordered pairs in set AA. From the elements of AA:

  • For (1,7)(1, 7), the xx-value is 1.
  • For (4,5)(4, 5), the xx-value is 4.
  • For (7,3)(7, 3), the xx-value is 7.
  • For (10,1)(10, 1), the xx-value is 10.

Therefore, the set BB is: B={1,4,7,10}B = \{1, 4, 7, 10\} The cardinality of set BB is B=4|B| = 4.

Step 3: Calculate the number of one-one functions from A to B We need to find the number of one-one functions from set AA to set BB. We have A=4|A| = 4 and B=4|B| = 4. Since the cardinality of the domain (A|A|) is equal to the cardinality of the codomain (B|B|), a one-one function exists. The number of one-one functions from a set of size mm to a set of size nn (where nmn \ge m) is given by P(n,m)P(n, m). In this case, m=A=4m = |A| = 4 and n=B=4n = |B| = 4. The number of one-one functions is P(4,4)=4!(44)!=4!0!=241=24P(4, 4) = \frac{4!}{(4-4)!} = \frac{4!}{0!} = \frac{24}{1} = 24.

Common Mistakes & Tips

  • Definition of Natural Numbers: Ensure you are using the correct definition of natural numbers (N={1,2,3,}\mathbb{N} = \{1, 2, 3, \dots\} for JEE context) to avoid including or excluding 0 incorrectly.
  • Diophantine Equation Solutions: When solving linear Diophantine equations with constraints (like x,yNx, y \in \mathbb{N}), systematically check all possible values for one variable within the derived bounds to guarantee finding all solutions.
  • Cardinality Comparison: Always verify that the cardinality of the codomain is greater than or equal to the cardinality of the domain (BA|B| \ge |A|) before calculating the number of one-one functions. If A>B|A| > |B|, the number of one-one functions is 0.

Summary We first identified the elements of set AA by solving the linear Diophantine equation 2x+3y=232x + 3y = 23 for natural numbers xx and yy, finding that A={(1,7),(4,5),(7,3),(10,1)}A = \{(1, 7), (4, 5), (7, 3), (10, 1)\}, so A=4|A|=4. Next, we determined set BB by collecting the xx-components of the pairs in AA, yielding B={1,4,7,10}B = \{1, 4, 7, 10\}, so B=4|B|=4. Since we are looking for one-one functions from AA to BB, and A=B=4|A|=|B|=4, the number of such functions is given by P(4,4)P(4, 4), which equals 4!=244! = 24.

The final answer is 24\boxed{24}.

Practice More Sets, Relations & Functions Questions

View All Questions