Optimisation problems
In Year 12 Mathematical Methods (Queensland, QCAA), optimisation uses calculus to find the largest or smallest value a quantity can take — maximum area or volume, minimum surface area, cost, material or time. Write the quantity as a function of one variable using the constraint, differentiate, solve \(f'(x)=0\), then verify the maximum or minimum with the second-derivative test and check the domain.
An optimisation problem asks for the greatest or least value of some quantity — the maximum area a fixed length of fencing can enclose, the minimum material for a can of given volume, the shortest travel time. The quantity to be optimised depends, at first, on two or more variables, but a constraint in the problem (a fixed perimeter, area or volume) links them.
The key move is to use that constraint to write the quantity as a function of a single variable \(f(x)\). A smooth function reaches a local maximum or minimum only at a stationary point, where \(f'(x)=0\). Solving that equation locates the candidate; the second-derivative test then classifies it — a maximum when \(f''(x)<0\) and a minimum when \(f''(x)>0\).
Two checks separate a full-mark solution from a careless one. First, the variable has a sensible domain (a length is positive), so any root outside it is rejected, and on a closed domain the endpoints are compared too. Second, you must state the quantity the question actually asks for: sometimes the optimal dimension \(x\), sometimes the optimal value \(f(x)\).
Optimise \(f(x)\): the stationary points are the solutions of
The second-derivative test classifies a stationary point \(x=a\):
Typical constraints and the quantity built from them (one variable after substitution):
How to solve an optimisation problem
- Name the quantity and the variables. Draw a diagram; label the quantity to be optimised and the unknown lengths.
- Use the constraint to get one variable. The fixed perimeter, area or volume lets you write the second variable in terms of the first, then substitute so the quantity is \(f(x)\). State the domain (e.g. \(0
- Differentiate and solve \(f'(x)=0\). Find the stationary point(s).
- Classify and check the domain. Use \(f''(x)<0\) (maximum) or \(f''(x)>0\) (minimum); reject roots outside the domain and compare endpoints if the domain is closed.
- State the answer asked for. Give the optimal dimension \(x\) or the optimal value \(f(x)\), with units.
| \(2x+2y\) | \(=\) | \(80 \Rightarrow y=40-x\) |
| \(A\) | \(=\) | \(x(40-x)=40x-x^{2}\) |
| \(A'\) | \(=\) | \(40-2x=0 \Rightarrow x=20\) |
| \(A''\) | \(=\) | \(-2<0 \Rightarrow \text{maximum}\) |
So \(x=20\), \(y=20\): a \(\mathbf{20\text{ m}\times 20\text{ m}}\) square, area \(400\text{ m}^{2}\).
| \(h\) | \(=\) | \(\dfrac{500}{r^{2}}\ \ (\pi r^{2}h=500\pi)\) |
| \(S\) | \(=\) | \(2\pi r^{2}+\dfrac{1000\pi}{r}\) |
| \(S'\) | \(=\) | \(4\pi r-\dfrac{1000\pi}{r^{2}}=0\) |
| \(r^{3}\) | \(=\) | \(250 \Rightarrow r\approx 6.30\text{ cm}\) |
\(S''=4\pi+\dfrac{2000\pi}{r^{3}}>0\), so this is a \(\mathbf{minimum}\).
| \(V\) | \(=\) | \(x(12-2x)^{2},\ 0 |
| \(=\) | \(4x^{3}-48x^{2}+144x\) | |
| \(V'\) | \(=\) | \(12(x-2)(x-6)=0\) |
| \(x\) | \(=\) | \(2 \ (\text{reject } x=6)\) |
| \(V''(2)\) | \(=\) | \(-48<0 \Rightarrow \text{max}\) |
\(x=\mathbf{2\text{ cm}}\), giving a maximum volume \(V=128\text{ cm}^{3}\).
| \(T\) | \(=\) | \(\dfrac{\sqrt{x^{2}+9}}{8}+\dfrac{6-x}{10}\) |
| \(T'\) | \(=\) | \(\dfrac{x}{8\sqrt{x^{2}+9}}-\dfrac{1}{10}=0\) |
| \(100x^{2}\) | \(=\) | \(64(x^{2}+9)\) |
| \(x\) | \(=\) | \(4 \ (T''>0:\ \text{minimum})\) |
Row to \(x=\mathbf{4\text{ km}}\), then cycle the last \(2\text{ km}\), for the least time.
Common pitfalls
Frequently asked questions
What is an optimisation problem?
It asks for the largest or smallest value a quantity can take — maximum area or volume, minimum surface area, cost or time — found by modelling the quantity as a function of one variable and using calculus.
How do you get down to one variable?
Use the constraint (a fixed perimeter, area or volume) to write the second variable in terms of the first, then substitute so the quantity is \(f(x)\).
How do you tell a maximum from a minimum?
Evaluate the second derivative at the stationary point: \(f''<0\) gives a maximum, \(f''>0\) a minimum. A first-derivative sign test works too.
Why check the domain?
A length must be positive, so a root outside the sensible range is rejected; on a closed interval the endpoints may give the true optimum.
Do you give \(x\) or the value of the quantity?
Whatever the question asks: the optimal dimension \(x\), or the optimal value \(f(x)\) such as the maximum volume, with units.
First or second derivative to zero?
Set \(f'(x)=0\) to locate the optimum; \(f''(x)=0\) finds a point of inflection instead.