Optimisation: maxima and minima in context problems
An optimisation problem asks for the value that makes a quantity a maximum or a minimum: the largest volume, the lowest cost or the highest profit. With derivatives it is always solved the same way: express the quantity in terms of one variable, differentiate, find where and check that this point is the maximum or minimum you need.
Setting up the function
The hardest part of these problems is usually writing the function, not differentiating it. The quantity you want to optimise is the objective function. The question also almost always gives a constraint, a condition that links the variables: a total length, a fixed volume or a number of units. Use it to eliminate one of the variables. Make one of them the subject of the constraint and substitute it into the objective function. This leaves you with a function of a single variable.
Checking whether it is a maximum or minimum
The solution of shows where the extremum may be, but it does not say whether it is a maximum or a minimum. To find out, look at the sign of on each side of the point. If the derivative goes from positive to negative, the function stops increasing and starts decreasing: there is a maximum. If it goes from negative to positive, there is a minimum. You can also sketch the function on the GDC and read the coordinates of the highest or lowest point.
Look at the graph of the bicycle factory in the third example: the maximum is at an interior point of the interval and the minimum at an endpoint, where the derivative is not zero.
Worked examples
Pen next to a wall
A farmer wants to build a rectangular pen against a straight wall. The wall forms one of the sides, so he only needs fencing for the other three. He has m of fencing. Let be the length of each of the two sides perpendicular to the wall, and the length of the side parallel to the wall.
a) Write the area of the pen in terms of .
b) Find the dimensions that give the maximum area, and that area.
Solution
a) The fencing totals m: two sides of length and one side of length . So , and making the subject gives . The area is
b) We differentiate and solve : Then . We check the type of extremum: and , so the area increases up to and decreases after that. It is a maximum. The maximum area is
Answer: the pen has sides of m perpendicular to the wall and m parallel to it, with a maximum area of .
Open box of fixed volume
A company makes open-top boxes with a square base. Each box must have a volume of cm³. Let be the side of the base, in cm, and the height, in cm.
a) Write the total area of card of the box in terms of . The area includes the base and the four lateral faces.
b) Find the side of the base and the height that minimise the amount of card, and that minimum amount.
Solution
a) The volume is , so . The area is the base, , plus the four lateral faces, :
b) We differentiate and solve : The height is . To check the minimum: and . The derivative goes from negative to positive, so it is a minimum. The minimum area is
Answer: the base has a side of cm and the height is cm; the minimum amount of card is cm².
Bicycle factory with limited capacity
A factory making electric bicycles estimates its monthly profit, in thousands of euros, according to the number of bicycles it makes. If it makes hundreds of bicycles, the profit is The interval comes from the factory's capacity: it never makes fewer than or more than bicycles a month.
a) Find the values of for which and state which of them lie within the interval.
b) Find the number of bicycles that maximises the profit, and the maximum profit.
c) Find the minimum profit the factory can make within that interval, and the number of bicycles at which it occurs.
Solution
a) Differentiate and factorise: The values that make the derivative zero are and . Only lies within .
b) Study the sign of on the interval. For example, and . The function increases up to and decreases after that, so is a maximum. Using this value: The maximum profit is thousand euros, with bicycles.
c) Since lies outside the interval, the minimum cannot be at a point with zero derivative inside . We compare the endpoints and the maximum: The lowest value is , at , that is, with bicycles. The minimum profit is thousand euros.
In the exam: the point is a local minimum, but it lies outside the factory's range. If the interval has endpoints, always evaluate the endpoints as well as the points where .
Common mistakes
Summary
- An optimisation problem is solved in four steps: objective function, constraint, derivative set equal to zero and checking.
- With a constraint, reduce the function to a single variable before differentiating.
- To find out whether gives a maximum or a minimum, look at the sign change of , or use the graph on the GDC.
- If the variable lies in a closed interval, compare the points where with the endpoints of the interval.
- Answer in context, with units, and to the question being asked.
Want to work on it together?
Free first consultation: we look at your level and your exam, and build a plan. Álvaro replies on WhatsApp.
Message us on WhatsApp