Text

Two functions are given via Venn diagrams.

  • The function gg sends the set {1,2,3,4,5}\{1,2,3,4,5\} to the set of icons {sun,lightning,tree,coffee,heart}\{\text{sun},\text{lightning},\text{tree},\text{coffee},\text{heart}\} with: 1sun1\to\text{sun}, 2tree2\to\text{tree}, 3tree3\to\text{tree}, 4coffee4\to\text{coffee}, 5heart5\to\text{heart}.

  • The function ff sends the set {A,B,C,D}\{A,B,C,D\} to {1,2,3,4,5}\{1,2,3,4,5\} with: A2A\to 2, B3B\to 3, C2C\to 2, D5D\to 5.

  • (a) Represent the function h=gfh=g\circ f in a further diagram.

  • (b) Determine the image set of ff and that of gg.

(diagrams in the original test)