EXAM ONE · MULTIPLE CHOICE

Composition & Function Ops

This is your self-named biggest weakness — and it's one very specific habit, not a hole in your understanding. You know how to substitute. The trap is what you do after.

‹ Back to Exam One

Two different skills, one module

Composition vs. Operations

Function ops $(f+g)(x)$, $(f \cdot g)(x)$, $(f/g)(x)$ — read two values off a graph or table, then do arithmetic on those numbers.
Composition $(f\circ g)(x)$ — plug an entire function into another function. Order matters: $g$ goes into $f$. Start from the inside and work out.

The order trap: $(f\circ g)(x)$ means "$g$ first, then $f$" — read it right to left, inside out. If you catch yourself plugging $f$ into $g$ instead, stop and reread which letter is on the outside.

Quick check — before you start

One Question, 60 Seconds

Work this on paper first — full expansion, not a shortcut. Then check.

$$f(x) = x^2 + 1, \quad g(x) = x + 3$$

Find $(f \circ g)(x)$.

A) $x^2 + 9 + 1$
B) $x^2 + 6x + 9 + 1$
C) $x^2 + 3 + 1$
D) $x^2 + 4$  (computed $g\circ f$ instead)
Check it

B is correct. Substitute $(x+3)$ everywhere $f$ has an $x$: $(x+3)^2+1$. FOIL the binomial: $(x+3)(x+3)=x^2+6x+9$, plus 1.

If you picked A — this is the trap, named exactly: "square the front, square the back." $(x+3)^2$ is NOT $x^2+3^2$. A binomial squared has to be FOILed, every time. Go do the worked example below before the practice set.

If you picked C — you substituted but forgot to square the binomial at all.

If you picked D — you composed backwards: plugged $f(x)$ into $g$ instead of $g(x)$ into $f$. $g$ goes into $f$ — start from the inside.

Got B cold? Skim the worked example, then go straight to the practice set.

Worked Example 1 — Function Ops from a Graph

This part's already solid for you — one quick refresher on the order trap in division.

Reading a graph: $f(2) = 3$ and $g(2) = -1$. Find $(f/g)(2)$.

1 · Read both values off the graph first, before doing any arithmetic: $f(2)=3$, $g(2)=-1$.
2 · $(f/g)(2) = f(2) \div g(2) = 3 \div (-1) = -3$.

The trap: division isn't commutative — $3 \div (-1) \neq -1 \div 3$. Order matters. This is the same spot you slipped on a $2 \div -1$ problem before; the fix is just reading the operation left to right, same as it's written: $f$ first, then $g$.

Worked Example 2 — The Contrast That Matters

Same outer function, two different inner functions. Watch what changes.

$$f(x) = x^2, \quad g(x) = 3x$$
1 · $(f\circ g)(x) = f(g(x)) = (3x)^2$.
2 · $(3x)^2 = 9x^2$. One term squared, no FOIL needed — this one's genuinely just "square the front and back" because there IS only one term.
$$f(x) = x^2, \quad g(x) = x+4$$
1 · $(f\circ g)(x) = f(g(x)) = (x+4)^2$. Same outer function as above — only the inner function changed.
2 · This is now a binomial. $(x+4)^2 = (x+4)(x+4)$ — FOIL it: $x^2+4x+4x+16 = x^2+8x+16$.

Why these two side by side: the shortcut "square the front, square the back" happens to work when there's only one term inside $(3x)^2 = 9x^2$. The moment the inner function has two terms — $(x+4)^2$ — that shortcut breaks, and only FOIL gives the right answer. Same outer function, same-looking move, completely different result. Check which one you're looking at before you square anything.

$x \;\rightarrow\; [\,g\,] \;\rightarrow\; x+4 \;\rightarrow\; [\,f\,] \;\rightarrow\; (x+4)^2 = x^2+8x+16$
Now you

Faded — Fill the Blanks

$$f(x) = x^2 - 2, \quad g(x) = x - 5$$

Find $(f\circ g)(x)$.

1 · Substitute: $f(g(x)) = (\underline{\qquad})^2 - 2$
2 · FOIL the binomial: $(x-5)(x-5) = x^2 - \underline{\quad}x + \underline{\quad}$
3 · Add the $-2$: $\underline{\qquad}$
Check it

$(x-5)^2-2 = (x^2-10x+25)-2 = x^2-10x+23$.

Practice Set (6) — Multiple Choice, Sheet Face-Down First

Work every problem in full on paper — expand it, don't shortcut it — before you look at the options.

1 · Monomial inner function — control case.

$f(x)=x^2$, $g(x)=2x$. Find $(f\circ g)(x)$.

A) $2x^2$    B) $4x^2$    C) $x^2+2x$    D) $4x$

Check it

