Skip to content
ACT · Math

Function composition

Function composition appears in 4 reviewed ACT questions and sits in Math. Below are worked examples showing exactly how the exam tests it, with the answer marked and every distractor explained.

How Function composition is tested

Example 1Harder
If f(x) = x^2 - 4 and g(x) = sqrt(x + 4), what is the domain of f(g(x))?
  1. Ax >= 4
  2. BAll real numbers
  3. Cx >= -4Correct
  4. Dx >= 0

Why C is right

f(g(x)) = (sqrt(x+4))^2 - 4 = (x+4) - 4 = x. For g(x) = sqrt(x+4) to be defined, we need x + 4 >= 0, so x >= -4. Once that condition is satisfied, f(g(x)) = x is defined for all those values. Domain is x >= -4.
Why the other 3 choices miss
A
x >= 4 is far too restrictive; there is no such additional constraint.
B
All real numbers ignores the square root restriction that requires x+4 >= 0.
D
x >= 0 is too restrictive; x+4 >= 0 requires only x >= -4.
Example 2Harder
If f(x) = e^(2x) and g(x) = ln(x + 1), what is the value of f(g(3))?
  1. Ae^2
  2. B8
  3. C16Correct
  4. D4

Why C is right

g(3) = ln(3+1) = ln(4). f(g(3)) = e^(2*ln(4)) = e^(ln(4^2)) = 4^2 = 16. The calculation follows directly from the givens and standard algebra or arithmetic.
Why the other 3 choices miss
A
e^2 would be f(g(3)) if g(3) = 1, which would require ln(x+1) = 1, i.e., x = e-1 ≈ 1.718, not 3.
B
8 would result from f(g(3)) = e^(2)*ln(4) = e^2 * ln(4), not the correct composition.
D
4 = e^(ln(4)) = e^(1*ln(4)); this omits the coefficient 2 in the exponent.
Example 3Harder
If f(x) = x^2 + 1 and the equation f(f(x)) = 26 is satisfied, what are the possible values of x?
  1. Ax = ±2 and x = ±i*sqrt(6)
  2. Bx = ±2 onlyCorrect
  3. Cx = 2 only
  4. Dx = ±sqrt(5)

Why B is right

f(f(x)) = f(x^2+1) = (x^2+1)^2 + 1 = 26 → (x^2+1)^2 = 25 → x^2+1 = ±5. Case 1: x^2+1 = 5 → x^2 = 4 → x = ±2. Case 2: x^2+1 = -5 → x^2 = -6, no real solutions. For real x only, x = ±2.
Why the other 3 choices miss
A
x = ±i*sqrt(6) are complex solutions to x^2 = -6; if only real solutions are required, these are excluded.
C
x = 2 only ignores x = -2, which is also a valid solution since (-2)^2 = 4.
D
x = ±sqrt(5) would result from x^2+1 = 26 (applying f only once, not twice).

Studied alongside

Other concepts from Math.