Clear Notion Academy

Sets, Relations and Functions (Beyond Advanced) Practice: The arrow diagram shows a function f:A B with A= 1,2,3,4,5,6,7 and B= p,q,r,s…

Question

The arrow diagram shows a function f:A→Bf:A\to B with A={1,2,3,4,5,6,7}A=\{1,2,3,4,5,6,7\} and B={p,q,r,s}B=\{p,q,r,s\}: f(1)=f(2)=f(3)=pf(1)=f(2)=f(3)=p, f(4)=qf(4)=q, f(5)=f(6)=rf(5)=f(6)=r, f(7)=sf(7)=s. The number of functions h:A→Ah:A\to A satisfying f(h(a))=f(a)f(h(a))=f(a) for every a∈Aa\in A is

Options

  1. 5454
  2. 108108
  3. 8181
  4. 1212

Answer

Correct option: B

Hint

The condition says h(a)h(a) must lie in the same fibre as aa. Count the independent choices fibre by fibre.

Solution

f(h(a))=f(a)f(h(a))=f(a) means h(a)∈f−1(f(a))h(a)\in f^{-1}(f(a)), the fibre of aa. Choices for different aa are independent. Fibre {1,2,3}\{1,2,3\} has size 33: each of its three elements has 33 choices, 33=273^3=27. Fibre {4}\{4\}: 11. Fibre {5,6}\{5,6\}: 22=42^2=4. Fibre {7}\{7\}: 11. Total 27⋅1⋅4⋅1=10827\cdot1\cdot4\cdot1=108. The value 5454 comes from counting only 33⋅23^3\cdot2 (treating the two-element fibre as one choice), and 12=3!⋅2!12=3!\cdot2! counts permutations within fibres only.

More questions from Sets, Relations and Functions (Beyond Advanced) Practice

Practise the full set: Sets, Relations and Functions — Beyond Advanced