Optimisation with a constraint
An optimisation problem asks for the largest or smallest value of an objective. Use the constraint to write that objective in one variable, then check the full practical domain
- Name the objective Write the quantity to be made largest or smallest before using the constraint \(\displaystyle A=xy\)
- Use the constraint Rearrange the constraint to express one variable in terms of the other, then substitute into the objective \(\displaystyle x+y=20\quad\Rightarrow\quad y=20-x\quad\Rightarrow\quad A(x)=x\left(20-x\right)\)
- State the practical domain For a nondegenerate rectangle, both side lengths are positive: 0<x<20. Extend the area formula to [0,20] only to compare the zero-area boundary limits \(\displaystyle 0<x<20\)
- Find stationary candidates Set the derivative equal to zero and solve for candidates in the practical domain \(\displaystyle A'(x)=20-2x=0\quad\Rightarrow\quad x=10\)
- Evaluate the stationary area Substitute the stationary side length into the objective \(\displaystyle A(10)=10(20-10)=100\)
- Check the lower boundary extension At x=0, the extended area formula gives the zero-area limit of a degenerate shape \(\displaystyle A(0)=0(20-0)=0\)
- Check the upper boundary extension and compare The upper boundary extension also gives zero area. Comparing both limits with the stationary area shows that 100 cm² is the attained maximum \(\displaystyle A(20)=20(20-20)=0\)
Worked example
A rectangle has perimeter 28 m. Find its maximum possible area
- \(\displaystyle 2x+2y=28\quad\Rightarrow\quad y=14-x\)Rearrange the perimeter constraint to express y in terms of x.
- \(\displaystyle A(x)=x\left(14-x\right)=14x-x^{2},\quad 0<x<14\)Substitute the constraint into the area formula and state the domain where both side lengths are positive
- \(\displaystyle A'(x)=14-2x=0\quad\Rightarrow\quad x=7\)Solve the derivative equation to find the stationary side length
- \(\displaystyle A(0)=A(14)=0,\quad A(7)=49\text{ m}^{2}\quad\Rightarrow\quad A_{\max}=49\text{ m}^{2}\)Extend the same area formula to the two boundary inputs for comparison. Both limits are zero, so the interior stationary area is the attained maximum
Common mistakes
Difficulty levels
Questions about this topic
Why must the objective be written in one variable?+
The one-variable form allows a derivative to identify stationary inputs and makes the practical domain clear
Why are endpoints checked in an optimisation problem?+
For a continuous objective on a closed interval, compare included endpoints and all interior candidates, including any point where the derivative does not exist. On an open domain, examine boundary limits without treating excluded inputs as attained
How can a stationary value be classified as a maximum or minimum?+
A derivative sign change from positive to negative proves a local maximum; negative to positive proves a local minimum. To justify a global optimum, compare every valid candidate and included endpoint, and examine any excluded boundary limits
What would a physical prototype need to check?+
Thickness, tabs, folding losses, strength and assembly may change the usable capacity or feasible design. Validate these assumptions before treating the calculated optimum as a manufactured design
Can I use a calculator?+
No. This topic is practised without a calculator
Which year level and chapter is this?+
Year 12, VCE Units 3 & 4, Mathematical Methods, chapter 6: Applications of differentiation