๐ŸŽฏ Maximum and Minimum Problems

OCR FSMQ Additional Maths ยท Calculus (CA5โ€“CA6 applied)

Level 3 · Ages 15–16

← Back to topic overview
1 Calculus as a Design Tool
Optimisation is the practical payoff of stationary points: what dimensions give the largest volume, the smallest surface area, the greatest profit? These questions carry a lot of marks because they test all three assessment objectives at once.
The universal method
1. Write the quantity to be optimised as a formula
2. If it has two variables, use a constraint to eliminate one
3. Differentiate and set the derivative to zero
4. Solve, and reject any answer that makes no physical sense
5. Confirm it is a maximum or minimum with the second derivative
6. Answer the question that was asked, with units
Step 2 is where most marks are lost. You cannot differentiate an expression in two variables. There is always a second piece of information โ€” a fixed perimeter, a fixed volume, a fixed budget โ€” that lets you write one variable in terms of the other.
Step 5 is not optional. The question asks for a maximum; showing the derivative is zero only shows the value is stationary. A one-line second-derivative check turns that into a proof.
2 Maximising an Area
Worked Example 1 โ€” A rectangular enclosure

A farmer has $60$ m of fencing to make a rectangular pen against a long straight wall, using the wall as one side. Find the dimensions giving the greatest area.

โ‘ Let the two sides perpendicular to the wall be $x$ m each, and the side parallel to it be $y$ m.
โ‘กConstraint: $2x + y = 60$, so $y = 60 - 2x$.
โ‘ขObjective: $A = xy = x(60-2x) = 60x - 2x^2$
โ‘ฃ$\dfrac{\mathrm{d}A}{\mathrm{d}x} = 60 - 4x = 0$, so $x = 15$.
โ‘ค$\dfrac{\mathrm{d}^2A}{\mathrm{d}x^2} = -4 < 0$, confirming a maximum.
โ‘ฅ$y = 60 - 30 = 30$, so the pen is $15$ m by $30$ m, with area $450$ mยฒ.
A useful pattern: with a wall on one side, the optimal pen is always twice as long as it is deep. Worth knowing as a check, though you must still show the working.
Worked Example 2 โ€” A window

A window is a rectangle of width $2r$ and height $h$, topped by a semicircle of radius $r$. The total perimeter is $8$ m. Find $r$ for the greatest area.

โ‘ Perimeter: two heights, one base, plus the semicircular arc: $2h + 2r + \pi r = 8$
โ‘กSo $h = \dfrac{8 - 2r - \pi r}{2} = 4 - r - \dfrac{\pi r}{2}$
โ‘ขArea: rectangle $2rh$ plus semicircle $\tfrac12\pi r^2$:
โ‘ฃ$A = 2r\left(4 - r - \tfrac{\pi r}{2}\right) + \tfrac12\pi r^2 = 8r - 2r^2 - \pi r^2 + \tfrac12\pi r^2$
โ‘ค$A = 8r - 2r^2 - \dfrac{\pi r^2}{2}$
โ‘ฅ$\dfrac{\mathrm{d}A}{\mathrm{d}r} = 8 - 4r - \pi r = 0$
โ‘ฆ$r(4 + \pi) = 8$, so $r = \dfrac{8}{4+\pi} = 1.120$ m (3 d.p.)
โ‘ง$\dfrac{\mathrm{d}^2A}{\mathrm{d}r^2} = -4 - \pi < 0$, so this is a maximum โœ“
โ‘จThen $h = 4 - 1.120 - \tfrac{\pi(1.120)}{2} = 1.120$ m โ€” the height equals the radius.
Count the perimeter carefully. The top edge of the rectangle is not part of the perimeter โ€” it is inside the window, where the glass meets. Missing that gives a different and wrong answer.
3 Maximising a Volume
Worked Example 3 โ€” The open box

An open box is made from a $24$ cm square of card by cutting a square of side $x$ cm from each corner and folding up the flaps. Find the value of $x$ giving the greatest volume.

