Drill 1: $f'(x) = 2x - 4 = 0$ gives $x = 2$, which is in $[0, 5]$. Candidates $0$, $2$, $5$: $f(0) = 1$, $f(2) = 4 - 8 + 1 = -3$, $f(5) = 25 - 20 + 1 = 6$. Global minimum $-3$ at $x = 2$; global maximum $6$ at the endpoint $x = 5$.
Drill 2: $2x + 2y = 24$ gives $y = 12 - x$, so $A(x) = x(12 - x) = 12x - x^2$ with domain $0 < x < 12$. $A'(x) = 12 - 2x = 0$ at $x = 6$, and $A''= -2 < 0$, a maximum. Then $y = 6$ and $A = 36$ cm². The rectangle of greatest area for a given perimeter is a square.
Drill 3: On $\mathbb{R}$, $x^3 \to \infty$ as $x \to \infty$, so no value is ever largest and there is no global maximum. On $[-2, 5]$ the candidates are the endpoints and the stationary point $x = 0$: $f(-2) = -8$, $f(0) = 0$, $f(5) = 125$. The global maximum is $125$ at the endpoint $x = 5$. Restricting the domain is exactly what makes a global maximum exist.
Drill 4: $|x - 3| \geq 0$ with equality only at $x = 3$, so the global minimum is $0$ at $x = 3$. Solving $f'(x) = 0$ never finds it because $f'$ does not exist at $x = 3$ — the graph has a corner, with gradient $-1$ on the left and $+1$ on the right. It is the third kind of candidate: a point where $f'$ fails to exist.
Drill 5: The problem is that $h$ is not independent of $r$: the fixed volume ties them together, so treating $h$ as a constant while differentiating with respect to $r$ is invalid. First use the constraint $V = \pi r^2 h$ to write $h = \dfrac{V}{\pi r^2}$, substitute that into the surface-area expression to get a function of $r$ alone, and only then differentiate.
Q1 (3 marks): (a) $f'(x) = 6x^2 - 18x + 12 = 6(x - 1)(x - 2)$, so the stationary points are $x = 1$ and $x = 2$, and both lie in $[0, 3]$ [1]. (b) The candidates are $0$, $1$, $2$ and $3$. $f(0) = 0$; $f(1) = 2 - 9 + 12 = 5$; $f(2) = 16 - 36 + 24 = 4$; $f(3) = 54 - 81 + 36 = 9$ [1]. (c) The global maximum is $\mathbf{9}$ at $x = 3$, an endpoint, and the global minimum is $\mathbf{0}$ at $x = 0$, the other endpoint. Notice that both global extrema are at endpoints, and neither of the two stationary points is either of them — the local maximum at $x = 1$ gives only 5 [1].
Q2 (3 marks): (a) Let $x$ metres be the length of each of the three parallel fences (the two ends plus the divider) and $y$ metres the length of each of the two remaining sides. Area $A = xy$. The constraint is $3x + 2y = 300$. Domain: $x > 0$ and $y > 0$ forces $0 < x < 100$ [1]. (b) From the constraint $y = \dfrac{300 - 3x}{2}$, so $A(x) = x \cdot \dfrac{300 - 3x}{2} = 150x - \dfrac{3x^2}{2}$. Then $A'(x) = 150 - 3x = 0$ gives $x = 50$, and $A''(x) = -3 < 0$, confirming a maximum. So $y = \dfrac{300 - 150}{2} = 75$, and the field is $50$ m by $75$ m [1]. (c) The maximum area is $50 \times 75 = 3750$ m². The endpoints of the domain need no separate evaluation because the domain is open: as $x \to 0^+$ or $x \to 100^-$ one dimension vanishes and $A \to 0$, so neither end can supply a maximum. (Stating this is the check; it is not the same as skipping it.) [1]
Q3 (3 marks): (a) Production is a whole number of units, so $x = 237.4$ is not in the domain and cannot be the answer. Since $P$ is a smooth function with a single local maximum there, the best whole-number value is one of the two nearest integers, so evaluate $P(237)$ and $P(238)$ and take the larger. Rounding to $237$ without checking $238$ is not safe: the curve need not be symmetric about its peak [1]. (b) A local maximum only claims to beat its immediate neighbours. The global maximum over $0 \leq x \leq 500$ could sit at either end, so $P(0)$ and $P(500)$ must be compared with $P(237)$ and $P(238)$. In a profit model $P(0)$ is often negative (fixed costs) and $P(500)$ may be too, but that has to be shown rather than assumed [1]. (c) The colleague is right on the literal point: a function defined only on integers has no derivative, because the limit defining $f'$ requires values arbitrarily close to $x$. But the argument does not invalidate the method. What is being differentiated is a continuous model $P(x)$ fitted to the situation, and the model is a legitimate tool provided its conclusions are then translated back to the actual domain — which is precisely what part (a) does by testing the neighbouring integers. The right response is to be explicit that the continuous function is a model, not to abandon calculus; the alternative, evaluating all 501 integers, is exact but tells you nothing about why the optimum is where it is [1].