Home
Class 12
MATHS
Let S= {1,2,3,4}. Then the number of ele...

Let S= {1,2,3,4}. Then the number of elements in the set {`f: S xx S rarr S`: f is onto and f(a,b)= f(b, a) `ge a AA (a,b) in S xx S`} is ____

Text Solution

AI Generated Solution

The correct Answer is:
To solve the problem, we need to find the number of onto functions \( f: S \times S \to S \) such that \( f(a, b) = f(b, a) \) for all \( (a, b) \in S \times S \). Here, \( S = \{1, 2, 3, 4\} \). ### Step 1: Understanding the Function We need to find functions that are onto (surjective) and symmetric. The symmetry condition \( f(a, b) = f(b, a) \) implies that the function's output does not depend on the order of the inputs. Thus, we can treat the ordered pairs \( (a, b) \) and \( (b, a) \) as equivalent. ### Step 2: Counting Ordered Pairs The set \( S \times S \) contains \( 4 \times 4 = 16 \) ordered pairs. However, due to the symmetry condition, we can group these pairs. The pairs can be categorized as follows: - Pairs where \( a = b \): \( (1, 1), (2, 2), (3, 3), (4, 4) \) (4 pairs) - Pairs where \( a \neq b \): Each distinct pair \( (a, b) \) can be represented as \( (1, 2), (1, 3), (1, 4), (2, 3), (2, 4), (3, 4) \) (6 pairs) Thus, we have a total of \( 4 + 6 = 10 \) unique pairs to consider. ### Step 3: Finding Onto Functions An onto function must map to every element in \( S \). We can use the principle of inclusion-exclusion to count the number of onto functions. #### Case 1: No element maps to 3 If no element of \( S \) maps to 3, then we can only map to 1, 2, and 4. The number of onto functions from \( S \times S \) (10 pairs) to \( \{1, 2, 4\} \) can be calculated as follows: - Total functions = \( 3^{10} \) - Functions that miss at least one of \( \{1, 2, 4\} \): - Missing 1: \( 2^{10} \) - Missing 2: \( 2^{10} \) - Missing 4: \( 2^{10} \) - Adding back the functions that miss two elements (only one element left): - Missing 1 and 2: \( 1^{10} = 1 \) - Missing 1 and 4: \( 1^{10} = 1 \) - Missing 2 and 4: \( 1^{10} = 1 \) Using inclusion-exclusion: \[ \text{Onto functions} = 3^{10} - 3 \cdot 2^{10} + 3 \cdot 1 \] #### Case 2: At least one element maps to 3 If at least one element maps to 3, we can consider the functions that map to all four elements. The number of onto functions from \( S \times S \) to \( S \) can be calculated similarly: - Total functions = \( 4^{10} \) - Functions that miss at least one of \( \{1, 2, 3, 4\} \): - Missing 1: \( 3^{10} \) - Missing 2: \( 3^{10} \) - Missing 3: \( 3^{10} \) - Missing 4: \( 3^{10} \) - Adding back for pairs missing two elements: - Missing 1 and 2: \( 2^{10} \) - Missing 1 and 3: \( 2^{10} \) - Missing 1 and 4: \( 2^{10} \) - Missing 2 and 3: \( 2^{10} \) - Missing 2 and 4: \( 2^{10} \) - Missing 3 and 4: \( 2^{10} \) Using inclusion-exclusion: \[ \text{Onto functions} = 4^{10} - 4 \cdot 3^{10} + 6 \cdot 2^{10} - 4 \cdot 1 \] ### Step 4: Total Onto Functions Finally, we sum the results from both cases: \[ \text{Total Onto Functions} = \text{Case 1} + \text{Case 2} \] ### Final Answer After calculating the values from the above expressions, we find that the total number of onto functions \( f: S \times S \to S \) that satisfy the given conditions is **37**.
Promotional Banner

Similar Questions

Explore conceptually related problems

Let S= {1,2,3,4 5,6, 7} . Then the number of possible functions f: S rarr S such that f(m.n)= f(m).f(n) for every m, n in S and m.n in S is equal to ____

Let S={1,2,3,4). The number of functions f:S rarr S. such that f(i)<=2i for all i in S is

Let A = { a, b,c } and B = {1, 2, 3, 4} . Then the number of elements in the set C = { f : A to B |2 in f(A) and f is not one-one } is

Let f (x) = (x +1)^(2) -1 ( x ge -1). Then the number of elements in the set S = {x :f (x) = f ^(-1)(x)} is

The number of elements in the power set p(s) of the set S={ [ᴓ] ,1 ,[2,3] } is. (A) 4 (B) 8 (C) 2 (D) none of these

Let A and B be sets.Show that f:A times B rarr B times A such that (a,b)=(b,a) is bijective function.