โ‘ After cutting, the base measures $(24 - 2x)$ by $(24 - 2x)$, and the height is $x$.
โ‘ก$V = x(24-2x)^2$
โ‘ขExpand before differentiating: $(24-2x)^2 = 576 - 96x + 4x^2$
โ‘ฃ$V = 576x - 96x^2 + 4x^3$
โ‘ค$\dfrac{\mathrm{d}V}{\mathrm{d}x} = 576 - 192x + 12x^2 = 12\left(x^2 - 16x + 48\right)$
โ‘ฅ$12(x-4)(x-12) = 0$, so $x = 4$ or $x = 12$.
โ‘ฆReject $x = 12$: the base would be $24 - 24 = 0$, so there is no box at all.
โ‘ง$\dfrac{\mathrm{d}^2V}{\mathrm{d}x^2} = -192 + 24x$. At $x=4$: $-192 + 96 = -96 < 0$, a maximum โœ“
โ‘จ$x = 4$ cm, giving $V = 4 \times 16^2 = 1024$ cmยณ.
Always state why you reject a root. "$x = 12$ gives a base of zero, so no box exists" is worth a mark; silently dropping it is not.
Worked Example 4 โ€” Minimising surface area

A closed rectangular box has a square base of side $x$ cm and a volume of $500$ cmยณ. Find the dimensions that minimise the surface area.

โ‘ Let the height be $h$. Constraint: $x^2 h = 500$, so $h = \dfrac{500}{x^2}$.
โ‘กObjective: two square faces plus four rectangles: $S = 2x^2 + 4xh$
โ‘ข$S = 2x^2 + 4x \times \dfrac{500}{x^2} = 2x^2 + \dfrac{2000}{x}$
โ‘ฃWrite the second term as $2000x^{-1}$ so the rule applies:
โ‘ค$\dfrac{\mathrm{d}S}{\mathrm{d}x} = 4x - 2000x^{-2} = 4x - \dfrac{2000}{x^2}$
โ‘ฅSetting this to zero: $4x = \dfrac{2000}{x^2}$, so $4x^3 = 2000$ and $x^3 = 500$.
โ‘ฆ$x = \sqrt[3]{500} = 7.937$ cm (3 d.p.)
โ‘ง$h = \dfrac{500}{63.0} = 7.937$ cm โ€” the box is a cube.
โ‘จ$\dfrac{\mathrm{d}^2S}{\mathrm{d}x^2} = 4 + \dfrac{4000}{x^3} > 0$ for $x > 0$, confirming a minimum โœ“
A note on scope. This example needs the derivative of $x^{-1}$, which is outside the specification's $kx^n$ with $n$ a positive integer. Expect FSMQ questions to be framed so the expression is a polynomial โ€” but the method is identical, and it is worth seeing that the answer is the cube.
4 Profit, Cost and Other Contexts
Worked Example 5 โ€” Maximising profit

A company's profit, in pounds, from selling $n$ hundred items is $P = 180n - 3n^2 - 500$, valid for $0 \leqslant n \leqslant 60$. Find the production level giving the greatest profit.

โ‘ $\dfrac{\mathrm{d}P}{\mathrm{d}n} = 180 - 6n = 0$
โ‘ก$n = 30$, which lies inside the valid range โœ“
โ‘ข$\dfrac{\mathrm{d}^2P}{\mathrm{d}n^2} = -6 < 0$, so this is a maximum.
โ‘ฃ$P = 180(30) - 3(900) - 500 = 5400 - 2700 - 500 = 2200$
โ‘คGreatest profit ยฃ$2200$, from selling $3000$ items.
Read the units of the variable. $n$ is in hundreds, so $n = 30$ means $3000$ items. Answering "$30$ items" loses the final mark.
Do not forget the endpoints
On a restricted interval, the largest value might occur at an end rather than at a stationary point.
Compare the stationary value with the values at both ends.
Worked Example 6 โ€” When the maximum is at an endpoint

Find the greatest value of $y = x^3 - 3x$ for $0 \leqslant x \leqslant 3$.

