Global maximum and minimum
The difference between local and global maxima and minima, and finding the global maximum and minimum of a function on a closed interval by checking stationary points and endpoints.
A turning point is only the highest point nearby. In practical problems, we usually want the highest or lowest value of all: the most profit, the least material. On a restricted domain, that best value often sits at an end of the domain rather than at a turning point.
Local and global
The global maximum of a function is its largest value over the whole domain. The global minimum is its smallest value. A function need not have either. $y = x^3$ goes up forever and down forever, so it has neither. $y = \dfrac{1}{1 + x^2}$ has a global maximum of $1$, but no global minimum: it gets closer and closer to $0$ without reaching it.
There is no need to classify the stationary points first. Comparing the values does the job.
The blue part of the curve is the domain. Compare the endpoint values with the turning point values.
Find a choice of $L$ and $U$ where the global maximum is at the turning point $x = -1$. Then find one where it is at the right-hand endpoint. When does the global maximum happen at two places at once?
Worked examples
Find the global maximum and minimum of $f(x) = 4x - x^2$ on $-1 \le x \le 5$.
Find the global maximum and minimum of $f(x) = x^3 - 3x$ on $-2 \le x \le 3$.
In Example 2 the local maximum at $(-1, 2)$ is not the global maximum: the curve climbs much higher at the right-hand end.
Your turn
Find the global maximum and minimum of $f(x) = 2x^3 - 9x^2 + 12x$ on $0 \le x \le 3$.
Show the working
$f'(x) = 6x^2 - 18x + 12 = 6(x - 1)(x - 2)$, so check $x = 0, 1, 2, 3$: $f(0) = 0$, $f(1) = 5$, $f(2) = 4$, $f(3) = 9$. The global maximum is $9$ at $x = 3$, and the global minimum is $0$ at $x = 0$. Both are at endpoints.
Find the global maximum of $f(x) = 4x - x^2$ on $-1 \le x \le 5$.
$f'(x) = 4 - 2x = 0$ at $x = 2$, and $f(2) = 4$. The endpoints give $f(-1) = f(5) = -5$, which are smaller.
Find the global minimum of $f(x) = 4x - x^2$ on $-1 \le x \le 5$.
Compare $f(-1) = -5$, $f(2) = 4$ and $f(5) = -5$. The smallest is $-5$.
Find the global maximum of $f(x) = x^3 - 3x$ on $-2 \le x \le 3$.
Candidates: $f(-2) = -2$, $f(-1) = 2$, $f(1) = -2$, $f(3) = 18$. The largest is $18$.
Over all real $x$, $y = x^3$ has:
$x^3 \to \infty$ as $x \to \infty$ and $x^3 \to -\infty$ as $x \to -\infty$. The origin is a stationary inflection, not a turning point.
Find the global maximum of $f(x) = x^2 - 6x + 10$ on $0 \le x \le 5$.
$f'(x) = 2x - 6 = 0$ at $x = 3$, with $f(3) = 1$ (the minimum). Endpoints: $f(0) = 10$ and $f(5) = 5$. The largest is $10$.
Find the global maximum of $f(x) = 2x^3 - 9x^2 + 12x$ on $0 \le x \le 3$.
$f'(x) = 6(x - 1)(x - 2)$. Candidates: $f(0) = 0$, $f(1) = 5$, $f(2) = 4$, $f(3) = 54 - 81 + 36 = 9$. The largest is $9$.
$f(x) = \dfrac{1}{1 + x^2}$ for all real $x$ has:
The largest value is $f(0) = 1$. The values get close to $0$ as $x \to \pm\infty$ but never equal $0$, so there is no smallest value.
Exam style: find the global maximum of $f(x) = x + \dfrac4x$ on $1 \le x \le 8$.
$f'(x) = 1 - \dfrac{4}{x^2} = 0$ at $x = 2$ (inside the interval). Candidates: $f(1) = 5$, $f(2) = 4$, $f(8) = 8 + 0.5 = 8.5$. The largest is $8.5$.
Exam style: find the global minimum of $f(x) = x^3 - 3x$ on $-2 \le x \le 3$.
Candidates: $f(-2) = -8 + 6 = -2$, $f(-1) = 2$, $f(1) = -2$, $f(3) = 18$. The smallest is $-2$, reached at both $x = -2$ and $x = 1$.
Coaching Centre