# Let f: {1, 3, 4} → {1, 2, 5} and g: {1, 2, 5} → {1, 3} be given

Question:

Let $f:\{1,3,4\} \rightarrow\{1,2,5\}$ and $g:\{1,2,5\} \rightarrow\{1,3\}$ be given by $f=\{(1,2),(3,5),(4,1)\}$ and $g=\{(1,3),(2,3),(5,1)\}$. Write down gof.

Solution:

The functions $f:\{1,3,4\} \rightarrow\{1,2,5\}$ and $g:\{1,2,5\} \rightarrow\{1,3\}$ are defined as

= {(1, 2), (3, 5), (4, 1)} and = {(1, 3), (2, 3), (5, 1)}.