Quantum Tutoring Learn
Learn › Digital SAT › Quadratics › Composite functions & evaluating compositions
Digital SAT Math · Quadratics

Composite functions & evaluating compositions

The rule. A composite function f(g(x)) means: first work out the INNER function g at the input, then put that result into the OUTER function f. You work from the inside out. Composition is substitution, not multiplication, so f(g(x)) is not f(x) times g(x). Order matters too: f(g(x)) is usually different from g(f(x)). When values come from a table or graph, look up the inner function first, then look up the outer function at that value.

How to approach it

Start here. Identify which function is inner and which is outer, and whether you are working with a formula, single numbers, or a table or graph.

Plan

  1. Evaluate the inner function at the given input.
  2. Take that output and use it as the input to the outer function.
  3. For formulas, substitute the whole inner expression into the outer rule.

Work it

  1. Do the inner step first, then the outer step.
  2. Never multiply the two functions together.

Check yourself. Did you do the inner function first, substitute instead of multiply, and respect that f(g(x)) and g(f(x)) can differ? From a table, did you read the correct function at each step?

Worked examples

Worked example 1

Let f(x) = x2 and g(x) = x - 2. Find f(g(5)).

In f(g(5)) the inner function is g and the outer is f. We evaluate g(5) first, then apply f to that result.

Plan

  1. Evaluate the inner function g at 5.
  2. Take that output and apply the outer function f.
g(5) = 5 - 2 = 3evaluate the inner function first
f(g(5)) = f(3)feed the result into f
= 32 = 9square to finish

Check. Working inside-out gives 9. Doing it in the wrong order — squaring first, f(5) = 25, then subtracting 2 — would give 23, which is g(f(5)), a different question.

Answer: f(g(5)) = 9

Worked example 2

Let f(x) = 2x + 1 and g(x) = x2 - 3. Find f(g(x)).

In f(g(x)) the inner function is g(x) = x2 - 3. We substitute that whole expression into f in place of its input — composition is substitution, not multiplication.

Plan

  1. Write f with its input shown.
  2. Replace the input of f with the whole expression g(x).
  3. Distribute and simplify.
f(g(x)) = f(x2 - 3)the inner function is g(x) = x2 - 3
= 2(x2 - 3) + 1substitute x2 - 3 into f(x) = 2x + 1
= 2x2 - 6 + 1distribute the 2
= 2x2 - 5combine constants

Check. Test a value: g(2) = 1 and f(1) = 3; the answer gives 2(2)2 - 5 = 8 - 5 = 3. They agree.

Answer: f(g(x)) = 2x2 - 5

Common mistakes

Working outside-in instead of inside-out

Applies the outer function first, or works left to right, which computes g(f(x)) instead of f(g(x)). In f(g(x)) the inner g must be evaluated first.

Multiplying instead of substituting

Treats f(g(x)) as the product f(x) times g(x). Composition substitutes g(x) into f in place of its input; for f(x) = x + 2 and g(x) = 3x, f(g(x)) = 3x + 2, not 3x(x + 2).

Reading the wrong value from a table

Looks up the wrong function or the wrong entry when evaluating a composite — for example reading f at the original input instead of at the inner output. Evaluate g first, then read f at that result.

Assuming the order does not matter

Believes f(g(x)) always equals g(f(x)). Composition is generally not commutative: for f(x) = x2 and g(x) = x + 1, f(g(x)) = x2 + 2x + 1 but g(f(x)) = x2 + 1.

Related lessons

Practice this until it sticks

The adaptive tutor has 5 practice questions on this skill, names the exact mistake when you miss one, and gives you a fresh problem to confirm the fix. It is part of the Digital SAT program: $59 once, 12 months of access, no renewal.

See the Digital SAT programEnroll
← Completing the squareDomain & range of functions →