Function Composition on the SAT
The one idea to hold onto
$f(g(x))$ means you do $g$ first and then put the result into $f$. You always work from the inside out. With a number, find $g(4)$, then find $f$ of that answer.
With an expression, replace every $x$ in $f$ with the whole of $g(x)$, in parentheses. The order matters: $f(g(x))$ and $g(f(x))$ are usually different, and the SAT likes to put both among the answer choices.
Composition questions are short. Almost every wrong answer I see comes from doing the outer function first, or from substituting into only part of the rule.
Examples
Both orders
$f(x) = 2x + 1$ and $g(x) = x^2$. Find $f(g(x))$ and $g(f(x))$.
- $f(g(x)) = 2(x^2) + 1 = 2x^2 + 1$.
- $g(f(x)) = (2x + 1)^2 = 4x^2 + 4x + 1$.
- The two are different, which is why the SAT likes to offer both.
Finding the outer function
$g(x) = 2x + 1$ and $f(g(x)) = 6x + 5$, where $f$ is linear. Find $f(4)$.
- Write $6x + 5$ in terms of $2x + 1$: $6x + 5 = 3(2x + 1) + 2$.
- So $f(u) = 3u + 2$.
- $f(4) = 3(4) + 2 = 14$.
Solving an equation with a composition
$f(x) = x^2 - 4$ and $g(x) = x + 2$. For what values of $x$ is $f(g(x)) = 0$?
- $f(g(x)) = (x + 2)^2 - 4$.
- Set it to $0$: $(x + 2)^2 = 4$, so $x + 2 = 2$ or $x + 2 = -2$.
- $x = 0$ or $x = -4$.
What goes wrong
- Working outside in. In $f(g(4))$, $g$ goes first.
- Treating composition as multiplication. $f(g(x))$ is not $f(x) \cdot g(x)$.
- Leaving out parentheses. $g(f(x))$ with $g(x) = x^2$ is $(2x + 1)^2$, not $2x^2 + 1$.
- Picking the other order. The answer choices often include $g(f(x))$ when the question asks for $f(g(x))$.
- Squaring a binomial term by term. $(2x + 1)^2 = 4x^2 + 4x + 1$, not $4x^2 + 1$.
Quick reference
| You see | Do this |
|---|---|
| $f(g(4))$ | Find $g(4)$, then put that number into $f$. |
| $f(g(x))$ as an expression | Replace each $x$ in $f$ with $(g(x))$, then simplify. |
| $f(f(2))$ | Apply $f$ twice: find $f(2)$, then $f$ of that. |
| $f(g(x))$ given, $g$ given, find $f$ | Let $u = g(x)$ and rewrite the result in terms of $u$. |
| Domain of $f(g(x))$ | The inside output must be a value $f$ accepts, such as $\ge 0$ under a square root. |
| Tables or graphs of $f$ and $g$ | Read $g$ at the input first, then look up that output in $f$. |
Practice questions
Work from the inside out on every one. Then open the solution to compare.
- A$11$
- B$14$
- C$8$
- D$24$
Show solution
Show solution
- A$(2x + 1)^2$
- B$2x^2 + 1$
- C$4x^2 + 1$
- D$2x^3 + x^2$
Show solution
- A$2x^2 + 1$
- B$4x^2 + 1$
- C$4x^2 + 4x + 1$
- D$2x^2 + 4x + 1$
Show solution
Show solution
- A$3x - 3$
- B$3x - 11$
- C$3x - 12$
- D$4x - 3$
Show solution
Show solution
- A$x \ge 0$
- B$x \ge -7$
- CAll real numbers
- D$x \ge 7$
Show solution
- A$0$ and $-4$
- B$2$ and $-2$
- C$-2$ only
- D$0$ and $4$
Show solution
Show solution
Find your exact gaps
A free, full-length practice test shows which Advanced Math questions you miss.
Practice this for free