Tutorials › Calculus I › Ranges from Linear and Vertex-Form Quadratic Rules

Function Notation and Representations · Tutorial 19 of 1495

Ranges from Linear and Vertex-Form Quadratic Rules

Find the full range of a linear rule or vertex-form quadratic by examining its form and showing which outputs are possible.

Beginner 9 min read

What You'll Learn

  • Determine the range of a nonconstant linear rule with unrestricted real inputs
  • Recognize why a nonzero linear slope allows every real output
  • Identify the minimum or maximum of a quadratic in vertex form
  • Write quadratic ranges using interval notation
  • Verify a proposed range by checking attained and possible outputs
  • Distinguish constant rules from nonconstant linear and quadratic rules

What Range Can a Rule Produce?

A function’s range is the set of all output values it actually produces from inputs in its domain. Finding a range means answering two questions: which outputs are possible, and are there any outputs the rule can never produce?

Here we consider rules whose inputs can be any real number. This is important: a formula may have a different range if its domain is restricted. For example, a rule considered only for nonnegative inputs might produce fewer outputs than the same rule considered for all real inputs.

Two familiar forms make range-finding especially direct. A nonconstant linear rule can produce every real output. A quadratic in vertex form has a lowest or highest output, determined by its vertex, and extends without bound in the other direction.

Definition: The range of a function \(f:A\to\mathbb{R}\) is the set \(\{f(x):x\in A\}\). In this tutorial, unless stated otherwise, the domain \(A\) is \(\mathbb{R}\).

Ranges of Linear Rules

A linear rule has the form \(f(x)=mx+b\), where \(m\) and \(b\) are real constants. If \(m\ne 0\), then every real number is an output. To see why, let \(y\) be any real number and solve \(y=mx+b\) for the input:

$$ x=\frac{y-b}{m}. $$

Because \(m\ne 0\), this is a valid real input for every real \(y\). Substituting it into the rule gives \(f(x)=y\). Thus no real output is missed, and the range is \(\mathbb{R}\).

If \(m=0\), the rule is instead \(f(x)=b\) for every input. It produces just one output, so its range is the singleton set \(\{b\}\). A constant rule is sometimes included as a special case of a linear rule; it must not be confused with a nonconstant one when finding the range.

Result: For \(f(x)=mx+b\) with domain \(\mathbb{R}\), the range is \(\mathbb{R}\) if \(m\ne 0\), and \(\{b\}\) if \(m=0\).

Worked Example: A Nonconstant Linear Rule

Find the range of \(f(x)=3x-6\), where \(x\) can be any real number.

The slope is \(m=3\), which is nonzero. To check that an arbitrary real output \(y\) can occur, solve \(y=3x-6\):

$$ y=3x-6 \quad\Longrightarrow\quad y+6=3x \quad\Longrightarrow\quad x=\frac{y+6}{3}. $$

This input is real for every real \(y\). Substitution verifies the output:

$$ f\left(\frac{y+6}{3}\right) =3\left(\frac{y+6}{3}\right)-6 =y+6-6 =y. $$

Therefore every real number is attained, and the range is \(\mathbb{R}\). For instance, if \(y=0\), the formula gives \(x=2\), and \(f(2)=3(2)-6=0\), as required.

Vertex Form and the Turning Value

A quadratic in vertex form is written as

$$ f(x)=a(x-h)^2+k, $$

where \(a\), \(h\), and \(k\) are real numbers and \(a\ne 0\). The condition \(a\ne 0\) ensures the rule is genuinely quadratic. The input \(x=h\) makes the squared term zero, so the output there is \(k\). The point \((h,k)\) is called the vertex.

The square \((x-h)^2\) is always nonnegative. If \(a>0\), multiplying it by \(a\) leaves it nonnegative, so no output can be less than \(k\). If \(a<0\), the product is nonpositive, so no output can be greater than \(k\). This gives the bound on the outputs. To establish the full range, we must also show that every value on the allowed side of the bound is attained.

Theorem: Let \(f(x)=a(x-h)^2+k\) have domain \(\mathbb{R}\), with \(a\ne 0\). If \(a>0\), the range is \([k,\infty)\). If \(a<0\), the range is \((-\infty,k]\). The endpoint \(k\) is included because \(f(h)=k\).

Why the Quadratic Range Formula Works

First suppose \(a>0\). For every real \(x\), \((x-h)^2\ge 0\), so \(a(x-h)^2\ge 0\), and therefore \(f(x)\ge k\). Thus no output below \(k\) is possible. Also, for any \(y\ge k\), the number \((y-k)/a\) is nonnegative. It has a real square root, and the input

$$ x=h+\sqrt{\frac{y-k}{a}} $$

produces output \(y\), since

$$ f(x) =a\left(\sqrt{\frac{y-k}{a}}\right)^2+k =a\left(\frac{y-k}{a}\right)+k =y. $$

So every value at least \(k\) occurs, and none below it does. The range is \([k,\infty)\).

Now suppose \(a<0\). Since the square is nonnegative, \(a(x-h)^2\le 0\), hence \(f(x)\le k\). For any \(y\le k\), \((y-k)/a\ge 0\): both numerator and denominator are nonpositive, with a zero numerator allowed. Define \(x=h+\sqrt{(y-k)/a}\). Then the same substitution gives \(f(x)=y\). Thus every value at most \(k\) occurs, and none above it does. The range is \((-\infty,k]\).

Key idea: The sign of \(a\) determines whether the vertex value \(k\) is a minimum or a maximum. The square term proves the bound, and solving for an input proves that every value permitted by the bound is reached.