B. $(2x)^2=4x^2$ — one term, no FOIL needed. This one confirms the substitution mechanic is solid before the trap shows up in #2.

2 · Binomial inner function — the trap, same outer function as #1.

$f(x)=x^2$, $g(x)=x+5$. Find $(f\circ g)(x)$.

A) $x^2+25$    B) $x^2+10x+25$    C) $x^2+5$    D) $2x+5$

Check it

B. $(x+5)^2=(x+5)(x+5)=x^2+10x+25$. A is the "square the front, square the back" trap — same outer function as #1, but now there are two terms inside, so the shortcut breaks.

3 · Same trap, new numbers.

$f(x)=x^2+2$, $g(x)=x-1$. Find $(f\circ g)(x)$.

A) $x^2+3$    B) $x^2-2x+3$    C) $x^2-1+2$    D) $x^2-2x-1$

Check it

B. $(x-1)^2+2 = (x^2-2x+1)+2 = x^2-2x+3$. Getting this one confirms the fix from #2 generalized — it wasn't just about that specific problem's numbers.

4 · Leading coefficient distractor.

$f(x)=2x^2$, $g(x)=x+3$. Find $(f\circ g)(x)$.

A) $2x^2+9$    B) $2x^2+6x+9$    C) $2x^2+12x+18$    D) $2x^2+3$

Check it

C. FOIL first — $(x+3)^2=x^2+6x+9$ — THEN multiply the whole thing by the leading coefficient 2: $2x^2+12x+18$. B is the trap of multiplying only the squared term by 2 and leaving the rest alone.

5 · Cubic — does "FOIL" generalize, or is it just a keyword?

$f(x)=x^3$, $g(x)=x-2$. Find $(f\circ g)(x)$.

A) $x^3-8$    B) $x^3-6x^2+12x-8$    C) $x^3-2$    D) $x^3-2x$

Check it

B. $(x-2)^3 = (x-2)(x-2)(x-2)$, fully expanded. "FOIL" only technically covers two binomials — the real rule is fully expand any power of a multi-term expression, not just "say FOIL and multiply two things." If A tempted you, that's the shortcut resurfacing in a new shape.

6 · Fusion — self-check by evaluating two ways.

$f(x)=x^2-x$, $g(x)=x+1$. Find $(f\circ g)(x)$, then evaluate at $x=2$.

A) $x^2+x$, giving $6$    B) $x^2+x$, giving $8$    C) $x^2+x+2$, giving $8$    D) $x^2+x$, giving $4$

Check it

A. $(x+1)^2-(x+1) = x^2+2x+1-x-1 = x^2+x$. At $x=2$: $4+2=6$. Cross-check it the other way, without using the composed formula at all: $g(2)=3$, then $f(3)=9-3=6$. Same number both ways — that's the self-check. Compose-then-evaluate and evaluate-then-compose have to agree; if they don't on test day, you made an error in one of the two paths, so redo whichever is faster to recheck.

Extra depth

Composition + Domain

A less common combination: finding the domain of a composed function. This wasn't the focus of your recent sessions, so treat this section as extra coverage, not a core requirement — but the mechanics are the same domain rules you already know, just applied twice.

The domain of $(f\circ g)(x)$ has to satisfy two things: $x$ has to be in the domain of $g$ itself, and $g(x)$ has to land inside the domain of $f$.
1 · Composed domain — denominator inside.

$f(x) = \dfrac{1}{x}$, $g(x) = x-4$. Find the domain of $(f\circ g)(x)$.

A) $(-\infty,\infty)$    B) $(-\infty,4)\cup(4,\infty)$    C) $(-\infty,0)\cup(0,\infty)$    D) $x \neq -4$

Check it

B. $g(x)=x-4$ has no domain restriction of its own, but $f$ needs its input $\neq 0$: $g(x) \neq 0 \Rightarrow x-4 \neq 0 \Rightarrow x \neq 4$. C mistakenly restricts $x$ instead of $g(x)$.

2 · Composed domain — radical inside.

$f(x) = \sqrt{x}$, $g(x) = x-6$. Find the domain of $(f\circ g)(x)$.

A) $[0,\infty)$    B) $[6,\infty)$    C) $(-\infty,6]$    D) $(-\infty,\infty)$

Check it

B. $f$ needs its input $\geq 0$: $g(x)\geq 0 \Rightarrow x-6\geq 0 \Rightarrow x\geq 6$. A applied the rule to $x$ directly instead of to $g(x)$ first.

Before You Leave — Add This to Your Sheet

Two lines: "Composition = plug all the way in, $g$ first (start from the inside), then FOIL if the inner function has more than one term — don't square the front and back separately." And: "Ops from graphs = read the $y$-values first, then do the arithmetic in the order it's written."

‹ Back to Exam One