Consider two sets A=x∈Z:∣(∣x−3∣−3)∣≤1 and
B=x∈R−1,2:x−1(x−2)(x−4)loge(∣x−2∣)=0. Then the number of
onto functions f:A→B is equal to :
Solutions · 1
Official solution
A=x∈Z:∣(∣x−3∣−3)∣≤1∣(∣x−3∣−3)∣≤1∣x∣≤a⇒x∈[−a,a]⇒(∣x−3∣−3)∈[−1,1]⇒∣x−3∣∈[2,4]∣x∣∈[α,β]⇒x∈[−β,−α]∪[α,β]x−3∈[−4,−2]∪[2,4]⇒x∈[−1,1]∪[5,7]
Since x∈Z (integers), x=−1,0,1,5,6,7
So set A=−1,0,1,5,6,7
Set B=x∈R−1,2,(x−1)(x−2)(x−4)loge(∣x−2∣)=0(x−1)(x−2)(x−4)loge(∣x−2∣)=0⇒x−2=0⇒x=2 but x=2⇒x−4=0⇒x=4⇒loge∣x−2∣=0⇒∣x−2∣=1x−2=±1⇒x=3,1x=1B=3,4n(A)n(B)ABn(A)=6,n(B)=2
Number of onto function f:A→B is
= Total function - Into function
Total function =(n(B))n(A)=26
number of Into function can be find using inclusion-exclusion principle
Number of into function =2C1(1)62C1(1)6= only one image or range left from set B.
Number of onto function =26−2C1(1)6=64−2=62