"f:A->B & g:C->D are 2 functions then for their composition B should be equal to C."
But if B is not equal to C then composition is possible or not? Eg:A={1,2,} B={3,4} C={4,5} D={6,7} then can fog be computed Or not?
f={(1,3), (2,4)} g={(4,6),(5,7)}
gof={(2,6)} is it true or not?
I hope my question could be understood:)