To determine the number of elements in the set T, we first analyze the condition for the existence of the function g:B→N.
Step 1: Injectivity of f
Let A={1,2,3,4,5} with ∣A∣=5, and B={1,2,3,4,5,6,7} with ∣B∣=7.
We are given that T consists of functions f∈S for which there exists a function g:B→N satisfying:
g(f(x))=2xfor all x∈A
-
Necessity: Suppose such a function g exists. If x1,x2∈A such that f(x1)=f(x2), then:
g(f(x1))=g(f(x2))⟹2x1=2x2⟹x1=x2
Thus, f must be an injective (one-to-one) function.
-
Sufficiency: If f:A→B is injective, then for each y∈im(f), there exists a unique x∈A such that f(x)=y. We can explicitly define g:B→N by:
g(y)={2x1if y=f(x) for some x∈A,if y∈B∖im(f).
This function g is well-defined and satisfies g(f(x))=2x for all x∈A.
Therefore, the set T consists of all injective functions f:A→B such that f(2)=2 and f(4)=4.
Step 2: Counting via the Principle of Inclusion-Exclusion
Let U be the set of all injective functions f:A→B. The total number of such functions is:
∣U∣=7P5=7×6×5×4×3=2520
We define the following properties for functions f∈U:
- Let E1 be the set of injective functions such that f(2)=2.
- Let E2 be the set of injective functions such that f(4)=4.
We need to calculate ∣T∣=∣U∖(E1∪E2)∣. By the Principle of Inclusion-Exclusion:
∣T∣=∣U∣−∣E1∣−∣E2∣+∣E1∩E2∣
-
Calculating ∣E1∣:
If f(2)=2, the image of 2 is fixed. The remaining 4 elements of A (i.e., {1,3,4,5}) must be mapped injectively to the remaining 6 elements of B (i.e., {1,3,4,5,6,7}).
∣E1∣=6P4=6×5×4×3=360
-
Calculating ∣E2∣:
Similarly, if f(4)=4, the image of 4 is fixed. The remaining 4 elements of A must be mapped injectively to the remaining 6 elements of B.
∣E2∣=6P4=6×5×4×3=360
-
Calculating ∣E1∩E2∣:
If f(2)=2 and f(4)=4, both images are fixed and distinct. The remaining 3 elements of A (i.e., {1,3,5}) must be mapped injectively to the remaining 5 elements of B (i.e., {1,3,5,6,7}).
∣E1∩E2∣=5P3=5×4×3=60
Step 3: Final Computation
Substituting these values into the inclusion-exclusion formula:
∣T∣=2520−360−360+60=1860
Thus, the number of elements in the set T is 1860.