Function Notation and Composition
Digital SAT Math · Advanced Math
Goal: Read the notation $f(x)$ fluently: which part is the function name, which is the input, which is the output — and answer the quantity actually asked when the question works backwards (given $f(a)$, find $a$). Get function values from three sources: a formula, a table, a graph. Compute $f(g(x))$ in the correct order, and recognize at once that $f(g(x))$ and $g(f(x))$ are in general different. Handle parameter forms — “for what value of $k$” and “which must be true” — and the form that gives $f(ax+b)$ and then asks for $f(x)$.
The name, the input, the output
The symbol $f(x)$ is not a product. $f$ is the name of a rule, x is the input fed into that rule, and $f(x)$ is the output the rule returns. Substituting means replacing every letter $x$ in the formula by whatever sits inside the brackets — a number, another letter, or a whole expression.
If $f(x)=3x^2-5x+2$ then $f(\square)=3\square^2-5\square+2$ for whatever object $\square$ happens to be. Wrapping the input in brackets before squaring is what protects the sign: $f(-2)=3(-2)^2-5(-2)+2$, never $3-2^2-5-2+2$.
$f(x)$ is read “$f$ at $x$”, not “$f$ times $x$”. The consequence to remember: the letter $x$ is just a placeholder. A question can perfectly well write $f(t)$, $f(2a)$, $f(x+h)$ — it is still the same function. Conversely, $f(x+2)$ and $f(x)+2$ are two completely different things: the first changes the input, the second changes the output.
If $f(x)=3x^2-5x+2$, find $f(-2)$.
$f(-2)=3(-2)^2-5(-2)+2=3(4)+10+2=\boxed{24}$.
The two places students lose this: reading $(-2)^2$ as $-4$ (giving $0$), and copying $-5x$ as $-5(2)$ (giving $4$, which is $f(2)$).
If $f(x)=x^2-4x$, find every value of $x$ with $f(x)=5$.
The question runs backwards: the output is given, the input is unknown. $x^2-4x=5 \Rightarrow x^2-4x-5=0 \Rightarrow (x-5)(x+1)=0$, so $\boxed{x=5 \text{ or } x=-1}$. Answering “$5$” alone throws away half the question.
Reading a function from a table
A table is just a list of input–output pairs. Reading down a column answers “what is $f(3)$”; scanning along the output row answers “for what $x$ is $f(x)=1$”.
| $x$ | $-2$ | $-1$ | $0$ | $1$ | $2$ | $3$ |
|---|---|---|---|---|---|---|
| $f(x)$ | $5$ | $1$ | $-1$ | $-1$ | $1$ | $5$ |
| $g(x)$ | $3$ | $0$ | $1$ | $-2$ | $2$ | $-1$ |
An input has exactly one output, but an output may come from several inputs. In the table above $f(x)=1$ at $x=-1$ and at $x=2$; a question asking for “the value of $x$” with that table has two answers, and a student-produced-response question will accept either.
Using the table, find $f(g(-1))$ and $g(f(-1))$.
Inner first. $g(-1)=0$, then $f(0)=-1$, so $f(g(-1))=\boxed{-1}$.
Now the other order: $f(-1)=1$, then $g(1)=-2$, so $g(f(-1))=\boxed{-2}$. Same table, same input, different answers.
Reading the wrong row at step two. To compute $f(g(-1))$: after getting $g(-1)=0$, you must jump to the $f$ row at column $x=0$ (giving $-1$), not keep reading the $g$ row at column $x=0$ (giving $1$). Write “$g(-1)=0$” on paper first and only then look for $f(0)$; don't do it all in your head in one go.
Reading a function from a graph
On the graph of $y=f(x)$, the input is measured horizontally and the output vertically. “Find $f(3)$” means: stand at $x=3$, go up or down to the curve, read the height. “Solve $f(x)=3$” means the reverse: draw the horizontal line $y=3$ and read off every $x$ where it meets the curve — there may be more than one.
The complete graph of $f$ consists of exactly two line segments, from $(-4,6)$ through $(0,-2)$ to $(5,3)$.
From the graph above, find $f(-2)$, and then solve $f(x)=0$.
The left branch runs from $(-4,6)$ to $(0,-2)$: slope $\dfrac{-2-6}{0-(-4)}=-2$, so on that branch $y=-2x-2$. At $x=-2$: $f(-2)=4-2=\boxed{2}$.
For $f(x)=0$, check both branches. Left branch: $-2x-2=0 \Rightarrow x=-1$, and $-1$ does lie in $[-4,0]$. Right branch runs from $(0,-2)$ to $(5,3)$, slope $1$, so $y=x-2$; then $x-2=0 \Rightarrow x=2$, which lies in $[0,5]$. Two solutions: $\boxed{x=-1 \text{ and } x=2}$.
The SAT's graph questions are almost always one of the two questions above, only packaged differently: “what is $f(3)$” (given the $x$-value, find the y-value) or “how many solutions does $f(x)=3$ have” (given the y-value, count the intersections). Confusing these two is the fastest way to lose points in the graph group. Tip: underline the number in the question and ask yourself “which axis does this number sit on”.
Composition: the inner function goes first
$f(g(x))$ means: put $x$ into $g$, take whatever comes out, put that into $f$. Algebraically, write $f$'s formula and replace every $x$ by the whole expression $g(x)$, keeping brackets.
- Inside out. In $f(g(x))$, evaluate $g$ first. In $g(f(x))$, evaluate $f$ first.
- Order is not free. $f(g(x))=g(f(x))$ is false for most pairs of functions; when a question forces the two to be equal, that equality is the whole question.
$f(x)=x^2-2$ and $g(x)=x+4$. Find $f(g(x))$ and $g(f(x))$.
$f(g(x))=(x+4)^2-2=x^2+8x+16-2=\boxed{x^2+8x+14}$.
$g(f(x))=(x^2-2)+4=\boxed{x^2+2}$.
Expanding $(x+4)^2$ as $x^2+16$ is the classic slip; it produces $x^2+14$, an answer choice that will certainly be offered.
$(x+4)^2 \neq x^2+16$. Squaring a binomial always produces a middle term: $(x+4)^2=x^2+8x+16$. In a composition question, this error is not exposed right away because the result still “looks like a polynomial”, and the matching wrong option is always among the four choices.
Composition with a parameter
The hard version gives a composed value and asks for the constant hidden inside. Do the composition symbolically first, then set it equal to the number.
$f(x)=2x-5$ and $g(x)=x^2+k$, where $k$ is a constant. If $f(g(1))=7$, what is $k$?
$g(1)=1+k$. Then $f(g(1))=2(1+k)-5=2k-3$. Setting $2k-3=7$ gives $2k=10$ and $\boxed{k=5}$.
$f(x)=3x-2$ and $f(g(x))=6x+4$ for all $x$. Find $g(x)$.
$f(g(x))=3\,g(x)-2$. So $3g(x)-2=6x+4$, giving $3g(x)=6x+6$ and $\boxed{g(x)=2x+2}$.
Dividing only the first term — writing $g(x)=2x+6$ — is the error the distractors are built from.
The “for all $x$” form is an identity: the two sides must match coefficient by coefficient, not match at a single point. So you are allowed to compare the coefficients of $x$ with each other and the constants with each other, giving a system of two equations. This is the bridge to the “which must be true” question at the end of the lesson.
When the input itself is an expression
A question may define $f$ only through a composed statement, such as $f(2x+1)=6x+5$, and then ask for $f(x)$. Substitute a new letter for the inner expression and solve backwards.
$f(3x-2)=12x+1$ for all $x$. Find $f(x)$.
Let $u=3x-2$. Then $x=\dfrac{u+2}{3}$, so \[ f(u)=12\cdot\frac{u+2}{3}+1=4(u+2)+1=4u+9 . \] Renaming the letter, $\boxed{f(x)=4x+9}$. Check: $f(3x-2)=4(3x-2)+9=12x-8+9=12x+1$.
Answering $f(x)=12x+1$ straight away because you see the right side. That is the value of $f$ at $3x-2$, not at $x$. Always check: substitute the expression in the brackets into the formula you just found, and you must get exactly the right side of the question.