Skip to the page

Functions: question 15 of 25

An ACT® Math practice question. Pick an answer to check it, or open the answer and the worked explanation.

The question

FunctionsMedium

The functions ff and gg are defined by a table with three rows. The first row lists the inputs xx: 1, 2, 3, 4, 5. The second row lists the matching values of f(x)f(x), in order: 3, 5, 4, 1, 2. The third row lists the matching values of g(x)g(x), in order: 4, 1, 5, 3, 2. What is the value of f(g(2))f(g(2))?
  1. A2
  2. B3
  3. C5
  4. D6

Choose an answer, then open the answer below to check it.

A place to start

Which function acts on 2 first?

Another hint

Look up g(2)g(2) in the row for gg.

One more hint

g(2)=1g(2) = 1, so you now need f(1)f(1). Find the input 1 and read the ff row.

Show the answer and explanation

Answer: B.3

Why B works

  1. Start inside the parentheses with g(2)g(2). In the gg row, the input 2 is matched with 1, so g(2)=1g(2) = 1.
  2. Use that output as the input of ff: f(g(2))=f(1)f(g(2)) = f(1).
  3. In the ff row, the input 1 is matched with 3, so the correct choice is 3.

Why the other choices are wrong

  • A. This is g(f(2))g(f(2)): f(2)=5f(2) = 5 and then g(5)=2g(5) = 2. Order matters; the inner function gg must act first.
  • C. This multiplies f(2)=5f(2) = 5 by g(2)=1g(2) = 1. The notation f(g(2))f(g(2)) means to put g(2)g(2) into ff, not to multiply the two values.
  • D. This adds f(2)=5f(2) = 5 and g(2)=1g(2) = 1. A composition feeds one function's output into the other; it doesn't combine two separate outputs.

The rule

To evaluate a composition, work from the inside out: the output of the inner function becomes the input of the outer function.

Spot it next time

For a table composition, find the inner function's value first, then carry that number back to the input row for the outer function.