$f(g(x))$ means "plug $x$ into $g$, then plug the result into $f$." Work from the inside out.
Example
$f(x) = 2x + 1$ and $g(x) = x^2$. Find $f(g(3))$.
$g(3) = 9$, then $f(9) = 19$.
Incorrect$f(g(3)) = f(3) \cdot g(3)$. Composition is not multiplication.
Transformations
- $f(x) + k$ shifts up $k$; $f(x - h)$ shifts right $h$.
- $-f(x)$ reflects over the x-axis; $f(-x)$ reflects over the y-axis.
- $a f(x)$ stretches vertically by a factor of $a$.
Tip "Right" goes with minus inside the parentheses. $f(x - 3)$ moves the graph 3 units to the right.