How do we use calculus to find the maximum or minimum value of a real-world quantity?
Optimisation problems use the first derivative to locate the maximum or minimum value of a quantity subject to a constraint.
A step-by-step method for solving optimisation problems: build the function, use a constraint to reduce to one variable, differentiate, solve for stationary points, and justify the maximum or minimum.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
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.
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.
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.
A volume problem with a chain of variables
Common errors
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 practice questions
Practice questions written in the style of SACE Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
2018 SACE Stage 23 marksFor f(x) = x e^(-x) (x >= 0), the tangent to the graph at the point where x = a has y-intercept Y(a) = a^2 e^(-a). Determine the value of a that maximises the y-intercept of the tangent.Show worked answer →
We optimise Y(a) = a^2 e^(-a) over a >= 0 using calculus.
Differentiate with the product rule (treating a as the variable). Let u = a^2 and v = e^(-a), so u' = 2a and v' = -e^(-a):
Y'(a) = 2a e^(-a) + a^2 (-e^(-a)) = e^(-a) (2a - a^2) = a e^(-a) (2 - a).Set Y'(a) = 0. Since e^(-a) > 0 always, the stationary points are a = 0 and a = 2.
Justify which is the maximum. For 0 < a < 2, (2 - a) > 0 so Y'(a) > 0 (increasing); for a > 2, (2 - a) < 0 so Y'(a) < 0 (decreasing). The gradient changes from positive to negative at a = 2, confirming a local maximum.
So the y-intercept of the tangent is maximised at a = 2. Marks: one for differentiating correctly, one for solving Y'(a) = 0, and one for justifying that a = 2 gives the maximum.