Skip to the page

Functions: question 13 of 25

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

The question

FunctionsMedium

A table gives all values of two functions, ff and gg. For x=1,2,3,4,5x = 1, 2, 3, 4, 5, in that order, the table lists f(x)=6,8,2,7,9f(x) = 6, 8, 2, 7, 9 and g(x)=4,1,5,2,3g(x) = 4, 1, 5, 2, 3. What is the value of f(g(3))−g(f(3))f(g(3)) - g(f(3))?
  1. A-8
  2. B0
  3. C3
  4. D8

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

A place to start

In f(g(3))f(g(3)), which function do you look up first?

Another hint

Find g(3)g(3) in the gg row, then use that number as the input in the ff row. Do the same kind of two-step lookup for g(f(3))g(f(3)).

One more hint

You should get f(g(3))=f(5)=9f(g(3)) = f(5) = 9 and g(f(3))=g(2)=1g(f(3)) = g(2) = 1. Subtract the second result from the first.

Show the answer and explanation

Answer: D.8

Why D works

  1. For f(g(3))f(g(3)): the table gives g(3)=5g(3) = 5, and then f(5)=9f(5) = 9.
  2. For g(f(3))g(f(3)): the table gives f(3)=2f(3) = 2, and then g(2)=1g(2) = 1.
  3. Subtract in the order written: 9−1=89 - 1 = 8, so the correct choice is 8.

Why the other choices are wrong

  • A. This comes from applying the outer function first in each composition, which swaps the two results and gives 1−91 - 9. In f(g(3))f(g(3)), the inner function gg is looked up first.
  • B. This assumes f(g(3))f(g(3)) and g(f(3))g(f(3)) must be equal. Changing the order of a composition usually changes the result, so each one has to be looked up.
  • C. This computes g(3)−f(3)=5−2g(3) - f(3) = 5 - 2 without composing. Each of those outputs still has to be used as an input to the other function.

The rule

To evaluate a composition from a table, look up the inner function's output and use it as the input of the outer function.

Spot it next time

Write each lookup as a chain, such as 3→g→5→f→93 \to g \to 5 \to f \to 9, so you never mix up which row to read.