I have functions $f$ and $g$. However, the domain of $f(g)$ is not the same as the domain of $g$.
$f = \{ (1,2), (2,3), (3,4) \}$
$g = \{ (1,2), (2,0), (3,5), (4,3) \}$
$f(g) = \{ (1,3), (4,4) \}$
$g(f) = \{ (1,0), (2,5), (3,3) \}$
However, the domain of $f(g)$ does not equal the domain of $g$. So is $f(g)$ not defined in this case? Or is it a function with a smaller domain than $g$?