โ‘ $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 3x^2 - 3 = 0$ gives $x = \pm 1$; only $x = 1$ is in range.
โ‘กAt $x = 1$: $y = 1 - 3 = -2$. The second derivative $6x = 6 > 0$, so this is a minimum.
โ‘ขSo the maximum must be at an endpoint. Check both:
โ‘ฃAt $x = 0$: $y = 0$.  At $x = 3$: $y = 27 - 9 = 18$.
โ‘คThe greatest value is $18$, at $x = 3$.
Calculus alone would have missed this. The only stationary point in range was a minimum. Whenever the domain is restricted, always evaluate at the endpoints too.
5 Quick Reference

Objective

Write a formula for what is being optimised.

Constraint

Use it to get down to one variable.

Then differentiate

Set the derivative to zero and solve.

Expand first

Multiply out any brackets before differentiating.

Reject nonsense

Negative lengths, zero bases โ€” and say why.

Confirm

Second derivative: $<0$ max, $>0$ min.

Endpoints

On a closed interval, test them as well.

Answer fully

Give the dimensions and the optimal value.

Units

Always, and check what the variable counts.

Sense check

Is the answer physically plausible?

6 Practice Questions
Question 1

Find the minimum value of $y = x^2 - 10x + 3$.

โ–ถ Show solution

$2x - 10 = 0$, so $x = 5$.

$y = 25 - 50 + 3 = -22$

$\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2} = 2 > 0$, so the minimum value is $-22$.

Question 2

A rectangle has perimeter $40$ cm. Show that its greatest area is $100$ cmยฒ.

โ–ถ Show solution

Let the sides be $x$ and $y$, with $2x + 2y = 40$, so $y = 20 - x$.

$A = x(20-x) = 20x - x^2$

$\dfrac{\mathrm{d}A}{\mathrm{d}x} = 20 - 2x = 0$, so $x = 10$.

$\dfrac{\mathrm{d}^2A}{\mathrm{d}x^2} = -2 < 0$, a maximum.

$A = 10 \times 10 = 100$ cmยฒ โ€” the rectangle is a square.

Question 3

Two numbers add to $20$. Find the numbers whose product is greatest.

โ–ถ Show solution

Let them be $x$ and $20 - x$. Then $P = 20x - x^2$.

$\dfrac{\mathrm{d}P}{\mathrm{d}x} = 20 - 2x = 0$, so $x = 10$.

The numbers are both $10$, with product $100$.

Question 4

A stone is thrown so its height is $h = 20t - 5t^2$ metres. Find the greatest height.

โ–ถ Show solution

$\dfrac{\mathrm{d}h}{\mathrm{d}t} = 20 - 10t = 0$, so $t = 2$ s.

$\dfrac{\mathrm{d}^2h}{\mathrm{d}t^2} = -10 < 0$, a maximum.

$h = 40 - 20 = 20$ m.

Question 5

An open box is made from a $12$ cm square of card with squares of side $x$ cut from each corner. Find $x$ for maximum volume.

โ–ถ Show solution

$V = x(12-2x)^2 = x\left(144 - 48x + 4x^2\right) = 144x - 48x^2 + 4x^3$

$\dfrac{\mathrm{d}V}{\mathrm{d}x} = 144 - 96x + 12x^2 = 12\left(x^2 - 8x + 12\right) = 12(x-2)(x-6)$

$x = 2$ or $x = 6$. Reject $x = 6$, since the base would be zero.

$\dfrac{\mathrm{d}^2V}{\mathrm{d}x^2} = -96 + 24x$; at $x = 2$ this is $-48 < 0$, a maximum.

$x = 2$ cm, giving $V = 2 \times 64 = 128$ cmยณ.

Question 6

A farmer has $100$ m of fencing for a rectangular pen against a wall (wall as one side). Find the maximum area.

โ–ถ Show solution

$2x + y = 100$, so $y = 100 - 2x$ and $A = 100x - 2x^2$.

$\dfrac{\mathrm{d}A}{\mathrm{d}x} = 100 - 4x = 0$, so $x = 25$.

$y = 50$, and $A = 25 \times 50 = 1250$ mยฒ.

Question 7

