Skip to main content

Function Range Calculator

Free Function range Calculator for algebra. Enter values to get step-by-step solutions with formulas and graphs. See charts, tables, and visual results.

Share this calculator

Formula

Range = {y | y = f(x) for some x in domain}

The range is the set of all output values produced by the function. For quadratics, the vertex determines the minimum or maximum. For square roots and absolute values, transformations shift and reflect the base range.

Worked Examples

Example 1: Range of a Quadratic Function

Problem: Find the range of f(x) = 2x^2 - 8x + 5.

Solution: Vertex x-coordinate: x = -(-8)/(2*2) = 8/4 = 2\nVertex y-coordinate: f(2) = 2(4) - 8(2) + 5 = 8 - 16 + 5 = -3\nSince a = 2 > 0, parabola opens upward.\nMinimum value is -3 at x = 2.\nRange: y >= -3\nInterval notation: [-3, Infinity)

Result: Range: [-3, Infinity)

Example 2: Range of an Absolute Value Function

Problem: Find the range of f(x) = -|x + 1| + 4.

Solution: This is in the form a|x - h| + k where a = -1, h = -1, k = 4.\nSince a = -1 < 0, the V opens downward.\nVertex at (-1, 4) is the maximum.\nRange: y <= 4\nInterval notation: (-Infinity, 4]

Result: Range: (-Infinity, 4]

Frequently Asked Questions

What is the range of a function and why is it important?

The range of a function is the complete set of all possible output values (y-values) that the function can produce when every valid input from the domain is considered. While the domain tells you what you can put in, the range tells you what can come out. Understanding the range is critical for graphing functions accurately, solving equations (you cannot solve f(x) = k if k is outside the range), and modeling real-world phenomena where outputs must fall within physical limits. For example, a temperature model must have a range that represents physically possible temperatures. The range helps determine horizontal asymptotes, maximum and minimum values, and the overall behavior of a function.

How do you find the range of a linear function?

For a linear function f(x) = mx + b with no domain restriction, the range is all real numbers if the slope m is not zero, because the line extends infinitely in both vertical directions. If m equals zero, the function is constant and the range is the single value {b}. When the domain is restricted to an interval [a, c], the range becomes the interval between f(a) and f(c). If m is positive, the range is [f(a), f(c)]; if m is negative, the range is [f(c), f(a)]. This makes linear functions one of the easiest to analyze for range. The key insight is that linear functions are monotonic, meaning they always increase or always decrease, so the range on any interval is simply from the function value at one endpoint to the other.

How do you determine the range of a quadratic function?

The range of a quadratic function f(x) = ax^2 + bx + c depends on whether the parabola opens upward or downward, determined by the sign of a. First, find the vertex using x = -b/(2a) and compute y = f(-b/(2a)). If a > 0, the parabola opens upward and the vertex is the minimum point, so the range is [vertex y, Infinity). If a < 0, the parabola opens downward and the vertex is the maximum, so the range is (-Infinity, vertex y]. For example, f(x) = -2x^2 + 8x - 3 has vertex at x = 2, y = 5, and since a = -2 < 0, the range is (-Infinity, 5]. The vertex formula is the key tool for finding the range of any quadratic.

What is the range of a square root function?

The basic square root function f(x) = sqrt(x) has a range of [0, Infinity) because square roots always produce non-negative outputs. For the general form f(x) = a * sqrt(x - h) + k, the range depends on the coefficient a and the vertical shift k. If a > 0, the range is [k, Infinity) because the smallest output occurs when the square root equals zero, giving f = k. If a < 0, the function is reflected and the range becomes (-Infinity, k] because the largest output is k and values decrease from there. The parameter h (horizontal shift) affects the domain but not the range. Understanding these transformations allows you to quickly determine the range of any transformed square root function.

How do exponential functions behave in terms of range?

Exponential functions of the form f(x) = a * b^x + c (where b > 0 and b is not 1) have a range that depends on the sign of a and the vertical shift c. The key feature is the horizontal asymptote at y = c, which the function approaches but never reaches. If a > 0, the function outputs are always greater than c, giving a range of (c, Infinity). If a < 0, outputs are always less than c, giving (-Infinity, c). Note the asymptote value is excluded using parentheses, not brackets. For example, f(x) = 3 * 2^x - 5 has range (-5, Infinity), approaching but never reaching -5. Exponential growth and decay models in science and finance rely on understanding these range properties.

What is the difference between range and codomain?

The range and codomain are related but distinct concepts in function theory. The codomain is the set of all potentially possible output values specified when defining the function, while the range (also called the image) is the set of values actually produced by the function. The range is always a subset of the codomain. For example, if f: R -> R is defined by f(x) = x^2, the codomain is all real numbers R, but the range is only [0, Infinity) because x^2 never produces negative outputs. A function is called surjective (onto) when the range equals the codomain. This distinction matters in advanced mathematics, particularly in linear algebra and abstract algebra, where the relationship between range and codomain determines properties of mappings.

References