Finding the Range of a Quadratic Function

Determining the set of $y$ values afforded by a quadratic function

3-minute read
Made by ChickenFryBytes Studios
Table of Contents

The domain is defined as the set of $x$ values that we use to generate the graph of the quadratic curve. When we choose to work with any $x$ value, the domain is written as: $$ \begin{equation}\begin{aligned} x\in \mathbb{R}\\ \end{aligned}\end{equation} $$

This means that $x$ is chosen as any real number. It is also possible for us to work with a limited subset of $x$ values, for example: $$ \begin{equation}\begin{aligned} &x>0\\ -3\le &x\le 3\\ -4\le &x\le 7\\ \end{aligned}\end{equation} $$

Each of these are valid domains, that is, they are $x$ values that can be used to plot the quadratic curve.

The range of a function

The range is the set of $y$ values that are produced by passing the $x$ values belonging to the domain into the function. The function is essentially a machine that accepts an $x$ value as input and outputs a corresponding $y$ value: $$ \begin{equation}\begin{aligned} x\rightarrow f(x)\rightarrow y\\ \end{aligned}\end{equation} $$

The range of a function is usually written using set builder notation. For example: $$ \begin{equation}\begin{aligned} &\{y:y<y_1\}\text{ or }\\ &\{y:f(x)<y_1\}\\ \end{aligned}\end{equation} $$

For a range with $2$ boundaries: $$ \begin{equation}\begin{aligned} &\{y:y_1<y<y_2\}\text{ or }\\ &\{y:y_1<f(x)<y_2\}\\ \end{aligned}\end{equation} $$

The range of a quadratic function

The turning point of a quadratic function will naturally have to be considered when finding its range:

  • For $x\in \mathbb{R}$, a minimum curve will have a minimum value of $k$. Its maximum value will be $\infty$. The range is written as $$ \begin{equation}\begin{aligned} \{y:f(x)\ge k\}\\ \end{aligned}\end{equation} $$
  • For $x\in \mathbb{R}$, a maximum curve will have a maximum value of $k$. Its minimum value will be $-\infty$. The range is written as $$ \begin{equation}\begin{aligned} \{y:f(x)\le k\}\\ \end{aligned}\end{equation} $$

When the domain is restricted

The maximum value of the function can be found by determining the maximum of the endpoints and the turning point: $$ \begin{equation}\begin{aligned} \text{max}&=\text{max}[k,f(a),f(b)]\\ \end{aligned}\end{equation} $$

Likewise, the minimum value of the function can be found by determining the minimum of the endpoints and the turning point: $$ \begin{equation}\begin{aligned} \text{min}&=\text{min}[k,f(a),f(b)]\\ \end{aligned}\end{equation} $$

The range will thus be: $$ \begin{equation}\begin{aligned} \{y:\text{min}\le f(x)\le \text{max}\}\\ \end{aligned}\end{equation} $$

Example

For example, the function $f(x)=x^2+5x+6$ when $-5\le x\le 1$ requires that we prevent the function to go left of $x=-5$ and right of $x=1$. First, we complete the square to get the turning point:

$$ \begin{equation}\begin{aligned} &x^2+5x+6\\ &1(x^2+5x)+6\\ &1(x^2+5x+[\frac{5}{2}]^2)+6-1[\frac{5}{2}]^2\\ &1(x+\frac{5}{2})^2+6-\frac{25}{4}\\ &1(x+\frac{5}{2})^2+\frac{24-25}{4}\\ &1(x+\frac{5}{2})^2-\frac{1}{4}\\ \end{aligned}\end{equation} $$

Alternatively, if the problem only requires the use of the minimum/maximum value, $k$, we can use the formula: $$ \begin{equation}\begin{aligned} k&=\frac{4ac-b^2}{4a}\\ &=\frac{4(1)(6)-(5)^2}{4(1)}\\ &=\frac{-1}{4}\\ \end{aligned}\end{equation} $$

Thus the turning point is at $(\frac{-5}{2},\frac{-1}{4})$. Because we have a restricted domain, we have to consider the $y$ values of the endpoints, $f(-5)$ and $f(1)$: $$ \begin{equation}\begin{aligned} f(-5)&=(-5)^2+5(-5)+6\\ &=25-25+6\\ &=6\\ f(1)&=(1)^2+5(1)+6\\ &=1+5+6\\ &=12\\ \end{aligned}\end{equation} $$

The range of this curve would thus be between the $\text{min}[\frac{-1}{4},6,12]$ and $\text{max}[\frac{-1}{4},6,12]$: $$ \begin{equation}\begin{aligned} &\{y:\text{min}[\frac{-1}{4},6,12]\le f(x)\le \text{max}[\frac{-1}{4},6,12]\}\\ \rightarrow&\{y:\frac{-1}{4}\le f(x)\le 12\}\\ \end{aligned}\end{equation} $$

Created using natural intelligence

Like our content? Support us via Donations