Find the domain and range of the composition g ∘ f. Write your answers in set notat...

Check the final answer first, then review the worked steps.

Answer

(a) \{0, 4, 6\}, (b) \{2\}

Work

Domain of $f = \{0, 4, 5, 6, 8, 9\}$.
$f(0)=0, f(4)=3, f(5)=5, f(6)=3, f(8)=5, f(9)=5$.
Domain of $g = \{0, 3, 4, 6, 7, 9\}$.
Valid $x$: $f(0)=0 \in \text{dom}(g)$, $f(4)=3 \in \text{dom}(g)$, $f(6)=3 \in \text{dom}(g)$.
Domain of $g \circ f = \{0, 4, 6\}$.
$g(f(0))=g(0)=2, g(f(4))=g(3)=2, g(f(6))=g(3)=2$.
Range of $g \circ f = \{2\}$.

Step-by-step solution

  1. Identify the domain of $g \circ f$: The domain consists of all $x$ in the domain of $f$ such that $f(x)$ is in the domain of $g$. The domain of $f$ is $\{0, 4, 5, 6, 8, 9\}$.
  2. Evaluate $f(x)$ for each $x$ in the domain of $f$: $f(0)=0$, $f(4)=3$, $f(5)=5$, $f(6)=3$, $f(8)=5$, $f(9)=5$.
  3. Check which $f(x)$ values are in the domain of $g$: The domain of $g$ is $\{0, 3, 4, 6, 7, 9\}$. Comparing our $f(x)$ values $\{0, 3, 5\}$ to the domain of $g$, we see $0$ and $3$ are in the domain of $g$, but $5$ is not. Thus, the domain of $g \circ f$ is $\{0, 4, 6\}$.
  4. Find the range of $g \circ f$: Calculate $g(f(x))$ for the valid domain values. $g(f(0)) = g(0) = 2$. $g(f(4)) = g(3) = 2$. $g(f(6)) = g(3) = 2$. The range is $\{2\}$.