If the mappings f and g are given by f={(1,2),(3,5),(4,1)} and g={(2,3),(5,1),(1,3)}, write fog.
Let f:{1,3,4} → {1,2,5}and g:{1,2,5} → {1,3}be given by f:(1,2),(3,5),(4,1)and g:{(1,3),(2,3),(5,1)}. Write down gof.