Find the greatest value of $y = 12x - x^3$ for $0 \leqslant x \leqslant 3$.

โ–ถ Show solution

$\dfrac{\mathrm{d}y}{\mathrm{d}x} = 12 - 3x^2 = 0$, so $x^2 = 4$ and $x = 2$ (in range).

$\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2} = -6x = -12 < 0$, a maximum.

$y = 24 - 8 = 16$.

Endpoints: $y(0) = 0$ and $y(3) = 36 - 27 = 9$, both less than $16$.

Greatest value $16$, at $x = 2$.

Question 8

A profit function is $P = 60n - n^2 - 200$ for $0 \leqslant n \leqslant 25$. Find the maximum profit.

โ–ถ Show solution

$\dfrac{\mathrm{d}P}{\mathrm{d}n} = 60 - 2n = 0$ gives $n = 30$ โ€” which is outside the range.

So the maximum must be at an endpoint. Since $P$ is increasing for $n < 30$, the largest value in range is at $n = 25$:

$P = 1500 - 625 - 200 = 675$

Maximum profit ยฃ$675$ at $n = 25$.

Question 9

A rectangle is inscribed under the curve $y = 9 - x^2$, with its base on the $x$-axis and two corners on the curve at $x = \pm t$. Find $t$ for the greatest area.

โ–ถ Show solution

The width is $2t$ and the height is $9 - t^2$.

$A = 2t\left(9 - t^2\right) = 18t - 2t^3$

$\dfrac{\mathrm{d}A}{\mathrm{d}t} = 18 - 6t^2 = 0$, so $t^2 = 3$ and $t = \sqrt3$ (taking $t > 0$).

$\dfrac{\mathrm{d}^2A}{\mathrm{d}t^2} = -12t < 0$ for $t > 0$, a maximum.

$A = 18\sqrt3 - 2\left(3\sqrt3\right) = 12\sqrt3 = 20.8$ (3 s.f.)

Question 10

A closed cylindrical tin has radius $r$ cm and height $h$ cm. Its total surface area is fixed at $600\pi$ cmยฒ.

(a) Show that $h = \dfrac{300 - r^2}{r}$.   (b) Show that the volume is $V = \pi\left(300r - r^3\right)$.   (c) Find the value of $r$ giving the greatest volume, and confirm it is a maximum.   (d) Find that greatest volume, and the corresponding height. Comment on the shape.

โ–ถ Show solution

(a) A closed cylinder has two circular ends and a curved side:

$S = 2\pi r^2 + 2\pi r h = 600\pi$

Divide through by $2\pi$: $r^2 + rh = 300$

$rh = 300 - r^2$, so $h = \dfrac{300 - r^2}{r}$  as required.

(b) $V = \pi r^2 h = \pi r^2 \times \dfrac{300-r^2}{r}$

$= \pi r\left(300 - r^2\right) = \pi\left(300r - r^3\right)$  as required.

Note this is now a polynomial in $r$, so the standard differentiation rule applies.

(c) $\dfrac{\mathrm{d}V}{\mathrm{d}r} = \pi\left(300 - 3r^2\right) = 0$

$r^2 = 100$, so $r = 10$ (rejecting $r = -10$, as a radius cannot be negative).

$\dfrac{\mathrm{d}^2V}{\mathrm{d}r^2} = \pi(-6r) = -60\pi < 0$ at $r = 10$, so this is a maximum.

(d) $V = \pi\left(3000 - 1000\right) = 2000\pi = 6280$ cmยณ (3 s.f.)

$h = \dfrac{300 - 100}{10} = 20$ cm.

Comment: the height $20$ cm is exactly twice the radius $10$ cm, so $h = 2r$ โ€” the tin's height equals its diameter.

This is the classic result: for a fixed surface area, the cylinder of greatest volume is as tall as it is wide, the shape closest to a sphere that a cylinder can manage. It is why tins of food are roughly this proportion, though in practice manufacturing and stacking costs pull the shape a little off the mathematical optimum.

Maximum and Minimum Problems ยท OCR FSMQ Additional Maths · Created with MathJax