Sub topic 7
Maximum or Minimum Value and the Range
Assume you can substitute values into expressions, plot points, and read an equation in vertex form:
\[ y=a(x-h)^2+k \]
A parabola has a turning point called its vertex. The vertex is \((h,k)\). The \(x\)-coordinate \(h\) tells where the turn occurs, and the \(y\)-coordinate \(k\) gives the maximum or minimum value.
How the sign of \(a\) determines the extreme value
Because \((x-h)^2\) is always greater than or equal to zero, the sign of \(a\) controls the direction in which the parabola opens.
| Value of \(a\) | Direction | Vertex value | Extreme value |
|---|---|---|---|
| \(a>0\) | Opens upward | \(y=k\) | Minimum |
| \(a<0\) | Opens downward | \(y=k\) | Maximum |
When \(a>0\), the term \(a(x-h)^2\) is never negative. Therefore,
\[ y=a(x-h)^2+k\ge k. \]
The smallest possible \(y\)-value is \(k\), reached at \(x=h\).
When \(a<0\), the term \(a(x-h)^2\) is never positive. Therefore,
\[ y=a(x-h)^2+k\le k. \]
The largest possible \(y\)-value is \(k\), also reached at \(x=h\).
For example,
\[ y=2(x-3)^2-4 \]
has \(a=2>0\), so it opens upward. Its vertex is \((3,-4)\), and its minimum value is \(-4\).
The function
\[ y=-\frac12(x+1)^2+6 \]
has \(a=-\frac12<0\), so it opens downward. Since \(x+1=x-(-1)\), its vertex is \((-1,6)\). Its maximum value is \(6\).
The range of a parabola
The range is the set of all possible \(y\)-values. For a parabola with domain consisting of all real numbers, the vertex gives one endpoint of the range.
- If \(a>0\), the range is \(y\ge k\), or interval notation \([k,\infty)\).
- If \(a<0\), the range is \(y\le k\), or interval notation \((-\infty,k]\).
The square bracket includes \(k\) because the parabola actually reaches its vertex. The infinity symbol always uses a parenthesis because infinity is not a value the function reaches.
Common errors
A frequent error is reading the sign of \(h\) incorrectly. In \(x-h\), the vertex has \(x\)-coordinate \(h\). Thus \(x+5\) means \(x-(-5)\), so the vertex lies at \(x=-5\).
Another error is using \(a\) as the maximum or minimum value. The value of \(a\) describes opening direction and width. The value \(k\) gives the extreme \(y\)-value.
The range changes if a problem restricts the domain. For example, if only \(0\le x\le 4\) is allowed, check the vertex and the endpoints. The usual range rules apply directly only when every real \(x\) is allowed.
def vertex_value_and_range(a, h, k):
"""Return the extreme value and range for y = a(x - h)^2 + k."""
if a == 0:
raise ValueError("a must not be zero")
if a > 0:
return {
"vertex": (h, k),
"type": "minimum",
"value": k,
"range": f"y >= {k}",
}
return {
"vertex": (h, k),
"type": "maximum",
"value": k,
"range": f"y <= {k}",
}
print(vertex_value_and_range(2, 3, -4))
# {'vertex': (3, -4), 'type': 'minimum', 'value': -4, 'range': 'y >= -4'}Exercise
Find the maximum or minimum value and the range of y = -3(x - 2)^2 + 5.
Show answer
Since a = -3 is negative, the parabola opens downward. The vertex is (2, 5), so the maximum value is 5 and the range is y <= 5, or (-infinity, 5].