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

Question

Let A={1,2,3,,7}\mathrm{A}=\{1,2,3, \ldots, 7\} and let P(A)\mathrm{P}(\mathrm{A}) denote the power set of A\mathrm{A}. If the number of functions f:AP(A)f: \mathrm{A} \rightarrow \mathrm{P}(\mathrm{A}) such that af(a),aA\mathrm{a} \in f(\mathrm{a}), \forall \mathrm{a} \in \mathrm{A} is mn,m\mathrm{m}^{\mathrm{n}}, \mathrm{m} and nN\mathrm{n} \in \mathrm{N} and m\mathrm{m} is least, then m+n\mathrm{m}+\mathrm{n} is equal to _________.

Answer: 1

Solution

Key Concepts and Formulas

  • Power Set: The power set of a set A, denoted by P(A), is the set of all subsets of A. If A=k|A| = k, then P(A)=2k|P(A)| = 2^k.
  • Functions: A function f:ABf: A \rightarrow B assigns to each element in set A exactly one element in set B.
  • Multiplication Principle: If there are n1n_1 ways to do one thing, n2n_2 ways to do another, ..., and nkn_k ways to do a kk-th thing, then the total number of ways to do all kk things in sequence is n1×n2××nkn_1 \times n_2 \times \ldots \times n_k.
  • Counting Subsets Containing a Specific Element: The number of subsets of a set with kk elements that contain a specific element is 2k12^{k-1}.

Step-by-Step Solution

Step 1: Understand the Domain, Codomain, and the Function's Nature The domain of the function is the set A={1,2,3,4,5,6,7}\mathrm{A} = \{1, 2, 3, 4, 5, 6, 7\}. The number of elements in the domain is A=7|\mathrm{A}| = 7. The codomain of the function is the power set of A\mathrm{A}, denoted by P(A)\mathrm{P}(\mathrm{A}). This means that for any element aA\mathrm{a} \in \mathrm{A}, its image f(a)f(\mathrm{a}) must be a subset of A\mathrm{A}. The total number of elements in the codomain is P(A)=2A=27=128|\mathrm{P}(\mathrm{A})| = 2^{|\mathrm{A}|} = 2^7 = 128.

Step 2: Analyze the Constraint on the Function Mapping The problem imposes a specific condition: af(a)\mathrm{a} \in f(\mathrm{a}) for all aA\mathrm{a} \in \mathrm{A}. This means that for every element in the domain, its image (which is a subset of A\mathrm{A}) must contain that element itself.

Step 3: Determine the Number of Possible Images for Each Element in the Domain Let's consider an arbitrary element aA\mathrm{a} \in \mathrm{A}. We need to find how many subsets of A\mathrm{A} satisfy the condition af(a)\mathrm{a} \in f(\mathrm{a}). To form such a subset f(a)f(\mathrm{a}), the element a\mathrm{a} must be included. The remaining elements of the subset can be any combination of elements from the set A{a}\mathrm{A} \setminus \{\mathrm{a}\}. The set A{a}\mathrm{A} \setminus \{\mathrm{a}\} has A1=71=6|\mathrm{A}| - 1 = 7 - 1 = 6 elements. The number of ways to choose any subset from these 6 elements is 262^6. For each of these 262^6 choices of subsets from A{a}\mathrm{A} \setminus \{\mathrm{a}\}, when we add the element a\mathrm{a} to it, we get a unique subset of A\mathrm{A} that contains a\mathrm{a}. Therefore, for each element aA\mathrm{a} \in \mathrm{A}, there are 262^6 possible choices for f(a)f(\mathrm{a}).

Step 4: Calculate the Total Number of Such Functions Since the choice of the image f(a)f(\mathrm{a}) for each element aA\mathrm{a} \in \mathrm{A} is independent of the choices for other elements, we can use the multiplication principle. There are 7 elements in set A: 1, 2, 3, 4, 5, 6, 7. For each of these 7 elements, there are 262^6 possible images. Total number of functions = (Number of choices for f(1)f(1)) ×\times (Number of choices for f(2)f(2)) ××\times \ldots \times (Number of choices for f(7)f(7)) Total number of functions = 26×26×26×26×26×26×26=(26)72^6 \times 2^6 \times 2^6 \times 2^6 \times 2^6 \times 2^6 \times 2^6 = (2^6)^7.

Using the exponent rule (ab)c=ab×c(a^b)^c = a^{b \times c}, we get: Total number of functions = 26×7=2422^{6 \times 7} = 2^{42}.

Step 5: Determine m+nm+n We are given that the number of functions is mn\mathrm{m}^{\mathrm{n}}, where m,nN\mathrm{m}, \mathrm{n} \in \mathrm{N} and m\mathrm{m} is the least possible. We found the number of functions to be 2422^{42}. To satisfy the condition that m\mathrm{m} is the least natural number, we set m=2\mathrm{m} = 2 and n=42\mathrm{n} = 42. Here, m=2m=2 is the smallest prime base, and thus the least possible base for this expression. We need to find m+n\mathrm{m}+\mathrm{n}. m+n=2+42=44\mathrm{m}+\mathrm{n} = 2 + 42 = 44.

Common Mistakes & Tips

  • Confusing elements and subsets: Ensure you differentiate between an element a\mathrm{a} from set A\mathrm{A} and its image f(a)f(\mathrm{a}), which is a subset of A\mathrm{A} (an element of P(A)\mathrm{P}(\mathrm{A})).
  • Incorrectly counting subsets: When counting subsets that must contain a specific element, remember to consider the remaining elements from the set excluding that specific element. The number of such subsets is 2k12^{k-1} for a set of size kk.
  • Base mm being least: When expressing a number in the form mnm^n with the least mm, use the smallest prime factor as the base if possible. For 2422^{42}, the least base is 22.

Summary The problem required us to count the number of functions f:AP(A)f: \mathrm{A} \rightarrow \mathrm{P}(\mathrm{A}) such that af(a)\mathrm{a} \in f(\mathrm{a}) for all aA\mathrm{a} \in \mathrm{A}. We determined that for each of the 7 elements in set A, there are 271=262^{7-1} = 2^6 possible subsets it can map to, satisfying the condition. By applying the multiplication principle, the total number of such functions is (26)7=242(2^6)^7 = 2^{42}. Given this is in the form mnm^n with the least mm, we have m=2m=2 and n=42n=42. Therefore, m+n=2+42=44m+n = 2+42 = 44.

The final answer is 44\boxed{44}.

Practice More Sets, Relations & Functions Questions

View All Questions