Worked Examples with Vertex Form

Worked Example: An Upward-Opening Quadratic

Find the range of \(f(x)=2(x-3)^2-5\) for real \(x\).

This is vertex form with \(a=2\), \(h=3\), and \(k=-5\). Since \(a>0\), the output is at least \(-5\). The value \(-5\) occurs at \(x=3\):

$$ f(3)=2(3-3)^2-5=2(0)^2-5=-5. $$

To check that all outputs \(y\ge -5\) occur, solve for an input:

$$ y=2(x-3)^2-5 \quad\Longrightarrow\quad (x-3)^2=\frac{y+5}{2} \quad\Longrightarrow\quad x=3+\sqrt{\frac{y+5}{2}}. $$

For \(y\ge -5\), the quantity under the square root is nonnegative. Substitution gives \(f(x)=2((y+5)/2)-5=y\). For example, \(y=3\) gives \(x=3+\sqrt{8/2}=3+2=5\), and \(f(5)=2(5-3)^2-5=8-5=3\). Thus the range is \([-5,\infty)\), with its endpoint attained.

Worked Example: A Downward-Opening Quadratic

Find the range of \(g(x)=-\frac{1}{2}(x+2)^2+4\) for real \(x\).

Here \(a=-\frac12<0\), and the vertex value is \(k=4\). Since the squared term is nonnegative and its coefficient is negative, \(g(x)\le 4\). At the vertex input \(x=-2\), the value is exactly \(4\):

$$ g(-2)=-\frac{1}{2}(-2+2)^2+4 =-\frac{1}{2}(0)^2+4 =4. $$

For any \(y\le 4\), solve \(y=-\frac12(x+2)^2+4\):

$$ (x+2)^2=-2(y-4)=2(4-y), \qquad x=-2+\sqrt{2(4-y)}. $$

The square root is real because \(4-y\ge 0\). Substitution gives \(g(x)=-\frac12\cdot 2(4-y)+4=-(4-y)+4=y\). As a numerical check, take \(y=2\): then \(x=-2+\sqrt{2(4-2)}=-2+2=0\), and \(g(0)=-\frac12(2)^2+4=-2+4=2\). Every value at most \(4\) is attained, so the range is \((-\infty,4]\).

A Constant Rule Is a Special Case

Although the quadratic range theorem assumes \(a\ne 0\), it is useful to notice what happens if the coefficient of the squared term is zero. The expression \(0(x-h)^2+k\) is just the constant rule \(f(x)=k\). Every real input then gives the same output, so its range is \(\{k\}\), not an unbounded interval.

Worked Example: A Constant Linear Rule

Find the range of \(r(x)=7\) for real \(x\).

The rule does not depend on \(x\). For every real input, \(r(x)=7\), so no other output occurs. The range is \(\{7\}\). As a check, \(r(0)=7\), and also \(r(-12)=7\); both substitutions confirm that the same single output is produced.

A Common Mistake: Including or Excluding the Vertex

A frequent error is to use a parenthesis rather than a bracket at the vertex value, as if the quadratic only approached that value. But the vertex input \(x=h\) is allowed, and direct substitution gives \(f(h)=k\). The endpoint must therefore be included.

For example, writing the range of \(2(x-3)^2-5\) as \((-5,\infty)\) is incorrect. That interval excludes \(-5\), even though

$$ f(3)=2(3-3)^2-5=-5. $$

The correction is \([-5,\infty)\). The opposite mistake can occur if the coefficient is negative: the maximum is included as well, so the correct form for \(-\frac12(x+2)^2+4\) is \((-\infty,4]\), not \((-\infty,4)\).

Another useful check is to keep the direction of the bound straight. A positive coefficient gives a minimum and outputs at or above it; a negative coefficient gives a maximum and outputs at or below it. The vertex value itself is always attained.

A Reliable Range-Finding Process

For these forms, a short sequence of checks prevents most errors:

1
Confirm the allowed inputs.
Use the stated domain. The results here require unrestricted real inputs.
2
Identify the form and coefficients.
For \(mx+b\), check whether \(m\) is zero. For \(a(x-h)^2+k\), check the sign of \(a\).
3
Find the bound or constant output.
A nonconstant linear rule has no output bound; a quadratic has minimum or maximum \(k\); a constant rule produces one value.
4
Write the range and check inclusion.
Use interval notation for an unbounded interval and include a quadratic’s endpoint because it is attained at \(x=h\).

Why These Rules Matter

Range gives information about what outputs a model can produce, without requiring a list of individual input-output pairs. For a nonconstant linear rule with unrestricted real inputs, any real output is possible. For a quadratic in vertex form, the coefficient’s sign and the vertex value immediately tell us which outputs are ruled out.

These conclusions depend on the domain. If the input is restricted, the reasoning that every permitted output can be reached may no longer apply. Always read the domain before determining the range; do not assume that a formula is being used for every real input unless that is stated or established.

Check Your Understanding

For each question, state the range and briefly justify whether the endpoint is attained.

  1. What is the range of \(p(x)=-4x+9\) when the domain is \(\mathbb{R}\)?
  2. What is the range of \(q(x)=5(x+1)^2+2\) when the domain is \(\mathbb{R}\)?
  3. What is the range of \(s(x)=-3(x-4)^2-1\) when the domain is \(\mathbb{R}\)?
  4. Why does a nonzero slope in \(mx+b\) allow every real number to be an output?
  5. What is the range of the constant rule \(c(x)=-6\) for real \(x\)?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon