Sub topic 11
Maximum and Minimum Values of a Quadratic
Assume you can expand brackets, work with fractions, and solve basic equations. You should also know that a quadratic has the form \(f(x)=ax^2+bx+c\), where \(a\ne0\).
A quadratic graph is a parabola. Its turning point is called the vertex. The vertex gives the global minimum when the parabola opens upward and the global maximum when it opens downward.
Finding the vertex
For
\[ f(x)=ax^2+bx+c, \]
the \(x\)-coordinate of the vertex is
\[ x_v=-\frac{b}{2a}. \]
Substitute this value into \(f(x)\) to find the \(y\)-coordinate:
\[ yv=f(xv). \]
Therefore, the vertex is
\[ \left(-\frac{b}{2a}, f\left(-\frac{b}{2a}\right)\right). \]
The sign of \(a\) determines the type of extremum:
| Condition | Shape | Vertex gives |
|---|---|---|
| \(a>0\) | Opens upward | Minimum value |
| \(a<0\) | Opens downward | Maximum value |
If \(a>0\), the quadratic has no global maximum. If \(a<0\), it has no global minimum, because the graph continues indefinitely in the opposite direction.
Completing the square
Completing the square displays the vertex directly. For example,
\[ f(x)=x^2-6x+11 \]
becomes
\[ f(x)=(x-3)^2+2. \]
Since \((x-3)^2\ge0\), the smallest possible value is \(2\), reached when \(x=3\). Thus the vertex is \((3,2)\).
For a general expression,
\[ a(x-h)^2+k, \]
the vertex is \((h,k)\). If \(a>0\), the minimum is \(k\). If \(a<0\), the maximum is \(k\).
def vertex(a, b, c):
"""Return the vertex and whether it is a maximum or minimum."""
if a == 0:
raise ValueError("a must be nonzero")
x = -b / (2 * a)
y = a * x * x + b * x + c
kind = "minimum" if a > 0 else "maximum"
return (x, y), kind
print(vertex(2, -8, 5)) # ((2.0, -3.0), 'minimum')Restricted intervals
The vertex gives the extremum over all real values of \(x\). If \(x\) is restricted to an interval, compare the value at the vertex with the values at the relevant endpoints.
For example, consider \(f(x)=x^2-4x+7\) for \(1\le x\le5\). The vertex occurs at \(x=2\), which lies inside the interval. Hence the minimum is \(f(2)=3\). The maximum must be checked at the endpoints:
\[ f(1)=4,\qquad f(5)=12. \]
So the maximum on this interval is \(12\), not an unlimited value.
CAT shortcuts
- Use \(-b/(2a)\) when the vertex location is required.
- Complete the square when the expression already has convenient coefficients.
- For answer options, substitute likely \(x\)-values and compare quickly.
- Check domain restrictions before calling a vertex the answer.
- If the question gives the discriminant \(D=b^2-4ac\), the vertex value can also be written as
\[ f(x_v)=-\frac{D}{4a}. \]
Exercise
Find the minimum value of f(x)=3x²-12x+7.
Show answer
The vertex occurs at x=-(-12)/(2·3)=2. Therefore f(2)=3(4)-24+7=-5, so the minimum value is -5.