Skip to the page

Functions: question 6 of 25

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

The question

FunctionsEasier

A table lists every input-output pair of the function hh: h(−3)=5h(-3) = 5, h(−1)=2h(-1) = 2, h(0)=5h(0) = 5, h(2)=−1h(2) = -1, h(4)=2h(4) = 2, and h(6)=7h(6) = 7. The function is not defined for any other inputs. How many different numbers are in the range of hh?
  1. A2
  2. B4
  3. C6
  4. D7

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

A place to start

Does the range come from the inputs or from the outputs of a function?

Another hint

Write down the six outputs: 5,2,5,−1,2,75, 2, 5, -1, 2, 7.

One more hint

Cross out any output you have already listed so each number appears once, then count what is left.

Show the answer and explanation

Answer: B.4

Why B works

  1. The range is made of outputs, so list the outputs from the table: 5,2,5,−1,2,75, 2, 5, -1, 2, 7.
  2. Remove repeats so each value appears once: −1,2,5,7-1, 2, 5, 7.
  3. Count the values: there are 4, so the correct choice is 4.

Why the other choices are wrong

  • A. This counts only the outputs that show up exactly once (−1-1 and 77) and throws out 2 and 5 completely. A repeated output is still in the range; you just count it one time.
  • C. This counts all six entries in the table, which is the number of inputs (the size of the domain). The outputs 5 and 2 each appear twice, so there are fewer different outputs than inputs.
  • D. This is the largest output value, not the number of outputs. The question asks how many different numbers are in the range.

The rule

The range of a function is the set of its output values, and each output is counted once even if it appears more than once.

Spot it next time

For range questions from a table, look only at the output row and cross out duplicates before counting; this takes under 20 seconds.