The range of f(x) = (1/4)x − 2 over the domain {−4, 0, 4} is the discrete set {−3, −2, −1}. Substituting each domain value into the linear rule yields f(−4) = −3, f(0) = −2, and f(4) = −1, so the range contains exactly those three outputs. Because the domain lists three isolated numbers rather than a continuous interval, the function never takes any value between these outputs, even though the underlying line passes through them.
How the substitution mechanism produces each output
A function is a rule that assigns exactly one output to each input. The expression f(x) = (1/4)x − 2 says: take the input, multiply it by one-quarter, then subtract two. To find the range, you apply that rule to every value the domain allows and collect the results.
For x = −4, one-quarter of −4 is −1, and subtracting 2 gives −3. For x = 0, one-quarter of 0 is 0, and subtracting 2 gives −2. For x = 4, one-quarter of 4 is 1, and subtracting 2 gives −1. That is the whole computation: three inputs, three outputs.
The slope of one-quarter means each four-unit increase in x raises the output by exactly 1. This is why the outputs step upward by 1 as the inputs step upward by 4. The y-intercept of −2 anchors the middle value, since f(0) = −2 whenever the domain includes zero.
Notice that multiplication happens before subtraction. A common early error is subtracting first, which would give (1/4)(x − 2) and produce different outputs entirely. Order of operations is not decoration here; it changes the answer. In plain terms, the quarter-scale shrinks the input, and then the minus-two shifts everything down.
Quantified context: domain, outputs, and the underlying line
The table below makes the mapping explicit and shows how a scattered domain samples a continuous line at three points.
| Input x | Multiply by 1/4 | Subtract 2 | Output f(x) | Position on the line |
|---|---|---|---|---|
| −4 | −1 | −1 − 2 | −3 | 4 units left of the y-intercept |
| 0 | 0 | 0 − 2 | −2 | the y-intercept |
| 4 | 1 | 1 − 2 | −1 | 4 units right of the y-intercept |
The slope of 1/4 is small compared with steeper lines like y = 2x. Over a horizontal run of 8 units (from −4 to 4), the output rises by only 2 units (from −3 to −1), which matches the slope: rise over run equals 2/8, or 1/4. That consistency is the definition of a linear function.
If the domain were the continuous interval [−4, 4] instead, the range would be the continuous interval [−3, −1]. Every output between those endpoints would appear, including values like −2.5 and −1.25. The isolated-domain version strips out those infinitely many intermediate values. This contrast is the single most useful idea for interpreting textbook problems that distinguish discrete from interval domains.
As a sanity check, the three outputs form an arithmetic sequence with common difference 1, mirroring the constant spacing of 4 in the domain scaled by the slope. If any output violated that pattern, you would know an arithmetic slip occurred.
Edge cases that change the answer
Empty domain. If the domain contained no numbers, the range would be empty too, because a function cannot produce an output without an input. This sounds trivial but matters in formal set theory, where the range is defined as the set of all actual outputs.
Repeated inputs. If a domain listed the same number twice, the range would still list each output once, because sets do not count duplicates. A domain {0, 0, 4} has range {−2, −1}, not a three-element set.
Non-numeric or out-of-scope values. Some problems attach restrictions like "x must be a whole number" or "x ≥ 0." Each restriction filters which inputs survive, which then filters the outputs. A domain of positive integers only would produce outputs greater than −2, never reaching −3.
Non-linear neighbors. The same domain applied to f(x) = x² would give {16, 0, 16}, collapsing to {0, 16}. The discrete-range logic is identical; only the rule changes. Recognizing the shared structure prevents relearning the concept for every new function.
Counterintuitive detail: a function's range can be smaller than its codomain suggests. If the problem states f maps into the real numbers, the codomain is all reals, but the actual range here is three lonely values. Codomain is the declared destination set; range is what actually gets used. Confusing the two is a frequent scoring error.
Red flag: subtracting before multiplying, producing the wrong rule entirely. Red flag: reporting the range as an interval [−3, −1] when the domain is discrete. Red flag: listing outputs in input order without checking arithmetic, which hides sign errors. Red flag: treating the codomain (all reals) as the range. Red flag: forgetting that a range is a set, so duplicates collapse.
Misconceptions about range that persist
The most common misconception is that range always means an interval. For continuous domains like all real numbers, the range of this line is indeed all real numbers, because the slope is nonzero and the line extends infinitely in both directions. For a three-element domain, however, the range shrinks to three points. Domain shape controls range shape.
A second misconception treats range as simply "the y-values on the graph." That is true only if you restrict the graph to the domain. The full line y = (1/4)x − 2 crosses every real y-value exactly once, but the function as posed never touches y = 0 or y = −1.5. Reading the whole line rather than the sampled points overstates the range.
A third error swaps domain and range. The domain is the set of inputs {−4, 0, 4}; the range is the set of outputs {−3, −2, −1}. Reversing them produces a plausible-looking but wrong answer, and the mistake is easy to make when the numbers are small and similar.
A professional caveat worth internalizing: in data work, "range" often means max minus min, a single spread statistic. In algebra, range means the complete set of outputs. Here max minus min gives (−1) − (−3) = 2, a summary number, not the set itself. Context determines which definition applies; mixing them creates silent errors in reports and spreadsheets.
Practical actions for checking your answer
Follow a repeatable procedure so the computation and the interpretation stay separate.
Step 1: Write the rule clearly and confirm the operation order, multiplication before subtraction. Step 2: Substitute each domain value one at a time, showing the intermediate product. Step 3: Collect outputs into braces as a set, removing duplicates. Step 4: Verify with the slope: each 4-unit input step should change the output by exactly 1. Step 5: Decide whether the domain is discrete or continuous, then state the range in matching form (set versus interval). Step 6: Cross-check by graphing the three points and confirming no other outputs are claimed.
A useful threshold for self-grading: if your three outputs are not consecutive integers differing by 1 here, stop and recheck the arithmetic before writing anything down. For this particular function and domain, the expected outputs are exactly −3, −2, and −1, with no exceptions.
Teachers and tutors can adapt the same steps to any linear function by replacing the slope and intercept. The procedure is domain-agnostic; only the numbers change. Students preparing for exams should practice the discrete-versus-continuous distinction until it is automatic, because that is where most lost points occur.
Limitations of what this analysis settles
This walkthrough fully determines the range for the stated function and discrete domain. It does not settle questions about the function's behavior outside the domain, its inverse, or its use in modeling, because those depend on additional context not given.
The underlying arithmetic is stable mathematics, not a changing recommendation, so no dated evidence applies. Where problems introduce variables such as parameters in place of the numbers 1/4 and −2, the same substitution logic holds, but the specific outputs must be recomputed. Do not transfer the set {−3, −2, −1} to a modified rule.
Finally, notation conventions vary by course and country. Some texts write the range as a list, others as f(D) or as inequalities. All describe the same set here. When submitting work, match the notation your instructor uses rather than assuming one universal format.