Sub topic 8
Range: the outputs that occur
Prerequisites and the key idea
Assume you can plot points, read a coordinate plane, solve simple inequalities, and work with exponents and square roots.
The range of a function is the set of output values the function actually produces. If the input is x and the output is y, the range is the set of possible y-values.
The domain describes allowed inputs. The range describes the resulting outputs. For example, for
f(x) = x²
the domain is all real numbers, but the range is y ≥ 0 because squaring never produces a negative number.
Finding range from a table
In a table, the range is the set of values in the output column. Repeated outputs are listed only once.
| x | f(x) |
|---|---|
| -2 | 4 |
| -1 | 1 |
| 0 | 0 |
| 1 | 1 |
| 2 | 4 |
The range is {0, 1, 4}. The inputs -2 and 2 have the same output, which is allowed. A function cannot assign two different outputs to one input, but different inputs can share an output.
Finding range from a graph
On a graph, look for every height, or y-value, reached by the graph. Imagine sliding a horizontal line upward from below the graph. The y-values where the line touches the graph make up the range.
The graph below represents a parabola with a lowest point at y = -2. It continues upward forever, so its range is y ≥ -2.
Endpoints matter. A filled endpoint means that value is included. An open endpoint means that value is excluded. Arrows show that the graph continues without bound.
Finding range from an equation
First identify the equation's shape and any restrictions on x.
Linear functions
A nonconstant linear function such as
f(x) = 3x - 5
can produce every real output when x can be any real number. For any chosen y-value, you can solve y = 3x - 5 for x. Therefore, its range is
(-∞, ∞)
A constant function is different. If f(x) = 7 for every allowed x, its range is {7}.
Quadratic functions
For a quadratic function, use the vertex and the direction in which the parabola opens.
For example:
f(x) = (x - 2)² - 3
The squared term is never negative. Its smallest value is 0, which occurs when x = 2. Therefore, the smallest output is -3. The range is
[-3, ∞)
If the equation were f(x) = -(x - 2)² - 3, the parabola would open downward. Its greatest output would be -3, so the range would be
(-∞, -3]
The bracket includes -3 because the vertex produces that output.
def f(x):
return (x - 2) ** 2 - 3
outputs = {f(x) for x in range(-2, 7)}
print(sorted(outputs))This program samples integer inputs. It can show several outputs, but sampling does not prove the complete range over all real inputs. Algebra and the graph provide that conclusion.
A reliable process
When finding a range:
- Identify whether the information is a table, graph, or equation.
- Find the lowest or highest output, if one exists.
- Determine whether the graph or equation continues without bound.
- Check whether endpoint values are included.
- Write the result in set notation or interval notation.
For the quadratic f(x) = (x - 2)² - 3, set notation is {y | y ≥ -3}, and interval notation is [-3, ∞).
Exercise
What is the range of f(x) = -x² + 4?
Show answer
The parabola opens downward and has a maximum output of 4 at x = 0. The range is y ≤ 4, or (-∞, 4].
Exercise
A table has output values 2, 5, 2, 8, and 5. What is its range?
Show answer
The range is {2, 5, 8}. Repeated outputs are included only once.