Find the domain and range of the composition f ∘ g.
Check the final answer first, then review the worked steps.
Check the final answer first, then review the worked steps.
g(0)=3, f(3)=1; g(2)=5, f(5)=5; g(3)=7, f(7)=7; g(4)=3, f(3)=1; g(5)=5, f(5)=5.
The domain of $f \circ g$ consists of $x$ in the domain of $g$ such that $g(x)$ is in the domain of $f$. Mapping $g(x)$ values: $g(0)=3, g(2)=5, g(3)=7, g(4)=3, g(5)=5$. Since $3, 5, 7$ are in the domain of $f$, the domain is $\{0, 2, 3, 4, 5\}$. The range is $\{f(3), f(5), f(7)\} = \{1, 5, 7\}$.