Optimisation problems (SACE Stage 2 Mathematical Methods)
“Optimisation problems use the first derivative to locate the maximum or minimum value of a quantity subject to a constraint.”
To optimise a quantity, write it as a function of one variable (using a constraint to eliminate any extra variables), differentiate, set the derivative to zero to find stationary points, and then justify whether each is a maximum or minimum using the second derivative or a sign test. Always check the endpoints of the allowed domain.
Jump to a section
What this dot point is asking
An optimisation problem asks for the largest or smallest possible value of some quantity - maximum volume, minimum cost, shortest distance, greatest area. Calculus solves these because a smooth maximum or minimum occurs where the gradient is zero, i.e. at a stationary point where .
The standard method
Almost every optimisation problem follows the same five steps:
- Define variables and write the quantity to optimise as a formula. This is the objective function.
- Use the constraint to express the objective in terms of a single variable.
- Differentiate and set the derivative equal to zero.
- Solve for the stationary point(s).
- Justify that you have the required maximum or minimum (second-derivative test or sign of ), and state the domain so you can also check endpoints.
On a closed interval, the global maximum and minimum of a continuous function occur either at a stationary point () or at an endpoint of the interval. Both must be checked.
Reducing to one variable
The step students find hardest is using the constraint. Suppose a rectangle has perimeter m, so , giving . The area then becomes a function of alone:
Now there is only one variable to differentiate with respect to.
Worked example
A farmer has m of fencing to enclose a rectangular paddock. What dimensions give the maximum area?
Let the sides be and . The constraint is the perimeter:
The objective is the area:
Differentiate and set to zero:
Confirm it is a maximum with the second derivative:
so gives a maximum. Then .
The maximum area is a square with area .
Justifying the nature of the stationary point
You must show why your answer is a maximum (or minimum) - marks are lost for finding but not justifying it.
- Second-derivative test: if at the stationary point it is a local maximum; if it is a local minimum.
- Sign test: check the sign of just before and just after the stationary point. A change from to is a maximum; to is a minimum.
At a stationary point where :
A volume problem with a chain of variables
A square sheet of card of side cm has equal squares of side cut from each corner. The sides are folded up to form an open box. Find the value of that maximises the volume of the box.
Step 1: Write the volume as a function of and state the domain
When a square of side is cut from each corner, the base of the box has side length in both directions, and the height of the box is . The volume is therefore:
Since must be positive and the base length must also be positive, the valid domain is .
Step 2: Expand and differentiate
Expand the volume function so it is in a form that is straightforward to differentiate:
Differentiating term by term gives:
Step 3: Solve to find the stationary points
Factor out to simplify the quadratic:
Setting gives or . Because the domain is , the value lies on the boundary (not inside the open interval) and produces a box with zero volume, so only is a valid candidate for the maximum.
Step 4: Confirm gives a maximum
Compute the second derivative to test the nature of the stationary point:
Substituting : . Because the second derivative is negative, the curve is concave down at this point, confirming that gives a local maximum.
Step 5: Calculate the maximum volume
Substitute back into the original volume formula:
Final answer: cutting squares of side cm from each corner gives the maximum volume of .
Common errors
Two slips dominate. First, students try to differentiate an objective that still has two variables in it - you must substitute the constraint first to get a single-variable function. Second, they find a stationary point but ignore the physical domain. A length cannot be negative and cannot exceed the size of the material, so always state the valid interval (e.g. ) and reject solutions outside it.
Write the allowed values of your variable (e.g. ) as soon as you form the objective function. This makes it automatic to discard impossible stationary points and reminds you to test the endpoints when the question asks for a global extremum on a closed interval.
Why it matters
Optimisation is the headline application of differentiation in Stage 2 and a reliable source of extended-response marks in both the Skills and Applications Tasks and the external exam. The same five-step structure - model, constrain, differentiate, solve, justify - recurs in your Mathematical Investigation, where you may optimise a quantity in a modelling context of your own choosing.
Exam-style questions
Questions in the style of SACE Board exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.
SACE 2022-style4 marksCalculator-assumed. For with , the tangent to the graph at the point where has -intercept . Determine the value of that maximises the -intercept of the tangent, and justify that it is a maximum.Show worked answer →
Optimise over using calculus.
Differentiate with the product rule. Let and , so and :
Set . Since always, the stationary points are and .
Justify: for , so (increasing); for , so (decreasing). The gradient changes from positive to negative at , confirming a local maximum.
So the -intercept is maximised at . Marks: one for differentiating, one for , one for the stationary points, and one for the sign-test justification.
SACE 2021-style5 marksCalculator-assumed. A closed cylindrical can has volume . Its surface area is , where is the base radius in cm. Find the value of that minimises the surface area, and the minimum surface area, giving answers to one decimal place.Show worked answer →
Differentiate :
Set : , so and . Thus .
Confirm a minimum: for all , so it is a minimum.
Minimum area: .
Marks: one for , one for solving to find , one for the second-derivative justification, and two for the numerical and to one decimal place.