Range of a Function — Definition, Formula & Examples
The range of a function is the set of all possible output values (y-values) the function can produce. If you plug every value from the domain into the function, the collection of results you get is the range.
Given a function , the range of is the set , that is, the subset of the codomain consisting of all elements that are actually mapped to by at least one element of the domain .
How It Works
To find the range, ask: what y-values can this function actually reach? For a simple function like , notice that squaring any real number always gives zero or a positive result, so the range is . For linear functions like , every real y-value is reachable, so the range is all real numbers. When working with graphs, the range is the set of y-values covered by the curve — scan from bottom to top and note which heights the graph reaches.
Worked Example
Problem: Find the range of .
Identify the shape: This is a downward-opening parabola (the coefficient of is negative), so it has a maximum value at its vertex.
Find the vertex: The vertex occurs at . Here and , so the vertex is at .
Determine the range: Since the parabola opens downward, the y-values go from down to . No output can exceed 8.
Answer: The range is , meaning all real numbers less than or equal to 8.
Why It Matters
Finding the range is essential whenever you need to know the limits of a function's output — for instance, determining the maximum profit in a business model or the peak height of a projectile. It appears repeatedly in Algebra 2, Precalculus, and Calculus courses when analyzing and graphing functions.
Common Mistakes
Mistake: Confusing the range with the codomain or with the domain.
Correction: The domain is the set of valid inputs (x-values). The codomain is the set where outputs are allowed to land, but the range is only the outputs that actually occur. For with codomain , the range is , not all of .
